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. |
5th May 2010, 21:09 | #1 | Link |
Simply me
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
|
repeat 1st and last frames for visual delay
I thought this would be easy - just use trim in Avisynth to strip off the 1st frame and the last frame and use them to add a visual dekay to a short online animation and then repeat the last frame for a few secs to give the viewer time to take in what's happened.
But I can't seem to work out how to trim out the last frame of a video (so I can the concatenate it back onto a copy of the orig. Any clues please (or a complete example would be nice ) regards Simon
__________________
http://www.geocities.com/siwalters_uk/fnews.html |
5th May 2010, 22:02 | #2 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Anyway, both is quite easy to do: Code:
Trim(0, Last.FrameCount-2) Trim(Last.FrameCount-1, -1)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 5th May 2010 at 22:15. |
|
5th May 2010, 23:18 | #3 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Loop(m, n, n) will add m-1 times copies of frame n. Loop(2, 0, 0) repeats first frame. Loop(2, Framecount-1, Framecount-1) [or just Loop(2, Framecount-1)] repeats last frame. Last edited by Gavino; 5th May 2010 at 23:21. |
|
6th May 2010, 06:56 | #4 | Link |
Simply me
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
|
Ta very much people
I didn't know framecount and loop existed regards Simon
__________________
http://www.geocities.com/siwalters_uk/fnews.html |
|
|