Transcode with bktr+oss problem

Nicolas Blais nb_root at
Fri Nov 25 00:29:50 GMT 2005


With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to 
record a tv show like so:

transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,null -g 
640x480 -y ffmpeg -F mpeg4 -o out  

It correctly records the video but no sound (yet I can hear it).  
(asource=external/internal tested too).

So I also tried this:

transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss -g 
640x480 -y ffmpeg -F mpeg4 -o out  

which will correctly load the module but exit(1) on me.

transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
SNDCTL_DSP_SETFMT: Inappropriate ioctl for device
[transcode] auto-probing source /dev/bktr0 (failed)
[transcode] V: import format    | unknown  (V=bktr|A=oss)
[transcode] V: import frame     | 640x480  1.33:1
[transcode] V: bits/pixel       | 0.234
[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 @ 640x480
[] v0.0.1 (2005-05-12) (audio) pcm
[] v0.0.2 (2004-10-02) (video) bktr
[] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | 
(audio) MPEG/AC3/PCM
SNDCTL_DSP_SETFMT: Inappropriate ioctl for device
audio import module error: OPEN failed
[transcode] critical: failed to open input source

My bktr's sound-out is connected to my sound card's Line In (as with most 
WinTVs like mine).

What is the correct way to record both video/sound at the same time?

FreeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005     
root at clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-multimedia mailing list