Python Client VLC Support?

Asked by Shane G

Hi Guys,
Have just started to have a play around with the Python client which is working fine,
Want we want to be able to do is to stream Live TV from a linux box using something like VLC,
The question I have is what would be the best way to do this?
I have the idea of using VLC / ffmpeg to create a FLV stream which can be played in a web browser, is there any reason why this wouldn't work with the python client?

Also I found the TvMedia.py file at http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/view/head:/client/python/plugins/media/TvMedia.py and can't find much info about it, does this solve my problems?

Thanks Shane

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Mathis
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

I don't think you'll be able to use the VLC plugin. The embedding technology
Awesomium knows how to handle Flash embedded so I expect changes would be
needed there to make that work.

You may be able to use an HTML 5 video tag of some sort. I don't know, I've
never tried.

The TV media type will pull in a video for linux capture device, but needs
an updated version of libavg to work. There's also no server capable of
producing the layouts to run it, so you'd have to do that by hand.

Brian has been working on something similar and may have some insight.

Alex

Revision history for this message
Best Brian Mathis (bcmathis) said :
#2

Alex is correct, the VLC plugin will not work at this time. I've also tried a number of different mime types while streaming from VLC with no success.

Since Flash works, I am currently looking into setting up a Flash streaming server and embedding that into a web page which Xibo can then pull to the clients. I am thinking Red5 server along with JW Player, but am still investigating the install and correct usage of said apps.

If I get something working, I'll be sure to create a howto.

- Brian

Revision history for this message
Shane G (stu9150) said :
#3

Thanks Brian Mathis, that solved my question.

Revision history for this message
Brian Mathis (bcmathis) said :
#4

This is what I have so far...

Red5 is a open source flash streaming server which allows you to stream static movie files or a live capture over http using flash. (server install howto: http://tumbledesign.com/how-to-install-red5-0-9-on-ubuntu-10-04-lts/)

Once it is installed, you will need to create/setup the stream using Eclipse and the Red5 plugin (howto: http://trac.red5.org/wiki/Red5Plugin & http://trac.red5.org/wiki/Red5Plugin/CreatingRed5Projects along with videos).

After the stream is setup, then set your flash/html5 (JW Player or similar) player to capture the stream using the instructions that come with the player. Then its a matter of adding a webpage to your layout to play the video/stream.

Unfortunately for me, I could not setup Eclipse correctly on my machine which I am still working on. But, all the steps are there and you should be able to get it working as long as you can get Eclipse to work for you. If you do get it working, please take notes and report back.

- Brian