[Bug 781401] omxh264enc makes qtmux error out with "Buffer has no PTS."

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 22 13:27:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=781401

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #8 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Though, this seems like a special case, since all input buffer have PTS, if
there is a matching frame at output it should always have a PTS.

What I think might happen is that we received a empty buffer in
gst_omx_video_enc_handle_output_frame(), and in that case I think it's wrong to
call gst_video_encoder_finish_frame() as it will drop that reference frame.
This leads to "No corresponding frame found" which will not have a PTS. Maybe
give that a try, and report ?

I've made a similar fix for nvidia omx, but as Nvidia a hard to reconcile port,
I didn't got the time yet to backport and test on the Pi. On the Zynq this zero
lenght buffer case does not seem to exist.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list