TMPEGEnc stops at DivX fix point?!

balthazar

New member
I ran a DivX through DivFix and it detected some corrupt data(a few corrupt frames). Then I ran "rebuild index" and it removed the corrupted files and nicely joined the DivX back together only losing a few frames.
Then I followed Chickenman's tutorials(...as I have been doing for a while now), to convert it to VCD, but TMPEGEnc stops at the point where DivFix repaired the DivX :confused:
I ran TMPEGEnc a second time and it stopped at exactly the same spot :mad:

*UPDATE*
I fixed the DivX again with "Video Fixer v.3.23" which, from reports, does a better job than "DivFix". I have also d/l "DivX Repair", so I will give them a go and see if they fix my problem.

Any suggestions would be appreciated though.

Thanks
 
Last edited:

balthazar

New member
The-poacher said:
Split it into 2 just before & after the knackered bit & encode seperately
Thanks...I think I'll have to resort to that Poacher. The problem is that the 'fix' is only 40 minutes into the movie. Seeing as it's a 2 hour movie, I don't think I'll be able to fit the rest on a second CD. I may have to split it into 3!! :mad:
The other fix utilities didn't work with TMPEGEnc :(
In fact I couldn't even get DivX Repair to work! When I loaded the DivX, it just splashed up a "Bad Frame Log" in Notepad, with nothing logged?? It wouldn't run the repair routine?

Thanks
 
Another simple to do fix (well works many times !) is to reencode the avi to an avi ! Load into VirtualDUB, set Video to Full Processing Mode and for Commpression select Xvid and an appropriate bitrate a bit above the original AVI bitrate used. (1600 normally is sufficient), set Audio to Direct Stream Copy and then Save AVI. Can take an hour or so.
 

balthazar

New member
Thanks CM...I'll give it a try.
I was actually giving VirtualdubMod a go, utilising it's "mask bad frames" tool, and then resaving to AVI.
It's projected file size was about twice the original AVI??? Any ideas on that one?
Thanks :confused:
 
Should be able to cut at the keyframes before and after the bad frames, then only re-encode that.

Only reason that the size would go up is if you don't have both audio and video set to directstreaming.

If you are going to use XviD, then you probably should just set it to fixed quant1 or quant2. Re-encoding is something I would definatly try and avoid though.
 
balthazar said:
Thanks CM...I'll give it a try.
I was actually giving VirtualdubMod a go, utilising it's "mask bad frames" tool, and then resaving to AVI.
It's projected file size was about twice the original AVI??? Any ideas on that one?
Thanks :confused:
Go for it, dont worry about the final AVI size as your going to convert it to VCD anyway. The bitrate is probably set to high but thats not a problem really, problems arise when its to low.
 

balthazar

New member
Thanks for the advice chaps. :D
Well ChickenMan, I tried your suggestion with VirtualDub but it stopped at the corrupt frames saying that it couldn't compress them.
Then I tried it with VitualDubMod using the "Mask bad Frames" option after scanning for errors.
I then re-encoded in Xvid format as you recommended and it encoded fine!
The bitrate of the original DivX was 638kb/s, and I re-encoded at 700kb/s.
I tried your 1600kb/s option and the projected file size blew out to about 9 zillion MEG!!! :eek:
But as you said, set the bitrate to a bit more than the original, so that's what I did - 638kb/s to 700kb/s.
Anyway, now I just have to convert it to VCD with TMPEGEnc without it stopping at the 'fix' point :(
If it doesn't work, I'll try your option celtic_druid :)
 

balthazar

New member
celtic_druid said:
You could probably just use VDubMod's frameserver to frameserve to TMPGEnc instead of wasting time and quality re-encoding.
How do I do that?? :confused:

I did as you suggested and removed the affected keyframes, then rejoined the two AVIs with VirtualDub, but as usual, as soon as TMPGEnc came across the join, it stopped encoding!!! :mad: :mad: :mad:
I also used VirtualDubMod to mask the bad frames as I stated in yesterday's post, so I will run that one tonight :(
This is really starting to give me the s***s!! :mad: ......but I'm determined to nail this ******!!!
Thanks
 
Have fixed files in the past before by re-encoding the effected area and rejoining. Just end up with a few green blocks or whatever on those frames.

On the file menu, start frameserver.

Could probably also use trim() or FreezeFrame() with AVISynth.
 

balthazar

New member
ChickenMan said:
Another simple to do fix (well works many times !) is to reencode the avi to an avi ! Load into VirtualDUB, set Video to Full Processing Mode and for Commpression select Xvid and an appropriate bitrate a bit above the original AVI bitrate used. (1600 normally is sufficient), set Audio to Direct Stream Copy and then Save AVI. Can take an hour or so.
SUCCESS!!!!!!
I followed the above suggestion with a few additions:
1. I used VirtualDubMod
2. I scanned for corrupt data and then used the "Mask bad frames" facility.

Then just followed what you recommended.

TMPGEnc DIDN'T stop at the fix point and I now have the AVI encoded to VCD!!! :D

Thanks for all your advice chaps! :D
 
Top