Writings Photos Code Contact Resume
Justin TV without flash!

You are here

Submitted by msameer on Sun, 11/03/2012 - 3:18pm

Justin TV is a streaming service that uses the broken flash concept in order to allow you to view channels.

Unfortunately it's the only source of Arabic movies, series and shows.

I wrote a GStreamer source that retrieves the channel information and uses libRTMP to connect to the Justin streaming server. The rest is handled by GStreamer ;-)

If you want to watch http://www.justin.tv/ammartv for example, you simply do

gst-launch-0.10 playbin uri=jtv://ammartv

The 2nd plugin is a Totem plugin that indirectly utilizes the GStreamer source.
Given a language code (ar or en or ...), it will download the list of channels in that language and shows them in Totem's side panel. One can then easily double click on a channel and simply watch it. I originally wanted to do the Totem plugin in python but the inability to do asynchronous callback based HTTP requests prevented me :-(

Be warned that the code is of course a bit buggy and needs a lot of cleanups, it's been years since I coded anything in Gtk and that Justin might find out and either block the source somehow or even change the protocol but let's wait until that happens ;-)


Submitted by Anonymous (not verified) on Sun, 11/11/2012 - 9:35am

thanks and I'm new to linux world...
how can I put this into my ubuntu box and make it running?

be nice to have some FAQ

Submitted by msameer on Fri, 30/11/2012 - 2:13am

Your best option would be to find the ubuntu forum and ask there. People can easily answer you :)

Submitted by benny (not verified) on Sun, 11/11/2012 - 11:12am

nice and thanks...
I have installed and when i run the program and got this results...

mainpc@mainpc-desktop:~/justin-tv-gstreamer-source$ gst-launch-0.10 playbin uri=jtv://mo159
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Missing element: JTV protocol source
ERROR: from element /GstPlayBin:playbin0: A JTV protocol source plugin is required to play this stream, but not installed.
Additional debug info:
gstplaybasebin.c(1686): gen_source_element (): /GstPlayBin:playbin0:
No URI handler for jtv
Setting pipeline to NULL ...
Freeing pipeline ...

any ideas?
Thanks in advance.

Submitted by msameer on Fri, 30/11/2012 - 2:10am

make sure you pass --prefix=/usr to ./configure

Add new comment

Subscribe to /  digg  bookmark