Update 14-Apr-2009I have heard from RTV Slovenija that the Octoshape now only works in combination with high quality Flash transmission. The Windows Media player (including the transmission type described below) is not supported anymore.
----------------------------------------------
Update 04-Mar-2009
Due to possible changes in the way RTV Slovenija is broadcasting their programs over the internet it is possible that this might not work anymore, it certainly hasn't been working for quite a few weeks now.
----------------------------------------------
TV Slovenija is streaming live TV over the internet using the Octoshape system as a go-between RTV Slo servers and the video player on your PC. To learn more about Octoshape, click here.
The Ubuntu support site has put a lot of the instructions on this site:
https://help.ubuntu.com/community/Octoshape
but I found that you have to do some additional changes for it to work.
There is also help available on the Octoshape site that helped me solve a problem with additional settings: http://www.octoshape.com/plugin/linux.asp
The support page tells you to create the setup.cfg and put in the path to the java library
JavaExec=/path/to/libjvm.so
I had a few problems trying to find the libjvm.so file but don't forget to look in the client folder. Mine was in "/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client/libjvm.so".
Instead of using the search facility in Ubuntu, which I thinks sucks as I cannot search squat with it, I suggest using the good ol' Terminal and entering "locate libjvm.so". The output will list all locations where the file is located.
Don't forget to also fill in the path to the libjvm.so in the setup.xml file in the Octoshape folder:
This should now work. All you have to do is open the Terminal and got to the Octoshape folder and call the program with the URL of the stream as a parameter:./OctoshapeClient -url:XYZ.xyz
The XYZ.xyz part is the URL and you can find different streams and their URLs on this Octoshape page. The actual URL is in the "Play" column.
Calling the stream this way is not very practical so I found a way of creating an icon and putting it on the desktop. Here are the instructions:
Create a link on the desktop to launch the program
Right-click on an empty space on the desktop and select "Create launcher" from the menu that opens:

Type: Application in Terminal
Name: RtvSlo 1
Command: /home/[username]/octoshape/OctoshapeClient -url:RTVSLO.tvslo1
You can give yourself a favour and prevent any typos by selecting the location of the Octoshape program by selecting the "Browse" button on the right.
Comment: RTV Slovenija 1
You can do the same for RTV Slovenija 2:
Type: Application in Terminal
Name: RtvSlo 2
Command: /home/[username]/octoshape/OctoshapeClient -url:RTVSLO.tvslo2
Comment: RTV Slovenija 2
------------------------------------------
UPDATE
If a windows user will accidentally wander on this page he or she can be comforted by the fact the the whole setup is dead easy and can be found here, albeit in Slovene. You basically install Octoshape and Java. When I say Java, I mean the JRE and you might already have it installed. If you are not sure you can check on the Java page here - the test supports different systems including Windows and Linux - well it worked on my machines.
UPDATE for Ubuntu 8.04 (Hardy Heron)
The Octoshape plugin works, but you will have to either re-install Octoshape and Java and correct the path to the libjvm.so file. The Hardy Heron installed 1.6.0.06 and the new path was: /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/i386/client/libjvm.so
You must also re-edit the setup.cfg file if you re-installed Octoshape. Just check it anyway so you don't have to go through needless de-bugging.


2 comments:
Hi Martin,
Kudos from another Linux user, and thanks for the heads-up with regards to Octoshape.
I got it working with Java 6 on my Fedora system with no issues.
HOWEVER, I noticed that Octoshape calls MPlayer. Is there ANY way to make Octoshape also pass the "-zoom" parameter to MPlayer so the windows can be resized as well as the video feed inside?. Or perhaps to pass the "-FS" switch to Mplayer to start it full-screen?.
It would be trivial to create a bash script that adds the parameter and then calls a renamed Mplayer but why bother?.
Surely someone thought about it?. It's also a shame that Octoshape still calls its Linux version "Beta" and can't create a proper installer for it (the Windows version in contrast is Vista-ready already, and not a beta tag in sight). Sheesh on Octoshape. :)
FC
Hi all!
I've installed today java6, mplayer and a octoplugin.
If I try to launch ./OctoshapeClient -url:XYZ I can't see anything.
I only ear the audio channel, but mplayer don't start!!! (actually, I don't know who reproduce the audio!!!!!!)
It's strange... isn't it?
ah... I use Ubuntu 8.04
Can you help me? (today I'd like to see a olimpic basket match) ;)
Post a Comment