Convert MOV to MP4

From TYO Lab Wiki
Revision as of 10:13, 23 September 2015 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

One of the reasons we love about Linux is that you can do things so easily and have no cost, no malware, no ads. Now get back to the business, a simple command to do this:

ffmpeg -i in -vcodec copy -acodec copy out.mp4

However, in some cases (e.g. on Fedora), you might get the error as follows:

[mp4 @ 0x1c17e00] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container

To make it work, you need to adjust the parameters a bit:

ffmpeg -i in.MOV -vcodec copy -acodec aac -strict experimental -ab 128k out.mp4