Long Wind wrote: > i can watch tv with xawtv > now i want to use mplayer > > mplayer -tv driver=v4l2:width=640:height=480:input=1 -vo xv tv:// > > command above is right, but there's no sound > tv sound is connected to linein of sound card > which options should i add?? > > Thanks!
As most of tv now is digital, I used following to watch tv from a dvb stick mplayer -ontop -framedrop -nocache -stop-xscreensaver -input conf=~/.mplayer/input.conf -tv driver=v4l2:outfmt=yv12:width=720:height=576:device=/dev/dvb/adapter0/dvr0:input=0:tdevice=/dev/vbi0:tlang=1:tformat=0:tpage=100:forceaudio:immediatemode=0:adevice=/dev/dsp1:amode=1:forcechan=2:audiorate=44100:audioid=0:volume=75 -dvbin file=~/.mplayer/channels.conf.ter -vo xv -ao alsa:noblock:audiorate=44100:device=default dvb:// you can check in the documentation easily what each option means and adjust as needed. regards