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

解码出来的yuv数据只有最后一帧能渲染到canvas上 #18

Open
evilArsh opened this issue Apr 5, 2022 · 1 comment
Open

Comments

@evilArsh
Copy link

evilArsh commented Apr 5, 2022

你好,我实验的视频流是类似rtp结构的,我解码之后,先在本地查看生成的yuv图片,都是正常的,但是在使用你的播放器播放时,直到整个流解析完了之后,最后一帧才会被渲染到canvas上,开始还以为是pts设置的原因,但是直接用了你的这种方法之后发现还是不行,想请问一下是什么原因呢

@evilArsh
Copy link
Author

evilArsh commented Apr 5, 2022

image

知道解码完了,最后一张yuv才被渲染

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