Log in

View Full Version : Encoded screen corrupted with square [mplayer/mencoder]


yawoo
14th September 2006, 20:28
I have a video captured by DVD recorder, and the video has been cutted scenes by using recorder built-in function. If the video is played or encoded by mplayer/mencoder, the screen will appear with corrupted squares between chapters as shown.

Is is possible to eliminate this corrupted squares by using mplayer/mencoder?

http://yawoogle.googlepages.com/snapshot20060915031041.jpg

DarkZell666
15th September 2006, 09:11
and the video has been cutted scenes by using recorder built-in function.
Do you mean that the video has been cut into several videos separate videos ? Or that this is one video with multiple "chapters" in it ?

What format is it captured in ? Did you just play the DVD that came out of your DVD recorder ? Or have you encoded them into DivX or something like it ?

I'm having trouble figuring out what you did man, give more details plz !

Quick opinion : I suspect some I-frames are missing, which means your DVD recorder (or yourself) didn't cut the video properly. Video should always be cut at I-frames to avoid this sort of problems. At the very least, your DVD recorder didn't insert I-frames at the chapter points.

yawoo
15th September 2006, 10:52
Do you mean that the video has been cut into several videos separate videos ? Or that this is one video with multiple "chapters" in it ?

What format is it captured in ? Did you just play the DVD that came out of your DVD recorder ? Or have you encoded them into DivX or something like it ?

I'm having trouble figuring out what you did man, give more details plz !

Quick opinion : I suspect some I-frames are missing, which means your DVD recorder (or yourself) didn't cut the video properly. Video should always be cut at I-frames to avoid this sort of problems. At the very least, your DVD recorder didn't insert I-frames at the chapter points.

The DVD recorder capture as MPEG2 format and burn into DVD
disc as VOB format (DVD Video). If some scenes has been
cutted by DVD recorder, the video will be saved as several
chapters in one DVD title.

If I play this cutted DVD Video by mplayer, there will be
corrupted squares appeared from switching bewteen chapters.
If I play the same DVD Video by mplayer classic with ffdshow
decoder, it handles chapters switching smoothly.

If it is I-frames insertion problem, any tool I can use to fix
it? If I rip the DVD Video to VOB/MPEG2 by some tool, is there
any parameters to correct it also?

For your reference, if I rip it as VOB, and load the video by
AVS script, there is no problem to play/encode the AVS.

DarkZell666
15th September 2006, 11:47
Ok so your dvd recorder did some auto-chaptering job while encoding ;) Nothing abnormal with that.

The only way to ajust I-frames (in whatever video format btw) is to reencode ... :x

However, it may very simply be that you used an outdated build of mplayer :)
Many "outdated" builds are around, even the -pre8 build from the official website isn't really up-to-date ^^"

I suggest you try to play it with one of celtic druid's latest mplayer builds here : http://esby.free.fr/CelticDruid/mirror/mplayer/ and see what it gives.

Actually, do you have the same problem with all DVD's that come out of your recorder ? Or is it the only one that didn't work ?
If the problem subsists, I can also suggest you do a copy of your recorded DVD with DVDShrink and see what comes out.

xyloy
23rd September 2006, 11:48
Quick opinion : I suspect some I-frames are missing, which means your DVD recorder (or yourself) didn't cut the video properly. Video should always be cut at I-frames to avoid this sort of problems. At the very least, your DVD recorder didn't insert I-frames at the chapter points.
The start of a video cut must be an I frame, but the end of it can be an I frame(if your next cut must begin with the last frame of the last cut), or a P frame.