Log in

View Full Version : My full problem with broken frames


craigyd
31st January 2003, 12:29
//Please read my whole problem before you attempt to help me


I use DVD2SVCD for converting my avi files to SVCD. And TMPGenc for encoding the video.

Well I have a movie (avi) that causes this problem.

Half way thorough the encoding TMPGenc says
Could not compress frame 102323
And thats all she wrote



Now I know this frame is broken so I could simply go and cut it out using Vdub or Nandub yes. But what if there are other broken frames in the avi file. I would not know until TMPG crashes again.

Your going to say use Vdub to look for unreadable frames and resave it, but there is a problem with doing that.
Vdub does not seem to cut the audio down with the frames it removes, so when its all back together you go out of sync at the point the frames have gone. This is very anoying.

So if i knew where the frames where I would use nandub to cut before and after the broken frames and my audio would be ok.

SO what program tells you the actual frame that is broken?

Hope you understand what Im on about.

Thanks

The Edge
31st January 2003, 12:35
Does the avi play fine in media player or does that report errors too?

Edge

craigyd
31st January 2003, 12:36
It plays fine in media player

The Edge
31st January 2003, 12:48
Ok, what I would try here (worked for XXX for me) is:

Use AVIsynth to frame serve to TMPGenc.
1. Extract the sound from avi using Nandub and then transcode to wav.

2. Create a avs script like the following:

Directshowsource("C:\temp\my_movie.avi, fps=25")

Change the location, filename and fps to what applies to you.

3. Feed the script and the wav file to TMPGenc and encode as usual.

You could also use some useful filters in AVIsynth ;)

Edge

craigyd
31st January 2003, 12:56
How would that fix the broken frame though mate?.


Is there no program out there that can just read through your avi's frames and tell you which ones are unreadable.

If there is you can just cut before and after frames to remove the bad ones and you would not even see the difference and the audio would be in sync.

The Edge
31st January 2003, 13:08
Using AVIsynth will not fix the frames as you can see.
You can just work around the problem. If you cut frames out you will have audio out of synch from the cut onwards. And you WOULD see the difference.
If you just want a SVCD then what I stated should work.

Edge

movmasty
31st January 2003, 15:39
you could use also divx fix to find bad frames, choose rebuild index and check save log, its also very faster than vdub,
u could also check to cut bad parts, dunno about syncro then.

or fix bad parts with avi defreezer, audio should be ok.

3)play all the movie before to convert :)