Log in

View Full Version : Corrupted AVI? What am I doing wrong?


bengalih
31st October 2005, 00:10
I am encoding HD Transport streams into DivX 3.11 for playback on my XBOX.

I use DGIndex to create .AVS script, load .AVS into Gordian Knot and then save my project and encode using Nandub and just mux back in the AC3 file that DGIndex demuxed.

I have done this procedure several times on small chunks of files for testing but just did my first full movie. Windows Media Player plays the movie back fine as long as I don't try to FF. If I do, I get the "Windows Media Player cannot play this file.....blah blah" and the movie stops.

The DivX 5 player tells me it can't even open the file.

WMPClassic seems to play it fine and in GSpot it appears fine.

I'm not sure what's wrong with it. I ran it back through Nandub using Direct Stream Copy and the strangest thing happens:

Now, if I try to FF within the first half of the movie, I get the same error as before, however instead of stopping the movie I can actually see the movie playing from the FF point under the Error pop-up, but no sound. If I choose a point further than halfway in the movie to FF to it seems to work fine.

Can someone tell me why this is happening and how to fix it?

thanks

setarip_old
31st October 2005, 01:17
Hi!

Is the resultant .AVI greater than 2Gb in filesize?

bengalih
31st October 2005, 02:50
Yes it about 2.1GB. Does WMP or DivX player have an issue with this? I could have sworn I have played back files larger than that size before.

bengalih
5th November 2005, 03:57
Happened again on another file.

Anyone have ideas?

stephanV
5th November 2005, 19:28
Don't use Nandub... try muxing the ac3 with AVIMux GUI and read this first -> http://forum.doom9.org/showthread.php?t=102223 (about disabling junk for header)

bengalih
7th November 2005, 05:01
I have to use nandub, because of it's SBC options for the particular application I'm using the video for.

However, I did download AVIMux and ran it through after my nandub job and it seemed to do the trick. I suppose next time I can run nandub without muxing the audio back in and then do the full mux with AVIMux, but since it worked this way too, I don't know if there is a reason not to just continue how I've been doing it then pass it through AVIMux.

AVIMux was also nice because it allowed me to split the final AVI into 2 halves, 2GB a piece.

Actually, I have a question on that. If I use AVIMux (or another utility) to split the DivX AVI into multiple files, what method to I have to join them back into one should I need too?

thx

stephanV
7th November 2005, 09:20
I'm not sure why you need to split them, but you can just join them with AVIMux GUI:

before you press "generate source data from file", select the files with CTRL + mouseclick in the right order.

bengalih
7th November 2005, 23:02
stephan,

the reason I am using DivX 3.11 and nandub with the SBC is because I am encoding these for playback on an XBOX. Because of the limited processing power, I use the SBC and one pass encoding of DivX 3.11 to get the best picture/performance ratio that the XBOX can handle.

Another limitation of the XBOX is it can't read files on it's local FS greater than 2GB...so I need to split them up. I would like to be able to reconnect them for future use though if needed.

thanks I will try AVIMux to rejoin as well.

Any idea why nandub messes this up? Is it nandub, or is the AC3 demuxed from DGindex problematic? If I clean the AC3 first with AC3fix do you think that would help?

stephanV
7th November 2005, 23:21
I think it is just Nandub, it is certainly not the best tool to do AVI muxing.