Log in

View Full Version : Avimux and Liteon Divx player.


Pages : 1 [2]

alexnoe
17th December 2003, 18:56
I don't know what IMRR is supposed to mean...

EDIT found it. Now I only have to find out how the hell this value can differ from 1.00 :(

I/L 973 ms (24.3 v.frames) Split: NoThis looks like a large interleave setting (interleave interval about the same as encoding bitrate/8)

alexnoe
17th December 2003, 19:19
OK, try something straight forward:

If your movie has 25 fps, set the interleave pattern to 8 frames, with 1 or 2 AC3 frames per chunk. For 29,97 fps, you could try 16 frames, also with 1 or 2 AC3 frames per chunk.

Zhnujm
17th December 2003, 21:16
Dont work for me (8 frames, 1 and 2 ac3 frames).
AviMux must do something that some standalones dont like :confused:

alexnoe
17th December 2003, 21:20
AviMux must do something that some standalones dont like Yeah, I cannot deny this :angry:

genpix
17th December 2003, 21:46
just short comment (in case nobody discussed it before):
The same AVI file (~1500kbps video + 448kbps AC3 audio) plays differently from CD-RW and DVD-RW on my RJ4000.
It's choppy from CD, smooth from DVD.
Guess, it's limited by max RPMs of the drive.
I think, it could be applied to any standalone DivX payer (in more or less extent).
Just want to make sure you exclude all unrelated problems before you start to beat AVImux to death ... :p

alexnoe
17th December 2003, 21:47
But if VDub makes a playable file, and AVI-Mux GUI does not, then it cannot only be the disc type. Maybe it is some preloading stuff... i seriously hope i don't have to buy such a player to fix this :(

Zhnujm
17th December 2003, 22:39
I agree its impossible to play my file from cd, i try always from the same dvd+rw. (1.8mb xvid + 2x448kb AC3)

With 500ms preload and 1 frame interleave,
gspot reports this from the avimux file:
1 vid frame (40 ms), p=512 Split: No
AC3 (5 ch) CBR

and this from vdubmod:
1 vid frame (40 ms) Split: Yes
AC3(6 ch) CBR

dont know if that helps... i just wonder because of the 5ch/6ch difference.

alexnoe
17th December 2003, 22:41
You can try that: Take a hex editor and change the number of channels in the audio stream to 6... the virtualdub hex editor includes some help for that

alexnoe
18th December 2003, 22:12
One more idea:

Open the AVI file, right click -> information -> right click -> change dwFlags -> check IS_INTERLEAVED and HAS_INDEX, and uncheck all others, if any others are checked.
-> OK -> Apply Changes

Since VDM uses those flags, this could be the issue.

Zhnujm
18th December 2003, 23:03
I tried both, no difference. I tried the same file with only 1 soundtrack, its also the same.
Anybody know what this Split: Yes/No means in GSpot ?

alexnoe
18th December 2003, 23:23
I *guess* it means:

yes: AC3 frames might be split apart at chunk borders
no: AC3 frames never are split apart at chunk borders


I've looked at the files of VDubMod more closely in a hex editor and the information window: It uses a Standard index pattern of 8192 frames, and writes a dwSuggestedBufferSize value of 0 (which is weird, because I have already seen files misbehaving due to this). It writes a padding granularity of 0, while avi-mux gui writes 2.

You can try those settings...you would need to set dwSuggestedBufferSize/dwPaddingGranularity (for the entire file, not for each single stream) also in a hex editor.

Zhnujm
20th December 2003, 20:13
Good news, the file plays smooth now. :)
Bad news, i replaced almost everything i could find in the header with the VdubMod values so i need a few weeks to find out wich setting it was exactly...

Zhnujm
20th December 2003, 23:34
Originally posted by alexnoe
I found one: I write a frame rate of 10000000/400000, while VDub writes 25/1.
However, if this were the problem, AVI-Mux GUI standard AVIs should not work either on that player


I should have tried this setting first, this IS the problem, the dwRate and dwScale setting. After changing this to 25/1 everything runs smooth, whatever interleave setting. :rolleyes:

alexnoe
20th December 2003, 23:37
Fine. AVI-Mux GUI 1.15.6 is up, writing dwRate/dwScale so that the numbers are as low as possible (greatest common factor of dwRate and dwScale will be 1). Of course, this is not the only change...

Zhnujm
21st December 2003, 22:01
Works perfect now with my elta 8883, also opendml with legacy index. :)

alexnoe
21st December 2003, 22:16
And what about open-dml without legacy checked? What about files larger than 2 GB?

Mister Nobody
22nd December 2003, 10:26
Just thought I would mention this:

I have also noticed that files created with AVIMUX 1.15.5 and earlier versions would not play with the official Divx software player ('the playa').

So it would seem that it was not just hardware players that didn't like the 10,000,000/40,000 values for dwRate/dwScale.

Mister Nobody

MrMine
22nd December 2003, 15:44
GREAT!!!
Now with my elta 8883 it's wonderful!!!!
With avimux 1.15.6 it's perfect!!!

Thnks Alexnoe!

Zhnujm
22nd December 2003, 22:19
Originally posted by alexnoe
And what about open-dml without legacy checked? What about files larger than 2 GB?

Tried some settings:
opendml with legacy index - ok
opendml without legacy index - ok
opendml disabled - ok
cbr frame mode - ok
rec lists - dont work

files above 2GB:
avimux: plays to a specific point and stops
vdubmod: no seeking, no audio switching, stops at a specific point

(i think this point is not the 2GB limit, its before)

but i have not yet seen a divx player that plays avis >2GB ;)

MrMine
23rd December 2003, 11:18
So,
as i said now with avimux 1.15.6 there are no problem to
see divx with ac3 audio on my elta 8883.....
.....
but.....ehhehe.....
I've noticed a point of difficult (choppy video and choppy audio)
in terminator 3.

Ac3 audio is at 384 kb and the bitrate noticed by Gspot is 1437 kb!

i think it is resolvible by setting another interleave!
I've setted to 250 (default).

Alexnoe can you tell me which is the relation between
the setting of interleave and Ac3 bitrate in your avimux?

Very thnks

alexnoe
23rd December 2003, 14:39
There should not be such a connection between bitrate and interleave. Unfortunately, you can only try :(
I have also noticed that files created with AVIMUX 1.15.5 and earlier versions would not play with the official Divx software player ('the playa').
Such a bug is understandable for settop players (problems with division of large integers maybe), but it is a shame for software players...