What is the proper pipeline for YouTube video playback?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the proper pipeline for YouTube video playback?

Gao, Ping

Hi all:

 

Has anybody developed pipeline to play YouTube video (MPEG4 video and AAC audio) through gstreamer rtspsrc, etc.?

 

I am running on FC9 with the following packages installed:

gstreamer-0.10.24

gst-plugins-base-0.10.24

gst-plugins-good-0.10.8

gst-plugins-bad-0.10.14

gst-plugins-ugly-0.10.12

gst-ffmpeg-0.10.8

 

 

Here is the command line I used and the error messages:

[root@localhost zgrviewer]# gst-launch rtspsrc location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2: Internal data flow error.

Additional debug info:

gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:

streaming task paused, reason not-linked (-1)

Execution ended after 2758843655 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

 

What is missing in my command?  If anybody has some sample application code for YOuTuve video playback, that will help too.  Thanks

 

Ping


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Edward Hervey
Administrator
The proper pipeline is ...

  gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...

  Don't try building the pipeline yourself, playbin2 can do it for you

On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:

> Hi all:
>
>  
>
> Has anybody developed pipeline to play YouTube video (MPEG4 video and
> AAC audio) through gstreamer rtspsrc, etc.?
>
>  
>
> I am running on FC9 with the following packages installed:
>
> gstreamer-0.10.24
>
> gst-plugins-base-0.10.24
>
> gst-plugins-good-0.10.8
>
> gst-plugins-bad-0.10.14
>
> gst-plugins-ugly-0.10.12
>
> gst-ffmpeg-0.10.8
>
>  
>
>  
>
> Here is the command line I used and the error messages:
>
> [root@localhost zgrviewer]# gst-launch rtspsrc
> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>
> Pipeline is live and does not need PREROLL ...
>
> Setting pipeline to PLAYING ...
>
> New clock: GstSystemClock
>
> ERROR: from
> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
> Internal data flow error.
>
> Additional debug info:
>
> gstbasesrc.c(2378): gst_base_src_loop
> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>
> streaming task paused, reason not-linked (-1)
>
> Execution ended after 2758843655 ns.
>
> Setting pipeline to PAUSED ...
>
> Setting pipeline to READY ...
>
> Setting pipeline to NULL ...
>
> Freeing pipeline ...
>
>  
>
>  
>
> What is missing in my command?  If anybody has some sample application
> code for YOuTuve video playback, that will help too.  Thanks
>
>  
>
> Ping
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Gao, Ping
Hi Edward:

Thanks for your suggestion.
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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.

Ping

-----Original Message-----
From: Edward Hervey [mailto:[hidden email]]
Sent: Wednesday, September 16, 2009 4:06 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

The proper pipeline is ...

  gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...

  Don't try building the pipeline yourself, playbin2 can do it for you

On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:

> Hi all:
>
>
>
> Has anybody developed pipeline to play YouTube video (MPEG4 video and
> AAC audio) through gstreamer rtspsrc, etc.?
>
>
>
> I am running on FC9 with the following packages installed:
>
> gstreamer-0.10.24
>
> gst-plugins-base-0.10.24
>
> gst-plugins-good-0.10.8
>
> gst-plugins-bad-0.10.14
>
> gst-plugins-ugly-0.10.12
>
> gst-ffmpeg-0.10.8
>
>
>
>
>
> Here is the command line I used and the error messages:
>
> [root@localhost zgrviewer]# gst-launch rtspsrc
> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>
> Pipeline is live and does not need PREROLL ...
>
> Setting pipeline to PLAYING ...
>
> New clock: GstSystemClock
>
> ERROR: from
> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
> Internal data flow error.
>
> Additional debug info:
>
> gstbasesrc.c(2378): gst_base_src_loop
> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>
> streaming task paused, reason not-linked (-1)
>
> Execution ended after 2758843655 ns.
>
> Setting pipeline to PAUSED ...
>
> Setting pipeline to READY ...
>
> Setting pipeline to NULL ...
>
> Freeing pipeline ...
>
>
>
>
>
> What is missing in my command?  If anybody has some sample application
> code for YOuTuve video playback, that will help too.  Thanks
>
>
>
> Ping
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Shawn McMurdo
If playbin works, you could write a short program that used playbin and then inspect the pipeline that gets created inside playbin.
Shawn


From: "Gao, Ping" <[hidden email]>
To: Discussion of the development of GStreamer <[hidden email]>
Sent: Wednesday, September 16, 2009 9:40:54 AM
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

Hi Edward:

Thanks for your suggestion.
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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.

Ping

-----Original Message-----
From: Edward Hervey [mailto:[hidden email]]
Sent: Wednesday, September 16, 2009 4:06 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

The proper pipeline is ...

  gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...

  Don't try building the pipeline yourself, playbin2 can do it for you

On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:

> Hi all:
>
>
>
> Has anybody developed pipeline to play YouTube video (MPEG4 video and
> AAC audio) through gstreamer rtspsrc, etc.?
>
>
>
> I am running on FC9 with the following packages installed:
>
> gstreamer-0.10.24
>
> gst-plugins-base-0.10.24
>
> gst-plugins-good-0.10.8
>
> gst-plugins-bad-0.10.14
>
> gst-plugins-ugly-0.10.12
>
> gst-ffmpeg-0.10.8
>
>
>
>
>
> Here is the command line I used and the error messages:
>
> [root@localhost zgrviewer]# gst-launch rtspsrc
> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>
> Pipeline is live and does not need PREROLL ...
>
> Setting pipeline to PLAYING ...
>
> New clock: GstSystemClock
>
> ERROR: from
> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
> Internal data flow error.
>
> Additional debug info:
>
> gstbasesrc.c(2378): gst_base_src_loop
> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>
> streaming task paused, reason not-linked (-1)
>
> Execution ended after 2758843655 ns.
>
> Setting pipeline to PAUSED ...
>
> Setting pipeline to READY ...
>
> Setting pipeline to NULL ...
>
> Freeing pipeline ...
>
>
>
>
>
> What is missing in my command?  If anybody has some sample application
> code for YOuTuve video playback, that will help too.  Thanks
>
>
>
> Ping
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
In reply to this post by Gao, Ping
Maybe a dumb question, but if playbin is not supported on your device, perhaps its because some of the other bits and pieces it needs aren't there either?

--wally.


________________________________________
From: Gao, Ping [[hidden email]]
Sent: Wednesday, September 16, 2009 11:40 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

Hi Edward:

Thanks for your suggestion.
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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.

Ping
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Gao, Ping

It does support gstreamer-0.10.22, gst-plugins-base-0.0.10.22, and part of gst-plugins-good-0.10.14.   I already made rtsp build working for my device.

My plan was to have youtube video play on my Linux host first, then apply to my device.  I know all the proper codecs are all available on my device, just different from those used in Linux host since they are supported in hardware.  However, I'm having hard time to find the proper pipeline.

-----Original Message-----
From: Kulecz, Walter (JSC-SK)[WYLE LABORATORIES] [mailto:[hidden email]]
Sent: Wednesday, September 16, 2009 11:04 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

Maybe a dumb question, but if playbin is not supported on your device, perhaps its because some of the other bits and pieces it needs aren't there either?

--wally.


________________________________________
From: Gao, Ping [[hidden email]]
Sent: Wednesday, September 16, 2009 11:40 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

Hi Edward:

Thanks for your suggestion.
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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.

Ping
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Aurelien Grimaud (elzz)
In reply to this post by Gao, Ping
Hi,
If you want to know what is used by playbin2, use the -v option ...

gst-launch-0.10 -v  playbin2
uri="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"

Then you see this is mpeg4 ...

So the correct pipeline is
gst-launch-0.10 -v  rtspsrc
location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink

Aurelien

Le 16/09/2009 18:40, Gao, Ping a écrit :

> Hi Edward:
>
> Thanks for your suggestion.
> 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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.
>
> Ping
>
> -----Original Message-----
> From: Edward Hervey [mailto:[hidden email]]
> Sent: Wednesday, September 16, 2009 4:06 AM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?
>
> The proper pipeline is ...
>
>    gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...
>
>    Don't try building the pipeline yourself, playbin2 can do it for you
>
> On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:
>    
>> Hi all:
>>
>>
>>
>> Has anybody developed pipeline to play YouTube video (MPEG4 video and
>> AAC audio) through gstreamer rtspsrc, etc.?
>>
>>
>>
>> I am running on FC9 with the following packages installed:
>>
>> gstreamer-0.10.24
>>
>> gst-plugins-base-0.10.24
>>
>> gst-plugins-good-0.10.8
>>
>> gst-plugins-bad-0.10.14
>>
>> gst-plugins-ugly-0.10.12
>>
>> gst-ffmpeg-0.10.8
>>
>>
>>
>>
>>
>> Here is the command line I used and the error messages:
>>
>> [root@localhost zgrviewer]# gst-launch rtspsrc
>> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>>
>> Pipeline is live and does not need PREROLL ...
>>
>> Setting pipeline to PLAYING ...
>>
>> New clock: GstSystemClock
>>
>> ERROR: from
>> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>> Internal data flow error.
>>
>> Additional debug info:
>>
>> gstbasesrc.c(2378): gst_base_src_loop
>> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>>
>> streaming task paused, reason not-linked (-1)
>>
>> Execution ended after 2758843655 ns.
>>
>> Setting pipeline to PAUSED ...
>>
>> Setting pipeline to READY ...
>>
>> Setting pipeline to NULL ...
>>
>> Freeing pipeline ...
>>
>>
>>
>>
>>
>> What is missing in my command?  If anybody has some sample application
>> code for YOuTuve video playback, that will help too.  Thanks
>>
>>
>>
>> Ping
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>      
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>    


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Stefan Sauer
In reply to this post by Gao, Ping
Gao, Ping schrieb:
> Hi Edward:
>
> Thanks for your suggestion.
> 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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.

Can you tell use why you cannot use playbin or even better playbin2. It is
supposed to work fine on embedded devices too. And if it does not for you then
it might be worth to figure that out and fix it.

Stefan

>
> Ping
>
> -----Original Message-----
> From: Edward Hervey [mailto:[hidden email]]
> Sent: Wednesday, September 16, 2009 4:06 AM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?
>
> The proper pipeline is ...
>
>   gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...
>
>   Don't try building the pipeline yourself, playbin2 can do it for you
>
> On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:
>> Hi all:
>>
>>
>>
>> Has anybody developed pipeline to play YouTube video (MPEG4 video and
>> AAC audio) through gstreamer rtspsrc, etc.?
>>
>>
>>
>> I am running on FC9 with the following packages installed:
>>
>> gstreamer-0.10.24
>>
>> gst-plugins-base-0.10.24
>>
>> gst-plugins-good-0.10.8
>>
>> gst-plugins-bad-0.10.14
>>
>> gst-plugins-ugly-0.10.12
>>
>> gst-ffmpeg-0.10.8
>>
>>
>>
>>
>>
>> Here is the command line I used and the error messages:
>>
>> [root@localhost zgrviewer]# gst-launch rtspsrc
>> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>>
>> Pipeline is live and does not need PREROLL ...
>>
>> Setting pipeline to PLAYING ...
>>
>> New clock: GstSystemClock
>>
>> ERROR: from
>> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>> Internal data flow error.
>>
>> Additional debug info:
>>
>> gstbasesrc.c(2378): gst_base_src_loop
>> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>>
>> streaming task paused, reason not-linked (-1)
>>
>> Execution ended after 2758843655 ns.
>>
>> Setting pipeline to PAUSED ...
>>
>> Setting pipeline to READY ...
>>
>> Setting pipeline to NULL ...
>>
>> Freeing pipeline ...
>>
>>
>>
>>
>>
>> What is missing in my command?  If anybody has some sample application
>> code for YOuTuve video playback, that will help too.  Thanks
>>
>>
>>
>> Ping
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: What is the proper pipeline for YouTube video playback?

Gao, Ping
In reply to this post by Aurelien Grimaud (elzz)
Great.  How do I add the audio then?

-----Original Message-----
From: Aurelien Grimaud [mailto:[hidden email]]
Sent: Wednesday, September 16, 2009 12:15 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?

Hi,
If you want to know what is used by playbin2, use the -v option ...

gst-launch-0.10 -v  playbin2
uri="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"

Then you see this is mpeg4 ...

So the correct pipeline is
gst-launch-0.10 -v  rtspsrc
location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink

Aurelien

Le 16/09/2009 18:40, Gao, Ping a écrit :

> Hi Edward:
>
> Thanks for your suggestion.
> 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.  I did try playbin myself before and it does give me video, however, I can't use that approach.  Do you know a way to get the pipeline for this case?  Thanks a lot.
>
> Ping
>
> -----Original Message-----
> From: Edward Hervey [mailto:[hidden email]]
> Sent: Wednesday, September 16, 2009 4:06 AM
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] What is the proper pipeline for YouTube video playback?
>
> The proper pipeline is ...
>
>    gst-launch-0.10 playbin2 uri=rtsp://rtsp2.youtube.com/...
>
>    Don't try building the pipeline yourself, playbin2 can do it for you
>
> On Tue, 2009-09-15 at 18:44 -0500, Gao, Ping wrote:
>
>> Hi all:
>>
>>
>>
>> Has anybody developed pipeline to play YouTube video (MPEG4 video and
>> AAC audio) through gstreamer rtspsrc, etc.?
>>
>>
>>
>> I am running on FC9 with the following packages installed:
>>
>> gstreamer-0.10.24
>>
>> gst-plugins-base-0.10.24
>>
>> gst-plugins-good-0.10.8
>>
>> gst-plugins-bad-0.10.14
>>
>> gst-plugins-ugly-0.10.12
>>
>> gst-ffmpeg-0.10.8
>>
>>
>>
>>
>>
>> Here is the command line I used and the error messages:
>>
>> [root@localhost zgrviewer]# gst-launch rtspsrc
>> location="rtsp://rtsp2.youtube.com/CiQLENy73wIaGwnYRKJ3bPTBdBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp" ! rtph264depay ! ffdec_h264 ! xvimagesinkSetting pipeline to PAUSED ...
>>
>> Pipeline is live and does not need PREROLL ...
>>
>> Setting pipeline to PLAYING ...
>>
>> New clock: GstSystemClock
>>
>> ERROR: from
>> element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>> Internal data flow error.
>>
>> Additional debug info:
>>
>> gstbasesrc.c(2378): gst_base_src_loop
>> (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
>>
>> streaming task paused, reason not-linked (-1)
>>
>> Execution ended after 2758843655 ns.
>>
>> Setting pipeline to PAUSED ...
>>
>> Setting pipeline to READY ...
>>
>> Setting pipeline to NULL ...
>>
>> Freeing pipeline ...
>>
>>
>>
>>
>>
>> What is missing in my command?  If anybody has some sample application
>> code for YOuTuve video playback, that will help too.  Thanks
>>
>>
>>
>> Ping
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel