10-17-2003, 05:25 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The movie is 104 min long and contains very few "action" scenes. Still I can't get the CQ past 56! I usually encode action movies about this length with a CQ around 70.
There is something funny about the DVD though. The picture looks almost like a bad VCD (note: VCD NOT KVCD ) when you look closely. Some blocks in the background and stuff like that.
Is there anything I can do about it? Filter suggestions please. I don't really feel like putting this (short) movie on two CD-R's.
__________________
AudioSlave
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
10-17-2003, 05:31 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You could try turning on the postprocessing settings in MPEG2DEC3.
MPEG2Source("path\video.d2v",cpu=4) will remove at least some of the blocks. If the source is interlaced, you'll have to use MPEG2Source("path\video.d2v",cpu=4,ipp=true).
|
10-17-2003, 05:37 PM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
try this with your own values and whatever you want to do.
AviSource("C:\unzipped\movies/resident evil.avi", false)
BlindPP(CPU=4)
LanczosResize(352, 334, 4, 0, 568, 304)
AddBorders(8, 73, 8, 73)
Undot()
deen("a3d",1,12,14)
ATC(2,3,5,0.5,false)
TemporalSoften(2,7,7,3,2)
MergeChroma(blur(1.5))
Asharp(1,4)
DCTFilter(1,1,1,1,1,1,0.5,0)
Resident Evil is 93mins. long and i got a CQ of 77 with that. so you can just try it out if you want, but if you don't want to use that, just use BlindPP then, because BlindPP gets rid of alot of DCT Blocks.
|
10-17-2003, 05:50 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No need to use BlindPP for DVD sources. The built-in postprocessing in MPEG2Source does a better job with them.
|
10-17-2003, 05:57 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks guys!
I will start by trying Boulder's suggestion then I will try muhali3's suggestion. BTW is BlindPP a plugin or an AviSynth function? Do I have to specify the BlindPP parameters if I have an interlaced source?
__________________
AudioSlave
|
10-17-2003, 06:02 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Boulder
No need to use BlindPP for DVD sources. The built-in postprocessing in MPEG2Source does a better job with them.
|
As blindPP is included in mpeg2dec3 decoder, I guess that this is the same to add "blindPP" or mpeg2source( "cpu=4" )
The author of mpeg2dec3 simply wanted to provided a mean to make pp even on non mpeg2 source. But do not expect him to code two different procedures for that !
|
10-17-2003, 06:03 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry Boulder. I wrote my reply before I got to read your last post...
OK, I will go with your suggestion Boulder. The other cpu settings, can they produce even better results or do your recommend always using cpu=4 DVD sources?
__________________
AudioSlave
|
10-17-2003, 06:06 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Dialhot.
Hi there. Testing your script right now Looking good so far
__________________
AudioSlave
|
10-17-2003, 06:12 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Boulder
No need to use BlindPP for DVD sources. The built-in postprocessing in MPEG2Source does a better job with them.
|
As blindPP is included in mpeg2dec3 decoder, I guess that this is the same to add "blindPP" or mpeg2source( "cpu=4" )
The author of mpeg2dec3 simply wanted to provided a mean to make pp even on non mpeg2 source. But do not expect him to code two different procedures for that !
|
I based my argument on this:
(from the MPEG2DEC3.dll docs)
Code:
BlindPP(clip, int "quant", int "cpu", str "cpu2", bool "iPP", int "moderate_h", int "moderate_v")
To Deblock and Dering on any kind of DCT-encoded source.
Of course, less accurate than decoder intergrated PP, but still very efficient
need YV12 input.
Probably he meant a PP by the DivX or XviD codec..not sure though
|
10-17-2003, 06:16 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
BTW how does this "deblocking" effect the image quality? Except for getting rid of some of the blocks of course
__________________
AudioSlave
|
10-17-2003, 07:40 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Okay, the testing is now complete (I used prediction in CQMatic) and here are the results:
Script WITHOUT 'cpu=4, iPP=true' : CQ56,27
Script WITH 'cpu=4, iPP=true' : CQ56,26?!
The "clean" script without "cpu=4, iPP=true" got the highest CQ!? Sounds strange - but I double checked and it's true! The script with "cpu & iPP" has a cleaner look though. But still...
Is there any filter(s) I can use to clean up the source even more? I know of VagueDenoiser but I think that filter is only for getting rid of noise. Would it be useful in this case?
__________________
AudioSlave
|
10-17-2003, 08:13 PM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
vaguedenoiser is extremely good and preserves the detail very well too
|
10-17-2003, 08:45 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi!
Quote:
AviSource("C:\unzipped\movies/resident evil.avi", false)
BlindPP(CPU=4)
LanczosResize(352, 334, 4, 0, 568, 304)
AddBorders(8, 73, 8, 73)
Undot()
deen("a3d",1,12,14)
ATC(2,3,5,0.5,false)
TemporalSoften(2,7,7,3,2)
MergeChroma(blur(1.5))
Asharp(1,4)
DCTFilter(1,1,1,1,1,1,0.5,0)
|
I would recommend to set the borders to the and of the script or in front of DCT filter, cause a sharpener behind bordering will cause "to sharpen-glowing-like" edges at the borders and the effective pixels of the movie will rise up, even if its black.
You perform a lot of denoisers but with temporalsmoother set to values like (2,7,7 ...) and above, its a littly risky to sharpen afterwards. Cause TempSmoother with higher values (if not already the most is cleaned by using deen and ATC) could cause an effect like a window in front of the picture with static grain on moving scenes. If this happens, this will not be eliminited by chromaBlur .. it will be even also sharpened by using asharp afterwards.
So just do a testing on your bad material, if this effect occurs try one step without using Tempsmoother.
|
10-18-2003, 04:30 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Boulder
Probably he meant a PP by the DivX or XviD codec..not sure though
|
I guess he meant exactly this.
|
10-18-2003, 09:22 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
so should i also take out the chromablur
|
10-18-2003, 09:27 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
you should also change the "a3d" in deen to "a2d", because a2d is spatial-only, and that is good because ATC can take care of the temporal cleaning.
|
All times are GMT -5. The time now is 08:15 PM — vBulletin © Jelsoft Enterprises Ltd
|