From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 29 12:39:51 2005 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 66CFA16A41F for ; Thu, 29 Dec 2005 12:39:51 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ia780.i.pppool.de [85.73.167.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC44C43D48 for ; Thu, 29 Dec 2005 12:39:41 +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 18D3A119CC4 for ; Thu, 29 Dec 2005 13:39:23 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id D6114119CBB for ; Thu, 29 Dec 2005 13:39:22 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Thu, 29 Dec 2005 13:39:21 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <20051229100252.2f29a8f2.steve@sohara.org> In-Reply-To: <20051229100252.2f29a8f2.steve@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512291339.21897.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Dec 29 13:39:23 2005 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b3d8fb204995012520900 X-DSPAM-Factors: 27, To*multimedia, 0.00020, Disposition-Notification-To*Beckmann+frank, 0.00020, To*freebsd+org, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, > Disposition-Notification-To*frank, 0.00020, From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, Content-Type*iso, 0.00020, Disposition-Notification-To*Frank+Beckmann, 0.00020, To*freebsd, 0.00020, To*freebsd, 0.00020, Content-Transfer-Encoding*printable, 0.00020, Organization*agala, 0.00020, Disposition-Notification-To*agala, 0.00020, Disposition-Notification-To*agala+net, 0.00020, Message-Id*frank+barda, 0.00020, From*net, 0.00020, Message-Id*frank, 0.00020, From*agala, 0.00020 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, 29 Dec 2005 12:39:51 -0000 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" 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