Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 13:39:21 +0100
From:      "Frank J. Beckmann" <frank@barda.agala.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: ffmpeg doesn't record sound from WinTV.
Message-ID:  <200512291339.21897.frank@barda.agala.net>
In-Reply-To: <20051229100252.2f29a8f2.steve@sohara.org>
References:  <200512240440.46994.frank@barda.agala.net> <20051229100252.2f29a8f2.steve@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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. ffmp=
eg
> > 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 Bell=
ard
  built on Dec 26 2005 21:29:11, gcc: 3.4.4 [FreeBSD] 20050518
Assuming PAL for target.
=46ile '/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=3D2-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=20
PAL /var/tmp/fft.mpeg

ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bell=
ard
  built on Dec 26 2005 21:29:11, gcc: 3.4.4 [FreeBSD] 20050518
Assuming PAL for target.
=46ile '/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=3D2-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 n=
ot.=20
ffmpeg records sound from outher devices. So I guess that it doesn't tell t=
he=20
TV card to send the audio stream to it's line out. ffmpeg has the only real=
ly=20
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. :-)
=2D-=20
Tsch=FCss
=46rank



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512291339.21897.frank>