[FFmpeg-trac] #7654(avcodec:new): hevc_amf does not honor -level option
FFmpeg
trac at avcodec.org
Fri Dec 6 13:42:53 EET 2019
#7654: hevc_amf does not honor -level option
------------------------------------+-----------------------------------
Reporter: Tupsi | Owner:
Type: defect | Status: new
Priority: minor | Component: avcodec
Version: git-master | Resolution:
Keywords: amf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Tupsi):
Replying to [comment:5 lolmaster5000]:
> 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.
I noticed that the ffmpeg file reports the correct level:int numbers at
least, but it seems the whole -level:v is completly ignored if you try to
use it and so always 6.2 is used (as I doubt somehow the default "auto" is
actually working), because I just tried to encode an ancient dvd at its
still sitting at 6.2.
With your gops_per_idr note I totally agree. The file is not usuable with
the default, which is 60.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7654#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list