Quantcast Avisynth: New Compression Filters? - digitalFAQ.com Forums [Archives]
  #1  
03-27-2008, 04:40 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-27-2008, 07:04 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #3  
03-27-2008, 07:30 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4  
03-27-2008, 07:34 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
pixiedust is for avisynth 2.08 if I'm no wrong. That's more than enought to consider to drop it.
Reply With Quote
  #5  
03-27-2008, 11:54 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
oh i see,

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

thanks
Reply With Quote
  #6  
03-28-2008, 05:00 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I would recommand going above 800 .

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))
Reply With Quote
  #7  
03-28-2008, 11:03 AM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #8  
03-28-2008, 03:37 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #9  
03-30-2008, 07:30 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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 ?
Reply With Quote
  #10  
03-31-2008, 05:57 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #11  
04-07-2008, 02:19 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #12  
04-07-2008, 04:00 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #13  
04-07-2008, 09:00 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #14  
04-08-2008, 09:05 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
No problem for future questions
Reply With Quote
  #15  
04-20-2008, 12:47 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #16  
04-21-2008, 02:30 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #17  
04-26-2008, 07:45 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
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





saluts
Reply With Quote
  #18  
04-27-2008, 02:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The forum is not only this topic
http://www.kvcd.net/forum/viewtopic.php?t=13768
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Good compression? muhali3 Avisynth Scripting 10 10-14-2003 05:18 PM
Avisynth: Is there a filter for increasing compression even more? audioslave Avisynth Scripting 70 08-08-2003 08:39 AM
Avisynth: MergeChroma to gain Compression? Jellygoose Avisynth Scripting 94 03-24-2003 02:27 AM
Avisynth: Tweaking for same compression and quality, but faster? CheronAph Avisynth Scripting 13 03-09-2003 11:56 AM
Avisynth: Increasing compression through preprocessing SansGrip Avisynth Scripting 67 01-29-2003 11:00 AM

Thread Tools



 
All times are GMT -5. The time now is 12:18 AM  —  vBulletin Jelsoft Enterprises Ltd