Hi;<br><br>Is it possible to play a video/audio stream from youtube or dailymotion, with gstreamer ?<br><br>I tried to retrieve the correct url with gnomevfssrc but I got the following :<br><br>from kubuntu-KDE4 :<br><br> In source page I got the video_src :<a href="http://www.dailymotion.com/swf/x5merm?autoPlay=1">http://www.dailymotion.com/swf/x5merm?autoPlay=1</a><br>
<br>then I do the thing:<br><br>gst-launch-0.10 -m gnomevfssrc location="<a href="http://www.dailymotion.com/swf/x5merm?autoPlay=1">http://www.dailymotion.com/swf/x5merm?autoPlay=1</a>" ! fakesink<br>Définition du pipeline à PAUSED...<br>
ERREUR : le pipeline refuse de se mettre en pause.<br>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;<br>
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;<br>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;<br>
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";<br>
ERREUR : de l'élément /pipeline0/gnomevfssrc0 : Impossible d'ouvrir la ressource en lecture.<br>Information de débogage supplémentaire :<br>gstgnomevfssrc.c(848): gst_gnome_vfs_src_start (): /pipeline0/gnomevfssrc0:<br>
No filename given<br>Définition du pipeline à NULL...<br>Libération du pipeline (FREE)...<br><br>Where am I wrong ?<br><br>Thx<br><br><br><div class="gmail_quote">2008/3/17 Wim Taymans <<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Sat, 2008-03-15 at 14:35 +0100, Julien Isorce wrote:<br>
> I do not understand how did you get the url :<br>
> rtsp://<a href="http://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov" target="_blank">a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov</a><br>
<br>
> In the source page there is :<br>
> <a href="http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_650_ref.mov" target="_blank">http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_650_ref.mov</a><br>
<br>
</div>if you run<br>
<br>
gst-launch -m gnomevfssrc location=<a href="http://stream." target="_blank">http://stream.</a>....650_ref.mov !<br>
qtdemux<br>
<br>
you'll see a redirect message to<br>
<br>
<a href="http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov" target="_blank">http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov</a><br>
<br>
then with<br>
<br>
gst-launch -m gnomevfssrc location=<a href="http://stream." target="_blank">http://stream.</a>.2_650_ref.mov !<br>
qtdemux<br>
<br>
you find another redirect to the real RTSP url above.<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div><br>
> I put the http url in an other webbrowser tab but then where are<br>
> quicktime movies's redirects ?<br>
><br>
> thx<br>
><br>
><br>
> 2008/3/14, Wim Taymans <<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>>:<br>
><br>
><br>
> Following the .mov in the page source and then the redirects<br>
> in the<br>
> quicktime movie resolves to this, which plays fine for me:<br>
><br>
> gst-launch rtspsrc<br>
> location=rtsp://<a href="http://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov" target="_blank">a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov</a> name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink s. ! rtpmp4gdepay ! faad ! alsasink<br>
><br>
> Wim<br>
> ><br>
> > Thx<br>
> ><br>
> -------------------------------------------------------------------------<br>
> > This SF.net email is sponsored by: Microsoft<br>
> > Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
> > <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
> > _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>
><br>
<br>
</div></div></blockquote></div><br>