tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.87k stars 791 forks source link

Compression taking too Much Time I.e. 1:00 video taking 1 minute to compress #539

Closed Mr-Ramzan closed 4 years ago

Mr-Ramzan commented 4 years ago

Description I am working on a requirement to compress the video as WhatsApp does. I have worked I am using the following commands. val cmd = arrayOf( "-i",path, "-vcodec", "libx265" ,"-crf" ,"35" ,"-preset","faster" ,"-c:a","copy" ,"-s" ,"640x352",outPutPath)

Convert Video Faster Like WhatsApp As I have Followed to this answer and devised the above command. Compression is working but is very much slow.

Compression is Very Much Slow Compression is working but is very much slow.

Logs Logs Are here Ghostbin

Environment


 - Android Studio version **4.0**
 - Android NDK version 28
github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.