English > Sundtek MediaTV Pro (Europe)
Alsa? Or how could I capture analog radio/tv
Judgin:
Hi guys,
could you help me with capturing analog FM radio? As there is no alsa device (arecord -l shows my sound card) I cannot capture sound...It seems to me, that the same problem will be with analog TV, however I didn't try yet.
Regards, Judgin
Sundtek:
quite easy:
--- Zitat ---cat /dev/radio0 | lame > fmradio.mp3
--- Ende Zitat ---
if you do a cat on radio0 it will also output the WAV header, so lame automatically knows which format the input data is.
Judgin:
Thanks, will try this solution) Looks really easy)
Sundtek:
If you do the cat on the dsp device the output will be header less.
--- Zitat ---cat /dev/dspN | aplay --format=S16_LE --rate=48000 -c 2
or
cat /dev/radioN | aplay
--- Ende Zitat ---
where N is revealed by /opt/bin/mediaclient -e
Judgin:
Hmmm...I've got problems(((
--- Code: ---cat /dev/dsp0 | aplay --format=S16_LE --rate=48000 -c 2
aplay: playback:2455: read error
--- Ende Code ---
And this also doesn't work...exits after 1-2 secs.
--- Code: ---cat /dev/radio0 | aplay
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
--- Ende Code ---
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln