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. |
1st October 2016, 12:42 | #1 | Link |
Registered User
Join Date: Dec 2012
Posts: 163
|
Help Needed With Time lapse
Im trying to make a time lapse video and need to remove certain parts of the video. This is my current script in AvsPmod.....
Code:
video=DirectShowSource("F:\Video Captures\2016-09-28_17-39-08.flv",audio=false).trim(164960,248037).trim(250614,272335).trim(272511,496443).trim(497934,515556).trim(515737,522800).selectevery(35,0).assumefps(29.97) return=video |
1st October 2016, 12:55 | #2 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Try something like this:
Code:
v=XXSource() a = v.trim(164960,248037) b = v.trim(250614,272335) c = v.trim(272511,496443) d = v.trim(497934,515556) e = v.trim(515737,522800) a++b++c++d++e
__________________
Groucho's Avisynth Stuff |
1st October 2016, 13:11 | #3 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
As G2K4 said.
blockaboots, your script acts sort of like this (leaving out a few things) Code:
DirectShowSource("F:\VideoCaptures\2016-09-28_17-39-08.flv",audio=false) a=trim(164960,248037) b=a.trim(250614,272335) c=b.trim(272511,496443) d=c.trim(497934,515556) d.trim(515737,522800) # assign to last
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 1st October 2016 at 13:16. |
2nd October 2016, 17:50 | #4 | Link | |
Registered User
Join Date: Dec 2012
Posts: 163
|
Hmmm, ok i have tried...
Code:
video=DirectShowSource("F:\Video Captures\2016-09-28_17-39-08.flv",audio=false) video0=trim(164960,248037) video1=trim(250614,272335) video2=trim(272511,496443) video3=trim(497934,515556) video4=trim(515737,522800).selectevery(35,0).assumefps(29.97) return video4 Quote:
|
|
2nd October 2016, 18:06 | #5 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
You are not trimming 'video', you are trimming Last (which has not been assigned any value at all).
[EDIT: Also, you are using selectevery(35,0).assumefps(29.97) on only the last trim, not on a spliced result clip.] try Code:
DirectShowSource("F:\Video Captures\2016-09-28_17-39-08.flv",audio=false) # assign to last a=trim(164960,248037) # Trim from Last b=trim(250614,272335) # Trim from Last c=trim(272511,496443) # Trim from Last d=trim(497934,515556) # Trim from Last e=trim(515737,522800) # Trim from Last a++b++c++d++e # assign spliced clips to Last selectevery(35,0).assumefps(29.97) return Last Code:
video=DirectShowSource("F:\Video Captures\2016-09-28_17-39-08.flv",audio=false) # assign to video video0=video.trim(164960,248037) video1=video.trim(250614,272335) video2=video.trim(272511,496443) video3=video.trim(497934,515556) video4=video.trim(515737,522800) videoSpliced=video0++video1++video2++video3++video4 videoOut=videoSpliced.selectevery(35,0).assumefps(29.97) return videoOut
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 2nd October 2016 at 18:21. |
Thread Tools | Search this Thread |
Display Modes | |
|
|