[FFmpeg-user] Error encoding to DNxHD

Christian Foerster kontakt at filmeschneider.de
Fri Jan 23 17:14:16 CET 2015


Hi all,


I'm trying to convert a file to DNxHD 120 (as DNxHD 85 doesn't seem to be
supported). It fails because I'm apparently using some wrong parameter. Can
anyone point me to where I went wrong?

Thanks a lot,
Christian


This is my command:

ffmpeg -i schuerrle.mp4 -c:v dnxhd -b:v 120m -s 1920x1080 -pix_fmt yuv422p
-r 25 -c:a pcm_s16le -ar 48000 schuerrle_dnxhd.mov

This is what ffmpeg returns:

ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers

built on Aug 25 2014 19:47:15 with Apple LLVM version 5.1 (clang-503.0.40)
(based on LLVM 3.4svn)

configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid

libavutil 52. 92.100 / 52. 92.100

libavcodec 55. 69.100 / 55. 69.100

libavformat 55. 48.100 / 55. 48.100

libavdevice 55. 13.102 / 55. 13.102

libavfilter 4. 11.100 / 4. 11.100

libavresample 1. 3. 0 / 1. 3. 0

libswscale 2. 6.100 / 2. 6.100

libswresample 0. 19.100 / 0. 19.100

libpostproc 52. 3.100 / 52. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'schuerrle.mp4':

Metadata:

major_brand : isom

minor_version : 512

compatible_brands: isomiso2avc1mp41

encoder : Lavf55.48.100

Duration: 00:26:06.40, start: 0.021333, bitrate: 3246 kb/s

Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp,
119 kb/s (default)

Metadata:

handler_name : SoundHandler

Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x576
[SAR 1:1 DAR 16:9], 3120 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

Metadata:

handler_name : VideoHandler

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Output #0, mov, to 'schuerrle_dnxhd.mov':

Metadata:

major_brand : isom

minor_version : 512

compatible_brands: isomiso2avc1mp41

encoder : Lavf55.48.100

Stream #0:0(eng): Video: dnxhd, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps
(default)

Metadata:

handler_name : VideoHandler

encoder : Lavc55.69.100 dnxhd

Stream #0:1(und): Audio: pcm_s16le, 0 channels (default)

Metadata:

handler_name : SoundHandler

encoder : Lavc55.69.100 pcm_s16le

Stream mapping:

Stream #0:1 -> #0:0 (h264 (native) -> dnxhd (native))

Stream #0:0 -> #0:1 (aac (native) -> pcm_s16le (native))

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