View Full Version : How to demux a .divx file ?


crnagora
18th August 2008, 18:40
Hi guys,

I made a fancy .divX file of my cousins wedding (With Menu's using the DivX Author). So far so good. Worked fine and looked superb.

But then I made a copy for my aunt. She has a DivX DVD-Player but hers isn't DivX Ultra Certified.

I thought: It will work fine, just without my fancy Menu's of course. But it only works for the first part of the wedding (I Made 3 parts).

So is there any way to demux the .divx file again so I will get the separate parts ? I tried VirtualDub and a couple others but they only give me the first part of the damn thing.

Playing the file with the DivX Player is just fine but using VLan or any other software-player will give you the same result (Only the first part).

So is there any demuxing tool around that can handle this ?

Thanks.

CWR03
18th August 2008, 21:09
DVD Flick supports .divx files - it would be free to try.

setarip_old
18th August 2008, 21:32
@crnagora

You'd likely find it easier/simpler to go back to your original source material (presumably video captured from a camcorder)...

crnagora
18th August 2008, 22:14
@crnagora

You'd likely find it easier/simpler to go back to your original source material (presumably video captured from a camcorder)...

Yes...that would be my choice...if I still had the source. I may have a 3 disk DVD (Mpeg2) I made of this...but I still would like to know how to extract the stuff.

I'll try the DVD Flick prog.

crnagora
18th August 2008, 22:18
DVD Flick supports .divx files - it would be free to try.

Nope...doesn't work. Seems a like a nice prog otherwise.

setarip_old
18th August 2008, 22:55
I just did a quick Googlesearch and it appears that such a DivX structure (menu plus multiple video segments) cannot be demuxed.

It might be worth your while to post your question at the DivX website's forum...

LoRd_MuldeR
18th August 2008, 23:56
Those .divx files or nothing but AVI files with a "wrong" file extension and few DivX-specific additions. You could try the AVI-Mux GUI (http://alexander-noe.com/video/amg/) program to demux:

http://img117.imageshack.us/img117/6093/dotdivxac1.png

setarip_old
19th August 2008, 01:55
and few DivX-specific additionsAs I previously mentioned, these appear to be (menu and multiple videos) the significant stumbling blocks to demuxing.

You could try the AVI-Mux GUI program to demuxJust wondering if you've tried this yourself?

LoRd_MuldeR
19th August 2008, 01:57
Just wondering if you've tried this yourself?

Yes. It worked just fine. There was no menu in this .divx file though. It was downloaded from Stage6, at the time the site was still up.

The "extract binary" command will demux the MEPG-4 elementary stream, which plays in MPlayer for example...

setarip_old
19th August 2008, 03:21
Perhaps I'm not understanding, but your screen grab indicates only one videostream, while the OP is apparently referring to MULTIPLE videostreams - which, as well as the existence of a menu, appears to be the causitive factor in the inability to demux all streams...

LoRd_MuldeR
19th August 2008, 03:27
Perhaps I'm not understanding, but your screen grab indicates only one videostream, while the OP is apparently referring to MULTIPLE videostreams - which, as well as the existence of a menu, appears to be the causitive factor in the inability to demux all streams...

I just said that AVI-Mux GUI is able to extract the video streams from my .divx files.
Since I don't have any .divx files with menu, I cannot test whether it will work with such files too or not.
It was only a suggestion to give AVI-Mux GUI a try ;)

In case AVI-Mux GUI doesn't handle his file, he could also give MP4Box/YAMB (http://yamb.unite-video.com/download.html) a try...

crnagora
19th August 2008, 19:52
I just did a quick Googlesearch and it appears that such a DivX structure (menu plus multiple video segments) cannot be demuxed.

It might be worth your while to post your question at the DivX website's forum...

I did post my question there too.

AviMuxGui didn't work (Worked only for the first segment).

Hm...wasn't there a CLI Prog called divxmuxgui or something a while ago ? *StupidGoogle

crnagora
19th August 2008, 19:55
In case AVI-Mux GUI doesn't handle his file, he could also give MP4Box/YAMB (http://yamb.unite-video.com/download.html) a try...

Fail :(

Both give me only the first part/segment to extract according to the runtime (1:13 h instead of 3:30h)

LoRd_MuldeR
19th August 2008, 22:45
That happens when companies use proprietary formats/extensions :(

Another tool you could try is MKVToolnix (http://www.videohelp.com/tools/MKVtoolnix) respectively MKVExtractGUI - it supports AVI's as input, it may work with your ".divx" file...

Wolfman
20th August 2008, 03:08
Why dont you try divxmenubuilder as made by tripod, that appears to hold all the assets in some sort of order.. (I cant make head or tail of it) but AFAIK it will take a divxproject as input.. then simply output three truncated streams/projects with only one video per thing.

weaver4
20th August 2008, 15:55
I have use avidemux to change a *.divx to a real *.avi file. First I rename the file from *.divx to *.avi. Then I load it into avidemux, sometimes you will get an error because a audio-channel is used for something other than audio (subtitles and chapter info I think); just ignore this error and select the other audio channel. Then I set both the audio and video to copy and then save.

Hope this helps.

setarip_old
20th August 2008, 16:59
@weaver4

Have you accomplished this, as is spefically needed by the OP, with a .DIVX file that includes a menu and multiple videostreams?

weaver4
20th August 2008, 18:45
I thought he was trying to make a non-menu non-.divx version for his aunt; because she had a non-ultra Divx player. I could of misread it though.

setarip_old
21st August 2008, 07:05
@weaver4I thought he was trying to make a non-menu non-.divx version for his auntYes, he/she is - From an already existing DivX that contains a menu and multiple videostreams...

crnagora
21st August 2008, 11:58
@weaver4Yes, he/she is - From an already existing DivX that contains a menu and multiple videostreams...

Correct, he/me is trying to do that. The problem is within the multiple videostreams.

DivX should however tell the people that that kind of files wont play completly on Non-Ultra Devices. They say: "DivX Ultra-Files will allways work on Non-Ultra Devices just without menu's", but in this case (multiple segments/streams) only one stream works.

LoRd_MuldeR
22nd August 2008, 19:10
No, they should use MKV for menus and multiple video streams instead hacking that into AVI ...

(In fact they will use MKV for the upcoming DivX H.264 encoder, unless that plan was dropped)

Ajax_Undone
23rd August 2008, 02:51
You could provide LoRd_MuldeR with a file with a menu so he could implement support for it into Avidemux...

Is this even an option LoRd_MuldeR???

sneaker_ger
23rd August 2008, 11:54
No, they should use MKV for menus and multiple video streams instead hacking that into AVI ...

Does MKV already support menus? I thought it was a feature that they wanted to implement in the future, but I never saw a single MKV file with menus.

LoRd_MuldeR
23rd August 2008, 16:58
Does MKV already support menus? I thought it was a feature that they wanted to implement in the future, but I never saw a single MKV file with menus.

According to the Matroska web-site:

Matroska is designed with the future in mind. It incorporates features you would expect from a modern container format, like:
* Fast seeking in the file
* High error recovery
* Chapter entries
* Selectable subtitle streams
* Selectable audio streams
* Modularly Extendable
* Streamable over internet (HTTP and RTP audio & video streams)
* Menus (like DVDs have)

LoRd_MuldeR
23rd August 2008, 17:01
You could provide LoRd_MuldeR with a file with a menu so he could implement support for it into Avidemux...

Why should Avidemux support that type of "broken" (not standard-complaint) AVI files?

There aren't even any "official" specs for that I guess, because ".divx" is an proprietary extension to the AVI format...

full.ashtray
25th February 2009, 17:31
...I haven't been here for quite a while.

So is there any way to demux the .divx file again so I will get the separate parts ? I tried VirtualDub and a couple others but they only give me the first part of the damn thing.

So is there any demuxing tool around that can handle this ?


No. There is no tool, but a workaround. See here (http://forum.doom9.org/showthread.php?t=135552). (Obviously nobody of you did a forum search before discussing the problem.... :devil:)

Why should Avidemux support that type of "broken" (not standard-complaint) AVI files?


Well, I don't support this DivX proprietary policy at all, but, nevertheless, it's a fact that DivX/DivX Ultra is the only MPEG4 ASP format that is really widely spread among standalone video players. (Microsoft Windows is proprietary, too. Aren't we all using it, anyway?;))