[FFmpeg-devel] [RFC/PATCH] MV-HEVC decoding

Danny Hong danny.s.hong at gmail.com
Fri Sep 13 23:51:25 EEST 2024


Quoting James Almer (2024-09-13 22:19:35)
> Are you talking about decoding the resulting raw bitstream created from
> doing stream copy from the source mov? If so, what's happening is
> probably that the parser is splitting AUs when the second SEI with
> layer_id == 0 shows up in those non-conformant samples.
> This doesn't happen if you try to decode directly from the mov as the
> parser does not attempt to do any packetization then.

Yes, this is due to hevc_find_frame_end (in libavcodec/hevc/parser.c)
correctly marking a new AU when prefix NAL with layer ID 0 is detected.  I
think Apple is incorrectly placing the prefix NAL to precede the VCL NAL
with layer ID 1.


More information about the ffmpeg-devel mailing list