Opened 20 months ago

#10249 new defect

Using libx265 no-repeat-headers option produces corrupt hevc file

Reported by: AYUSA Owned by:
Priority: normal Component: ffmpeg
Version: 6.0 Keywords: libx265 x265 mkv hevc
Cc: AYUSA Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: passing no-repeat-headers to libx265 x265-params produces invalid hevc output.

How to reproduce:
My source is a h264 1080p mkv file. I use the command below as it is which produces an hevc that cannot be muxed or read by mediainfo nor mpc-be. Removing the no-repeat-headers parameter produces a good output file.

% "C:\ProgramData\chocolatey\lib\ffmpeg-full\tools\ffmpeg\bin\ffmpeg.exe" -loglevel info -an -y -hide_banner -i "clip.mkv" -crf 30.0 -preset veryfast -pix_fmt yuv420p10le -profile:v main10 -x265-params "no-repeat-headers=1:bframes=4:rc-lookahead=15:b-pyramid=1:subme=1:max-merge=2:min-keyint=24:keyint=240:ref=2:limit-refs=3:strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2:colorprim=bt709:transfer=bt709:colormatrix=bt709:chromaloc=0:no-sbrc=1:max-luma=1023" "clip.hevc"

ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)

Please let me know if you need anything else. Thanks much.

Change History (0)

Note: See TracTickets for help on using tickets.