[FFmpeg-devel] [PATCH 0/7] Container level frame cropping parameters

Anton Khirnov anton at khirnov.net
Tue Oct 10 14:17:26 EEST 2023


Quoting James Almer (2023-10-07 18:24:56)
> This is a simple set to add support to stream wide, container level cropping
> parameters, as featured in formats like Matroska and ISOBMFF. It's needed for
> things like AV1 streams generated by certain hardware encoders that produce
> dimension aligned output, and unlike H26x, can't export cropping info within
> the bitstream.
> In this set i add the packet side data type, mux and demux support to Matroska,
> and handling code to ffmpeg and ffplay. Missing is support for clap boxes in
> ISOBMFF, and exporting the relevant side data from encoders like AMF.
> 
> It's a rebased and updated version to the set i sent a month ago.

Why is there no lavc-decoder handling? I would expect cropping side data
submitted to lavc to be somehow propagated to decoded frames.
Though there is a question of how to combine side data with the
codec-level cropping.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list