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

请问如何实现边录屏边截图呢? #18

Open
magical-xu opened this issue Mar 6, 2018 · 2 comments
Open

请问如何实现边录屏边截图呢? #18

magical-xu opened this issue Mar 6, 2018 · 2 comments

Comments

@magical-xu
Copy link

我尝试了在合成视频那里获取字节流 转成Bitmap 但是怎么拿到 每一帧全部的字节呢?

bytearray
savebitmap

@cdck
Copy link

cdck commented Mar 31, 2022

我尝试了在合成视频那里获取字节流 转成Bitmap 但是怎么拿到 每一帧全部的字节呢?

@magical-xu 我也有这个需求,请问下大佬是如何解决这个问题的?

@zhubinsheng
Copy link

我尝试了在合成视频那里获取字节流 转成Bitmap 但是怎么拿到 每一帧全部的字节呢?

@magical-xu 我也有这个需求,请问下大佬是如何解决这个问题的?

image
肯定不能像他那样用编码后的数据,我的截图是用imagereader来获取图片的方式。
但是Surface给谁用就无法再给其他地方使用了,那就把Surface给copy一份,应该用OpenGL可以做到。
你有其他的方案吗

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

3 participants