[FFmpeg-trac] #9500(undetermined:new): HEVC encoder settings are not set
FFmpeg
trac at avcodec.org
Sun Nov 7 14:09:10 EET 2021
#9500: HEVC encoder settings are not set
-------------------------------------+-------------------------------------
Reporter: zboubida | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: encoder | Blocked By:
settings |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by zboubida:
Old description:
> Summary of the bug:
> Using a git build on both Linux and Windows (N-59465-g4f8494fe5a-static),
> when encoding a HEVC video to HEVC, the encoder settings are not set in
> the encoded file (instead, the original values are copied).
> Release 4.4.1 does not exhibit this behaviour.
>
> How to reproduce:
> The test.mkv video is HEVC encoded with preset=slow and crf=18. out.mkv
> will use preset fast and crf=22.
> (Using mediainfo here to display the encoder settings)
> {{{
> % ffmpeg -i test.mkv -c:v libx265 -preset fast -x265-params crf=22
> out.mkv
> [ffmpeg output attached]
> % mediainfo --Output='Video;%Encoded_Library_Settings%' test.mkv
> >test.txt
> % mediainfo --Output='Video;%Encoded_Library_Settings%' out.mkv >out.txt
> % diff test.txt out.txt && echo $?
> 0
> % mediainfo --Output='Video;%Encoded_Library_Settings%' out.mkv | grep
> -Eo 'crf=[0-9]+'
> crf=18
> }}}
>
> Same happens in 10bit HEVC. When transcoding from AVC to HEVC, it seems
> that the encoder settings are added properly.
New description:
Summary of the bug:
Using a git build on both Linux and Windows (N-59465-g4f8494fe5a-static),
when encoding a HEVC video to HEVC, the encoder settings are not set in
the encoded file (instead, the original values are copied).
Release 4.4.1 does not exhibit this behaviour.
How to reproduce:
The test.mkv video is HEVC encoded with preset=slow and crf=18. out.mkv
will use preset fast and crf=22.
(Using mediainfo here to display the encoder settings)
{{{
% ffmpeg -i test.mkv -c:v libx265 -preset fast -x265-params crf=22 out.mkv
ffmpeg version N-59465-g4f8494fe5a-static
https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg
developers
[ffmpeg output attached]
% mediainfo --Output='Video;%Encoded_Library_Settings%' test.mkv >test.txt
% mediainfo --Output='Video;%Encoded_Library_Settings%' out.mkv >out.txt
% diff test.txt out.txt && echo $?
0
% mediainfo --Output='Video;%Encoded_Library_Settings%' out.mkv | grep -Eo
'crf=[0-9]+'
crf=18
}}}
Same happens in 10bit HEVC. When transcoding from AVC to HEVC, it seems
that the encoder settings are added properly.
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9500#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list