#!/bin/sh # (c) GPL by Jouni d0t Lohikoski miumau iki dot fi, 2005 # Using mplayer to show video input from Leadtek 5600 FX video card, which # is "PCI nVidia NV30 card (GeForce FX 5600 [0x312], 256MB @ 0xD0000000)" # and SAA7114H VideoIn-chip. rivatv driver supports this with module saa7108e # exec mplayer -tv driver=v4l:norm=PAL:input=0:fps=25:outfmt=uyvy:width=704:height=288:device=/dev/video0 \ -vf dsize=704:576 \ tv:// # For audio add something like # -tv alsa:amode=1:audiorate=44100:adevice=0:audioid=1 tv:// # Other outfmt's to try Available formats: 444p 422p 411p yuy2 uyvy yvu9 if09 yv12 i420 iyuv clpl hm12 y800 y8 nv12 nv21 bgr24 bgr32 bgr16 bgr15 bgr8 bgr4 bg4b bgr1 rgb24 rgb32 rgb16 rgb15 rgb8 rgb4 rg4b rgb1 rgba argb bgra abgr