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=&quot;<a href="http://www.dailymotion.com/swf/x5merm?autoPlay=1">http://www.dailymotion.com/swf/x5merm?autoPlay=1</a>&quot; ! fakesink<br>Définition du pipeline à PAUSED...<br>
ERREUR : le pipeline refuse de se mettre en pause.<br>Message reçu de l&#39;é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&#39;é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&#39;é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&#39;élément « gnomevfssrc0 » (error) : GstMessageError, gerror=(GstGError)(NULL), debug=(string)&quot;gstgnomevfssrc.c\(848\):\ gst_gnome_vfs_src_start\ \(\):\ /pipeline0/gnomevfssrc0:\012No\ filename\ given&quot;;<br>
ERREUR : de l&#39;élément /pipeline0/gnomevfssrc0 : Impossible d&#39;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 &lt;<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>&gt;:<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>
&gt; I do not understand how did you get the url :<br>
&gt; 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>
&gt; In the source page there is :<br>
&gt; <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&#39;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>
&gt; I put the http url in an other webbrowser tab but then where are<br>
&gt; quicktime movies&#39;s redirects ?<br>
&gt;<br>
&gt; thx<br>
&gt;<br>
&gt;<br>
&gt; 2008/3/14, Wim Taymans &lt;<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Following the .mov in the page source and then the redirects<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; in the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; quicktime movie resolves to this, which plays fine for me:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; gst-launch rtspsrc<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 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 &nbsp;s. ! rtpmp4gdepay ! faad ! alsasink<br>


&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Wim<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Thx<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; -------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; This SF.net email is sponsored by: Microsoft<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; _______________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; gstreamer-devel mailing list<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>