I want to use the following script to browse pictures, pausing for 15 seconds on each picture, but it only reads the first two pictures.

.
.
.
video = core.bs.VideoSource(source=r'E:\001\%02d.jpg')
video = core.std.AssumeFPS(video,fpsnum=1, fpsden=15)
video = haf.ChangeFPS(video, 24000, 1001)
audio = core.bas.Source(r'E:\audio\xxx.mp3', track=-1)
audio.set_output(1)
video.set_output(0)


This is the script from avisynth, and it works great.

.
.
.
v = ImageSource("I:\001\%02d.jpg", start=0, end=17, use_DevIL=true)
v = AssumeFPS(v, 1,16)
video = ChangeFPS(v, 25,1)
audio=DirectShowSource("E:\audio\xxx.mp3")
AudioDub(video,audio)


Can anyone help me with this problem?