Tuning

From LinuxTVWiki
Jump to navigation Jump to 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