Log in

View Full Version : How to revive "oversized" AVI file recorded in DivX 6.22?


Kostarum Rex Persia
18th May 2006, 01:17
Explanation: I save one footbal game from my TV card in AVI format, codec is DivX 6.22, and bitrate is 9000 kbps.

However, I can't play that file, because it's a 4.4 GB file, and I don't know that AVI container have a 4 GB bug.

ChronoCross
18th May 2006, 06:45
if you load it into vdubmod( I know this is a bad thing and your an idiot for using 9000kbps on anything especially a footballl game). it should be able to recostruct the avi frames. Then use direct stream copy and it will save a valid open-dml avi. It's one of the things I did when I was working on fixing my mencoder compiles.

GodofaGap
18th May 2006, 08:14
I know this is a bad thing and your an idiot for using 9000kbps on anything especially a footballl game
Well well... you must have never encoded any type of sports then. :)

Or you just don't like football. :p

Mug Funky
18th May 2006, 09:59
@ Chronocross:

i suspect 9mbps mpeg-4 ASP will give better quality than DV25, perhaps it might be approaching DV50 quality... don't judge so quickly. and if Divx/Xvid can handle interlace, you've got a pretty good capture codec right there.

although constant quant is a safer bet - i've not tried this, but what about CQ1 with custom matrix set to something with high values, like QLB?

@ Kostarum Rex Persia:

i assume it's on an NTFS drive. perhaps you should change your capture appication to something that can write openDML files, or maybe cap directly into an MPEG stream? (VLC can do this with some twittering, and gives you ffmpeg ASP which is comparable to Divx).

striker9
18th May 2006, 11:02
I know this is a bad thing and your an idiot for using 9000kbps on anything especially a footballl game

Yes making good quality captures to encode from is quite an idiotic thing to do. :rolleyes:

Guest
18th May 2006, 13:18
...your an idiot... Please keep rule 4 in mind. Thank you.

ChronoCross
18th May 2006, 17:39
Yes making good quality captures to encode from is quite an idiotic thing to do. :rolleyes:

9000kbps is too much for much anything that is not HD.

As for the rest of you. don't lecture me unless your a mod. Besides don't even pay attention to the actual question he asked. it was how to fix a file ALREADY captured. He wasn't asking for how to fix it in the future, or to listen to you lecture me. I provided the necessary solution now it's just a matter of whether he uses it.

jggimi
18th May 2006, 18:05
That will be enough. Any further fanning of flames will result in the issuing of double strikes for Rule 4 infractions, along with single strikes for Rule 16 violations, and you will find yourselves with 30-day suspensions.

Stick to the topic.

Kostarum Rex Persia
19th May 2006, 02:41
@ Kostarum Rex Persia:

i assume it's on an NTFS drive. perhaps you should change your capture appication to something that can write openDML files, or maybe cap directly into an MPEG stream? (VLC can do this with some twittering, and gives you ffmpeg ASP which is comparable to Divx).

Yes, you are right, it's on NTFS drive, settings was:

Bitrate: 9000
Profile: Unconstrained
Qpel: Yes
Compression Ratio: Default(Reccomended)
Noise Reduction: Little
GMC: No

I'l try once again to revive that file, because first time I failed.

Any other method to revive that file?

ChronoCross
19th May 2006, 04:42
@KRP
did you try my suggestion? since I'm assuming you can't recapture. Just load the corrupt file into vdubmod or vdub. it should be able to rewrite it as opendml using direct stream copy.

Boulder
19th May 2006, 07:58
Couldn't AVISynth be used to open and decode the file?

ChronoCross
19th May 2006, 08:54
Couldn't AVISynth be used to open and decode the file?

The problem is that the riff chunks are not int he correct sequence. all the necessary frames are there however none of the splitters will recognize it. AVISOURCE will fail DSS will fail. because the parsers get lost. So you need to reconstruct the AVI Chunk(Index) table to be opendml(over 4GB) compliant. Then avisynth will be able to pen the resulting file. Which is why I gave the vdub suggestions since it was built basically to handle avi's extremely well.

This solution is based on my research to conrrrect a compiling problem that prevented mencoder from making opendml avi's. It will work if he tries it.

Open the file in vdub. It will give an error message saying it's broken and it needs to reconstruct it. Then it will scan the entire file(depending on the length this can take a long time for a 2 hour movie it took almost 20 minutes on my machine). after the scanning window closes you need to use DIRECT STREAM COPY and save the repaired file. That new file will have lost 0 quality but is now in a opendml compliant state.

Kostarum Rex Persia
19th May 2006, 23:08
@KRP
did you try my suggestion? since I'm assuming you can't recapture. Just load the corrupt file into vdubmod or vdub. it should be able to rewrite it as opendml using direct stream copy.

Yes. It work, file is readable now. Thank you.;)

ChronoCross
20th May 2006, 06:35
Yes. It work, file is readable now. Thank you.;)

your welcome

Wolfman
27th May 2006, 08:11
9000 is high for mpeg2 cap(above dvd bitrate) let alone mpeg4 (divx) IMNSHO you could easily get away with 1500k, drop the qpel (cpu intensive) and you'd still have great quality with filesize 1/6th (9000/1500). Couldnt you just rename the file extension to .divx or use ??std file splitter to chop in half

setarip_old
27th May 2006, 08:34
@Kostarum Rex Persia

You might try splitting the file, using either "AVISplit" or "AVISplitter"...