GNOME Bugzilla – Bug 749852
Encoder: HEVC: Add CBR Encoding mode support
Last modified: 2017-06-13 15:07:33 UTC
The HEVC(h265) Encoder is still missing features which are providing by other similar encoders like vaapiencode_h264. -- Add ConstantBitRate and VariableBitRate encoding mode
Moving to next release, the current va-intel-driver is only supporting CQP mode encoding.
Now the driver is supporting CBR mode.
Hi, any plans to support this feature?
(In reply to Baby octopus from comment #3) > Hi, any plans to support this feature? already in todo list, but got busy with other things...patches welcome :)
Here is some code for cbr: https://cgit.freedesktop.org/~sree/gstreamer-vaapi/log/?h=hevc_cbr Hopefully I can push this by next week after some testing.... I am not satisfied with the quality, also have to check the requirement of SEI header packing.
Commit 018ea8b2fc193f64bcaf8f2a58e67d6a806dfce9 Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Wed Apr 27 17:10:26 2016 +0300 encoder: h265: Enable cu_qp_delta_enabled_flag for CBR It seems driver requires enablement of cu_qp_delta_enabled_flag for modifying QP values to controll the CBR mode bitrate. https://bugzilla.gnome.org/show_bug.cgi?id=749852 commit 7ddc7ea0bcb051685de8478abf6daa317774fb2d Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Wed Apr 27 17:06:09 2016 +0300 encoder: h265: Add CBR Encoding support https://bugzilla.gnome.org/show_bug.cgi?id=749852
There is still driver issues which needs to be fixed which is tracking here: https://bugs.freedesktop.org/show_bug.cgi?id=95173
Only gst-discoverer is showing wrong bitrate values but ffmpeg and manual testing indicating correct bitrate for cbr encoded videos. https://bugs.freedesktop.org/show_bug.cgi?id=95173#c5 https://bugs.freedesktop.org/show_bug.cgi?id=95173#c7 I have Closed the driver bug and we have a separate bug to track the PACKED_SEI feature enablement(#766047) too. Since the HEVC CBR mode encoding is functional (even though there are quality issues) in master branch, I am closing this bug.
*** Bug 763856 has been marked as a duplicate of this bug. ***