Writings Photos Code Contact Resume Me
Justin TV without flash!
Submitted by msameer on Sun, 11/03/2012 - 5: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 ;-)

Syndicate content  digg  bookmark

Submitted by Anonymous (not verified) on Sun, 11/11/2012 - 11: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 - 4: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 - 1:12pm.

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 - 4:10am.

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

Post new comment
(If you're a human, don't change the following field)
Your first name.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <s> <li> <ol> <u> <ul> <br> <br /> <blockquote>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options