From owner-freebsd-multimedia@FreeBSD.ORG Sat Aug 6 15:57:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D4416A41F for ; Sat, 6 Aug 2005 15:57:12 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id D064C43D45 for ; Sat, 6 Aug 2005 15:57:10 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 24113 invoked from network); 6 Aug 2005 15:57:07 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 6 Aug 2005 15:57:07 -0000 Received: (qmail 17002 invoked by uid 89); 6 Aug 2005 15:57:07 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 6 Aug 2005 15:57:07 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id DF2CB115FE; Sat, 6 Aug 2005 18:56:59 +0300 (EEST) Date: Sat, 6 Aug 2005 18:56:59 +0300 From: Ion-Mihai Tetcu To: freebsd-multimedia@freebsd.org, rofug@rofug.ro Message-ID: <20050806185659.025b5238@it.buh.tecnik93.com> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=Multipart_Sat__6_Aug_2005_18_56_59_+0300_EOkYGxSY_KdK8e8Y X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Sir Pingus Subject: WIP: multimedia/XdTV port X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 15:57:12 -0000 --Multipart_Sat__6_Aug_2005_18_56_59_+0300_EOkYGxSY_KdK8e8Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, XdTV is a software that allows you to watch TV. It interacts with AleVT for Teletext and Nxtvepg for NextView. It uses BKTR module for accessing the TV card. It can use deinterlacing filters and record audio / video files with the lame, ffmpeg, xvid, and divx codecs *even while you watch* If you: mkdir /usr/ports/multimedia/xdtv cd /usr/ports/multimedia/xdtv save the attached shar in it and sh xdtv.2.2.0.shar you'll have a somehow working version of XdTV 2.2.0 This is quick and dirty work; I wanted to have something to record while watching and I had no contact with tv cards and software until 2 weeks ago. Known "running" problems: - no sound source selection support (general problem, no support for it at all) - for me this equals no sound. [1] - no channel scanning (it's based on v4l and I'm not aware of any working software that does this for FreeBSD - xawtv doesn't find any channels for me - it scans for them but doesn't lock on) - copy your channels from ~/.xawtv - trying to use Xosd or Mozaic Channels makes it stopping to accept input and you'll have to Ctrl+C it which will generate a core (either threading problem or something masked by libpthread - I haven't have time to debug) [2] - scheduling recording doesn't work (not everybody run linux - some of the *.sh files installed need to be modified from bash to sh) [3] Known port problems: - CFLAGS are not passed down - I might have missed some DEPENDS - NLS support doesn't work because of a problem ./configure has with testing for gettext so no internationalization for now. - NXTVEPG support is untested, I have no station broadcasting with it. - you actually need misc/alevt for teletext support (xdtv contains alevt source code but it doesn't actually build alevt binary, only xdtv_alevt-cap - and the port won't pull it for you right now, so you have to install it manually. [4] - playback of captured streams needs mplayer (or an other player) - the port won't install it for you [5] - the same for dvd recording (xdtv_makedvd.sh) (depends: mplayer,mjpegtools,dvdauthor,toolame - BTW, what's toolame ?) [6] What can you do to help: - test the port and send me feedback; I'm just upgrading from 5-STABLE to 6 on i386 so there could be other problems (all test done on 5-STABLE); I don't have 4.x so please send patches for it if something doesn't work right. *Please* include `uname -a` in your mail. - try to address any of the known problems above and/or any new problems you discover (but please let me and the others know on what you work so we don't duplicate the effort) When writing patches please consider that we have very good chances to propagate them upstream, thanks to the support of one of the developers, Pingus, so please try not to break non-FreeBSD cases. [1] this should be first addressed upstream, I think [2] gdb won't do much good, you'll need something like valgrind; also compiling against a different threads lib might help running better and/or uncovering some other problems (try linux-threads, if you have time, esp. on 4,x) [3] if you know/like bash and have time to translate this scripts to a bash-compatible sh so we may push it upstream please do, else I'll just rewrite them in sh and we'll have to keep them local [4] or make it build it from included sources [5] + [6] I'll address this issues via OPTIONS I'm due for some to long post-phoned free-time-away-from-any-electric/electronic-device-with-more-that-1-button (more-that...=my piezzo cigarettes lighter) so I might be slow on replies. -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" --Multipart_Sat__6_Aug_2005_18_56_59_+0300_EOkYGxSY_KdK8e8Y--