Saa7134-alsa redundant

From LinuxTVWiki
Revision as of 19:53, 10 December 2008 by Bpringlemeir (talk | contribs) (New page: == arecord/aplay chain == In the absence of a loop-back cable, you can use software to record from the saa7134-alsa module to a sound card. The commands ''arecord -L'', ''arecord -l'', '...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

arecord/aplay chain

In the absence of a loop-back cable, you can use software to record from the saa7134-alsa module to a sound card. The commands arecord -L, arecord -l, aplay -L and aplay -l can be helpful on obtaining information on the devices to use.

arecord -r 32000 -c 2 -f S16_LE --device='hw:1,0' | aplay -r 32000 -c 2 -f S16_LE --device='hw:0,0'

The above command is typical for a system with a single sound card and tv capture card.

This allows a digital path with programs like tvtime. However, the process of moving the data from the saa7134 chip to your sound card will add a delay. Unfortunately, software can not predict the future and you need to delay the video in order to sync the audio to video. The mplayer program has this for analog tv viewing.