Flush seek in rtsp server pipeline

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

Flush seek in rtsp server pipeline

shweta_92
This post was updated on .
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/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel