On specified pipeline I'm executing a lot of seeks by gst_element_seek and on event GST_MESSAGE_SEGMENT_DONE I want to know the exact position. At the same time I'm also retreiving the position via gst_message_parse_segment_done for verification. used gst_element_seek end position = 207806002686
Used pipeline : filesrc ! matroskademux ! queue2 ! appsink ! appsrc! h264parse! queue2 ! matroskamux ! filesink Used seek : gst_element_seek with flags GstSeekFlags(GST_SEEK_FLAG_FLUSH |GST_SEEK_FLAG_SEGMENT | GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SNAP_BEFORE) .
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Administrator
|
Have you tried GST_SEEK_FLAG_ACCURATE?
|
Yes Is also used GST_SEEK_FLAG_ACCURATE, with the same result.s 2017-07-25 19:01 GMT+02:00 Baby Octopus <[hidden email]>: Have you tried GST_SEEK_FLAG_ACCURATE? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, Problem occured due fact that seek was done on other element then command gst_element_seek end position 2017-07-27 9:49 GMT+02:00 marc lievens <[hidden email]>:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |