[FFmpeg-trac] #7654(ffmpeg:new): hevc_amf does not honor -level option
FFmpeg
trac at avcodec.org
Fri Jan 4 18:47:10 EET 2019
#7654: hevc_amf does not honor -level option
-------------------------------------+-------------------------------------
Reporter: Tupsi | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-
Keywords: hevc_amf | master
level | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i input.mkv -c:v hevc_amf -quality quality -level 50 -c:s copy
-c:a copy output.mkv
ffmpeg version N-92917-gb9523f2fd3 Copyright (c) 2000-2019 the
FFmpeg developers
built with gcc 8.2.1 (GCC) 20181201
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-
amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-
libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-
ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
--enable-dxva2 --enable-avisynth --enable-libopenmpt
}}}
the resulting .mkv still has
{{{
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main at L6.2@Main
Codec ID : V_MPEGH/ISO/HEVC
}}}
show with ffprobe. 6.2 seems to be the auto level which currently is the
highest. I tried all sorts of integer but it always ends in the same.
ffmpeg -h encoder=hevc_amf shows the following about level
{{{
-level <int> E..V..... Set the encoding level
(default auto) (from 0 to 186) (default auto)
auto E..V.....
1.0 E..V.....
2.0 E..V.....
2.1 E..V.....
3.0 E..V.....
3.1 E..V.....
4.0 E..V.....
4.1 E..V.....
5.0 E..V.....
5.1 E..V.....
5.2 E..V.....
6.0 E..V.....
6.1 E..V.....
6.2 E..V.....
}}}
so I even tried numbers like 50 in the hopes it means "5.1", as I do not
understand how the 14 current options listed above are represented by
integer number between 0 und 186 (which says so in the help). I tried both
left the labels 5.0, 5.1, 4.0, even 1.0 as well as differnt integer
numbers in between 0 and 186. Everything ends in Main at L6.2
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7654>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list