-
Notifications
You must be signed in to change notification settings - Fork 53
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
The decoding time of a single frame is too long. #11
Comments
Bear in mind that In particular, Therefore your code contains redundant |
I have a similar problem, even without using memcpy and Resize. |
I did find an issue regarding the high latency. Please try this patch and see if it helps. |
That's great. It works. :) |
Closed by e753665 |
When I calculated the time to decode, I found out the average time is almost 84ms.
Open the log and find such a problem “Decoder buffer is full”. This happens regardless of whether I export to NV12 format or drm_prime.
This is the test code:
![image](https://private-user-images.githubusercontent.com/149750728/298263717-f9fd4ef4-cb66-4527-87f9-4a0172e13260.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2NjcxNTEsIm5iZiI6MTcyMzY2Njg1MSwicGF0aCI6Ii8xNDk3NTA3MjgvMjk4MjYzNzE3LWY5ZmQ0ZWY0LWNiNjYtNDUyNy04N2Y5LTRhMDE3MmUxMzI2MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNFQyMDIwNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lNjViOWQxZDYzYzk0NTQ2OTYzMGY4M2RlM2Q2ODllNTAwZWI0Njc2YmM5NjQ1NTkxOGEyMzFhOTQ4NDNlYjc1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.bncusUyHEs1ym7uinYjRieKcb93z7kjwXfOKMyfAcFM)
The text was updated successfully, but these errors were encountered: