Date: Fri, 30 Dec 2005 11:55:49 -0500 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-multimedia@freebsd.org Subject: Re: ffmpeg doesn't record sound from WinTV. Message-ID: <200512301155.54309.nb_root@videotron.ca> In-Reply-To: <20051230114354.GA13494@puff.jakemsr.gom> References: <200512240440.46994.frank@barda.agala.net> <20051230105729.1df83d74.steve@sohara.org> <20051230114354.GA13494@puff.jakemsr.gom>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart16317907.hjAg3TDK0L Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On December 30, 2005 06:43 am, Jacob Meuser wrote: > On Fri, Dec 30, 2005 at 10:57:29AM +0000, Steve O'Hara-Smith wrote: > > On Thu, 29 Dec 2005 20:24:04 -0800 > > > > Jacob Meuser <jakemsr@jakemsr.com> wrote: > > > On Thu, Dec 29, 2005 at 01:39:21PM +0100, Frank J. Beckmann wrote: > > > > Moin, > > > > > > > > ffmpeg records sound from outher devices. So I guess that it doesn't > > > > tell the > > > > > > =20 > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > TV card to send the audio stream to it's line out. ffmpeg has the > > > > only really > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > no, bktr(4) always does that. it is only possible to select the > > > inputs. all outputs are enabled when the tuner is unmuted (which > > > happens by default when the tuner is open()'d). > > > > Yes that should be the case - but ffmpeg will emit an error message > > if opening the tuner fails and that error message is not present. > > > > > do you hear audio when you run the above ffmpeg command? if so, then > > > the problem is solely with the audio grabbing, not bktr. make sure > > > your mixer is set right. > > > > The mixer settings originally posted look correct to me (assuming > > the plug really is in line and not line1 or something silly like that). > > yup, missed that. > > only other things I can think of, are a) make sure the soundcard supports > recording of 48kHz 16-bit stereo (again, would probably see an error > message if not) and b) check that ac3 encoding actually works in that > version of ffmpeg (and that whatever is playing it back supports ac3 > decoding). otherwise, maybe try changing audio parameters. > > still, though, if you hear sound when you run the ffmpeg command, the > problem is not in bktr, but audio. bktr just sends audio to the > soundcard. you don't record audio from bktr, but from the soundcard. 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. But If I do this: transcode -i /dev/bktr0 -x bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtun= er,oss -g=20 640x480 -y ffmpeg -F mpeg4 -p /dev/dsp -o out =20 It works. Nice audio, nice video. Mixer: Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Recording source: line (Notice that rec =3D 75:75) Without that, even selecting the right input no= =20 audio will be recorded. Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #7: Mon Dec 26 12:43:20 EST 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart16317907.hjAg3TDK0L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDtWaa4wTBlvcsbJURAssUAJ9V3JAXC79rgZsgbcLEggXs7vF3tgCgq9GG 2ceX2SkdJZ7dpmfGt8KqHx4= =NEY3 -----END PGP SIGNATURE----- --nextPart16317907.hjAg3TDK0L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512301155.54309.nb_root>