Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问使用surface的情况下如何设置输出的每一帧都是关键帧? #76

Open
forgetman opened this issue Aug 3, 2024 · 0 comments

Comments

@forgetman
Copy link

使用MediaCodec.createInterface()后, 把这个add到helper的里(addSurface), 因为这种方式设置MediaFormat.KEY_I_FRAME_INTERVAL为0是无效的(只支持buffer的形式), 目前转码出来的视频无法做到每一帧都是关键帧, 想问怎么设置? 或者源码的哪里能调整吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant