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 596964 - [rtpmp2tdepay] fails after pcapparse
[rtpmp2tdepay] fails after pcapparse
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-01 09:14 UTC by Julien Isorce
Modified: 2009-10-06 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
it contains a pcap dump of a multicast flow (888.29 KB, application/gzip)
2009-10-01 09:42 UTC, Julien Isorce
Details

Description Julien Isorce 2009-10-01 09:14:52 UTC
* step to reproduce:

GST_DEBUG=2 gst-launch-0.10 filesrc location=capture2.pcap ! pcapparse ! rtpmp2tdepay ! mpegtsdemux ! ffdec_h264 ! xvimagesink

* result: 

gstbasesrc.c:2378:gst_base_src_loop:<filesrc0> error: streaming task paused, reason not-negotiated (-4)

* expected result:

The video should be displayed as using udpsrc:
gst-launch-0.10 udpsrc uri=udp://232.0.1.1:8200 caps="application/x-rtp, media=video" ! queue ! rtpmp2tdepay ! mpegtsdemux ! ffdec_h264 ! xvimagesink

* other infos:

gst-launch-0.10 playbin uri=file:///home/julien/capture2.pcap does not introduce pcapparse element and also it does not introduce a rtp depayloader.
Comment 1 Julien Isorce 2009-10-01 09:42:26 UTC
Created attachment 144476 [details]
it contains a pcap dump of a multicast flow
Comment 2 Julien Isorce 2009-10-06 11:38:50 UTC
if i add a caps filter (in order to fix the caps) then it works fine:

gst-launch-0.10 filesrc location=capture2.pcap ! pcapparse ! "application/x-rtp, media=video, payload=96, clock-rate=1" ! rtpmp2tdepay ! mpegtsdemux ! ffdec_h264 ! xvimagesink

Anyway, why decodebin does not introduce a pcapparse and a rtpdepayloader ?
Is the fault from typefind ?
Comment 3 Wim Taymans 2009-10-06 16:50:10 UTC
You need a capsfilter after the filesrc to specify the media type of the bytes. 

We don't yet typefind RTP packets or pcap files and even less the possible media type inside the RTP packets.

I would mark this as not-a-bug. You could reopen this as a feature request to typefind RTP and pcap but this sounds like a difficult, error prone task.
Comment 4 Julien Isorce 2009-10-06 17:49:51 UTC
ok thx