bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
739 stars 175 forks source link

Maximize CPU usage/Improve performance #34

Closed Aditya94A closed 6 years ago

Aditya94A commented 6 years ago

Even a simple command like

ffmpeg -i convert.mp4 toThis.mkv

For converting a small video file to another format takes an insane amount of time, I routinely see a ~25MB file taking upwards of 30 minutes to finish (and about ~700 of my users have explicitly told me the same).

Upon investigating, I noticed in the profiler that the CPU usage never rises above 1-2% which seems a little shocking. I'm not sure what a 'fix' for this would be like.

How do we tell android "Hey! This is important! Give it everything you got!"

Any ideas?

Aditya94A commented 6 years ago

Related: this thread on the other library.

Brianvdb commented 6 years ago

Duplicate of #24