ffmpeg doesn't record sound from WinTV.

Frank J. Beckmann frank at barda.agala.net
Sun Jan 1 18:53:30 PST 2006


Moin,

am Freitag, 30. Dezember 2005 12:43 schrieb Jacob Meuser:
> 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 at 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
> > >
> > >                                            
> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > > 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.

I checked all that. And ffmpeg does record sound if I plug another source 
instead of the sound output of the tv card there.

> 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.

I don't hear sound when I use ffmpeg. I hear sound when I use moTV. I also 
hear sound when I use ffmpeg with another sound source.
-- 
Bye
Frank


More information about the freebsd-multimedia mailing list