Last active
January 21, 2016 22:52
-
-
Save yas375/a4a7aefa2e60c003e3fa to your computer and use it in GitHub Desktop.
Process `ffmpeg` on all mp4 files in current directory.
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
#!/bin/sh | |
mkdir -p processed | |
for file in *.mp4 | |
do | |
ffmpeg -i $file -vcodec libx264 -crf 10 -x264opts colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off processed/$file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment