Tuning

From LinuxTVWiki
Revision as of 15:36, 18 May 2014 by Tvister (talk | contribs) (Created page with "Here is a script for tuning one of the Hauppague devices:- <pre> #!/bin/bash # watch analogue TV from HVR-1950 (or other MPEG encoding card) echo "[live1.sh channel=$1]" ki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here is a script for tuning one of the Hauppague devices:-

#!/bin/bash
# watch analogue TV from HVR-1950 (or other MPEG encoding card)

echo "[live1.sh channel=$1]"

killall mplayer # kill leftovers

ivtv-tune --freqtable=us-cable --channel=$1  # tune MPEG2 stream

echo "Starting MPlayer.."
mplayer /dev/video0 \
    -vo vdpau -vc ffmpeg12vdpau \
    -quiet -msglevel all=0