I see no error. Is this the complete ffmpeg console output? Also, option placement matters. You're applying all of your options to the input. Move it past -i input to apply your options to the output.
–
LordNeckbeardSep 2 '12 at 20:21

@LordNeckbeard Thanks for the information, I updated the question after making the modifications you told.
–
PrakashSep 3 '12 at 4:59

1 Answer
1

You need to use -s instead of -video_size (this is an option for some demuxers and the V4L2 input device), use 115M instead of 115m, and provide a valid frame rate with -r (25 [pal], 50, 30000/1001 [ntsc], 60000/1001):

ffmpeg -i ccvt_box.avi -c:v dnxhd -s 1920x1080 -r 25 -b:v 115M ex.mxf

Note that this example does not address any audio stream. Default audio encoder will be pcm_s16le.

In addition to FFmpeg there is also FFmbc which may provide additional DNxHD functionality.

I've found FFmpeg highly unreliable with DNxHD content and always use FFmbc for that. On this page there's a table with common DNxHD resolutions and bitrates (i.e. the values you put after -b:v). And yeah — FFmbc can't create MXF files either, just DVCPROHD or XDCAM.
–
slhck♦Sep 4 '12 at 19:52

@LordNeckbeard Thanks for the help. But I have a requirement to convert to mxf format. How should I do then?
–
PrakashSep 4 '12 at 20:31

@Prakash Luckily, I have little experience with MXF, but I updated the answer so it will provide a DNxHD in MXF. Other encoder options are mpeg2video and dvvideo for video; pcm_s16le and pcm_s16le for audio. FFmbc will additionally allow xdcamhd422 video (examples).
–
LordNeckbeardSep 5 '12 at 3:29

+1 for the help so far. I have updated the question after what you told, there is still small problem.
–
PrakashSep 5 '12 at 10:11

Looks like a bug. I also get the same message, but the resulting file is playable in ffplay. I'll investigate and report it to the bug tracker.
–
LordNeckbeardSep 5 '12 at 19:09