FFMPEG to convert mkv to avi file
I have some MKV files in big resolution. Example a sample.mvi with 720x304 (looks like 16:9 ratio)
I want to convert it to AVI file but using XVID codec and also 640x480 screen size (4:3 ratio).
So the final video will be with black borders at top/bottom to keep the original video ratio.
I am trying this command:
but this command is stretching the original video and I want to keep the original ratio.
ffmpeg -i sample.mkv -vcodec libxvid -r 25 -b 1200 -aspect 4:3 -s 640x480 -vf pad=0:0 -sameq -y out.avi
Please provide me command like help for how to do this