Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hopefully a parameter "end_number" will be added for the end number of the image sequence. #77

Closed
lyturn opened this issue Oct 22, 2024 · 6 comments

Comments

@lyturn
Copy link

lyturn commented Oct 22, 2024

Just like avisynth's ImageReader, it can read any number of images.

@myrsloik
Copy link
Member

Why do you need an end number? The end is automatically detected based on the image files

@lyturn
Copy link
Author

lyturn commented Oct 22, 2024

I want to use it for a slideshow script. But it can only read two pictures.

@lyturn
Copy link
Author

lyturn commented Oct 22, 2024

Here is my script:

from vapoursynth import core
import havsfunc as haf

video = core.bs.VideoSource(source=r'E:\002\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)

@myrsloik
Copy link
Member

It's still automatically detected. This issue makes no sense.

@lyturn
Copy link
Author

lyturn commented Nov 3, 2024

Why it only read part of the pictures, it only read 25 pictures (00.jpg-43.jpg), Some of the pictures in the middle were not read.
I am using the latest version.

from vapoursynth import core
from havsfunc import ChangeFPS

video = core.bs.VideoSource(source=r'E:\002\001\%02d.jpg', start_number=0)
video = core.std.AssumeFPS(video,fpsnum=1, fpsden=6.0)
video = ChangeFPS(video, 24000, 1001)

video.set_output()

@myrsloik
Copy link
Member

Couldn't reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants