Saturday, April 14, 2007

Watching the Worldcup over WiFi

Sure it doesn't beat watching the match on the big screen. But wouldn't it still be cool if you could didn't have to always sit in front of the tv all time as the match went on. Well today I decided to play around with the idea since Sri Lanka wasn't playing anyway.

Now my home isn't physically networked in anyway so I have to rely on the slower WiFi to do the job. Worse still is the fact that my WiFi Router is upstairs where our phone line happens to terminate, (it doubles as an ADSL Router) and so the signal reception is pretty bad (about 40%).

Its been a while since I played around with VLC and I knew it has improved somewhat since I last had a go at it. Mainly the addition of H.264 for better quality at lower bit rates. So after playing around with several codecs, I settled with h.264 (AVC) after discovering a combination that worked (you can't just mix arbitrary video encapsulation containers with a given codec and expect it to just work). Following are the settings, I ended up being satisfied with: (Also see screenshot)

Stream Type: HTTP
Stream Port: 8080 (you can use any port here)
Video codec: h264 @ 192 kb/s
Audio codec: mp4a @ 64 kb/s (mono)
Video container: ASF


vlc_streaming

As far as getting the TV in, I plugged in the S-Video out from my cable box to the S-video in of my bttv878 compatible Prolink Pixelview Play TV Pro2.

watch_match For playing the stream, I used mplayer (you could also use VLC itself for this) with the following URL at the command line.




mplayer http://192.168.1.3:8080

That's it! Back to watching the match ... NZ just came to bat second innings :D

No comments: