-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
libavformat branch: high CPU usage on Ubuntu 18.04 and OF 0.10.0 #46
Comments
Could you link to (or just name if it's one of the Vidvox samples) your specific test file? |
I have the same issue running on MacOS with a Macbook pro Retina mid 2012 (NVIDIA GeForce GT 650M). The video is a 15'' clip (aprox. 340 MB file size) with audio at FullHD resolution and is taking 130% of CPU. If I load the same file with VDMX it only takes 25 % of CPU. Just for testing I rendered the same file without audio and it works normal (30% of CPU). So I guess the problem is with audio stuff. Do I need to choose a specific audio format for rendering the video? Original file was encoded with PCM lineal audio format, I did another test with flac format and video was fine, taking 30% of CPU but no sound was played. Thanks for reading this. |
Hi @bangnoise only just around to looking at this again. The files I used are here I'm on an Intel HD620, with Intel i5-7200U CPU, Mesa 18.2.8
After re-exporting all my files to not use audio (using FFMPEG), the CPU usage drops dramatically, to around 15-30%. So it would appear to be a problem with the audio. |
If I run one of the demo 480p hap videos I found online in the example, my CPU shoots to around 100-120% CPU usage according to the 'top' tool.
Running the same video through MPV uses around 18% CPU.
I tried converting the same file again using FFMPEG but got no benefits.
Any tips to get better performance?
The text was updated successfully, but these errors were encountered: