proper use of rtpvrawpay/rtpvrawdepay

classic Classic list List threaded Threaded
1 message Options
jwp
Reply | Threaded
Open this post in threaded view
|

proper use of rtpvrawpay/rtpvrawdepay

jwp
I am using gstreamer on Windows 7 with an OSSbuild but have seen similar results on other platforms.

The pipelines I am trying to use are:

gst-launch videotestsrc ! timeoverlay auto-resize="0" shaded-background=true ! rtpvrawpay ! filesink location=vraw2.fil

gst-launch  --gst-debug-level=3  gstrtpbin name=rtpbin filesrc location=vraw2.fil ! application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW ! rtpbin.recv_rtp_sink_0  rtpbin.  ! rtpvrawdepay  ! autovideosink

The first pipeline is just supposed to be writing video to a file. The second is intended to play it pack. The second pipeline gets stuck in PREROLLING

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

When run with the gst-debug-level=3, there are a bunch of warnings about:

0:00:01.789102000  5952   022BFCB0 WARN               rtpsource rtpsource.c:1046:rtp_source_process_rtp: probation: seqnr 33003 != expected 33004

How can this problem be avoided so that the second pipeline will play the video stored in the first?

Thanks.