nonsens112
30th January 2008, 13:07
Hi there.
I have a 29.97 fps source, in some parts of which odd seconds repeat preceding even ones.
Thus I need to drop odd ones.
If framerate was exactly 30 fps, it could be made simply by:
SelectEvery(60,0,1,2,3,...,29)
But since framerate is FP, it is not possible - some frames are being selected incorrectly.
Using approximation 29.97=30000/1001 I composed corresponding call:
SelectEvery(60000,\
0,1,2,...\
...
59910,59941,59942,....\
)
but AviSynth returns error "argument list too long", and I have no idea how to force it chewing these 176 KB of numbers.
Does anyone know what to do?
I have a 29.97 fps source, in some parts of which odd seconds repeat preceding even ones.
Thus I need to drop odd ones.
If framerate was exactly 30 fps, it could be made simply by:
SelectEvery(60,0,1,2,3,...,29)
But since framerate is FP, it is not possible - some frames are being selected incorrectly.
Using approximation 29.97=30000/1001 I composed corresponding call:
SelectEvery(60000,\
0,1,2,...\
...
59910,59941,59942,....\
)
but AviSynth returns error "argument list too long", and I have no idea how to force it chewing these 176 KB of numbers.
Does anyone know what to do?