Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st August 2011, 18:48 | #1 | Link |
Registered User
Join Date: Jul 2010
Location: Tbilisi
Posts: 75
|
How to deblock video
Hello.
My video is from internet and it is very blocky. I need to deblock it. I have used different filters(for virtual dub:msu deblock,msu smart deblock.for avisynth: mdeblock, unblock and etc.), but the quality is still bad. which filters is better to use??? Video : frame size=320*240, framerate=25, pixel_type=yv12, ext=flv1(h264). Last edited by torwart; 2nd September 2011 at 09:16. |
2nd September 2011, 07:27 | #3 | Link |
Registered User
Join Date: Jul 2010
Location: Tbilisi
Posts: 75
|
Thank you for answers! I have found great plugin to deblock video. It is a plugin for photoshop and it is here http://www.cs.tut.fi/~foi/SA-DCT/
|
2nd September 2011, 12:01 | #5 | Link |
Registered User
Join Date: Jul 2010
Location: Tbilisi
Posts: 75
|
Here it is:
https://rapidshare.com/files/1433351...cked_video.avi only thing i did except deblocking is addgrain(20,0,0). Internet explorer can't download this file. I don't know why. opera does. Last edited by torwart; 2nd September 2011 at 12:36. |
3rd September 2011, 15:41 | #6 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
The best deblocking I've seen is FFmpeg's 'uspp' filter. It works directly on the videos DCT. I've not found a way of interfaing with Avisynth though. You could see how the results would look by downloading the mplayer for windows package: http://forum.doom9.org/showthread.php?t=138725 And adding the ussp line to SMPlayers options:
|
3rd September 2011, 17:22 | #7 | Link |
Registered User
Join Date: Jul 2010
Location: Tbilisi
Posts: 75
|
This filter is very good you are right, but for my situation(video is too blocky) photoshops plugin works better with shapes. It is shape adaptive filter and this is very good. The problem is it works too long. It takes 6 seconds to filter one 320*240 .bmp file. In easier situations your filter is number 1.
Now how to make ssp work with avisynth??? That's the problem for me. |
3rd September 2011, 17:54 | #8 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
If you want to use uspp you'd have to download the MPlayer (or mencoder?)command line exe and process the video outside of Avisynth. You can then import the uspp processed video to Avisynth for for additional processing such as AddgrainC. BTW the value after uspp= is the quality value, goes from 0 to 8. 3 is the default value and runs almost realtime with low- res clips on my dual-core system. I wonder if quality could be further improved by contrasharpening in Avisynth. Sorry I can't be of more specific help. Perhaps the forum regulars can assist you should you need it.
|
3rd September 2011, 18:16 | #9 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
I don't know if ffdshow's spp is different than Mplayer's; it has fast SPP and SPP deblocking with some other parameters under "postprocessing" mplayer method, have a look
So you could use that in avisynth DirectShowSource() if ffdshow is active in the filterchain |
3rd September 2011, 19:15 | #10 | Link | |
Registered User
Join Date: Apr 2006
Posts: 299
|
For the sake of clarity:
Quote:
|
|
|
|