Il Tuesday 18 March 2008 21:20:50 Holli ha scritto:
> i'm using the latest em28xx-userspace2 checkout from hg (which has the
> amd64 issue fixed), but mplayer very often fails to tune to the channel
> when executing the command "mplayer dvb://Channelname" (sometimes i have
> to execute this command at least a dozen times before i can get a
> picture). A suggested workaround was to use "tzap -r Channelname" to
> tune to the channel first, then start "mplayer /dev/dvb/adapter0/dvr0"
> and watch digital tv. this works every time, however it is a little
> inconvenient.
I have the same problem on debian sid amd64.
I created a script to watch the TV with mplayer and tzap easily:
#! /bin/bash
channel=`kdialog --radiolist "Please choice a channel" RaiUno RaiUno on RaiDue
RaiDue off RaiTre RaiTre off rete4 Rete4 off canale5 Canale5 off italia1
Italia1 off la7 La7 off allmusic allmusic off tvrs tvrs off`
if [[ -z $channel ]]; then
# if you press cancel
exit 0
fi
killall -9 gmplayer
killall -9 tzap
# so you can run again the script to change the channel
sleep 0.1
if [[ $channel = italia1 || $channel = rete4 || $channel = canale5 || $channel
= mtv || $channel = la7 || $channel = allmusic || $channel = tvrs ]]; then
# analogue TV
channels="channels=36-italia1,33-rai2,54-rai3,48-rete4,30-canale5,31-mtv,66-la7,28-allmusic,23-tvrs"
&& \
gmplayer tv://$channel -tv
${channels}:driver=v4l2:device=/dev/video0:chanlist=europe-west:alsa:adevice=hw.1,0:amode=1:volume=100:immediatemode=0:norm=PAL
-vf
yadif=1,pp=ac,hqdn3d=2:1.5:3 -sws 9 &
else
# digital TV
tzap -c ~/.mplayer/channels.conf -r ${channel} > /dev/null &
sleep 0.1
gmplayer /dev/dvb/adapter0/dvr0 -vf yadif=1,pp=ac,hqdn3d=2:1.5:3 -sws 9
killall -9 tzap
fi
Bye,
Darkbasic
_______________________________________________
Em28xx mailing list
[email protected]
http://mcentral.de/mailman/listinfo/em28xx