From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 19 02:17:24 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 2E69316A41F for ; Thu, 19 Jan 2006 02:17:24 +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 357A343D45 for ; Thu, 19 Jan 2006 02:17:09 +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 7749F119CDD for ; Thu, 19 Jan 2006 03:17:01 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Thu, 19 Jan 2006 03:16:48 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200601020356.20081.frank@barda.agala.net> <20060104062448.GB26459@puff.jakemsr.gom> In-Reply-To: <20060104062448.GB26459@puff.jakemsr.gom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601190316.49361.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 02:17:24 -0000 Hi, am Mittwoch, 4. Januar 2006 07:24 schrieb Jacob Meuser: > On Mon, Jan 02, 2006 at 03:56:19AM +0100, Frank J. Beckmann wrote: > > Moin, > > > > am Freitag, 30. Dezember 2005 17:55 schrieb Nicolas Blais: > > > On December 30, 2005 06:43 am, Jacob Meuser wrote: > > > Does it record the video? If I do this: > > > ffmpeg -target ntsc-dvd -vd /dev/bktr -ad /dev/dsp -ac 2 fft.mpeg > > > > > > I get a dvd-size blue screen with no sound. > > > > It does record video. > > > > > But If I do this: > > > transcode -i /dev/bktr0 -x > > > bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtuner,oss -g 640x480 -y = ffmpeg -F > > > mpeg4 -p /dev/dsp -o out > > > > Just tried that (with pal instead of ntsc). That doesn't record sound > > either. > > interesting, because that explicitly both unmutes the audio and sets > the input. there's really not much (if any) more that can be done > to enable audio from bktr(4). I can't get transcode to record any sound, even if no other program used th= e=20 tv card before. I don't hear any sound while transcode is recording. Ffmpeg= =20 works with Steve's latest patches. > hmmm, try adding '-H 0' as well, maybe it messing up /dev/dsp when > trying to detect what it is. That doesn't help. > also try with 'asource=3Dintern' instead of 'asource=3Dtuner'. asource=3Dintern stops with an error. > if it doesn't work after trying the above, could you please post the > exact command and screen output? I wrote the bktr and oss import > modules for transcode, and would be interested in fixing them if > needed. babylon:~> transcode -i /dev/bktr0 -x=20 bktr=3Dnorm=3Dpal:vsource=3Dtuner:asource=3Dtuner,oss -y ffmpeg -F mpeg4 -p= /dev/dsp=20 =2Do /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 kb= ps [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= =20 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 |=20 (audio) MPEG/AC3/PCM [export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 complia= nt=20 video). [export_ffmpeg.so]: WARNING: Interlacing parameters unknown, use=20 =2D-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 thread= s |=20 done [transcode] encoded 476 frames (0 dropped, 0 cloned), clip length 19.04 s babylon:~>=20 BTW: How can I set the channel with transcode? =2D-=20 Tsch=FCss =46rank