Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? Whenever I tried converting it became like 2 gb
by

1 Answer

Bharatgxwzm
I was very interested in converting avi files to mp4. Reading your post, I remembered this ffmpeg command:
ffmpeg -i input.avi -strict -2 output.mp4


The command -strict -2 is necessitated by the AAC codec which is experimental, but works (libaac), if you add those two parameters. The output file is high-quality by default.

Login / Signup to Answer the Question.