Crash when trying to stop pipeline containing encodebin

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Crash when trying to stop pipeline containing encodebin

mguinzbourg
Sebastian, thank you so much for helping me to resolve the issue. I was able to fix my gapless loop by changing the "do-timestamp" property of the source element to TRUE.
After that mpeg encoder was very happy about the timestamp read from the every buffer even if it was taken from the already played chunk of video.
I still have some dropped frames between chunks, which I hope will be fixed in playbin3.
thanks,
MG

On 14 June 2016 at 02:06, Sebastian Dröge <[hidden email]> wrote:
On Mo, 2016-06-13 at 10:38 -0400, Michael Guinzbourg wrote:
> Answering your last message - what's the best way to check PTS and
> running times of the buffers in my video-sink?

Just use GST_BUFFER_PTS() and gst_segment_to_running_time() to get both
and then print them with GST_TIME_FORMAT / GST_TIME_ARGS. Check the
docs for details how to use them

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
12