digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: New compression filters? (http://www.digitalfaq.com/archives/avisynth/14576-avisynth-compression-filters.html)

tengo6dedos 03-27-2008 04:40 PM

new compression filters?
 
hello, ive been reading and learning a lot about filters and scripts here in ur web, thanks a lot, but most of them r a bit old

could anyone tell me about new filters (or old one that still work great) that aim for many hours\low bitrate encodes for toons? talkin about kdvd i think it can be done cause toon are way more easy to compress than flesh and bone movies

im just wonderin if u could give a hand here to try this out

thanks
saluts

Dialhot 03-27-2008 07:04 PM

Are you talking about old fashion movies or computer generated ones ? The second are as complex as normal movies.

For first ones, you can use LRemovedust (that is not a filter but a script, you can do a search for it on the forum) using a big range (let say between 3 and 5).
Code:

LRemoveDust_YV12(17,3)
I used to use dup() too, that removes duplicate frames, often found in anime.
Code:

Dup(Threshold=3,maxcopies=3,blend=false)
As usual, if you miss some filters, you can retrieve my whole avisynth plugin directory here :
http://www.kvcd.net/downloads/Avisynth_All_Plugins.rar

tengo6dedos 03-27-2008 07:30 PM

thanks

im talkin about old school simple cartoons i have and very few anime, so iguess i foccus on anime and the other while go down more easily after that

do u think maybe mixing LremoveDust is more effective than pixiedustpp?

saluts

Dialhot 03-27-2008 07:34 PM

pixiedust is for avisynth 2.08 if I'm no wrong. That's more than enought to consider to drop it.

tengo6dedos 03-27-2008 11:54 PM

oh i see,

what whould u recommend for cartoon encoding with something very low like 800 avg bit?

thanks

Dialhot 03-28-2008 05:00 AM

I would recommand going above 800 :D.

More seriously, what resolution ? If VCD, then ok. Else... see my first line.
Concerning the filters, what I mentionned above adding that :
Code:

mergechroma(blur(1.50))
mergeluma(blur(0.2))


tengo6dedos 03-28-2008 11:03 AM

i add those at last or begginin?


i was thinkin in kdvd by addin Addborders(8,68,8,68 ) and encoding in 352,480 (or maybe a bit higher) for a 4:3 tv for the size, so ill save lines and ill get the widescreen look that i like.

looks fine to me on virtualdub, what do u think?

Dialhot 03-28-2008 03:37 PM

Quote:

Originally Posted by tengo6dedos
i add those at last or begginin?

Just before the addborders, that should be the last line of your script isn't it ?

Quote:

i was thinkin in kdvd by addin Addborders(8,68,8,68 ) and encoding in 352,480 (or maybe a bit higher) for a 4:3 tv for the size, so ill save lines and ill get the widescreen look that i like.
It can be good. All depend of the source, really. Just have to give a try.

tengo6dedos 03-30-2008 07:30 PM

yes ill start tests soon, do u think i got a better shot encoding in mpeg1 with tempgenc 2.5? is there a way to resize in middle and then addborders at last or have to be one after other, say resize 336,344 in middle for faster encode and in the end addin 8,68,8,68 that works ?

Dialhot 03-31-2008 05:57 AM

I always set my scripts like this :
Code:

DGDecode_Mpeg2Source("PATH\NAME.d2v",cpu=4,idct=7)
ColorMatrix(d2v="PATH\NAME.d2v")

LanczosResize(...)

... filtering...

AddBorders(...)

As I always reduce the resolution with the resize (never have a target resolution larger than source one), the filtering is done on a picture that is smaller, so it is faster. The same way there is no reason to have the filter to work on the borders, so I add them at the end.

To find what to put in resize and addborders, you can use Paranoia.

tengo6dedos 04-07-2008 02:19 PM

hello again

ok, ive done some tests and i think the result is not bad but i was wonderin if u could maybe check if i did something wrong or even help me to get better results


i encoded in 2pass, HCenc, bitrate avg 840 and with this script:


*removed: xvid content

Dialhot 04-07-2008 04:00 PM

Quote:

Originally Posted by tengo6dedos
i encoded in 2pass, HCenc, bitrate avg 840

Encode in one pass using HCMatic to help you (look on the forum).

Beside this I don't know half of the filter you are using, my bet is that there are too much of them and some may be useless.

But more important, your source is clearly a divx (nice short trying to remove the first line, but you can't fool a monkey ;)).
So sorry but... no more help, read the disclamer.

tengo6dedos 04-07-2008 09:00 PM

yes, this is a divx rip that i did. Im just now learning how to really rip, i read in here divx hurt the image a lot so im learning the other way, readin guides n stuff

sorry for breakin the rules, hope u could forgive n give me a hand when i start dealin with d2v


saluts

Dialhot 04-08-2008 09:05 AM

No problem for future questions ;)

tengo6dedos 04-20-2008 12:47 PM

hello again,

i got a problem with addborders, something im doin wrong..

when i set..

LanczosResize(336,344)
AddBorders(8,68,8,68)


...borders are a lot bigger than when setting it like...


AddBorders(8,68,8,68)
LanczosResize(352,480)







borders are almost double

could u tell me what im doin wrong here?
thanks

Dialhot 04-21-2008 02:30 PM

Except if your source is already ...x480, resizing the image then adding the borders does not change the size of them (so in the result the borders are 68 pixels large) but if you add the borders then you change the resolution, the size of the borders is changed too of course.

The best thing to go is to use Paranoia or FitCD to provide you the correct settings.

tengo6dedos 04-26-2008 07:45 PM

hi how are u

Finally! i had some time to start runnin tests with DGIndex, for the first dvd i tried (simple cartoon) the results with dctfilter and the ones u gave me where great, developin a very nice result. Thanks a lot!

when i started with second i notice interlaced image, i looked for solutions and have some in mind but i want to know ur opinion


here a cap

http://www.digitalfaq.com/archives/error.gif



saluts

Dialhot 04-27-2008 02:56 PM

The forum is not only this topic ;)
http://www.kvcd.net/forum/viewtopic.php?t=13768


All times are GMT -5. The time now is 02:00 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.