Created
May 29, 2018 12:58
-
-
Save tiangolo/ecdb5cc845dec13493fd0f351fd3bb96 to your computer and use it in GitHub Desktop.
Convert MP4 files to DNxHD, Davinci Resolve compatible, with 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
for f in *.mp4 ; do ffmpeg -i "$f" -c:v dnxhd -vf scale=1920x1080,fps=30000/1001,format=yuv422p -b:v 145M -c:a pcm_s16le "../converted-videos/${f%.*}.mov" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment