Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Conversation

@jgh-
Copy link
Member

@jgh- jgh- commented Aug 7, 2020

Apple seems to have added VP9 support to VideoToolbox. The FFmpeg encoder/decoder classes already support VP9.

if(*decoder.get_bits(1)) { // show_existing_frame - not a new frame
return 0;
}
*is_keyframe = !(*decoder.get_bits(1));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I ask a question? old h264 we can use kCMSampleAttachmentKey_DependsOnOthers to determine is keyframe or not, why here is not? sry I don't master the vp9 formate now. https://github.com/jgh-/VideoCore-Inactive/blob/859dc77dbe29a6d052beda92f2d7f407dbd303e7/transforms/Apple/H264Encode.mm#L66

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants