ffmpeg doesn't record sound from WinTV.

Frank J. Beckmann frank at barda.agala.net
Thu Jan 19 07:28:13 PST 2006


Hi,

am Donnerstag, 19. Januar 2006 06:38 schrieb Jacob Meuser:
> On Thu, Jan 19, 2006 at 03:16:48AM +0100, Frank J. Beckmann wrote:
> > 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:~>
>
> hmm, I am stumped.  looks like I will have to find a partition to install
> FreeBSD on again (I use OpenBSD, but I did have this working fine with
> FreeBSD at one point).  what version of FreeBSD are you using?

I'm using: FreeBSD 6.0-STABLE #7: Tue Jan  3 01:42:01 CET 2006

You could send me patches and I tell you what happens, if that helps.

> > BTW: How can I set the channel with transcode?
>
> you can't.  use bsdbktrtvtune, or whatever it's called, or you could
> use fxtv or xawtv or something else.  they shouldn't reset the tuner
> after they close.  alternatively, you could install my bsdav package
> and use tunerctl http://jakemsr.com/bsdav/

bsdbktrtvtune does not work with FreeBSD 6.0. bsdav ist marked ignore:

** Port marked as IGNORE: multimedia/bsdav:
        does not work. We need to import bktv patches from OpenBSD to make it 
work

fxtv always wants to use the deprecated dga that is not supported by the 
nvidia driver any more. And xawtv always needs an X display and there is no 
possibility to set the chanel in script. :-(

Looks like we need some kind of video4bsd...
-- 
Bye
Frank


More information about the freebsd-multimedia mailing list