[FFmpeg-trac] #7654(avcodec:new): hevc_amf does not honor -level option
FFmpeg
trac at avcodec.org
Thu Oct 10 17:54:23 EEST 2019
#7654: hevc_amf does not honor -level option
--------------------------------------+-----------------------------------
Reporter: Tupsi | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: amf hevc_amf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+-----------------------------------
Changes (by lolmaster5000):
* keywords: amf => amf hevc_amf
* priority: minor => normal
Comment:
I have the same issue, developers should have a look at the following
example:
https://github.com/GPUOpen-
LibrariesAndSDKs/AMF/blob/master/amf/public/samples/CPPSamples/common/EncoderParamsHEVC.cpp
The integer values for the levels are
AMF_LEVEL_1 = 30,
AMF_LEVEL_2 = 60,
AMF_LEVEL_2_1 = 63,
AMF_LEVEL_3 = 90,
AMF_LEVEL_3_1 = 93,
AMF_LEVEL_4 = 120,
AMF_LEVEL_4_1 = 123,
AMF_LEVEL_5 = 150,
AMF_LEVEL_5_1 = 153,
AMF_LEVEL_5_2 = 156,
AMF_LEVEL_6 = 180,
AMF_LEVEL_6_1 = 183,
AMF_LEVEL_6_2 = 186
Furthermore the encoded file is badly seekable and the following parameter
is needed as well:
-gops_per_idr 1
This should be standard.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7654#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list