reading pcap file and display the video

d dudi017 at
Mon Feb 24 23:17:08 PST 2014


I am using Gstreamer and trying to display video from .pcap file (with RTP).

I also matched the clock rate and other parameters with the "caps":

gst-launch filesrc location=rtp.pcap ! queue ! pcapparse
src-port=57044 dst-ip= dst-port=57044 caps ="application/x-
rtp,media=video,payload=96,clock-rate=90000,encoding-name=H264" !
byte-stream=true ! ffdec_h264 ! autovideosink

when I run the pipeline, it finishes too fast and I cant see anything.

this is the output:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 314267 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

if someone know how to display the video it will be great!


View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list