Last Modified 05/4/08 09:47

MLB.TV on Linux Mini-Howto

Big Announcement

mlbviewer 0.1alpha6 has been released.

It is available for download at http://sourceforge.net/projects/mlbviewer/.

SVN is also available at https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/trunk

To checkout from SVN:

svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/trunk mlbviewer

Background

It's MLB.TV and Linux. If you don't know what either of these are, you need to stop watching American Idol and get with the program!

I'm a recent convert to MLB.TV, a paid service available at MLB.com for viewing any and every game of the season over the Internet in 400k, 800k, and 1.2Mb quality. The last one won't work with Linux due to Windows proprietary features (I believe the NexDef plugin.)

I've been a long-time fan of Linux--the innovative things you can do with it, and the can-do/can-share spirit of the community of Linux users and developers.

That said, MLB.com apparently does not share the same opinions. They have consistently made it difficult for Linux users to enjoy their fantastic product. This season has been no different. I don't care so much about the technical details but I'll say there's something fishy about the way Flash and/or Silverlight prevents even MediaConnectivity plugin from detecting the stream URL.

This mini-HowTo is the result of many dedicated fans of both MLB.TV and Linux and their efforts to combat this season's hurdles to enjoying their favorite pasttime on their favorite OS. The purpose of this mini-HowTo is to summarize the collected tips and tricks from the forum where mlbviewer was born:

MLB.TV in Linux at LinuxQuestions.org.

What you'll need

Screenshots

Listings View

Top Plays View

Don't be fooled by the XP putty window. This is a Linux application. That said, it has been tested and verified to work on Windows under the Cygwin environment using both mplayer and Windows Media Player.

Tips and Tricks from the Forum

Coming soon... The following are tips and tricks collected regarding the Firebug method.
From carpie:
I wanted to follow up with what is currently (Apr 2) working for me. I'm using Firefox natively using Firebug to sniff the mUrl. I then open that url (sans the mUrl: prefix) with mplayer.

If you get "garbled" video like this:
http://carpie.net/mlb.png
That is because mplayer is using FFMPEGs buggy WVC1 decoder. You need the 
win32codecs which you can get from:
http://www.mplayerhq.hu/design7/dload.html#binary_codecs
Untar the package and put the resulting files in /usr/lib/codecs (Fedora) or 
/usr/lib/win32 (Ubuntu) (don't know about other distros). Mplayer should pick 
it up automatically.

After that, if you get a big green bar like this:
http://carpie.net/mlb2.png
You might be using the "xv" video output module in mplayer (at least that was my issue.) I solved this by invoking mplayer with:
mplayer -vo x11

I can now (finally!) watch what I paid for! Thanks for all suggestions! I hope this helps someone else...

Many Thanks

Many thanks to all the guys on the Linuxquestions.org forum for figuring this out especially jkr for writing mlbviewer.

If you have more questions, try them first:

MLB.TV In Linux at Linuxquestions.org

This mini-Howto was written by daftcat aka Matthew < straycat000(at)yahoo(dot)com >

Last Modified 05/4/08 09:47