After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 546465 - can't play m.youtube.com rtsp streams
can't play m.youtube.com rtsp streams
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-05 19:15 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2008-08-20 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log file for the session (7.08 KB, text/plain)
2008-08-05 19:16 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
Details

Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-05 19:15:23 UTC
gst-launch rtspsrc debug=1 location=rtsp://ehug.rtsp-youtube.l.google.com/CiwLENy73wIaIwlB4lQscw-v2xMYDSANFEIJbXYtZ29vZ2xlSARSBWluZGV4DA==/0/0/0/video.3gp ! decodebin2 ! fakesink

ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/rtspsrc0: The stream is in the wrong format.
Additional debug info:
gstrtspsrc.c(3942): gst_rtspsrc_setup_streams (): /pipeline0/rtspsrc0:
No supported stream was found.
Setting pipeline to NULL ...
FREEING pipeline ...
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-05 19:16:18 UTC
Created attachment 115928 [details]
debug log file for the session
Comment 2 Wim Taymans 2008-08-20 15:10:42 UTC
I cannot find any player that can play those streams. It seems that we need to special case the UDP setup for google servers, though.
Comment 3 Edward Hervey 2008-08-20 15:29:06 UTC
It also seems that it only works with UDP Server=>Client.

Just tried on a phone (N81).
When connected via wifi (router doesn't route incoming udp) it fails.
When connected over 3G (direct connection) it works.
Comment 4 Wim Taymans 2008-08-20 17:32:07 UTC
This fixes setting up the stream over UDP, at least it now negotiates well but I can't test further as UDP is blocked on the network I'm on.

        * gst/rtsp/Makefile.am:
        * gst/rtsp/gstrtsp.c: (plugin_init):
        * gst/rtsp/gstrtspgoogle.c: (gst_rtsp_google_before_send),
        (gst_rtsp_google_after_send), (gst_rtsp_google_get_transports),
        (_do_init), (gst_rtsp_google_base_init),
        (gst_rtsp_google_class_init), (gst_rtsp_google_init),
        (gst_rtsp_google_finalize), (gst_rtsp_google_change_state),
        (gst_rtsp_google_extension_init):
        * gst/rtsp/gstrtspgoogle.h:
        Add google RTSP extension, it can only handle udp and responds with
        unsupported if we do anything else. Fixes #546465.

        * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_connection_send),
        (gst_rtspsrc_connection_receive), (gst_rtspsrc_loop_send_cmd),
        (gst_rtspsrc_create_transports_string),
        (gst_rtspsrc_setup_streams), (gst_rtspsrc_open),
        (gst_rtspsrc_close), (gst_rtspsrc_pause):
        Make transport setup code a bit better using GString.
        Add some more debug.
        Check for closed connections before doing anything on them.