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 |
|
|
#1 | Link |
|
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]) |
|
|
|
|
|
#2 | Link |
|
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]]]
\ )
})
|
|
|
|
![]() |
| Tags |
| animate, gradation |
| Thread Tools | |
| Display Modes | |
|
|