[Bug 739336] New: rtpmp2tpay sets payload type to 96 instead of 33

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 29 00:43:41 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739336
  GStreamer | gst-plugins-good | git

           Summary: rtpmp2tpay sets payload type to 96 instead of 33
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: arjen.veenhuizen at tno.nl
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I'm not entirely sure whether this is a bug or not, but the following pipeline
works in 0.10 but no longer works in git HEAD:

0.10:
-----
Server:
gst-launch-0.10 -v gstrtpbin name=rtpbin videotestsrc !
video/x-raw-yuv,width=720,height=480 ! x264enc ! h264parse ! mpegtsmux !
rtpmp2tpay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000
host=127.0.0.1 ts-offset=0 name=vrtpsink rtpbin.send_rtcp_src_0 ! udpsink
port=5001 host=127.0.0.1 sync=false async=false name=vrtcpsink udpsrc port=5005
name=vrtpsrc ! rtpbin.recv_rtcp_sink_0

Output RTP caps: application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)MP2T-ES, ssrc=(uint)1278164632, payload=(int)33,
clock-base=(uint)9690979, seqnum-base=(uint)5544

Player:
ffplay: udp://:5000 or VLC: udp://:5000
Shows running videotestsrc as expected

1.0:
----
Server: 
gst-launch-1.0 -v rtpbin name=rtpbin videotestsrc !
video/x-raw,width=720,height=480 ! x264enc ! h264parse ! mpegtsmux ! rtpmp2tpay
! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000
host=127.0.0.1 ts-offset=0 name=vrtpsink rtpbin.send_rtcp_src_0 ! udpsink
port=5001 host=127.0.0.1 sync=false async=false name=vrtcpsink udpsrc port=5005
name=vrtpsrc ! rtpbin.recv_rtcp_sink_0

Output RTP caps: application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)MP2T, payload=(int)96, ssrc=(uint)2336289570,
timestamp-offset=(uint)1026725622, seqnum-offset=(uint)12202"

Even if I force the payload type to 33 (by setting pt=33 on rtpmp2tpay) the
same caps are generated in 1.0.

Player:
ffplay: udp://:5000 or VLC: udp://:5000
Both fail because they need a valid SDP (due to payload type = 96).

According to RFC 2250, the correct PT should be 33.

Any clue?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list