[FFmpeg-trac] #10432(ffmpeg:new): HEVC corruption when using -c copy to .hevc file
FFmpeg
trac at avcodec.org
Fri Jun 23 05:38:39 EEST 2023
#10432: HEVC corruption when using -c copy to .hevc file
-------------------------------------+-------------------------------------
Reporter: acedogblast | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-
Keywords: hevc | master
corrupted | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Remuxing hevc video stream file from mkv to .hevc file using stream copy
results in a corrupted output. This corrupted output is visible at
timestamp 00:00:21 and at 00:01:30. I have also tried using the
hevc_mp4toannexb bitstream filter with the same result.
How to reproduce:
Download test clip:
[https://drive.google.com/file/d/1kTQ1AnJAnzsAtMB0dIn4N96rxbS3JIcc/view?usp=drive_link]
{{{
% ffmpeg -i mini_test_clip.mkv -map 0:v:0 -c:v copy output.hevc
}}}
The output.hevc file can also be tested with a null output using this
command:
{{{
ffmpeg -i output.hevc -f null -
}}}
This result in hevc decoding errors at the above mentioned timestamps. The
test clip itself plays fine without corruption.
Here is a pastebin of the errors with decoding the output.hevc file:
https://pastebin.com/QXHzX1wb
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10432>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list