Log in

View Full Version : AVI-Mux question


bkam
16th November 2003, 20:02
I did RTFM and did a couple searches but couldn't figure this out... Why does AVI-Mux 1.15.2 by default change the fourcc from DX50 to divx? Is there an advantage to this?

ultimatebilly
17th November 2003, 16:02
I found this in the changelog for version 1.10:
# can automatically change the FourCC from "DX50" to "divx"
In german, it is slightly different:
# falscher FourCC "DX50" für divX 5 kann automatisch in "divx" geändert werden
http://www-user.tu-chemnitz.de/~noe/Video-Zeug/AVIMux%20GUI/

"Falsch" means wrong...
It seems that the author included this behaviour since he thinks that DX50 should not be used...
I can't imagine why, but it shouldn't make any difference, because if you have DivX5 installed, it will decode anything with fourcc divx anyway...
I found this in the source code:
// Name fürs Format rausbekommen
if (ofOptions.dwFlags&SOFO_AVI_REPAIRDX50)
{
if ((AVIFile->GetFormatTag(0)&0xffffdfdf)==MakeFourCC("DX50"))
{
AVIFile->GetStreamHeader(0)->fccHandler=MakeFourCC("divx");
}
}
It seems that you can specify if Avimux should do this, or not, so I assume there is an option somewhere?
(Never used it...).
Maybe the author thinks that it is better to use divx for compatibility reasons?
People who have only divx4 installed should be able to decode "Standard"-DivX5 without advanced features, I think...
Maybe you should ask the author?
You can contact him via the homepage I linked to...
Would be interesting I think.

ultimatebilly
17th November 2003, 16:28
http://forum.doom9.org/showthread.php?s=&threadid=64087&highlight=dx50+divx
It seems that there were versions of DivX5, that registered the codec-dll for directshow, but not for VfW for FOURCC=DX50...
Therefor it was impossible to open DX50-files in Virtualdub for example...
If you search for "DX50 divx" you will find a few posts about this problem.

bkam
17th November 2003, 16:57
Yes, there is definitely an option, I was just curious what this value was used for (and didn't want to ask him or post to another forum just because I thought it might be obvious). Perhaps your second post explains it, but I was just wondering if it's bad to have it as DX50 or DIVX or if it doesn't matter.

Also, that thread seems to be about OGM... Not sure if that matters, that I'm using AVI.