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 745672 - rtspsrc over tcp regression
rtspsrc over tcp regression
Status: RESOLVED DUPLICATE of bug 745599
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-05 11:24 UTC by Nicola
Modified: 2015-03-06 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicola 2015-03-05 11:24:33 UTC
please try this launch line:

gst-launch-1.0 rtspsrc location="rtspt://admin:password@93.63.189.11:55455/udpstream" ! rtpmp4vdepay ! mpeg4videoparse ! avdec_mpeg4 ! xvimagesink

this will work fine with gstreamer 1.4 and each previous version (also 0.10) but does not work in git master, the resulting caps are unknown and the stream ignored. The logs says:

0:00:02.465429803 15180      0x1bf40f0 DEBUG                rtspsrc gstrtspsrc.c:4688:gst_rtspsrc_handle_data:<rtspsrc0> unknown stream on channel 0, ignored

The same camera works fine using rtsp over udp with git master too,

please fix

thanks
Nicola
Comment 1 Sebastian Dröge (slomo) 2015-03-05 11:35:00 UTC
Do these commits fix it?


commit c34a7cb90da5ecdcbbd56398bd598b59b2a8eb2e
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Mar 5 09:18:52 2015 +0100

    rtspsrc: Fix handling of interleaved (TCP) streams
    
    We need to set up the transport in any case, not just if we have a container
    stream or a non-interleaved stream. Only if we have an interleaved stream and
    are retrying, we should not set up the stream again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745599

commit b4aaa11f9733ba1800f7e88e3de911404aee7b11
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Mar 5 09:56:23 2015 +0100

    rtspsrc: Don't unref caps we don't own

commit 297d808acce41d2f20b281a2acd642285b5ba01a
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Mar 5 09:46:17 2015 +0100

    rtspsrc: Push RTCP caps on the RTCP pads
    
    Otherwise we will get not-negotiated later from rtpbin, and will never be able
    to send RTCP packets back to the server. Note that error flow returns from the
    RTCP pads are ignored, that's why it didn't fail more visible before.

commit 788074733cb9fe4d23209ca158fc88d281333583
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Mar 5 09:35:32 2015 +0100

    rtspsrc: Make sure to send SEGMENT events on all pads
Comment 2 Sebastian Dröge (slomo) 2015-03-05 11:37:04 UTC
Ah, your stream is public... yes, they fix it for me :)

*** This bug has been marked as a duplicate of bug 745599 ***
Comment 3 Nicola 2015-03-05 11:48:26 UTC
thanks
Comment 4 Paul Greyson 2015-03-06 18:13:54 UTC
works for me as well on iOS