It’s Shangaï Master’s time ( Gooooo Gasquet ), and while blogging, surfing, and whatelse, I wanted to watch the tennis game on my newly configured Ubuntu Gutsy box !
Of course Sopcast and TVAnts are THE P2P programs to watch television right now, so this is the way I went !
First thing firt, you need to install the standard Windows codec, because they don’t come defacto with the Gutsy installation. A really good tutorial on the official site here, and look for “Playing Restricted Formats”.
For TVAnts the installation is straight forward. You need to install Wine, the windows emulator. Then you download the regular Windows setup file and run it with the previously installed Wine. Apparently it needs a rebbot for Wine to add the shortcut to the faked “Windows Programs”. After that you just need to add a channel or select one from the list, and open MPlayer or VLC on the url given by the program, which is usually something like http://localhost:8900/1.asf.
For SopCast, it’s not as simple. Unfortunately the gui does not really seem to work at the moment. So you need to install the command line util. You can download it from their website, and unzip it on your machine. It has a dependency over libstdc++5 which you can install from the package manager. Once this is done, you need to issue a command line of the like :
./sp-sc-auth sop://myserver/mychannel 3908 6908 >/dev/null &
3908 is the port that will connect to the server, 6908 is the port that will have the video, >/dev/null is to prevent the verbose output, and & to make the process run standalone which is obviously optional. Once this is done, you need to wait a little bit for the data to buffer (look at you systray and the network monitor), and then start your preferred player on the http://localhost:6908/tv.asf URL.
And there you go ! P2P Television enabled on your delighted Gutsy Ubuntu box !
If you have any problems, or need more information, don’t hesitate to ask !