English > Sundtek MediaTV Pro (Europe)

Alsa? Or how could I capture analog radio/tv

<< < (2/3) > >>

Sundtek:
The device needs to be unmated in order to deliver Radio.


--- Zitat ---/opt/bin/mediaclient -m RADIO -d /dev/radio0 --mute=off

--- Ende Zitat ---

afterwards you can read radio.

we might change that in future (applications usually do that).

The Alsa approach would be to use snd-aloop, read the audio stream with cat from dsp and aplay it to the corresponding alsa loopback device. We just figured that out this week and need to document the process for this but it's already doable.

Judgin:
Thanks for a reply.
Currently it works somehow...but, the sound goes from the headphones/speakers. Is it possible to capture stream directly from /dev/dspX or /dev/radioX without playing through speakers? So, to "silently" capture the radio stream.

Judgin:
and one more question...is it possible to capture video/audio simultaneously from different tuners? I mean whether I can record tv shows from 2 or more tuners? I got green mplayer screen after starting playback from the second tuner(

Sundtek:
Silent capture is possible, you can capture and playback at the same time by default.

Following line turns off direct audio playback by the driver:

--- Zitat ---/opt/bin/mediaclient -m RADIO -d /dev/radio0 -c internal

--- Ende Zitat ---


did you start tvtime:

--- Zitat ---mplayer tv:// -tv driver=v4l2:device=/dev/videoN

--- Ende Zitat ---

where videoN should be obtained form "/opt/bin/mediaclient -e"

you can also check which devices are used by running "/opt/bin/mediaclient --lc" (list client)

Sundtek:
How to easily capture analogTV:


--- Zitat ---sudo -s
cd /tmp
wget http://sundtek.de/support/buildffmpeg.sh
chmod 777 buildffmpeg.sh
./buildffmpeg.sh

--- Ende Zitat ---

afterwards restart your PC and open tvtime and tune to the channel which you want to capture.
FFMPEG adds direct encoding support to the driver.

Open a console in the background and just run "cat" with the videonode as parameter.


--- Zitat ---cat /dev/video0 > /tmp/test.mpg

--- Ende Zitat ---

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln