On Wednesday 28 June 2006 23:44, steve wolfe wrote:
> > I tend to disagree, you just have to use the right software.
>
> I'm perfectly willing to have overlooked the obvious!
>
> > Try using ivtv-radio. -s and -a should return some stations, then
> > you can listen to the radio with the same command. The interface is
> > pretty minimalistic, but it works.
>
> I didn't see support for recording audio from ivtv-radio - did I
> miss something? This machine doesn't have a sound card, and won't be
> used for listening - just recording.
>
> Most of the sox examples that I see depend on oss drivers, which I
> don't have. I've poked around with stuff like:
>
> ivtv-radio -f 90.1 -c 'sox %s -t raw -s -w -c 2 -r 48000
> /tmp/foo.wav'
>
> However, I get an error that it can't understand the format type
> (null). Perhaps I'm not using the right parameters for sox, perhaps
> I'm going about it all wrong. Any help (or pointers) would be
> appreciated.
>
> steve
Read doc/README.radio. /dev/video24 produces a PCM stream at 48 kHz. So
you can play it directly using 'aplay -f dat </dev/video24' for
example.
Recording: cat /dev/video24 >test.pcm
Hans
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users