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?
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to