[FFmpeg-devel] [PATCH] avcodec/vp9_parser: export profile and pixel format

James Almer jamrial at gmail.com
Fri Nov 16 02:19:51 EET 2018


On 11/2/2018 8:57 PM, Chris Cunningham wrote:
>> Also, when dealing with a super frame, to get other values like pixel
>> format and frame dimensions we'd have to make sure to parse the visible
>> frame, and if it's an inter frame also keep the reference frames around
>> to take said values from them.
> 
> Could we avoid the challenges around reference and invisible frame by only
> doing this parsing for key frames? IIUC these properties would only be
> expected to change at the GOP boundary.

Yes, that's an option. Setting all fields to undefined/unknown if it's
not a keyframe and stop parsing altogether.

Can a keyframe be contained within a superframe, for that matter? Or are
those guaranteed to be standalone?


More information about the ffmpeg-devel mailing list