<p>The good old ffmpeg gives you the power ;)</p>

<pre><code>ffmpeg -i input.avi -c:v libxvid output.avi
</code></pre>

<p>You can obviously fine tweak the command line with bitrate, audio in mp3 and so on.</p>

<p>es:</p>

<pre><code>ffmpeg -i input.avi -c:v libxvid -b:v 512k -c:a libmp3lame -qscale:a 4 output.avi
</code></pre>

<p>This is for a single bitrate use, where you use a constant bitrate for every frame.</p>

<p>Otherwise you could go for a 2 pass bitrate where the 1st pass is used only for determine where is the best for allocate more data...</p>

<p>But you can also convert in xvid/divx Mpeg 4 Layer 2 using a quality preset where you don't put directly the bitrate wanted but just ask for a minimum visual quality respected where you will be less concerned about the final file size (it will be discovered only at the end).</p>

<p><code>-qscale:v 3</code> instead of the <code>-b:v 512k</code> that i used above</p>

CC BY-SA 3.0
2015-10-27T15:28:10.860Z
Thanks for information. I haven't tried out this as I found a solution with Freemake.
lsc
CC BY-SA 3.0
2015-10-26T20:56:53.373Z
2015-10-26T20:56:53.373Z
user3450548
<p>I solved the issue with 'Freemake video converter' <a href="http://www.freemake.com/" rel="nofollow">http://www.freemake.com/</a> 
Where I used 'Convert to AVI' with XVID settings and it works. Anyway yes capacity is more than mp4. </p>

CC BY-SA 3.0
2015-10-27T15:27:24.053Z
2015-10-27T15:27:24.053Z
lsc
<p>I use <a href="http://www.macxdvd.com/mac-video-converter-pro/" rel="nofollow">MacX Video Converter Pro</a> to solve this problem. This converter is great to handle MP4 and AVI formats video conversion. And I also use to convert other formats, such as MKV, WMV, MOV, FLV, etc. I love the high quality after conversion, and the converting speed is so fast. You may have a try.</p>

CC BY-SA 3.0
2015-11-20T10:41:24.983Z
2015-11-20T10:41:24.983Z
modtheworld
<p>I have the following DVD player - <a href="http://www.lg.com/ae/video/lg-DP542" rel="nofollow">http://www.lg.com/ae/video/lg-DP542</a> - 
and I want to convert my mp4 files into DivX as that is what my player supports. I tried VLC's converter and Handshake but had no luck. Can you help?</p>

CC BY-SA 3.0
2015-10-26T19:30:14.143Z
What settings did you use with Handbrake? Have you tried the MP4 directly? The product page advertises support for Divx HD, which is essentially H.264/AAC in Matroska (MKV), so ISO MP4 container might work.
Gyan
<dvd><mpeg4><avi>
how to convert mp4 to divx?
lsc
# how to convert mp4 to divx?

(Asked by: username_0 on 2015-10-26)

I have the following DVD player - <http://www.lg.com/ae/video/lg-DP542> -
and I want to convert my mp4 files into DivX as that is what my player supports. I tried VLC's converter and Handshake but had no luck. Can you help?

**Tags:** dvd, mpeg4, avi

> **Comments:**
> **username_1**: What settings did you use with Handbrake? Have you tried the MP4 directly? The product page advertises support for Divx HD, which is essentially H.264/AAC in Matroska (MKV), so ISO MP4 container might work.  

---

## 3 answers

### Answer by username_2 on 2015-10-26. Score: 2

The good old ffmpeg gives you the power ;)
ffmpeg -i input.avi -c:v libxvid output.avi

You can obviously fine tweak the command line with bitrate, audio in mp3 and so on.
es:
ffmpeg -i input.avi -c:v libxvid -b:v 512k -c:a libmp3lame -qscale:a 4 output.avi

This is for a single bitrate use, where you use a constant bitrate for every frame.
Otherwise you could go for a 2 pass bitrate where the 1st pass is used only for determine where is the best for allocate more data...
But you can also convert in xvid/divx Mpeg 4 Layer 2 using a quality preset where you don't put directly the bitrate wanted but just ask for a minimum visual quality respected where you will be less concerned about the final file size (it will be discovered only at the end).
-qscale:v 3 instead of the -b:v 512k that i used above

> **Comments:**
> **username_0**: Thanks for information. I haven't tried out this as I found a solution with Freemake.  

---

### Answer by username_0 on 2015-10-27. Score: 0

I solved the issue with 'Freemake video converter' <http://www.freemake.com/>
Where I used 'Convert to AVI' with XVID settings and it works. Anyway yes capacity is more than mp4.


---

### Answer by username_3 on 2015-11-20. Score: 0

I use [MacX Video Converter Pro](http://www.macxdvd.com/mac-video-converter-pro/) to solve this problem. This converter is great to handle MP4 and AVI formats video conversion. And I also use to convert other formats, such as MKV, WMV, MOV, FLV, etc. I love the high quality after conversion, and the converting speed is so fast. You may have a try.


---

