Skip to content

Instantly share code, notes, and snippets.

@lukehedger
Last active June 30, 2025 02:07
Show Gist options
  • Save lukehedger/277d136f68b028e22bed to your computer and use it in GitHub Desktop.
Save lukehedger/277d136f68b028e22bed to your computer and use it in GitHub Desktop.
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@DamonTsang986
Copy link

Wouldn't it be much easier to use video compressor software? There are quite a few wonderful and high quality video compressors out there.

ffmpeg is video compression software (among many other things), as far as I can tell the only difference is that you run it from a command line instead of a GUI, and it's free.

Agreed. But for those who are not skillful in coding and programming, a software with simple GUI, especially when it's free, would be much easier to use.

But you will learn way more from using ffmpeg (which you would anyways with the GUI, just with extra steps, and probably some adware, or a paywall too).

Agreed, from the aspect of learning.

@Sjonijoni
Copy link

Sjonijoni commented Jun 30, 2025

Free YouTube to Mp3 Converter here: [savetubes.com](url) [youtuberipper.com](url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment