<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>If playbin works, you could write a short program that used playbin and then inspect the pipeline that gets created inside playbin.<br>Shawn<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 14pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "Gao, Ping" &lt;ping.gao@harman.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion of the development of GStreamer &lt;gstreamer-devel@lists.sourceforge.net&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 16, 2009 9:40:54 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gst-devel] What is the proper pipeline for YouTube video
 playback?<br></font><br>
Hi Edward:<br><br>Thanks for your suggestion.<br>I am preparing youtube playback on a device eventually. Since on the device playbin is not supported, I need to figure out the actual pipeline and write in software.&nbsp; I did try playbin myself before and it does give me video, however, I can't use that approach.&nbsp; Do you know a way to get the pipeline for this case?&nbsp; Thanks a lot.<br><br>Ping<br><br>-----Original Message-----<br>From: Edward Hervey [mailto:<a ymailto="mailto:bilboed@gmail.com" href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>]<br>Sent: Wednesday, September 16, 2009 4:06 AM<br>To: Discussion of the development of GStreamer<br>Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?<br><br>The proper pipeline is ...<br><br>&nbsp; gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...<br><br>&nbsp; Don't try building the pipeline yourself, playbin2 can do it for you<br><br>On Tue, 2009-09-15 at
 18:44 -0500, Gao, Ping wrote:<br>&gt; Hi all:<br>&gt;<br>&gt;<br>&gt;<br>&gt; Has anybody developed pipeline to play YouTube video (MPEG4 video and<br>&gt; AAC audio) through gstreamer rtspsrc, etc.?<br>&gt;<br>&gt;<br>&gt;<br>&gt; I am running on FC9 with the following packages installed:<br>&gt;<br>&gt; gstreamer-0.10.24<br>&gt;<br>&gt; gst-plugins-base-0.10.24<br>&gt;<br>&gt; gst-plugins-good-0.10.8<br>&gt;<br>&gt; gst-plugins-bad-0.10.14<br>&gt;<br>&gt; gst-plugins-ugly-0.10.12<br>&gt;<br>&gt; gst-ffmpeg-0.10.8<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Here is the command line I used and the error messages:<br>&gt;<br>&gt; [root@localhost zgrviewer]# gst-launch rtspsrc<br>&gt; location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...<br>&gt;<br>&gt; Pipeline is live and does not need PREROLL ...<br>&gt;<br>&gt; Setting
 pipeline to PLAYING ...<br>&gt;<br>&gt; New clock: GstSystemClock<br>&gt;<br>&gt; ERROR: from<br>&gt; element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:<br>&gt; Internal data flow error.<br>&gt;<br>&gt; Additional debug info:<br>&gt;<br>&gt; gstbasesrc.c(2378): gst_base_src_loop<br>&gt; (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:<br>&gt;<br>&gt; streaming task paused, reason not-linked (-1)<br>&gt;<br>&gt; Execution ended after 2758843655 ns.<br>&gt;<br>&gt; Setting pipeline to PAUSED ...<br>&gt;<br>&gt; Setting pipeline to READY ...<br>&gt;<br>&gt; Setting pipeline to NULL ...<br>&gt;<br>&gt; Freeing pipeline ...<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; What is missing in my command?&nbsp; If anybody has some sample application<br>&gt; code for YOuTuve video playback, that will help too.&nbsp; Thanks<br>&gt;<br>&gt;<br>&gt;<br>&gt; Ping<br>&gt;<br>&gt;<br>&gt;
 ------------------------------------------------------------------------------<br>&gt; Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>&gt; is the only developer event you need to attend this year. Jumpstart your<br>&gt; developing skills, take BlackBerry mobile applications to market and stay<br>&gt; ahead of the curve. Join us from November 9-12, 2009. Register now!<br><span>&gt; <a target="_blank" href="http://p.sf.net/sfu/devconf">http://p.sf.net/sfu/devconf</a></span><br>&gt; _______________________________________________ gstreamer-devel mailing list <a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <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>Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>is the only developer event you need to attend this year. Jumpstart your<br>developing skills, take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us from November 9-12, 2009. Register now!<br><a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">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>Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>is the only developer event you need to attend this year. Jumpstart your<br>developing skills, take BlackBerry mobile applications to market and stay <br>ahead of the curve. Join us from November 9-12, 2009. Register now!<br><a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">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></div></div></div><br>



      </body></html>