Macroblocking

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Macroblocking

Post by AaronAMV » Wed Aug 20, 2008 4:21 pm

I need a good filter for it.
Image

Code: Select all

mpeg2source("C:\Users\aaron\Pictures\Munto 2.d2v")
ConvertToYV12()
Telecide(order=1)    
Decimate(cycle=5, mode=3, threshold=1.0)
temporalcleaner()
mftoon(strength=255)
But the mftoon didn't help too much.
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Aug 20, 2008 4:29 pm

The mftoon is used to sharpen the image, not to remove macroblocking. o.O
To remove macroblocking, try changing the import line from

Code: Select all

mpeg2source("C:\Users\aaron\Pictures\Munto 2.d2v") 
to

Code: Select all

mpeg2source("C:\Users\aaron\Pictures\Munto 2.d2v", cpu=6) 
If that isn't enough, try using deblock() or blindpp().
They both come with the amvapp 3.0 beta, but if you have a former version I'm not sure if you have them, so just grab them in case. :)

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Post by AaronAMV » Wed Aug 20, 2008 6:24 pm

Better but not quite there, is the deblock going to be stronger than the blindpp?
Image
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Aug 20, 2008 6:30 pm

Does really depends on the settings you put. I generally use deblock, though, and it seems to always do a good job. :wink:

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Post by AaronAMV » Wed Aug 20, 2008 6:34 pm

Hm still a little blocky. It's cpu=6, I know you don't tend to put anything on deblock()
but is there semething?
Image

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Post by AaronAMV » Wed Aug 20, 2008 6:34 pm

AaronAMV wrote:Hm still a little blocky. It's cpu=6, I know you don't tend to put anything on deblock()
but is there semething?
Something*
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Aug 20, 2008 6:47 pm

You're supposed to use Deblock(x) where x is at most 51, and default is 25. Just try using Deblock(30) for example. Increase if it's not enough or decrease if it's too much.

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Post by AaronAMV » Wed Aug 20, 2008 6:52 pm

Even at 51 it's a little blocky, maybe it's just the grain? Would you mind pointing me in the direction of the removegrain() filter download?
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Wed Aug 20, 2008 7:28 pm

Yeah, looking at the new pic you posted, that's more like grain rather than macroblocking. And yeah, removegrain() should work just fine.

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Post by AaronAMV » Wed Aug 20, 2008 7:35 pm

Hmm, okay. Now though, since I'm not too good with understanding exactly how to use the numbers, what numbers do I put, and what does each number mean? V_V
And it also seems pixely around the edges still.
Image

Locked

Return to “AviSynth Help”