Flush seek in rtsp server pipeline

shweta_92 shwetaaggarwal3077 at gmail.com
Fri Oct 25 11:49:18 UTC 2019


Hi 

I am implementing two pipelines using proxysrc and proxysink for my rtsp
server scenario. 
   Media Pipeline:
           filesrc->qtdemux->input-selector->h264parse
                                                                            
->mpegtsmux->proxysink
                                                            -> aacparse  
  Rtsp Pipeline:
           proxysrc->rtpmp2tpay

This pipeline works well for normal playback but when I tried seeking using
vlc, timestamps are not coming properly

While diving more into the problem it seems segment event reaching mpegtsmux
is different that is going in proxysink.

Mpegtsmux is using GstCollectPads which handles GST_EVENT_SEGMENT and does
not forward it.
Moreover, PTS coming in mpegtsmux are new seeked timestamp values but
mpegtsmux_clip_inc_running_time function changes them.

What can be the right way to seek in the above pipeline architecture so that
I can get proper timestamp values?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list