ffmpeg doesn't record sound from WinTV.

Frank J. Beckmann frank at barda.agala.net
Thu Dec 29 04:39:51 PST 2005


Moin,

am Donnerstag, 29. Dezember 2005 11:02 schrieb Steve O'Hara-Smith:
> On Sat, 24 Dec 2005 04:40:45 +0100
>
> "Frank J. Beckmann" <frank at barda.agala.net> wrote:
> > Hi,
> >
> > I can't record sound from my Hauppage WinTV with ffmpeg. The audio out of
> > the tvcard is connected to the line in of the soundcard. I can record
> > sound with moTV (XawTV) but not with ffmpeg. ffmpeg records sound if I
> > choose another input device like the cd in. It looks like ffmpeg is
> > forgetting to the the tvcard to send it's sound to the audio card. ffmpeg
> > tells me that it records the sound, but all it gets is silence.
> >
> > ffmpeg -target dvd -vd /dev/bktr -ac 2 -tvstd PAL /var/tmp/fft.mpeg
>
> 	Post the early output of this command please.

ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
  built on Dec 26 2005 21:29:11, gcc: 3.4.4 [FreeBSD] 20050518
Assuming PAL for target.
File '/var/tmp/fft.mpeg' already exists. Overwrite ? [y/N] y
Input #0, video4linux, from '':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv422, 720x576, 25.00 fps
Input #1, audio_device, from '':
  Duration: N/A, bitrate: N/A
  Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, vob, to '/var/tmp/fft.mpeg':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, q=2-31, 6000 kb/s
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop encoding

I also tried:

ffmpeg -target dvd -ad /dev/dsp -vd /dev/bktr -ac 2 -tvstd 
PAL /var/tmp/fft.mpeg

ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
  built on Dec 26 2005 21:29:11, gcc: 3.4.4 [FreeBSD] 20050518
Assuming PAL for target.
File '/var/tmp/fft.mpeg' already exists. Overwrite ? [y/N] y
Input #0, video4linux, from '':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv422, 720x576, 25.00 fps
Input #1, audio_device, from '':
  Duration: N/A, bitrate: N/A
  Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, vob, to '/var/tmp/fft.mpeg':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, q=2-31, 6000 kb/s
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop encoding

But that didn't help.

moTV, XawTV and fxtv are able to record sound, ffmpeg and nupplevideo are not. 
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 
acceptable video recording quality of the programs that I tested.

> 	PS. sorry for the delayed reply Xmas, kids and all that.

Don't mind. I'm on vacation till next year. :-)
-- 
Tschüss
Frank


More information about the freebsd-multimedia mailing list