There are a couple of things that jump out at me immediately.
In the first example, which converted successfully, you have the same resolution in the original movie as you do in the output: 320 x 240. You also have the same framerate: 25fps. Display aspect ratio, probably the most important relating to your problem, is 4:3 in both the original and your output.
In the second one, you are starting with a 16:9 video, with HD resolution of 1920 x 1080. This also has a variable frame rate. You are converting to standard def resolution, that seems to have at least some of the black bars cut off the top and bottom (720 x 540), and you are using a constant frame rate of 23.976. And you've converted to 4:3 sized resolution, which your Divx converter doesn't seem to know how to do.
If you have controls in the Divx converter to change to a 16:9 output, this is the first thing I would try on the second video.