1

I have a file in an MKV format and I want to convert it to a DivX format.

Are there any tools out there which explain how to do this? I am fine doing a little coding on my own. I did try out the DIVX convertor but that only converts to an MKV format.

Any other options which are open to me right now?

1
  • 1
    See the blog post on using FFmpeg, otherwise use WinFF
    – HackToHell
    Jun 23, 2012 at 14:28

1 Answer 1

3

There's a little misunderstanding here.

  • MKV (Matroska) is a container. It wraps a number of video, audio and subtitle streams into one file.

  • DivX is a video encoder. It's one implementation of a certain video codec.

  • MPEG-4 Part II is a video codec standard. DivX for example creates MPEG-4 Part II compatible video. XviD is another encoder that does this.

See this question for more about that: What is a Codec (e.g. DivX?), and how does it differ from a File Format (e.g. MPG)?

Now that we've cleared that up, there's not much sense anymore in "converting MKV to DivX". In fact, the MKV file you have could already include DivX-encoded video – who knows? You can analyze existing files with MediaInfo to make sure.

So, you seem to be unsure about what result you even want. DivX-encoded files can come in a number of containers, but AVI, MP4 and MKV are most common. If you want to create a DivX-encoded file, then you have to live with the fact that it will end up in an AVI, MP4 or MKV container, no matter what tool you use.

11
  • Okay that does seem to clear up a lot of things. So does it mean that a file cannot have an extension of divx as divx is a codec and not a container? or does it mean a file with a .divx extension is a raw bitstream ? Or have I made some gross error here? Also what would be the right site to read up on containers and codecs (any specific books which you recommend. Cause I am interested in learning about this but am unsure about where to start?)
    – Sab
    Jun 24, 2012 at 15:08
  • Well, actually there is a .divx extension, but in essence it's an AVI container. See here.. I haven't seen this a lot, but I would assume only official DivX products can create these files.
    – slhck
    Jun 24, 2012 at 15:43
  • For the whole concepts of codecs and containers, I can't recommend any specific books though — I tried to be as extensive as possible in my answer ("What is a codec…"), but of course, there's always more to that. Feel free to read my two blog posts on video encoding and FFmpeg specifically. And of course, you can ask a specific question anytime here on Super User.
    – slhck
    Jun 24, 2012 at 15:45
  • Finally, there's videohelp.com, a place for how-tos, guides and articles on video encoding stuff. It also hosts the most commonly used tools you need for encoding, manipulating and the likes.
    – slhck
    Jun 24, 2012 at 15:46
  • Okay. IF there is a .divx format then how do i create it because when i used the official divx convert it gave me an mkv which was divx encoded. Any suggestion?
    – Sab
    Jun 24, 2012 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .