Unable to play video streaming through Gstreamer

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

Unable to play video streaming through Gstreamer

Debsu
Unable to play video streaming through Gstreamer

Hi,

I am trying to play a video (URL taken from then YouTube web site) using gstreamer with the following command:

gst-launch-0.10 rtspsrc location=”rtsp://v4.cache8.c.youtube.com/CiQLENy73wIaGwkT2S2ln455QBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp” ! fakesink

But it gives me the following errors:

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.

Additional debug info:

gstrtspsrc.c(4339): gst_rtspsrc_open (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:

Could not connect to server. (Timeout while waiting for server response) Setting pipeline to NULL ...

FREEING pipeline ...

The same video can be played from the YouTube site itself.

Can’t Gstreamer play video streaming through RTSP? Can it play video through HTTP streaming?

Regards,

Debojyoti Pal


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play video streaming through Gstreamer

Kapil Agrawal
Your url doesn seem to exist anymore, so how can it find the said resource, and it gives proper error.


Thanks
Kapil

On Tue, Feb 9, 2010 at 12:58 PM, <[hidden email]> wrote:

Hi,

I am trying to play a video (URL taken from then YouTube web site) using gstreamer with the following command:

gst-launch-0.10 rtspsrc location=”rtsp://v4.cache8.c.youtube.com/CiQLENy73wIaGwkT2S2ln455QBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp” ! fakesink

But it gives me the following errors:

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.

Additional debug info:

gstrtspsrc.c(4339): gst_rtspsrc_open (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:

Could not connect to server. (Timeout while waiting for server response) Setting pipeline to NULL ...

FREEING pipeline ...

The same video can be played from the YouTube site itself.

Can’t Gstreamer play video streaming through RTSP? Can it play video through HTTP streaming?

Regards,

Debojyoti Pal


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
http://www.linkedin.com/in/kapilagrawal

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play video streaming through Gstreamer

Stefan Sauer
In reply to this post by Debsu
[hidden email] wrote:

>
> Hi,
>
> I am trying to play a video (URL taken from then YouTube web site)
> using gstreamer with the following command:
>
> gst-launch-0.10 rtspsrc
> location=”rtsp://v4.cache8.c.youtube.com/CiQLENy73wIaGwkT2S2ln455QBMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp”
> ! fakesink
>

These urls are dynamic. You can't bookmark them and play them later.

Stefan

>
> But it gives me the following errors:
>
> ERROR: Pipeline doesn't want to pause.
>
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could
> not open resource for reading and writing.
>
> Additional debug info:
>
> gstrtspsrc.c(4339): gst_rtspsrc_open ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
>
> Could not connect to server. (Timeout while waiting for server
> response) Setting pipeline to NULL ...
>
> FREEING pipeline ...
>
> The same video can be played from the YouTube site itself.
>
> Can’t Gstreamer play video streaming through RTSP? Can it play video
> through HTTP streaming?
>
> Regards,
>
> Debojyoti Pal
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play video streaming through Gstreamer

Debsu
Hi Stefan,
You are right, these URLs are dynamic. But I searched the video feeds from the YouTube server & once I got the XML file containing the RTSP link, that mome also if I gave the following command:
gst-launch-0.10 -v playbin2 uri="rtsp://v3.cache1.c.youtube.com/CiQLENy73wIaGwl5BAj86cORqBMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"

I got the following errors:
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: subtitle-encoding = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://v3.cache1.c.youtube.com/CiQLENy73wIaGwl5BAj86cORqBMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc) source
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(4339): gst_rtspsrc_open (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:

I couldn't figure out the problem. Can you tell me what is the problem?
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play video streaming through Gstreamer

Stefan Sauer
Am 06.03.2010 13:24, schrieb Debsu:

>
> Hi Stefan,
> You are right, these URLs are dynamic. But I searched the video feeds from
> the YouTube server & once I got the XML file containing the RTSP link, that
> mome also if I gave the following command:
> gst-launch-0.10 -v playbin2
> uri="rtsp://v3.cache1.c.youtube.com/CiQLENy73wIaGwl5BAj86cORqBMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
>
> I got the following errors:
> Setting pipeline to PAUSED ...
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: subtitle-encoding =
> NULL
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri =
> "rtsp://v3.cache1.c.youtube.com/CiQLENy73wIaGwl5BAj86cORqBMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp"
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc)
> source
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
> Could not open resource for reading and writing.
> Additional debug info:
> gstrtspsrc.c(4339): gst_rtspsrc_open ():
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
>
> I couldn't figure out the problem. Can you tell me what is the problem?

I am afraid you need to dive into the debug log and figure out why GstRTSPSrc
erros out with: "Could not open resource for reading and writing" in
gstrtspsrc.c: gst_rtspsrc_open ().

Stefan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play video streaming through Gstreamer

Debsu
Hi Stefan,

That problem was solved, the error occurred due to proxy, once I testes it without proxy environment it worked well.

Regards,
Deb