I am developing a flutter app with flutter_ffmpeg package , I want to compress video and using this function
FFmpeg.execute('-i input.mp4 -c:v lib*264 crf 0 output.mp4')
Now , the ffmpeg is saying unrecognised option CRF after removing it , it says unknown encoder lib*264
After googling , I found that I have to --enable-lib*264
How to enable it? In flutter ffmpeg?
I was working on video compression with
ffmpeg_kit_flutterI came across that error.Switching from
ffmpeg_kit_fluttertoffmpeg_kit_flutter_min_gpl: ^5.1.0fixed it for me,