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

VideoDecoderのhardwareAcceleration: 'prefer-software'は2フレームほど取りこぼす #10

Closed
tamaina opened this issue Dec 19, 2023 · 5 comments

Comments

@tamaina
Copy link
Owner

tamaina commented Dec 19, 2023

VideoDecoderのhardwareAcceleration: 'prefer-software'は必ず2フレームほど取りこぼす

@tamaina tamaina changed the title ソフトウェ VideoDecoderのhardwareAcceleration: 'prefer-software'は2フレームほど取りこぼす Dec 19, 2023
@tamaina
Copy link
Owner Author

tamaina commented Dec 19, 2023

う〜〜〜〜ん

@tamaina
Copy link
Owner Author

tamaina commented Dec 19, 2023

最後のtimestampがdurationを超えたら終了ということにしていたが、最後のtimestampがdurationを超えない場合使えない

@tamaina
Copy link
Owner Author

tamaina commented Dec 19, 2023

そもそも1-in 1-out decodingなんて用途が想定されていない???

w3c/webcodecs#732

@tamaina
Copy link
Owner Author

tamaina commented Dec 19, 2023

1-in-1-outは遅延の話だからこれとは関係ないな

@tamaina
Copy link
Owner Author

tamaina commented Dec 19, 2023

decoder.flushのPromiseを待てばいいことがわかった

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