> Please correct me if I am wrong, but it appears that avisplit is broken 
> in transcode-1.0.2 and older.

After a lot more research I am 100% confident that OpenDML support in transcode 
is broken and OpenDML (large .avi) files produced by transcode will not play in 
Windows Media Player   and any other directshow application. The problem does 
not manifest itself on Linux because mplayer and xine do not use OpenDML 
indexes the way for example directshow does.

First obvious problem is with dwDuration's for both video and audio in 
superindexes. For video and non raw PCM audio it should be "nEntriesInUse" and 
not "nEntriesInUse-1". For PCM audio the only way to know dwDuration is to 
calculate number of indexed samples as they being indexed, so fixing it 
requires a bit of code mod. 

Fixing dwDurations in superindexes still does not fix the problem and there is 
something wrong with the way audio is indexed (that's why I am not submiting a 
patch at the moment). Since mplayer and QuickTime could play the files I figure 
regular index chunks are fine (I believe both players would look for regular 
index chunks and "disregard" superchunks). Since  transcode produced OpenDML 
files without audio could play in windows media player, I am pretty sure the 
problem is with the way audio is indexed.


Any ideas what could be wrong and how to fix it would be greatly appreciated.

Regards,
Aleksey 

Reply via email to