[Bug 796495] vaapi{h264,h265}enc: Missing frames when encode with B frames from YUV file and num-buffers specified

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 14 06:23:50 UTC 2018


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

--- Comment #5 from Fei <fei.w.wang at intel.com> ---
Take a example, if set max-bframes as 4, then encoder need 4 frames in a list
together to encode the 4 B frames per time. If the total frame number can not
divide by 4, then there will be less than 4 frames in list in the end. And the
list will be release and the frames will be drop in it during flush. So one
solution is to change B frame into P frame in flush and re-encode all the
remind frames instead of drop them. But seems it is hard to implement because
encode/flush are called in video encode base class. Any suggestion on this?

-- 
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