digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Apply filter just on specific frame range? (http://www.digitalfaq.com/archives/avisynth/5245-avisynth-apply-filter.html)

bman 08-28-2003 01:36 AM

Avisynth: Apply filter just on specific frame range?
 
@ Sh0dan , @Kwag , all avisynth experts
I wonder if there is any way to apply filter on specific frame range only and turn it off out of this range ???? :roll: :roll: :roll:
I see that while encoding movie to avoid blockiness I have to apply different filters on different parts of movie ( intro , dark scenes , bright scenes , fast movement ).
One script is not optimal for my encode :(
I succeeded to get very good results with different filter combinations on different part of movie but It'll be perfect for me if it'll be posible to encode with one script that will apply different filter combinations on different parts of clip .(frame ranges will be set manually )

Any help to right direction will be appreciated

bman

yaz 08-28-2003 05:10 AM

Re: Apply filter just on specific frame range
 
- use trim(), say
clip=avisource() (or whatever:-)
part1=clip.trim(x1,x2)
1st filter-chain
part2=clip.trim(x2,x3)
2nd filter-chain
...
part1+part2+...

if the filter-chains are not too long u can simplify the script further

- u can use apllyrange() also but (imho) it's not applicable for filter-chains

the bests
y


All times are GMT -5. The time now is 07:07 PM  —  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.