[Bug 753152] New: pcapparse wrong magic when used with identity sync=1

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Aug 2 10:10:50 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753152

            Bug ID: 753152
           Summary: pcapparse wrong magic when used with identity sync=1
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ben.browitt at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When using pcapparse on the following pcap file with "identity sync=1" it fails
with bad magic error but the file is a valid pcap file and works without the
identity element.
https://drive.google.com/file/d/0B12AhxvnYHrAQUpvWmozMm9mZG8

gst-launch-1.0 -v rtpbin name=rtpbin \
filesrc location=audio-video.pcap ! pcapparse src-port=1 ! identity sync=1 !
"application/x-rtp, payload=111, clock-rate=48000" ! rtpbin.recv_rtp_sink_0 \
rtpbin. ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! audiorate !
voaacenc ! aacparse ! mp4mux ! filesink location=test.mp4

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
"application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:recv_rtp_sink_0.GstProxyPad:proxypad0:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:recv_rtp_src:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:sink:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:recv_rtp_sink:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:recv_rtp_sink_0: caps =
"application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000\,\
ssrc\=\(uint\)1177017523"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:src:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000\,\
ssrc\=\(uint\)1177017523"
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpPtDemux:rtpptdemux0.GstPad:sink:
caps = "application/x-rtp\,\ payload\=\(int\)111\,\ clock-rate\=\(int\)48000\,\
ssrc\=\(uint\)1177017523"
ERROR: from element /GstPipeline:pipeline0/GstPcapParse:pcapparse0: The stream
is of a different type than handled by this element.
Additional debug info:
gstpcapparse.c(557): gst_pcap_parse_chain ():
/GstPipeline:pipeline0/GstPcapParse:pcapparse0:
File is not a libpcap file, magic is 9DE41B1C
Execution ended after 0:00:00.010994312
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
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