Hello,
I'm currently using the gstreamer 0.10 plugins for the 3.0.35 OS version. I want to play just a part of a video i.e from second 10 to 20, which I do by using a gst_element_seek(). According to the gstreamer documentation, the demuxer is supposed to send an SEGMENT_DONE signal after the segment is done, however what is happening is that my video is starting at the tenth second and playing until the end. Can I play only a part of the video using aiurdemux?
I looked at the src code for the demuxer (deb-pkg_gstreamer-imx-0.10/aiurdemux.c at master · mxOBS/deb-pkg_gstreamer-imx-0.10 · GitHub ) and didn't found anything about a SEGMENT_DONE message.
Here is how I'm setting my seek:
gst_element_seek( p->m_elements.pipeline,
1.0,
GST_FORMAT_TIME,
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_SEGMENT),
GST_SEEK_TYPE_SET,
10,
GST_SEEK_TYPE_SET,
20);
Thank you,
Erick.
Hi Jesus
gstreamer 0.10 is very old version and not more supported, recommended to
use gstreamer 1.0, its usage is described in Linux documentation found on
gstreamer-imx issues can be posted on
Issues · Freescale/gstreamer-imx · GitHub
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
By the way, the version of the gstreamer plugins are: 3.0.8