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的话,拿不到getOutputImage #5

Open
ail36413 opened this issue Mar 28, 2024 · 0 comments
Open

如何是渲染给surface的话,拿不到getOutputImage #5

ail36413 opened this issue Mar 28, 2024 · 0 comments

Comments

@ail36413
Copy link

MediaCodec.BufferInfo info = new MediaCodec.BufferInfo();
decoder.configure(mediaFormat, surface, null, 0);
这边如果给了Surface的话,就没办法,拿到图片数据,如果想对画面添加水印,在渲染给surface的要,有没有办法

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