Skip to content

Instantly share code, notes, and snippets.

View tiangolo's full-sized avatar

Sebastián Ramírez tiangolo

View GitHub Profile
@tiangolo
tiangolo / convert-mp4-files-to-dnx.sh
Created May 29, 2018 12:58
Convert MP4 files to DNxHD, Davinci Resolve compatible, with ffmpeg
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