Skip to content

Instantly share code, notes, and snippets.

@reidransom
Created October 14, 2011 05:58
Show Gist options
  • Save reidransom/1286360 to your computer and use it in GitHub Desktop.
Save reidransom/1286360 to your computer and use it in GitHub Desktop.
Encoding 5D to Avid MXF media
$ ffmpeg -i input.mov -vcodec dnxhd -b:v 175M -pix_fmt yuv422p -s 1920x1080 -acodec pcm_s16le -ar 48000 -ac 2 -y -threads 8 -vf "crop=in_w:in_h-8:0:0, scale=1920:1080" temp.mov
$ ffmpeg -i temp.mov -an -vcodec copy -y temp.m2v
$ ffmpeg -i temp.mov -vn -acodec pcm_s16le -y temp.wav
$ writeavidmxf --prefix clipname --film23.976 --DNxHD1080p115 temp.m2v --wavpcm temp.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment