From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 19 15:28:13 2006 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 6100E16A41F for ; Thu, 19 Jan 2006 15:28:13 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I94d4.i.pppool.de [85.73.148.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 385D343D45 for ; Thu, 19 Jan 2006 15:27:57 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 52527119CCF for ; Thu, 19 Jan 2006 16:27:51 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Thu, 19 Jan 2006 16:27:36 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200601190316.49361.frank@barda.agala.net> <20060119053830.GC17070@puff.jakemsr.gom> In-Reply-To: <20060119053830.GC17070@puff.jakemsr.gom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601191627.37230.frank@barda.agala.net> Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Thu, 19 Jan 2006 15:28:13 -0000 Hi, am Donnerstag, 19. Januar 2006 06:38 schrieb Jacob Meuser: > On Thu, Jan 19, 2006 at 03:16:48AM +0100, Frank J. Beckmann wrote: > > babylon:~> transcode -i /dev/bktr0 -x > > bktr=norm=pal:vsource=tuner:asource=tuner,oss -y ffmpeg -F mpeg4 -p > > /dev/dsp -o /bak/video/test.out -H 0 > > transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg > > [transcode] V: import frame | 720x576 1.25:1 > > [transcode] V: bits/pixel | 0.174 > > [transcode] V: decoding fps,frc | 25.000,0 > > [transcode] V: Y'CbCr | YV12/I420 > > [transcode] A: import format | 0x2000 AC3 [48000,16,2] > > [transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 > > kbps [transcode] V: encoding fps,frc | 25.000,3 > > [transcode] A: bytes per frame | 7680 (7680.000000) > > [transcode] A: adjustment | 0@1000 > > [transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow > > mmxext mmx asm C) > > tc_memcpy: using sse for memcpy > > [transcode] V: video buffer | 10 @ 720x576 > > [import_oss.so] v0.0.1 (2005-05-12) (audio) pcm > > [import_bktr.so] v0.0.2 (2004-10-02) (video) bktr > > [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | > > (audio) MPEG/AC3/PCM > > [export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 > > compliant video). > > [export_ffmpeg.so]: WARNING: Interlacing parameters unknown, use > > --encode_fields > > [export_ffmpeg.so]: INFO: No profile selected > > [export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg' > > [export_ffmpeg.so] found. Default settings will be used instead. > > [export_ffmpeg.so]: INFO: Starting 1 thread(s) > > [export_ffmpeg.so]: INFO: Set display aspect ratio to input > > [mpeg4 @ 0x28698330]removing common factors from framerate > > Audio: using new version > > Audio: using lame-3.96.1 > > ^Ccoding frames [000000-000474], 24.84 fps, EMT: 0:00:18, ( 0| 0| 0) > > [transcode] (sighandler) SIGINT received > > encoding frames [000000-000475], 24.71 fps, EMT: 0:00:19, ( 1| 0| 0) > > clean up | frame threads | unload modules | cancel signal | internal > > threads | done > > [transcode] encoded 476 frames (0 dropped, 0 cloned), clip length 19.04 > > s babylon:~> > > hmm, I am stumped. looks like I will have to find a partition to install > FreeBSD on again (I use OpenBSD, but I did have this working fine with > FreeBSD at one point). what version of FreeBSD are you using? I'm using: FreeBSD 6.0-STABLE #7: Tue Jan 3 01:42:01 CET 2006 You could send me patches and I tell you what happens, if that helps. > > BTW: How can I set the channel with transcode? > > you can't. use bsdbktrtvtune, or whatever it's called, or you could > use fxtv or xawtv or something else. they shouldn't reset the tuner > after they close. alternatively, you could install my bsdav package > and use tunerctl http://jakemsr.com/bsdav/ bsdbktrtvtune does not work with FreeBSD 6.0. bsdav ist marked ignore: ** Port marked as IGNORE: multimedia/bsdav: does not work. We need to import bktv patches from OpenBSD to make it work fxtv always wants to use the deprecated dga that is not supported by the nvidia driver any more. And xawtv always needs an X display and there is no possibility to set the chanel in script. :-( Looks like we need some kind of video4bsd... -- Bye Frank