[MPlayer-users] Can't find a way to fix index or remove odml in avi

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Fri Jul 2 16:47:40 CEST 2004


I ripped a dvd using dvd::rip. If you ask why not mencoder - because
after tests I found out how much lavc sucks compared to xvid in hq rips
and mencoder doesn't support xvid well, most of options from the manpage
don't work at all, and even if they would work, that wouldn't be enough.
On the other hand, transcode doesn't support xvid zones too, but that
seems the only feature missing.

I made an avi of size 2077392130 (1981M). Transcode made odml index. And
now I've got a problem: I can't play or reencode this file normally.
When trying to play it with mplayer, it writes

AVI: ODML: Building odml index (2 superindexchunks)

Then it hangs with 100% cpu load for some minutes and then segfaults (if
developers think it's a bug, I can compile with debug info and trace the
coredump).

When using -idx option, it plays (and there are no slowdowns), no
problem. But: mplayer sees only 1:49:15 of the movie, and the full
length is 2.5 minutes more. At the end, mplayer just exits, forgetting
that there is a piece of movie left.

When using -forceidx option, mplayer sucessfully rebuilds index and
there are no problems with length, but since mplayer always makes index
in a very dumb way when using -forceidx, the keyframes are messed up and
it either coredumps or displays a mess when seeking. So that's no
solution either.

I tried using vdub to reindex file, but at the end of the movie I get a
message that xvid decoder (latest version, 1.0.1) got a division by zero
exception. (but there are no problems with playing move using either
xvid or lavc, I think it's some error in how vdub is handles this avi
file).

I tried tools from transcode like avisplit, but they generate the same
"broken" odml index.

What are other ways of reindexing avi file?

-- 

Vladimir




More information about the MPlayer-users mailing list