From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 00:29:50 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 2BCAE16A420 for ; Fri, 25 Nov 2005 00:29:50 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9378E43D96 for ; Fri, 25 Nov 2005 00:29:40 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IQH00KFVIPF7IP0@VL-MO-MR004.ip.videotron.ca> for freebsd-multimedia@freebsd.org; Thu, 24 Nov 2005 19:29:39 -0500 (EST) Date: Thu, 24 Nov 2005 19:29:28 -0500 From: Nicolas Blais To: freebsd-multimedia@freebsd.org Message-id: <200511241929.39061.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1398903.UuaAjGIEzY; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit User-Agent: KMail/1.8.3 Subject: Transcode with bktr+oss problem 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: Fri, 25 Nov 2005 00:29:50 -0000 --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--