Jump to content


Photo

Streaming to Box


  • Please log in to reply
10 replies to this topic

#1 whoami

  • Member
  • 14 posts

0
Neutral

Posted 23 April 2014 - 14:17

Is there a command line way to send a Youtube URL to a Box?



Re: Streaming to Box #2 ozzsurf

  • Senior Member
  • 131 posts

+3
Neutral

Posted 23 April 2014 - 19:50

what box you have



Re: Streaming to Box #3 whoami

  • Member
  • 14 posts

0
Neutral

Posted 24 April 2014 - 00:29

DM800se



Re: Streaming to Box #4 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 25 April 2014 - 10:03

Is there a command line way to send a Youtube URL to a Box?

Something like this may work ;-

 

gst-launch playbin2 uri=http://-------



Re: Streaming to Box #5 whoami

  • Member
  • 14 posts

0
Neutral

Posted 26 April 2014 - 12:15

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: text/html decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'text/html'.
Additional debug info:
/dreambox/oe.openpli-4/build/tmp/work/mips32el-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gsturidecodebin.c(883): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.
Additional debug info:
/dreambox/oe.openpli-4/build/tmp/work/mips32el-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gstdecodebin2.c(3679): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
 

"Your GStreamer installation is missing a plug-in". Which plugin?



Re: Streaming to Box #6 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 27 April 2014 - 16:56

youtube url contents is text so gstreamer complained because no known stream format(mp4,flv....)

you have to extract the direct streaming url then supply to the command posted by pcd 

but extraction of the stream url from youtube url is complex and need special code to do that

you can use TSmedia to do that simply by taking video_id from the youtube url and supply to the plugin

 

put your youtube url  as example  in this site  http://www.vlc.eu.pn/index.php and submit

open TSmedia/iptv/stream tester click the link in the top of the list your youtube video will start immediately


Edited by mfaraj57, 27 April 2014 - 17:01.


Re: Streaming to Box #7 whoami

  • Member
  • 14 posts

0
Neutral

Posted 28 April 2014 - 07:51

Thanks @mfaraj57, but i am interested to play a video from command line because I am testing a server on a DM800se that uses DIAL protocol



Re: Streaming to Box #8 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 28 April 2014 - 17:09

Then you have to catch the direct url by running one of the sniffer softwares(hidownload software-google) and catch the stream ulr

 

for example this  

http://www.youtube.com/watch?v=wOwblaKmyVw

 

stream url looks like this

 

http://r5---sn-wvgq5ouxaxjvh-5hhe.googlevideo.com/videoplayback?c=web&clen=13029974&cpn=TLUCTSeXaZYk1o_C&cver=as3&dur=179.764&expire=1398725160&fexp=931327,935500,935009,902403,931974,944603,937417,913434,936916,934022,936923,902408&gir=yes&id=o-AMlFVYDH4xpYVtVQ8la1WdGBNypPxDE_fmcEir9KLpZi&ip=46.185.191.175&ipbits=0&itag=134&keepalive=yes&key=yt5&lmt=1394299884222260&ms=au&mt=1398701085&mv=m&mws=yes&range=4554752-5693439&ratebypass=yes&signature=C1AD2830838599CEA56A5B8B45DD0927FE54F24D.D0FAE3C84B578B6991E919EB508D5C004456A366&source=youtube&sparams=clen,dur,gir,id,ip,ipbits,itag,lmt,source,upn,expire&sver=3&upn=LJogjdxCfAA

 

but keep in mind  this stream url will run for short time



Re: Streaming to Box #9 whoami

  • Member
  • 14 posts

0
Neutral

Posted 28 April 2014 - 21:19

So..

gst-launch playbin2 uri="http://r5---sn-wvgq5...upn=LJogjdxCfAA"

may work?



Re: Streaming to Box #10 amsterdamxxx

  • Member
  • 11 posts

+1
Neutral

Posted 3 May 2014 - 15:47

I think this is a great option:)

View this video on YouTube....

Take a small program 'Movie Streamer'works on Mac, PC ,Linux

http://cl.ly/0N1l473p3r0m



Re: Streaming to Box #11 whoami

  • Member
  • 14 posts

0
Neutral

Posted 10 May 2014 - 08:38

I need only the command that starts the stream




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users