On 10/24/2022 7:16 AM, Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff
Engineer/Samsung Electronics wrote:
The parser should not return individual NAL units, but complete frames
(access units in HEVC terminology, don't know if EVC defines something
similar).
[REPLY] Current EVC decoder implementation needs individual NAL units.
What one decoder needs does not define what a bitstream assembling
module does. There are many other users, like muxers, that may expect
something else.
This parser needs to assemble and return a spec compliant access unit or
its EVC equivalent when PARSER_FLAG_COMPLETE_FRAMES is not set, and pass
it through when it's not (Like you're already doing). An external
decoder that expects individual NALUs can then be fed individual NALUs.
Functions like ff_h2645_packet_split() exist for this purpose for AVC
and HEVC, and the same can be done for EVC and VVC.
--
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org
with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".