[FFmpeg-user] Output 10bit DNxHD in a .MXF container

Steve C natgeo.operations at gmail.com
Sun Dec 1 20:24:13 CET 2013


I'm trying to output a 10bit DNxHD.mxf, but FFMPEG is saying I have
incorrect parameters:

*Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height*


The source files are always 10bit ProResHQ.mov.

Please see the full command statement and output below.

Can someone please help me troubleshoot this problem?

-----------------------------------

/ffmpeg -i /Users/me/NTSC_ProResHQ_DF_25sec.mov -an  -c:v dnxhd -pix_fmt
yuv422p10le -b:v 220000k -r 29.97 -s 1920x1080 -aspect 16:9 -trellis 0
-me_range 16 -i_qfactor 0.71 -qmin 3 -qmax 51 -sc_threshold 40 -sn -f mov
-f mxf -threads 8 -y  "/Users/me/NTSC_ProResHQ_DF_25sec.mxf"


ffmpeg version 2.1-tessus Copyright (c) 2000-2013 the FFmpeg developers

  built on Oct 28 2013 04:17:07 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)

  configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
--extra-version=tessus --disable-shared --enable-static --disable-ffplay
--enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libxavs --enable-version3
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx
--enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype
--enable-libass --enable-libbluray --enable-filters
--enable-runtime-cpudetect

  libavutil      52. 48.100 / 52. 48.100

  libavcodec     55. 39.100 / 55. 39.100

  libavformat    55. 19.104 / 55. 19.104

  libavdevice    55.  5.100 / 55.  5.100

  libavfilter     3. 90.100 /  3. 90.100

  libswscale      2.  5.101 /  2.  5.101

  libswresample   0. 17.104 /  0. 17.104

  libpostproc    52.  3.100 / 52.  3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/me/NTSC_ProResHQ_DF_25sec.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    creation_time   : 2013-03-30 15:58:59

  Duration: 00:00:25.06, start: 0.000000, bitrate: 208519 kb/s

    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,
1920x1080, 208485 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn,
2997 tbc (default)

    Metadata:

      creation_time   : 2013-03-30 15:58:59

      handler_name    : Apple Alias Data Handler

      timecode        : 09:59:50;00

    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)

    Metadata:

      creation_time   : 2013-03-30 15:59:35

      handler_name    : Apple Alias Data Handler

      timecode        : 09:59:50;00

[dnxhd @ 0x10201c400] video parameters incompatible with DNxHD. Valid DNxHD
profiles:

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 175Mbps; pixel
format: yuv422p10; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 185Mbps; pixel
format: yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 365Mbps; pixel
format: yuv422p10; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 440Mbps; pixel
format: yuv422p10; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 115Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 240Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 290Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 175Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 185Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 365Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 440Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 185Mbps; pixel
format: yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 220Mbps; pixel
format: yuv422p10; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 185Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p10; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 180Mbps; pixel
format: yuv422p10; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 220Mbps; pixel
format: yuv422p10; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 110Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 180Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 60Mbps; pixel format:
yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 60Mbps; pixel format:
yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 75Mbps; pixel format:
yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 36Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 36Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 45Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 75Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 90Mbps; pixel
format: yuv422p; framerate: 60000/1001

Output #0, mxf, to '/Users/me/NTSC_ProResHQ_DF_25sec.mxf':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    Stream #0:0(eng): Video: dnxhd, yuv422p10le, 1920x1080 [SAR 1:1 DAR
16:9], q=3-51, 220000 kb/s, 90k tbn, 29.97 tbc (default)

    Metadata:

      creation_time   : 2013-03-30 15:58:59

      handler_name    : Apple Alias Data Handler

      timecode        : 09:59:50;00

Stream mapping:

  Stream #0:0 -> #0:0 (prores -> dnxhd)

Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height

[dnxhd @ 0x10201c400] video parameters incompatible with DNxHD. Valid DNxHD
profiles:

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 175Mbps; pixel
format: yuv422p10; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 185Mbps; pixel
format: yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 365Mbps; pixel
format: yuv422p10; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 440Mbps; pixel
format: yuv422p10; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 115Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 240Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 290Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 175Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 185Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 365Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 440Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 185Mbps; pixel
format: yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 220Mbps; pixel
format: yuv422p10; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 185Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080i; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p10; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p10; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 180Mbps; pixel
format: yuv422p10; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 220Mbps; pixel
format: yuv422p10; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 90Mbps; pixel format:
yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 110Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 180Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 220Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 60Mbps; pixel format:
yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 60Mbps; pixel format:
yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 75Mbps; pixel format:
yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 120Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1280x720p; bitrate: 145Mbps; pixel
format: yuv422p; framerate: 60000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 36Mbps; pixel
format: yuv422p; framerate: 24000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 36Mbps; pixel
format: yuv422p; framerate: 25/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 45Mbps; pixel
format: yuv422p; framerate: 30000/1001

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 75Mbps; pixel
format: yuv422p; framerate: 50/1

[dnxhd @ 0x10201c400] Frame size: 1920x1080p; bitrate: 90Mbps; pixel
format: yuv422p; framerate: 60000/1001

Output #0, mxf, to
'/Users/stevencucolo/Dropbox/Public/NTSC_ProResHQ_DF_25sec.mxf':

  Metadata:

    major_brand     : qt

    minor_version   : 537199360

    compatible_brands: qt

    Stream #0:0(eng): Video: dnxhd, yuv422p10le, 1920x1080 [SAR 1:1 DAR
16:9], q=3-51, 220000 kb/s, 90k tbn, 29.97 tbc (default)

    Metadata:

      creation_time   : 2013-03-30 15:58:59

      handler_name    : Apple Alias Data Handler

      timecode        : 09:59:50;00

Stream mapping:

  Stream #0:0 -> #0:0 (prores -> dnxhd)

Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height


More information about the ffmpeg-user mailing list