I'm trying to copy a video file from mp4 to avi, in the process I need to convert aac to ac3 audio.
I've researched this for a few days, and I think I'm on the right track but need some help.
I typed, and received:
I then tried the following command by carefully studying some examples on ffmpeg online:
ffmpeg -i inputfile.mp4
Stream #0.0(und): Video: h264, yuv420p, 1280x720, 23.98 tbr, 23.98 tbn, 47.95 tbc
Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16
My resulting avi file causes many issues in a variety of players, I'm clearly doing something incorrect, can someone please lend some advice?
ffmpeg -i 'inputfile.mp4' -aspect 16:9 -sameq -vcodec libxvid -acodec ac3 -ac 6 'outputfile.avi'
Thank you very much.