URL song not playing through Gstreamer

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

URL song not playing through Gstreamer

sandip
Hi

We have developed a GStreamer application to play a song. And the application is able to play a song by giving:-
1. Local path of song(song is in same the desktop where application resides)
2. Internet radio URL.
But it is not able to play the song if a song URL is given. Following is the error which is as follows:-

MPE::CGstreamerEngine::EventListener= 8192
MPE::CGstreamerEngine::EventListener= 64
MPE::CGstreamerEngine::EventListener= 8192
(<unknown>:6253): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Cannot connect to destination (205.196.121.248)

MPE::CGstreamerEngine::EventListener= 2
Playback Error: "http://205.196.121.248/4iqe45svopmg/oaibclillt8bb03/01.+Shantir+Chhele+from+Om+Shanti+%282012%29+-+%5Bwww.Mp3Kolkata.Com%5D.mp3": Cannot connect to destination (205.196.121.248)

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Internal data flow error.

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Stream contains no data.

Kindly request you to debug me. I think that the state transition is going wrong in case of playing URL(GST_STATE_PLAYING , GST_STATE_PAUSED, GST_STATE_READY).


Thanks
Pankaj

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: URL song not playing through Gstreamer

Stefan Sauer
On 07/27/2012 08:52 AM, [hidden email] wrote:
Hi

We have developed a GStreamer application to play a song. And the application is able to play a song by giving:-
1. Local path of song(song is in same the desktop where application resides)
2. Internet radio URL.
But it is not able to play the song if a song URL is given. Following is the error which is as follows:-

MPE::CGstreamerEngine::EventListener= 8192
MPE::CGstreamerEngine::EventListener= 64
MPE::CGstreamerEngine::EventListener= 8192
(<unknown>:6253): GLib-GIO-WARNING **: g_simple_async_result_complete() called from wrong context!

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Cannot connect to destination (205.196.121.248)

MPE::CGstreamerEngine::EventListener= 2
Playback Error: "http://205.196.121.248/4iqe45svopmg/oaibclillt8bb03/01.+Shantir+Chhele+from+Om+Shanti+%282012%29+-+%5Bwww.Mp3Kolkata.Com%5D.mp3": Cannot connect to destination (205.196.121.248)


gst-launch playbin2 uri=http://205.196.121.248/4iqe45svopmg/oaibclillt8bb03/01.+Shantir+Chhele+from+Om+Shanti+%282012%29+-+%5Bwww.Mp3Kolkata.Com%5D.mp3

=> A text/html decoder plugin is required to play this stream, but not installed.

This returns a html page with a redirect. You will need to handle that from your application. gstreamer does not handle html.

Stefan

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Internal data flow error.

MPE::CGstreamerEngine::EventListener= 2
Playback Error: Stream contains no data.

Kindly request you to debug me. I think that the state transition is going wrong in case of playing URL(GST_STATE_PLAYING , GST_STATE_PAUSED, GST_STATE_READY).


Thanks
Pankaj

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel