Log in

View Full Version : Problem opening Xvid AVI


Cyberia
20th June 2004, 03:45
Ok guys I need help with this one. I recently encoded Return of the King and got fantastic output. The file looked awesome in WMP. I did not open the file in Vdub at this point. Then I muxed in the AC3 using AVIMUX, and that went well also.

Later, however I tried to open the muxed file in AviSynth. To open it I added .KillAudio because of the AC3, but I received this error:

AviSource: Could not decompress frame 0

That's odd. So I tried DirectShowSource and the file opened fine. Next I tried opening the file in VdubMod (1.5.10.1) and immediately got this error:

AVI: Index not found or damaged -- reconstructing via file scan.
AVI: Keyframe flag reconstruction was not specified in open options and the video stream
is not a known keyframe-only type. Seeking in the video may be extremely slow.

But the file is not seekable at all. Nothing is decoded at all. If I specify keyframe flag reconstruction, I still get the first error and nothing is decoded then either.

AVIMUX crashes when opening the file. So does DIVXFIX.

The file is 3.07GB and it plays and seeks fine in WMP! DirectShowSource also opens it OK.

Please help. This is an AWESOME encode. How do I fix the file?

Tuning
20th June 2004, 08:41
Perhaps converting to matroska and then using Virtualdub Mod to demux streams will help. ( Just a thought! ;) )

PS: Is it the problem with AVIMUX, are you getting same with other 'AVIMUX' ed files. ?

Cyberia
20th June 2004, 18:04
Originally posted by Tuning
PS: Is it the problem with AVIMUX, are you getting same with other 'AVIMUX' ed files. ?

No. Other AVIMUXed files work fine. This is the largest avi I have, but it was muxed as an OpenDML+Legacy+RecLists index file (like all the others). It's an NTFS drive, so the size should be OK.

How would I convert it to matroska?

Tuning
20th June 2004, 18:11
Originally posted by Cyberia
How would I convert it to matroska?

Matroskatoolnix (http://forum.doom9.org/showthread.php?s=&threadid=64548)

Mosu's signature will give direct link.

Cyberia
20th June 2004, 19:11
When I add the file in MKVMERGE I get this error:

'mkvmerge -i' failed. Return code: 1. Errno: 0 (No Error).
Make sure that you've selected a mkvmerge executable on the 'settings' tab.

I can open other AVIs however.

I have an idea, however: GRAPHEDIT.

But I need help configuring a graph to demux the XVID and AC3 streams coming out of the AVIFileSpliter filter.

fccHandler
21st June 2004, 15:39
Start by connecting "File source (async)" to "AVI Splitter." To remux to AVI, connect the Video and Audio outputs to "AVI Mux," then "File Writer," and push Play. I don't know how you would mux to Matroska in GraphEdit.