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

Decode 4k h265 videos #10

Open
malhosary opened this issue Nov 20, 2020 · 0 comments
Open

Decode 4k h265 videos #10

malhosary opened this issue Nov 20, 2020 · 0 comments

Comments

@malhosary
Copy link

Thanks for the great work, it actually works very well with h264 and h265 video files up to HD resolution.
Decoding h264 4k video files works at about 10 fps and Decoding h265 4k video files works at about 3 fps.
I did some logs in the video_decoder.c file to check out what is going on. FFMPEG method: av_send_packet actually takes the longest execution time (about 350 ms per frame for h265 4k files), other methods are working very well.

Any ideas how to improve the performance of this method? I knew that this might be a limitation from web assembly technology itself, but can we somehow enable multi-threading or hardware acceleration to get better performance?

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