jonny
11th January 2003, 15:38
I'm using this script:
LoadPlugin("c:\yv12\MPEG2Dec3\MPEG2Dec3.dll")
mpeg2source("D:\divx_d2v\test.d2v")
trim(20000, -10)
It actually returns an 11 frames clip, instead of 10 (i think documentation in AviSynth 2.07 need some little fix about this, anyway 2.07 returns a 10 frames clip).
from AviSynth 2.07 docs:
A negative value of last_frame returns the frames from first_frame to first_frame + (- last_frame-1). This is the only way to get the very first frame!
should be:
A negative value of last_frame returns the frames from first_frame to first_frame + (- total_number_of_frames-1). This is the only way to get the very first frame!
this is because in a 100 frames clip the last frame is 99, not 100.
(sorry if it's a bit confusing, i've reported 2 problems mixed in one :D)
LoadPlugin("c:\yv12\MPEG2Dec3\MPEG2Dec3.dll")
mpeg2source("D:\divx_d2v\test.d2v")
trim(20000, -10)
It actually returns an 11 frames clip, instead of 10 (i think documentation in AviSynth 2.07 need some little fix about this, anyway 2.07 returns a 10 frames clip).
from AviSynth 2.07 docs:
A negative value of last_frame returns the frames from first_frame to first_frame + (- last_frame-1). This is the only way to get the very first frame!
should be:
A negative value of last_frame returns the frames from first_frame to first_frame + (- total_number_of_frames-1). This is the only way to get the very first frame!
this is because in a 100 frames clip the last frame is 99, not 100.
(sorry if it's a bit confusing, i've reported 2 problems mixed in one :D)