View Full Version : FreezeFrame() start?
asarian
29th April 2016, 11:00
Please, tell me, how does Trim() work again? When I remove the # from the following code, it substitues the right frame (see below); but when I try to skip (near) to it, it misses the frame.
FreezeFrame() should work off absolute start, right?!
# Trim (55960, 55990)
QTGMC (InputType=2, Preset="Very Slow", EdiThreads=8, TR2=3)
FreezeFrame (55979, 55979, 55978)
StainlessS
29th April 2016, 12:14
Trim: http://avisynth.nl/index.php/Trim
As it is you have triimmed out 31 frames (frame 55960 becomes frame 0),
last frame is now frame 30. But then you try to mess with frame 55979 which does no longer exist.
I'm not entirely sure what you are trying to do there, but maybe you want to replace frame 55979 with 55978,
and then return only frames 55960 to 55990 (ie 31 frames).
If above is so (only 31 frames required) then move the Trim to the END of the script.
Alternatively you might be wanting to fix frame 55979, and then remove frames 55960 to 55990,
If so then remove your trim and replace with Trim(0,55959) ++ Trim(55991,0) at END of script.
Above is most likely requirement I think.
asarian
29th April 2016, 12:29
I was trying to replace frame 55979 with frame 55978, which works (there's a huge artifact in frame 55979).
The "Trim (55960, 55990)" was just to skip to near frame 55979, for test purposes. :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.