![]() |
Optimal Script V3: here it is...
Okay. While answering to a lot of threads there (and screwing up a post from vmesquita - I appologize again ;-)), I was working on a new script to use with AVi->KVCD encoding.
There is the script : Code:
AviSource("movie.avi",false)Here are the results of benchmark I did : benchmark 1: Finding CQ with CQMatic for a 1h30 Divx movie Script V1 : CQ = 74.62 Script V2 : CQ = 71.2 Script V3 : CQ = 74.13 benchmark 2: time and file size of the encoding of one minute from an Xvid movie (CQ=70 for all) Script V1 : time : 2'47" - file size : 3370 Script V2 : time : 2'39" - file size : 3530 Script V3 : time : 2'46" - file size : 3362 benchmark 3: visual evaluation of the results of the benchmark #2 Script V1 : Some blocks presents but lot of details are killed (berely impossible to see eyes of people in second plan) Script V2 : Lot of blocks, lot of details. But quality is somehow poor. Script V3 : Same blocks than V1 but picture a lot more sharpen (close to V2). I let you play with this. |
Please note that I've just modified some values in the script. I you took it before this present post, check the new script.
Thanks ! (the new values result in less mosquitoes and a smaller file. In fact I deed a mistake in the previous post on the variance of the noise - 1 insteed of 0.1 !) |
Dialhot,
Update the Optimal Script post. :D I have been using this combination of filters for a while (the same filters you suggest, just different order and an extra blockbuster, and some different parameters) and they were giving me great results. I guess that with this script you suggested results should be even better! I can't wait to try! :D []'s VMesquita |
In fact yesterday when I saw you used this combination, I was smiling as you told you should not use it, and I know you were a little wrong. After you post an other thread telling that in fact, that's a good combination : that removed part of the surprise of "my" new script :-).
n fact you're right, all is in the order and values. My goal was to have a visual result on sharpening close to V2 but with file size and block removal of V1. I think I find somethign correct. But everything ask to be enhanced. So... go to work :-) |
Whenever I try to encode at 480x480 with any script I end up with a stretched picture. Im currently working with an avi encoded at 640x256. What can I do to the script to get it to fit my target value of 480x480 without stretching the picture? Also how do I turn off all postprocessing done by codecs?
|
Steched ? Did you think to put "source_anamorphic=false" into the gripcrop line ? Because I do not know a lot of avi that are anamorphic :-)
|
Having trouble with Blind PP line
Tmpge error Quote:
thanx |
How, didn't know that. My soruce was already with a width mod 16.
In this case, put all filters (blinbPP, blockbuster and ATC) after gripcrop and gripsize. But this solution has to be tested : result can't be predicted. |
I guess blindpp() won't work right if you resize the clip, because it uses the DCT blocks of the picture to do post-processing. What I do in this cases is change the avisource line for something like this:
AVISource("mymovie.avi").addborders(0,8,0,0) Please check the size of your source to see if it is the height or the width that is not divisible by 16, and add 8 pixels in that direction. This extra 8 pixels of black borders will eventually be removed during gripcrop. []'s VMesquita |
Quote:
|
i tried it with a few different avi's and it works fine the avi i'm having trouble with has a framerate of 23.988,could this be the problem.
@ vmesquita which is height and width in the addborders(0,8,0,0) :imstupid: this is what it says in tmpge MPEG-1 356x56 24fps CQ 63.53 |
Quote:
But be carreful to that : Letterbox(clip, int top, int bottom, [int left], [int right], int "color") Quote:
It's delivered with avisynth or you can find it on the avisynth.org site. |
Quote:
|
With or without the source_ana=false, you have the same streching, or does the thing change between the two ?
Can you copy exactly the script use use there ? Do you have a 4:3 or a 16:9 TV set ? |
I have both a 16:9 and 4:3 and the image is the same. Here is my avs:
Code:
AviSource("G:\Ripps\Current\sample2.avi", false)SOURCE STRETCHED Thanks for any help. |
Lol. Okay. Excuse me but the picture is not stetched at all.
480*480 is a square. Your TV set is rectangular. The final picture on your TV set will be the equivalent of 640*480 on you PC screen (480*4/3). So don't worry : everythign is normal there :-) You can see this in zoomplayer by forcing the A/R to 4:3 for instance. |
I never thought to actually burn it and watch it. :lol: It always looked terrible so I tried other things. Thanks. Sometimes the easiest answer is in front of our face.
|
The script looks fantastic.
|
Okay. So today I change the post "latest optimal script for AVI" and if it's possible, I will reset the poll.
As I go in hollidays tomorrow for 3 weeks, I let you work and/or play with the present script :-). |
@ Dialhot
Quote:
Just Kidding :D ,sometimes its too easy to ask instead of looking on my own Have a great Holliday |
where is the v.3 ?
sorry if i'm mistaken but the v3 of optimal script here http://www.kvcd.net/forum/viewtopic....245&highlight=
isn't the same with v2 of optimal script here http://www.kvcd.net/forum/viewtopic....069&highlight= |
Re: where is the v.3 ?
Quote:
|
has anyone tried this with making KDVDs in CCE? I'm wondering if there is a big difference between this one and the one in vmesquita's guide
|
I just encoded a 2 hour movie with the Ver3 script. DAMN it looks great. Thanks for the script.
|
This script is probably better than the one in my guide since it's actually a tweak from the original Girv script with BlindPP which provides post-processing. I have been using the script in the guide with extra BlindPP in the beginning with great results, so I assume the results with this script will be even better, but I still didn't get a chance to test it.
[]'s VMesquita |
Re: Optimal Script V3 : here it is.
Woa, see what happens when youre away for a while? A whole new forum just for mpeg4 conversions! Yay :)
BlindPP(cpu=4) I tried BlindPP when I was doing my original experiments with BB/ATC and thought it only blurred out details (a little) without adding to quality. What advantage did you see with adding it? ATC(2,3,5,0.5,false) 1,2,4 or even 1,2,3 can be used on high quality sources; ATC can be a little heavy handed at times and introduce temporal blurring artefacts so I try to use the miniumum amount of ATC I can get away with. Undot() DCTFilter(1,1,1,1,1,1,0.5,0) Just curious, what advantage do these give? /girv |
Re: Optimal Script V3 : here it is.
Quote:
Quote:
Quote:
Quote:
[]'s VMesquita |
ATC(2,3,5,0.5,false), should it be used on poor sources only?
If I have a "high quality" divx source, witch values should I use with ATC? //Wolfi |
Quote:
Of course if you need a good compressibility you can use it, but you'll also lose some details. Regards, Siku |
Quote:
However most divx/xvid sources I've seen have this problem, so what I do is find an area where the dancing blocks are visible then increase the ATC "strength" from 1,2,3 / 1,2,4 / 2,3,5 / ... until the blocks go away. |
Newbie quest :twisted: Does the avs. file when I play it in Vdub or WMP show how the m2v output file will look?
You do mean I should view the divx source in viritual dub and not the avs. file ( and look for"dancing block") ? Why should I turn up the contrast, how much and why should I do it? :) //Wolfi |
Quote:
Quote:
[]'s VMesquita |
Is it not better to use GripSize(resizer="BiCubicResize") instead of GripSize(resizer="LanczosResize") to speed up encoding in this script?
|
Quote:
Regards, Siku |
Quote:
//Wolfi |
Quote:
So what the advantage of using Gripfit over resizing without using Gripfit? |
Hi Phil,
Blockbuster makes "noise" just to give the encoder "informations" when encoding surfaces, just to avoide visible "blocks" during encoding. ... is this right? So what I don't understand is that you put this Filter in front of your script and perform on the other hand denoisers like temporalsoften etc. afterwards. I mean, ... would'nt kill this the sense of Blockbuster?? :D Thanx |
Actually I think so too incredible... I read an explanation for this somewhere from girv I think... I'm not that familiar with DivX Sources, so I really don't know... :wink:
|
Quote:
Regards, Siku |
Quote:
I tried to use Blockbuster at the end of the picture-handling routines and it gives me perfect results as explained in the readme of its author. Also when preparing DVD sources to encode them to one CD. I encoded the first part of a science fiction Saga we all know where much scenes are playing in a dune with light blue sky ... When I used the Script as shown above it resulted containing some artefacts in the sky and the dune, ... shure cause of the clear fading surfaces within the picture. Then I put the Blockbuster at the end of the script the artefacts where gone. Only luck?? Well it ended up with a little less CQ, ... shure when adding a little noise to plane surfaces as Blockbuster does. But the encoding result was very good anyway. But you never know ... maybe something tricky is going on. :wink: Where's Phil? Still in Holydays? Well I think sometime you really need Holydays even from CD Encodings ;-) |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.