[FFmpeg-devel] [PATCH v13 2/9] avcodec/evc_parser: Added parser implementaion for EVC format

James Almer jamrial at gmail.com
Mon Oct 24 16:45:01 EEST 2022


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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email ffmpeg-devel-request at ffmpeg.org
> with subject "unsubscribe".
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list