ffmpeg doesn't record sound from WinTV.
Frank J. Beckmann
frank at barda.agala.net
Wed Jan 18 18:17:24 PST 2006
Hi,
am Mittwoch, 4. Januar 2006 07:24 schrieb Jacob Meuser:
> On Mon, Jan 02, 2006 at 03:56:19AM +0100, Frank J. Beckmann wrote:
> > Moin,
> >
> > am Freitag, 30. Dezember 2005 17:55 schrieb Nicolas Blais:
> > > On December 30, 2005 06:43 am, Jacob Meuser wrote:
> > > 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.
> >
> > It does record video.
> >
> > > But If I do this:
> > > transcode -i /dev/bktr0 -x
> > > bktr=norm=ntsc:vsource=tuner:asource=tuner,oss -g 640x480 -y ffmpeg -F
> > > mpeg4 -p /dev/dsp -o out
> >
> > Just tried that (with pal instead of ntsc). That doesn't record sound
> > either.
>
> interesting, because that explicitly both unmutes the audio and sets
> the input. there's really not much (if any) more that can be done
> to enable audio from bktr(4).
I can't get transcode to record any sound, even if no other program used the
tv card before. I don't hear any sound while transcode is recording. Ffmpeg
works with Steve's latest patches.
> hmmm, try adding '-H 0' as well, maybe it messing up /dev/dsp when
> trying to detect what it is.
That doesn't help.
> also try with 'asource=intern' instead of 'asource=tuner'.
asource=intern stops with an error.
> if it doesn't work after trying the above, could you please post the
> exact command and screen output? I wrote the bktr and oss import
> modules for transcode, and would be interested in fixing them if
> needed.
babylon:~> transcode -i /dev/bktr0 -x
bktr=norm=pal:vsource=tuner:asource=tuner,oss -y ffmpeg -F mpeg4 -p /dev/dsp
-o /bak/video/test.out -H 0
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] V: import frame | 720x576 1.25:1
[transcode] V: bits/pixel | 0.174
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0 at 1000
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext
mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_oss.so] v0.0.1 (2005-05-12) (audio) pcm
[import_bktr.so] v0.0.2 (2004-10-02) (video) bktr
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 |
(audio) MPEG/AC3/PCM
[export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant
video).
[export_ffmpeg.so]: WARNING: Interlacing parameters unknown, use
--encode_fields
[export_ffmpeg.so]: INFO: No profile selected
[export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
[export_ffmpeg.so] found. Default settings will be used instead.
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Set display aspect ratio to input
[mpeg4 @ 0x28698330]removing common factors from framerate
Audio: using new version
Audio: using lame-3.96.1
^Ccoding frames [000000-000474], 24.84 fps, EMT: 0:00:18, ( 0| 0| 0)
[transcode] (sighandler) SIGINT received
encoding frames [000000-000475], 24.71 fps, EMT: 0:00:19, ( 1| 0| 0)
clean up | frame threads | unload modules | cancel signal | internal threads |
done
[transcode] encoded 476 frames (0 dropped, 0 cloned), clip length 19.04 s
babylon:~>
BTW: How can I set the channel with transcode?
--
Tschüss
Frank
More information about the freebsd-multimedia
mailing list