How to use ffmpeg to decrease video file size drastically

I've looked around, but all I can find is people asking how to decrease file size without losing quality. I don't care about quality, I just want to get the smallest file size I can. I'd prefer to have it still be (vaguely) watchable, and I'd like to keep the audio relatively ungarbled, but I don't care if the video is 64x64, 10fps, 1kb bitrate. I just want it small.

Edit: I should clarify that the original video file is >1 hour long. I'm looking for any way to quickly convert it, since everything I've tried so far has been pretty slow.

5

1 Answer

Answer by the amazing andrew.46:

Try the following which was only just watchable on my system: ffmpeg -i input.mp4 -c:v libx264 -tune zerolatency -preset ultrafast -crf 40 -c:a aac -b:a 32k output.mp4. crf can go to 63 but this produced only moving pixels on my system, audio at 32k was just able to be followed.

I slightly modified the command to add -vf "scale=128:72, fps=10", just to scale down the output and reduce the framerate.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like