Last active
April 16, 2020 14:07
-
-
Save lg3bass/ad65309e79e8d9a730f9acef345856c7 to your computer and use it in GitHub Desktop.
FFMPEG - Convert all videos in a directory (Examples)
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
//Convert all videos in a directory FLV > M4V (don't care bout quality) | |
for FILENM in *; do ffmpeg -y -i $FILENM ${FILENM%.*}.m4v; done; | |
//Converts all legacy .mov files in a directory to .mp4 | |
//"-max_muxing_queue_size" source: https://trac.ffmpeg.org/ticket/6375 | |
for FILENM in *;do ffmpeg -y -i $FILENM -crf 5 -max_muxing_queue_size 400 ${FILENM%.*}.mp4;done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment