[FFmpeg-user] dnxhd error in different versions

Jacob Harris jacob at jacobharris.org
Sat Jun 30 00:04:31 CEST 2012


Hello FFmpeg users!

I'm new to FFmpeg and new to this list. I have two versions available to
me, and I'm getting an error with one. In the old version -- 0.6.1, I know
I know -- the command works beautifully. In the new version (0.11.1) it
does not. I get nasty errors. I've at least accounted for the different
bitrate syntax (-b became -b:v) but other than that, I cannot figure out
what this new command should be. I've only had issues with dnxhd. Other
codecs seem to work fine (mjpeg, for example). I sure would like to know
how to get dnxhd going in the new version.

I've pasted the commands and output below. Thanks!



** FFmpeg 0.6.1 **

jacobharris at rw065 : /jobs/scratch_jacobdev03/tools/release
$ ffmpeg -y -sameq -i /tmp/colorwheel1.%04d.tif -vcodec dnxhd -r 23.976 -b
115M /tmp/colorwheel1.mov
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  4 2010 15:35:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --incdir=/usr/include --disable-avisynth
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
--enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac
--enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-gpl --enable-nonfree --enable-postproc --enable-pthreads
--enable-shared --enable-swscale --enable-vdpau --enable-version3
--enable-x11grab
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, image2, from '/tmp/colorwheel1.%04d.tif':
  Duration: 00:00:04.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: tiff, rgb24, 1920x1080, 25 tbr, 25 tbn, 25 tbc
Output #0, mov, to '/tmp/colorwheel1.mov':
  Metadata:
    encoder         : Lavf52.64.2
    Stream #0.0: Video: dnxhd, yuv422p, 1920x1080, q=2-31, 115000 kb/s,
2997 tbn, 23.98 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   96 fps= 35 q=1.0 Lsize=   56833kB time=4.00
bitrate=116278.0kbits/s dup=0 drop=4
video:56832kB audio:0kB global headers:0kB muxing overhead 0.002114%



** FFmpeg 0.11.1 **

jacobharris at rw065 : /jobs/scratch_jacobdev03/tools/release
$ ffmpeg -y -sameq -i /tmp/colorwheel1.%04d.tif -vcodec dnxhd -r 23.976
-b:v 115M /tmp/colorwheel1.mov
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 27 2012 15:40:39 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
  configuration: --prefix=/tools/os/ffmpeg/0.11.1
--libdir=/tools/os/ffmpeg/0.11.1/lib64 --enable-gpl --enable-version3
--enable-nonfree --enable-runtime-cpudetect --enable-gray --enable-libfaac
--enable-libfreetype
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[image2 @ 0x12085100] Stream #0: not enough frames to estimate rate;
consider increasing probesize
Input #0, image2, from '/tmp/colorwheel1.%04d.tif':
  Duration: 00:00:04.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, rgb24, 1920x1080, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x12085d40] w:1920 h:1080 pixfmt:rgb24 tb:1/25 sar:0/1
sws_param:flags=2
[buffersink @ 0x12099c80] No opaque field provided
[format @ 0x1209a020] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'format'
[scale @ 0x1209a3a0] w:1920 h:1080 fmt:rgb24 sar:0/1 -> w:1920 h:1080
fmt:yuv422p10le sar:0/1 flags:0x4
[dnxhd @ 0x120867a0] video parameters incompatible with DNxHD
Output #0, mov, to '/tmp/colorwheel1.mov':
    Stream #0:0: Video: dnxhd, yuv422p10le, 1920x1080, q=2-1024, 115000
kb/s, 90k tbn, 23.98 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (tiff -> 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