PDA

View Full Version : Garbage at the bottom between changing scenes


vigi_lante
3rd March 2005, 16:23
This not happens all the time, but it's very often. Only happens between changing scenes. I could crop it, but then I would loose part of the picture.

I'm capturing from TV at 720x480 and using "BicubicResize(512,384)" to resize it.

Take a look...

http://img.photobucket.com/albums/v253/vigi_lante/961fd5e0.jpg

http://img.photobucket.com/albums/v253/vigi_lante/26ced078.jpg

http://img.photobucket.com/albums/v253/vigi_lante/16a0b380.jpg

http://img.photobucket.com/albums/v253/vigi_lante/d9f5653e.jpg

Anyone knows how I can fix it ?

scharfis_brain
3rd March 2005, 17:22
crop it away

esby
3rd March 2005, 17:35
that sounds similar to some r2 dvd problems I have seen.

First part before scene change got problems in the bottom
Right after scenechange, the same can be seen in the top.
In this part, the image looks stretched slighty.

Now I do scenechange detection
and use freezeframe() to correct the problems.
(using lbkiller to do that, I am not mad to do it by hand)

esby

ArabianSwan
3rd March 2005, 21:24
yah most old anime are like that... you will find also some scratching at the top of the next frame. So either crop or freeze those frames.

vigi_lante
4th March 2005, 00:50
Originally posted by ArabianSwan
yah most old anime are like that... you will find also some scratching at the top of the next frame. So either crop or freeze those frames.

Yes, there is some scratching at the top...

http://img.photobucket.com/albums/v253/vigi_lante/eded0f5f.jpg

http://img.photobucket.com/albums/v253/vigi_lante/2dd0e396.jpg


Well, if the problem is the source, and cannot be fixed, I guess that I will leave this untouched. But I never noticed it when watching the show on TV...

ArabianSwan
4th March 2005, 00:57
you just need to freeze and replace it with the next clean one ^_^ that would help.. but leaving it like this would look ugly :p

vigi_lante
4th March 2005, 01:46
Now I see what you guys mean...

But what script I need to use to do this automatically ?

ArabianSwan
4th March 2005, 02:00
well it is not a script.. if you use AVSEdit for avs you would see the FreezeFrame filter... just add it and put the first bad frame and last then the one you want to replace them with.

Easy software to do that is YATTA.. mostly used for anime ^_^

vigi_lante
4th March 2005, 02:46
Originally posted by ArabianSwan
well it is not a script.. if you use AVSEdit for avs you would see the FreezeFrame filter... just add it and put the first bad frame and last then the one you want to replace them with.

Easy software to do that is YATTA.. mostly used for anime ^_^

So, I would have to take a look frame by frame, so I can see which one have this problem ?

L'il Jerry
5th March 2005, 00:48
Those are splice marks. Basically there isn't anything you can do about them except replace the bad frames with a previous or following frame because they are usually similar enough to not notice. Though I would only recommend changing the frame right before the scene change and right after unless the frames following are very very similar cause it could cause some jerky motion at every scene change. Just use the DeleteFrame (http://www.avisynth.org/DeleteFrame) to delete the bad frame then use DuplicateFrame (http://www.avisynth.org/DuplicateFrame) in order to replace the old frame with a new one.

So, I would have to take a look frame by frame, so I can see which one have this problem ?

Basically yes. You will have to go to every scene change and replace those frames (cause the scene changes are where the splices happen). There is really no automatic solution to this.

vigi_lante
5th March 2005, 01:02
But there is a lot of scene changes!
:(

esby
5th March 2005, 01:55
go get lbkiller on my webpage.

then load the video
(an avs script or dummy encode)

1 - scan for change (scd->scan)

2 - navigate toward scene changes
using arrow keys up & down to go to the detected scene changes
using left & right keys to navigate from frames to frames.

using + to replace the current by a copy of the following frame.
using - ... previous frame.
( you can use + and - several frame to select the one you want to use).
you can also drop the current to png for paintshop/gimp/<insert name of editing program> by using enter.

3 - once you are done, generate a list of freezeframe using the avs/avsi generation option.

4 - load your 'corrected video' and check again the process, maybe manually, since all scene changes are not necessary detected.

esby

PS:
Though I would only recommend changing the frame right before the scene change and right after unless the frames following are very very similar cause it could cause some jerky motion at every scene change. Just use the DeleteFrame to delete the bad frame then use DuplicateFrame in order to replace the old frame with a new one.

Actually, freezing works fine, the eye usually won't notice two or twice same frames, now the strectching effect is not pleasant at all.

PS2: Of course, the process is still slow, but faster than by doing by hand.