Global Feed Post Login
Replying to Avatar Matthew

I had a need to upload a video. A requirement was that the file size be 20MB or less.

The video I took was 50MB. I used this ffmpeg command to keep the same video content and duration, but reduce the file size to about 18MB. Perfect!

ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -movflags +faststart -c:a aac -b:a 128k output.mp4

#ffmpeg #linux #video

Avatar
Anthony Accioly 7mo ago

ffmpeg is ❤️

Reply to this note

Please Login to reply.

Discussion

No replies yet.