[FFmpeg-user] Need to reduce size of ffmpeg.exe for version 5.0.1

Reindl Harald h.reindl at thelounge.net
Tue Oct 4 12:36:43 EEST 2022



Am 04.10.22 um 09:04 schrieb Ferdi Scholten:
>> 1. Can we reduce the size of ffmpeg.exe ? Any idea how can we create a 
>> smaller ffmpeg.exe which should be able to run only above command  to 
>> convert RTSP to HLS? (as its size is 110 mb+ so it is difficult to 
>> ship it with our product).
> Yes, compile it yourself with only the external libraries and features 
> you need. My version of 5.1 for my needs is 45 MB

that binary contains x264 static which was broken with some useless 
pkconfig error the last time i tried build 5.1

-rwxr-xr-x 1 root root 22M 2022-09-08 16:18 /usr/local/bin/ffmpeg


More information about the ffmpeg-user mailing list