Last active
April 15, 2021 16:56
-
-
Save scsskid/df1cbcde93108b62ee078216012f2de8 to your computer and use it in GitHub Desktop.
[ffmpeg cookbook] #bash #ffmpeg
This file contains hidden or 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
# https://stackoverflow.com/a/53269551 | |
ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c copy output.mp4 | |
# convert .mov to .mp4 | |
# https://mrcoles.com/convert-mov-mp4-ffmpeg/ | |
ffmpeg -i videoName.mov -vcodec h264 -acodec mp2 videoName.mp4 | |
ffmpeg -i input.flv -vcodec libx264 -acodec aac output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment