Created
February 24, 2015 05:58
-
-
Save jangid/c700857a30bca51edcd5 to your computer and use it in GitHub Desktop.
ffmpeg options I learned
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. To convert *.MOV file to *.MP4 i.e. changing the container format keeping the video encoding same and changing audio to aac | |
For single file | |
ffmpeg -i file.MOV -vcodec copy -acodec aac -strict experimental -b:a 256k file.MP4 | |
For multiple files | |
for i in *.MOV ; do ffmpeg -i $i -vcodec copy -acodec aac -strict experimental -b:a 256k ${i%.MOV}.MP4; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First commit