<ol>
<li><em>Are either DNxHD or DNxHR capable of outputing to 4:2:0?</em></li>
</ol>
<p>No. Running <code>ffmpeg -h encoder=dnxhd</code> will list encoder properties, including</p>
<pre><code>Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le
</code></pre>
<ol start="2">
<li><em>Can DNxHD transcode my source? If yes, how should I ammend the above ffmpeg parameters?</em></li>
</ol>
<p>The DNxHD encoder only supports a limited number of preset profiles. Each profile is specified of a frame size, interlacing mode, bitrate and pixel format (which also includes chroma sampling scheme).</p>
<p>FFmpeg will automatically convert the input to a matching pixel format, but the rest has to be manually set.</p>
<p>So, for a 1920x1080 8-bit YUV 4:2:0 @ 25fps source,</p>
<pre><code>ffmpeg.exe  -i &quot;input.mov&quot; -c:v dnxhd -b:v 115M &quot;input.mxf&quot;
</code></pre>
<p>Try to encode with a non-matching to prompt an error message with the list of supported profiles.</p>

CC BY-SA 4.0
2021-02-07T07:54:10.473Z
Thanks, that worked. Interestingly, your dnxhd command above produces an output file with the exact same size as my dnxhr command.
Michhes
CC BY-SA 4.0
2021-02-05T10:56:03.770Z
2021-02-05T10:56:03.770Z
Gyan
<p>I have a bunch of footage shot on a Canon 7d I'd like to transcode for editing in Davinci Resolve (I'm exploring alternatives to using Resolve's proxies).</p>
<p>The source footage is 1920x1080 8-bit YUV 4:2:0 @ 25fps.</p>
<p>I'd like to use ffmpeg and either the DNxHD or DNxHR encoders but DNxHD doesn't appear to have a matching profile and errors our and DNxHR outputs 4:2:2 video (which is arguably unecessary in this case) and doubles the original file size.</p>
<p><strong>DNxHR</strong></p>
<pre><code>ffmpeg -i &quot;input.mov&quot; -c:v dnxhd  -profile:v dnxhr_sq -pix_fmt yuv422p -c:a pcm_s16le &quot;output.mxf&quot;
</code></pre>
<p><strong>DNxHD</strong> (errors &quot;maybe incorrect parameters&quot;)</p>
<pre><code>ffmpeg.exe  -i &quot;input.mov&quot; -vcodec dnxhd &quot;input.mxf&quot;
</code></pre>
<p>My questions are as follows:</p>
<ol>
<li>Are either DNxHD or DNxHR capable of outputing to 4:2:0? Would doing so keep file sizes down?</li>
<li>Can DNxHD transcode my source? If yes, how should I ammend the above ffmpeg parameters?</li>
</ol>

<ffmpeg><davinci-resolve><dnxhr>
ffmpeg intermediate transcode for 1920 x 1080 8-bit YUV 4:2:0 @ 25fps source
Michhes
# ffmpeg intermediate transcode for 1920 x 1080 8-bit YUV 4:2:0 @ 25fps source

(Asked by: username_0 on 2021-02-05)

I have a bunch of footage shot on a Canon 7d I'd like to transcode for editing in Davinci Resolve (I'm exploring alternatives to using Resolve's proxies).
The source footage is 1920x1080 8-bit YUV 4:2:0 @ 25fps.
I'd like to use ffmpeg and either the DNxHD or DNxHR encoders but DNxHD doesn't appear to have a matching profile and errors our and DNxHR outputs 4:2:2 video (which is arguably unecessary in this case) and doubles the original file size.
DNxHR
ffmpeg -i "input.mov" -c:v dnxhd  -profile:v dnxhr_sq -pix_fmt yuv422p -c:a pcm_s16le "output.mxf"

DNxHD (errors "maybe incorrect parameters")
ffmpeg.exe  -i "input.mov" -vcodec dnxhd "input.mxf"

My questions are as follows:

Are either DNxHD or DNxHR capable of outputing to 4:2:0? Would doing so keep file sizes down?
Can DNxHD transcode my source? If yes, how should I ammend the above ffmpeg parameters?

**Tags:** ffmpeg, davinci-resolve, dnxhr


---

## 1 answers

### Answer by username_1 on 2021-02-05. Score: 1

Are either DNxHD or DNxHR capable of outputing to 4:2:0?

No. Running ffmpeg -h encoder=dnxhd will list encoder properties, including
Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le


Can DNxHD transcode my source? If yes, how should I ammend the above ffmpeg parameters?

The DNxHD encoder only supports a limited number of preset profiles. Each profile is specified of a frame size, interlacing mode, bitrate and pixel format (which also includes chroma sampling scheme).
FFmpeg will automatically convert the input to a matching pixel format, but the rest has to be manually set.
So, for a 1920x1080 8-bit YUV 4:2:0 @ 25fps source,
ffmpeg.exe  -i "input.mov" -c:v dnxhd -b:v 115M "input.mxf"

Try to encode with a non-matching to prompt an error message with the list of supported profiles.

> **Comments:**
> **username_0**: Thanks, that worked. Interestingly, your dnxhd command above produces an output file with the exact same size as my dnxhr command.  

---

