AviSynth works with frames and not timecodes, so to make a part of the video run slower (increase the length), what you should do is first ChangeFPS(original_framerate*slowdown) and then do AssumeFPS(original_framerate). I am also going to assume that you do not want to run SeparateFields/LanczosResize on only vid3, but rather on the entire source. See this example: Code:
thewebchat , Gavino , thanks for your answers .. The idea is to slow motion by three small parts of the video, for example, from 1951 to 2100, From 3000 to 3200, from 4000 to 4300 .. and the rest in normal video and all together. normal-slow-normal-slow-normal-slow-normal. (video to 23.976 fps) I will try the script, ... ok
In principal, that script should work since vid1, vid2 and vid3 all have the same framerate given by 'original_framerate'. However, it is possible that they do not match exactly because of rounding approximations. Try this Code:
Hi, .. thanks Yes, Gavino script now loads, but does the slow motion, start in the frame 729 (keyframe) until the end .. Code:
--------------------- Erik R. '89 325i - SOLD April '06. I miss her. '03 Acura RSX - Daily Driver ASE Master Tech & L1 Adv. Engine Perf. and Mechanical Engineer
It wasn't clear from your original script which parts you wanted to slow down, so the solutions posted earlier did not match your expectations. Here's a revised version, changing the method slightly and incorporating kemuri-_9's suggestion. Code: