Menu

#607 AVS Cutter - apply different filtering to sections of a script.

2
open
nobody
None
5
2017-01-04
2017-01-04
hello_hello
No

One of the things I find most tedious about Avisynth is when there's a need to apply different filtering to sections of a script. It can be done using multiple Trima but MeGUI's AVS Cutter could potentially make it much easier. I use it to split a script into sections, save the "cuts" to the script, then re-open the script in a text editor and add the filtering manually. A simple example would be alternating between unfiltered sections and sections converted to black and white, after adding the appropriate "cuts" with the AVS Cutter.

__film = last
__t0 = __film.trim(0, 2364)
__t1 = __film.trim(2365, 4174).Greyscale()
__t2 = __film.trim(4175, 7056)
__t3 = __film.trim(7057, 9531).Greyscale()
__t4 = __film.trim(9532, 12966)
__t5 = __film.trim(12967, 15220)Greyscale()
__t0 ++ __t1 ++ __t2 ++ __t3 ++ __t4 ++ __t5

An additional column would need to be added to the AVS cutter, so it'd display the start and end frames as usual, followed by a column for showing the filttering. There could be a third drop text box below the existing ones for displaying start and end frames which would be used to add filtering to the cuts.

If the above was implemented.....
Eventually I'd like to see the AVS Cutter get smarter. Currently after adding cuts to a script they can't be changed. If you try to add more cuts, MeGUI tells you it can't, but instead of complaining it'd be nice if the AVS Cutter could update the cuts already saved to the script instead.

From there it could taught to check for, and automatically load, any cuts previously saved to a script it opens. That way they could be changed at any time. Combined with an ability to manually add filtering to each cut, it'd be quite useful as an editor.

The AVS Cutter's preview would probably have to work differently.. For example, if you were to create a script to open a 100 frame source with the following cuts added, the preview would only display 30 frames.

__film = last
__t0 = __film.trim(0, 19)
__t1 = __film.trim(50, 59)
__t0 ++ __t1

In order for the AVS Cutter to be useful for re-opening a script and adjusting cuts, it's preview would have to ignore any existing cuts and always display the full video. Or even better, it might have a "re-open video" button and a "re-open video & apply cuts" button. Something for switching between previewing the script without cuts, and previewing the edited version with any filtering added to the cuts applied.

Eventually changing the name from AVS Cutter to AVS Editor might be a good idea too. ;)

Thanks!

Discussion


Log in to post a comment.

Auth0 Logo