reading pcap file and display the video

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


HI,

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-ip=172.20.70.106
src-port=57044 dst-ip=172.20.70.108 dst-port=57044 caps ="application/x-
rtp,media=video,payload=96,clock-rate=90000,encoding-name=H264" !
rtph264depay
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!

thanks.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/reading-pcap-file-and-display-the-video-tp4665489.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list