On Tue, Oct 18, 2005 at 07:53:37PM -0400, Andrew wrote:
> On Tue, Oct 18, 2005 at 06:10:38PM -0500, Adam Forsyth wrote:
> > > 1) how do i capture/record from /dev/video24 (raw audio device), in wav 
> > > format?
> > > i've tried arecord but get a silent *.wav file.
> > 
> > If the card is tuned audio should come out /dev/video24 when it's
> > opened. First make sure you're getting audio by playing it with "aplay
> > -f dat < /dev/video24",
> 
> yes, "aplay -f dat < /dev/video24" works correctly.

I spoke too soon here. The above produces monoral sound, with default use.

However, /dev/video24 __does__ produce stereo for me, when it is used by the 
radio.

What gives? I couldn't find any docs relevant to channels/stereo/mono

> as far as sox goes:
> 
> ~]# sox -tossdsp -swr48000 -c2 /dev/video24 /data/rec/soxtest.wav
> sox: Failed reading /dev/video24: Unable to reset OSS driver.  Possibly 
> accessing an invalid file/device

I got sox to record. I was using the wrong "-t " option. "-t raw" works.

andrew



_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to