[gst-devel] HTTP pseudo-streaming

Julien Isorce julien.isorce at gmail.com
Tue Jun 3 11:07:42 CEST 2008


ok thx Wimn

and with video + audio :

*dailymotion :*

gst-launch-0.10 -v neonhttpsrc location="
http://proxy-33.dailymotion.com/14/848x480/on2/8398448.on2?9f4c43f828e23584e9d28a4fdc03006813460ae"
! queue ! flvdemux name=d d. ! queue ! ffdec_vp6f ! ffmpegcolorspace !
directdrawsink d. ! queue ! ffdec_mp3 ! audioconvert ! directsoundsink

*youtube:

*gst-launch-0.10 neonhttpsrc location="
http://vp.video.google.com/videoplayback?id=eeaef0ce92daf284&itag=18&begin=0&len=604800000&signature=32FE30AA6EEB1CA5FAEB3E39CC1D252CD4AD110F.73B7FF8DBE5AD1BE41936DF5427B03FA3E91F44A&ip=74.86.48.26&ipbits=16&expire=1212501622&key=yt1&sver=2"
! queue ! qtdemux name=d d. ! queue ! ffdec_h264 ! xvimagesink d. ! queue !
faad ! alsasink

J.

2008/6/3 Wim Taymans <wim.taymans at gmail.com>:

> On Tue, 2008-06-03 at 10:21 +0200, Julien Isorce wrote:
> > yes sure and that is that I wanted too.
> >
> > I read again the Frans Van Berckel 's mail and I finally understood
> > what it means.
> > So I put the http://www.dailymotion.com/swf/x5merm?autoPlay=1 in the
> > web site he gave but the link is not resolved
> > ( http://keepvid.com/ )
> >
> > I finally got an dailymotion url . So the following pipeline works
> > fine :
> >
> > gst-launch-0.10 -v neonhttpsrc
> > location="
> http://proxy-33.dailymotion.com/14/848x480/on2/8398448.on2?9f4c43f828e23584e9d28a4fdc03006813460ae"
> ! queue ! flvdemux ! fakesink
> >
> > I tried to connect a ffdec_flv to the flvdemux but it's not working.
>
> Of course ffdec_flv is not working! the caps indicate you need
> ffdec_vp6f and... wow! it suddenly works then. Also playbin could have
> figured that out for you too (hint -v to see what elements are used)...
>
> >
> > A youtube link from http://keepvid.com/ , it's said that it's a mp4
> > source :
> >
> > gst-launch-0.10 -v -m neonhttpsrc
> > location="
> http://vp.video.google.com/videoplayback?id=eeaef0ce92daf284&itag=18&begin=0&len=604800000&signature=32FE30AA6EEB1CA5FAEB3E39CC1D252CD4AD110F.73B7FF8DBE5AD1BE41936DF5427B03FA3E91F44A&ip=74.86.48.26&ipbits=16&expire=1212501622&key=yt1&sver=2"
> ! queue ! fakesink
> >
> > But I do not know what demuxer I have to use, I tried
>
> Adding typefind after neonhttpsrc and before fakesink tells me it's
> audio/x-m4a, which is something qtdemux understands. Again playbin
> manages to figure that out too.
>
> Wim
>
> >
> > Thx for help
> >
> > J.
> >
> >
> > 2008/6/3 Benoit Fouet <benoit.fouet at purplelabs.com>:
> >         Hi,
> >
> >         Julien Isorce wrote:
> >         > Hi,
> >         >
> >         > It seems that for example youtube or dailymotion use "HTTP
> >         > pseudo-streaming" :
> >         http://en.wikipedia.org/wiki/Flv#Delivery_options
> >         > So is there any gstreamer element that could play such
> >         flux ?
> >         > souphttpsrc ? neonhttpsrc
> >
> >         >
> >         <
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-neonhttpsrc.html
> >
> >         > ?
> >         >
> >         > I tried :
> >         >
> >         > gst-launch-0.10 neonhttpsrc
> >         > location=http://www.dailymotion.com/swf/x5merm?autoPlay=1 !
> >          flvdemux
> >         > ! ffdec_flv ! ffmpegcolorspace ! autovideosink
> >         >
> >         > but nothing happens, the sate is maintained to PAUSED.
> >         >
> >
> >
> >         you have to get the "real" URL of the video, not the link to
> >         the
> >         embedded player.
> >
> >         --
> >         Benoit Fouet
> >         Purple Labs S.A.
> >         www.purplelabs.com
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080603/6577ff6d/attachment.htm>


More information about the gstreamer-devel mailing list