View Full Version : how to deblock ?
Alain_French
3rd March 2004, 01:20
Hi,
I have a lot of dark block in my xvid video and i don t know how to lose them. And i dont know why, i have these blocks :
- my mpeg source ? mpeg2 from hauppauge nexus card
- my xvid config ? profile unrestricted mpeg quantization with RC1. Default setting for others, packed bitstream unchecked, min I B frame 2.
- my decoder ? ffdshow-27022004 with libavcodec or xvid4. Postprocessing in auto max + Nic + process all image
- my avs ? perhaps i should put a filter to deblock ?
jimmy basushi
3rd March 2004, 06:42
hi there, are you sure you dont have adaptive quantisation on? (this takes bits from darker areas and uses them in more 'visible' so it would fit your description)
Koepi
3rd March 2004, 07:25
If the blocks are already appearing in your mpeg source - how is reencoding supposed to solve that?
You need to deblock that mpeg source (and loose detail already there) and then you're maybe lucky and have a less blocky output.
Please re-read the FAQs and stickies on top of this forum. You give too little input to help you.
is your video 720x576? you want to encode it at 300kbps? yes, that's supposed to look blocky.
But I can only guess, need more info :P
Koepi
Alain_French
3rd March 2004, 09:01
Hi all,
I ll try to give you more info.
Input :
mpeg2 from dvd card in 720x576, 4Mbps. No block appear with windvd and watchtvpro.
I make my d2v with dvd2avi 1.76 modified, and i put in my avs :
LoadVirtualDubPlugin("d:\filtres\logoaway.vdf", "logoaway", 2)
LoadPlugin ("\d:\filtres\mpeg2dec3.dll")
LoadPlugin ("d:\filtres\mpasource.dll")
a=mpeg2source ("D:\Acquisition\Charmed 401b.pva.d2v")
b=mpasource ("D:\Acquisition\Charmed 401b.pva MPA T01 DELAY 0ms.mpa")
audiodub(a,b)
trim(11273,65677) + trim(75230,84287)
converttoRGB32()
logoaway(2,40108071,5046326, 0, 0, 5, 0, 66051, 0, 1, "", "", "")
converttoyv12()
crop(6,2,706,568)
LanczosResize(512,384)
Output :
350Mo
512x384
Mp3 cbr 128
1024kbps
So this is not a "hard" compression...
If using AviSynth, post a summary of your script and check that it plays and looks fine in VirtualDub before posting
:( I have little little blocks in vdub ! So I think the problem is here and not in my xvid setting...
I have block with a simple avs (just load d2v, no filter, no croppe, no resize)
If i look the d2v in gknot windows i have the little block 5x5 pixel perhaps. So the problem is my source !
What i can do to have a good result and not too slow (i dont want to encode at 3 fps :p )
My hardware :
atlon 2800+, 1go ddr, a7n8x deluxe, ati 9600 pro under windows xp pro sp1
My xvid setting :
- Xvid 1.RC1 from koepi ^^
- 2 pass
profile level unrestricted
MPEG quantization type
Closed GOV on
BVOP on
other option off
motion precision: 6
vhq : 0
turbo mode: on
chroma motion: on
frame drop ratio: 0
i-frame interval: 300
unrestricted quantizers (2-31)
trellis quantization: off
Koepi
3rd March 2004, 10:22
modify this line:
a=mpeg2source ("D:\Acquisition\Charmed 401b.pva.d2v")
to this:
a=mpeg2source ("D:\Acquisition\Charmed 401b.pva.d2v",CPU=6)
That should soften the blocks in your source.
Regards
Koepi
Alain_French
3rd March 2004, 10:26
I try the different option of mpeg2dec3. For the moment, cpu=6 + lumafilter seems to be right. Only cpu=6 let me some block.
It not really simple to find the right option :)
Thank you very much
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.