On 1/12/06, <b class="gmail_sendername">Phill Edwards</b> &lt;<a href="mailto:philledwards@gmail.com">philledwards@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
# scan /usr/share/doc/linuxtv-dvb-apps-1.1.0/examples/scan/dvb-t/au-sydney_north_shore<br><br>Eyal - could you pleeeease just put me out of my misery here and tell<br>me how you did it!<br><br></blockquote></div><br>this is pretty horrible, but from the scan output (
channels.conf) and an mplayer that supports dvb, I just ran:<br>cat channels.conf | perl -e '$opts=&quot; -vo asdfasdf -ao asdfasdf| tee -a streaminfo&quot;; while ($f = &lt;STDIN&gt;) { if ($f =~ m/radio/i || $f =~ m/jazz/i) {next;} $f =~ m/(.+?):/; print &quot;mplayer \&quot;
<a href="dvb://1\@$1\&quot;">dvb://1\@$1\&quot;</a> $opts; &quot;; }'<br><br>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
<br><br>cat streaminfo | grep -e Playing -e ^VIDEO: -e ^AUDIO<br>to get video/audio details for each channel. Just note I've been told mplayer's bitrate report is not quite right.<br><br><br>