From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 6 05:19:01 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0209A106566B for ; Tue, 6 Jan 2009 05:19:01 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (pool-71-117-207-61.ptldor.fios.verizon.net [71.117.207.61]) by mx1.freebsd.org (Postfix) with ESMTP id E20E48FC17 for ; Tue, 6 Jan 2009 05:18:59 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: by sopwith.solgatos.com (Postfix, from userid 66) id 40189B651; Mon, 5 Jan 2009 05:12:49 -0800 (PST) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id FAA20680; Tue, 6 Jan 2009 05:17:09 GMT Message-Id: <200901060517.FAA20680@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Mon, 05 Jan 2009 14:28:35 CST." <2d1264630901051228q7c526b80of3def7f6028599e3@mail.gmail.com> Date: Mon, 05 Jan 2009 21:17:09 +0000 From: Dieter Subject: Re: sound for cx88 analog capture 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: Tue, 06 Jan 2009 05:19:01 -0000 > The node number of the dsp* entry will correspond to the number for > the pcm* entry, so /dev/dsp1 should be it. This would be good info to add to the wiki, assuming it isn't already hiding there somewhere already. > Can you try capturing just > the audio: > > cx88 -d /dev/cx88audio0 -x > /usr/local/share/examples/cx88/cx88.xml.sample -c USA:42 > > while simultaneously doing a 'cat /dev/dsp1 > /dev/dsp0'? > > That will be basically the same thing that's happening for the audio > part of the combined video/audio capture. Sound comes out the nforce jack, so it appears the cx88 audio is working. I guess I didn't bungle the /dev entry after all. > > ffmpeg says: > > > > Input #0, oss, from '/dev/dsp1': > > Duration: N/A, start: 1230593138.586555, bitrate: N/A > > Stream #0.0, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s > > Input #1, rawvideo, from '/tmp/vpipe': > > Duration: N/A, bitrate: N/A > > Stream #1.0, 1001/30000: Video: rawvideo, yuv422p, 640x480, 1001/30000, 29.97 fps(r) > > Output #0, dv, to '/var/tmp/analog.dv': > > Stream #0.0, 1/90000: Video: dvvideo, yuv411p, 720x480, 1001/30000, q=2-31, 200 kb/s, 29.97 fps(c) > > Stream #0.1, 1/90000: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s > > Stream mapping: > > Stream #1.0 -> #0.0 > > Stream #0.0 -> #0.1 > > Press [q] to stop encoding > > frame= 494 fps= 30 q=0.0 size= 57773kB time=16.5 bitrate=28755.7kbits/s dup=0 drop=0 > > ffmpeg seems to think it captured the audio--could it have something > to do with the dv format? Can you try using the MPEG format like the > example on the wiki? The custom ffmpeg binary I usually use doesn't support -f oss so I was trying to use the one from ports. I tried my normal mpeg2ts (from atsc) to dv script except with the ports version of ffmpeg and got no sound. So, it looks like cx88 is fine, I didn't use the wrong /dev entry, and the ports version of ffmpeg is broken. Why am I not surprised... One more question, I don't see anything about how to switch the input from RF to s-video or composite.