Hello,

> Anyone knows how to record from radio using a pvr-350 ?
> 
> I tried a few options with radio-ivtv, but can't make it work.

I use a script, with the following function at its heart:

handle_record_radio ()
{
 ivtv-radio -f $FREQUENCY -j >/dev/null &
 PID=$!
 ( sox -t .raw -r 48000 -w -c 2 -s /dev/video24 "$1/$RADIO_DATA_FILE"
>/dev/null & sleep $LENGTH ; kill $! )
 kill -TERM $PID
}

The overall meaning should be clear. The sox utility converts the raw
audio stream into a Wave file. Of course you can use something like 'cat
/dev/video24 > output & sleep [...]' instead.

Regards,
  Christoph



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to