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

关于取帧的疑问 #2

Closed
BryceLee opened this issue Nov 7, 2018 · 2 comments
Closed

关于取帧的疑问 #2

BryceLee opened this issue Nov 7, 2018 · 2 comments

Comments

@BryceLee
Copy link

BryceLee commented Nov 7, 2018

ThumbEcoPlayerView.kt下startPlayAndCapture()方面是间隔一秒循环取帧的,现象是:视频还没有播放的部分,已经取到帧了。
请问这是为什么?按我的理解TextureView.getBiamp()不是取正在画面中播放的帧吗?为什么可以提前取到后面的帧呢?

@shaopx
Copy link
Owner

shaopx commented Nov 9, 2018

这个播放view实际上不是显示给用户的, 看下布局文件, 会发现被真正的播放页面遮挡了.
只是用来触发播放, 然后截图的. 是个取巧的做法.

@BryceLee
Copy link
Author

原来是加速了,Thanks

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

2 participants