Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 19:29:28 -0500
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-multimedia@freebsd.org
Subject:   Transcode with bktr+oss problem
Message-ID:  <200511241929.39061.nb_root@videotron.ca>

next in thread | raw e-mail | index | archive | help
--nextPart1398903.UuaAjGIEzY
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

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

transcode -i /dev/bktr0 -x bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtun=
er,null -g=20
640x480 -y ffmpeg -F mpeg4 -o out =20

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

So I also tried this:

transcode -i /dev/bktr0 -x bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtun=
er,oss -g=20
640x480 -y ffmpeg -F mpeg4 -o out =20

which will correctly load the import_oss.so 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=3Dbktr|A=3Doss)
[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 kb=
ps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext=
=20
mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer     | 10 @ 640x480
[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 |=20
(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=20
WinTVs like mine).

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

Thanks,
Nicolas.
=2D-=20
=46reeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005    =20
root@clk01a:/usr/obj/usr/src/sys/CLK01A=20
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

--nextPart1398903.UuaAjGIEzY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDhlrz4wTBlvcsbJURAkV2AJ90c1hV4t1b4amSRT+vgulGr2/bggCff/4H
oEU/S8i2rOCnkT60qvHudk0=
=fIta
-----END PGP SIGNATURE-----

--nextPart1398903.UuaAjGIEzY--



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