[mythtv-users] Australian DVB-T resolution

Phill Edwards philledwards at gmail.com
Sun Jan 15 09:05:55 UTC 2006


> this is pretty horrible, but from the scan output ( channels.conf) and an
> mplayer that supports dvb, I just ran:
> cat channels.conf | perl -e '$opts=" -vo asdfasdf -ao asdfasdf| tee -a
> streaminfo"; while ($f = <STDIN>) { if ($f =~ m/radio/i || $f =~ m/jazz/i)
> {next;} $f =~ m/(.+?):/; print "mplayer \" dvb://1\@$1\" $opts; "; }'
>
> Paste the output into another shell and run it, which should fire up mplayer
> to interrogate the stream and fail (invalid vo driver), it should take a
> while and you might need to nudge it along with ctrl-c. Then you can
>
> cat streaminfo | grep -e Playing -e ^VIDEO: -e ^AUDIO
> to get video/audio details for each channel. Just note I've been told
> mplayer's bitrate report is not quite right.

Thanks for that Andy. My script ends up looking like this:

mplayer " dvb://1@ABC HDTV"  -vo asdfasdf -ao asdfasdf| tee -a
streaminfo; mplayer " dvb://1@ABC TV Sydney"  -vo asdfasdf -ao
asdfasdf| tee -a streaminfo; mplayer " dvb://1@ABC2"  -vo asdfasdf -ao
asdfasdf| tee -a streaminfo; mplayer " dvb://1@ABC TV"  -vo asdfasdf
-ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@7 Digital"  -vo
asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@7 Digital
1"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@7
Digital 2"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer "
dvb://1@7 Digital 3"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo;
mplayer " dvb://1@7 HD Digital"  -vo asdfasdf -ao asdfasdf| tee -a
streaminfo; mplayer " dvb://1@7 Guide"  -vo asdfasdf -ao asdfasdf| tee
-a streaminfo; mplayer " dvb://1@NINE DIGITAL"  -vo asdfasdf -ao
asdfasdf| tee -a streaminfo; mplayer " dvb://1@NINE HD"  -vo asdfasdf
-ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@NINE GUIDE"  -vo
asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@TEN
Digital"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer "
dvb://1@TEN Digital 1"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo;
mplayer " dvb://1@TEN Digital 2"  -vo asdfasdf -ao asdfasdf| tee -a
streaminfo; mplayer " dvb://1@TEN Digital 3"  -vo asdfasdf -ao
asdfasdf| tee -a streaminfo; mplayer " dvb://1@TEN Digital"  -vo
asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@TEN Guide"
 -vo asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@TEN
HD"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer "
dvb://1@TEN Guide"  -vo asdfasdf -ao asdfasdf| tee -a streaminfo;
mplayer " dvb://1@SBS HD"  -vo asdfasdf -ao asdfasdf| tee -a
streaminfo; mplayer " dvb://1@SBS DIGITAL 1"  -vo asdfasdf -ao
asdfasdf| tee -a streaminfo; mplayer " dvb://1@SBS DIGITAL 2"  -vo
asdfasdf -ao asdfasdf| tee -a streaminfo; mplayer " dvb://1@SBS EPG" 
-vo asdfasdf -ao asdfasdf| tee -a streaminfo;

When I run this I get these outputs:
<...>
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
Playing  dvb://1@SBS DIGITAL 1.
Unable to open URL:  dvb://1@SBS DIGITAL 1


Exiting... (End of file)
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1


Can't init input joystick
Unable to open URL:  dvb://1@SBS DIGITAL 2
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
Playing  dvb://1@SBS DIGITAL 2.


Exiting... (End of file)
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1


Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
Playing  dvb://1@SBS EPG.
Unable to open URL:  dvb://1@SBS EPG


Would you mind sharing the script file that gets generated for you -
maybe I could hack that for my setup?

Regards,
Phill


More information about the mythtv-users mailing list