[gst-devel] [quicktime flux] how to use rtpxqtdepay ?

Julien Isorce julien.isorce at gmail.com
Mon Jun 2 19:42:45 CEST 2008


Hi;

Is it possible to play a video/audio stream from youtube or dailymotion,
with gstreamer ?

I tried to retrieve the correct url with gnomevfssrc but I got the following
:

from kubuntu-KDE4 :

In source page I got the video_src :
http://www.dailymotion.com/swf/x5merm?autoPlay=1

then I do the thing:

gst-launch-0.10 -m gnomevfssrc location="
http://www.dailymotion.com/swf/x5merm?autoPlay=1" ! fakesink
Définition du pipeline à PAUSED...
ERREUR : le pipeline refuse de se mettre en pause.
Message reçu de l'élément « fakesink0 » (state-changed) : GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Message reçu de l'élément « gnomevfssrc0 » (state-changed) :
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Message reçu de l'élément « pipeline0 » (state-changed) : GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Message reçu de l'élément « gnomevfssrc0 » (error) : GstMessageError,
gerror=(GstGError)(NULL), debug=(string)"gstgnomevfssrc.c\(848\):\
gst_gnome_vfs_src_start\ \(\):\ /pipeline0/gnomevfssrc0:\012No\ filename\
given";
ERREUR : de l'élément /pipeline0/gnomevfssrc0 : Impossible d'ouvrir la
ressource en lecture.
Information de débogage supplémentaire :
gstgnomevfssrc.c(848): gst_gnome_vfs_src_start (): /pipeline0/gnomevfssrc0:
No filename given
Définition du pipeline à NULL...
Libération du pipeline (FREE)...

Where am I wrong ?

Thx


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

> On Sat, 2008-03-15 at 14:35 +0100, Julien Isorce wrote:
> > I do not understand how did you get the url :
> > rtsp://
> a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov
>
> > In the source page there is :
> >
> http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_650_ref.mov
>
> if you run
>
> gst-launch -m gnomevfssrc location=http://stream.....650_ref.mov !
> qtdemux
>
> you'll see a redirect message to
>
> http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov
>
> then with
>
> gst-launch -m gnomevfssrc location=http://stream..2_650_ref.mov !
> qtdemux
>
> you find another redirect to the real RTSP url above.
>
> Wim
>
> > I put the http url in an other webbrowser tab but then where are
> > quicktime movies's redirects ?
> >
> > thx
> >
> >
> > 2008/3/14, Wim Taymans <wim.taymans at gmail.com>:
> >
> >
> >         Following the .mov in the page source and then the redirects
> >         in the
> >         quicktime movie resolves to this, which plays fine for me:
> >
> >         gst-launch rtspsrc
> >         location=rtsp://
> a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.movname=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad !
> alsasink
> >
> >         Wim
> >         >
> >         > Thx
> >         >
> >
> -------------------------------------------------------------------------
> >         > 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/20080602/3a9250db/attachment.htm>


More information about the gstreamer-devel mailing list