Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 26th December 2025, 23:24   #1  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 313
How to animate a Gradation filter?

I'm looking for a way to animate a filter that will gradually boost my gamma curve.

There are Gradation and ApplyGradationCurves filters, but I don't think they can be animated with this instruction.

Any ideas on how to do this?

Code:
Animate(75000,90000,Gradation,"yuv","gamma",[16,16],[40,40],[128,128],[235,235],"yuv","gamma",[16,16],[40,60],[128,135],[235,235])
rgr is offline   Reply With Quote
Old 27th December 2025, 12:45   #2  |  Link
magiblot
Eurobeat Fan
 
Join Date: Sep 2014
Posts: 109
Hi! I don't know if this can be done with Animate, but here's a fade-out example using ScriptClip:

Code:
ColorBars(pixel_type="RGB32").RGBAdjust(ab=255)
Trim(0, 100)
ScriptClip(function [] (clip c) {
    interpolated = current_frame*255/FrameCount()
    Gradation(
\       process="rgb",
\       curve_type="linear",
\       points=[[[0, 0], [255, 255 - interpolated]]]
\   )
})
magiblot is offline   Reply With Quote
Reply

Tags
animate, gradation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.