

You can specify each value but this is easier, for example -pix_fmt=yuv422p10le. vf is as alias for -filter:v and creates the filtergraph that is used to filter the stream. Note that the pix_format must match the profile! The above list was adapted from DNxHR codec.


I was able to convert 1920x1080 videos but kept getting an error when attempting 4k 3840x2160 videos. profile:v defines the profile to use for the video.Īccepted values are: dnxhd, dnxhr_444, dnxhr_hqx, dnxhr_hq, dnxhr_sq, dnxhr_lb. c:v (or the alias -vcodec) defines the codec to use for the video That sucks…So this is why we have to convert the audio when we convert the video. Referring back to the Black Magic Support Codecs, we see that mp3 and AAC are not supported in either free nor Studio Linux version. This is pretty simple, as described in this tutorial instructions.įfmpeg -i input.mp4 \ -c:v dnxhd \ -profile:v dnxhr_hqx \ -vf "scale=3840:2160,fps=24000/1001,format=yuv422p10le" \ -b:v 110M \ -c:a pcm_s16le \ output.mov Audio Transcoding

My goal was to preserve the highest resolution and quality during the conversion or “transcode” to work with in DR16. Handbrake is a GUI front-end to ffpmeg and is awesome, I’m sure it could do it but I wanted something that I could run from a shell script and I wasn’t exactly sure what it was doing under the hood.
