[FFmpeg-devel] [PATCH 2/2] avformat/movenc: parse h264 packets to build Sync Sample and Recovery Point tables

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Jul 30 01:04:11 EEST 2021


On 7/29/2021 1:39 AM, James Almer wrote:
> It's not a problem for AV1 (we correctly tag all packets that should be 
> sync samples).

I meant for the rest of the boxes ;)

> I'm not going to bother with HEVC right now, but this all can be 
> simplified once we introduce a new parser API that exposes the important 
> per-codec bitstream values, CBS-style (and for example based on it), 
> that can be used by muxers, instead of relying purely on values present 
> in packets as exported by either a demuxer (from container info or 
> derived from auto inserted AVCodecParserContext in utils.c) or just made 
> up by the library user.

That certainly sounds less insane than what currently exists in our APIs.

- Derek


More information about the ffmpeg-devel mailing list