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.85k stars 787 forks source link

Unknown encoder 'libx264' #647

Closed rabelhmd closed 3 years ago

rabelhmd commented 3 years ago

Description libx264 encoder not build in 'mobile-ffmpeg-full', '~> 4.4' iOS. So, how can I able to use the libx264 encoder?

Expected behavior Previously I installed mobile-ffmpeg-full 4.3.1 where I could use the libx264 but once I upgrade the mobile-ffmpeg-full 4.4 the libx264 encoder not found error is occurring.

Current behavior Command: -y -hide_banner -i IMG_3266.MOV -vf scale=540:960 -f mov -acodec aac -crf 24 -vcodec libx264 -profile:v high -pix_fmt yuv420p -color_range 2 output.mov

Logs (https://pastebin.ubuntu.com/p/VrpjVkpMN4/)

Environment

rishabhshukla7 commented 3 years ago

use this implementation 'com.arthenica:mobile-ffmpeg-min-gpl:4.4' I will surely help You.

rabelhmd commented 3 years ago

@rishabhshukla7 required platform is iOS not Android.

tanersener commented 3 years ago

@rabelhmd Have you read the README? You're using the full package and full package does not include x264. Only GPL licensed packages has x264. You need to use one of them as @rishabhshukla7 pointed out.

rajgupta93 commented 3 years ago

use this implementation 'com.arthenica:mobile-ffmpeg-min-gpl:4.4' I will surely help You.

can you help me my source code don't work in android 10