[FFmpeg-trac] #9636(undetermined:closed): Unable to remux HEVC stream from MKV to MKV

FFmpeg trac at avcodec.org
Thu Feb 10 14:54:09 EET 2022


#9636: Unable to remux HEVC stream from MKV to MKV
-------------------------------------+-------------------------------------
             Reporter:  mysterious   |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by mkver):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 The extradata (CodecPrivate in Matroska parlance) of HEVC in Matroska is
 supposed to contain a HEVCDecoderConfigurationRecord and there is
 currently only one legal version of HEVCDecoderConfigurationRecord, namely
 version 1. Yet your file claims to be of version 0 (as the first byte of
 the CodecPrivate indicates). Simply remuxing this would lead to an invalid
 file (because version 0 is not valid).
 If one changes the byte 0x00 at offset 4329 in your file by 0x01, remuxing
 succeeds (and the file seems fine).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9636#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list