

Should also mention that batch conversions run most reliably when the script contains static data with each ffmpeg call on a new line (as opposed to having the script generate each call dynamically. (Do not specify new codecs!) ffmpeg -i input.avi -c:v copy -c:a copy OUTPUT.mp4. When the conversion completes, you should have changed your AVI files to MP4 files without quality loss.ffmpeg should easily convert from avi to mp4 without re-encoding. Try this command line in FFmpeg for converting AVI to MP4 files: 'ffmpeg -i input.avi -c:v libx264 -preset slow -crf 19 -c:a libvo_aacenc -b:a 128k'. ffmpeg -i input_filename.avi -c:v copy -c:a copy -y output_filename.mp4. It should work for most of the use-cases.

Ok, if you are in a hurry to convert AVI to MP4 using FFmpeg, then simply run the following FFmpeg command.
