Open redzic opened 3 years ago
Hmm yeah, I might've overlooked that. I don't remember how the code works any more, but a quick glance suggests it should use something along last_requested_frame + n + 1
because last_requested_frame
seems to be initialized to the start frame.
Hi there, it seems like the
--start
argument does not work for the vspipe example (but it does work for regular vspipe). Just outputting the entire file seems to work fine though. Running this command:cargo run --example vspipe --release --features=vapoursynth-functions,vsscript-functions -- -y input.vpy -s 2600 -e 2800 /dev/null
where
input.vpy
looks like this:results in only outputting the first 32 frames and then exiting. stderr looks like this:
I suspect it may have something to do with this line: https://github.com/YaLTeR/vapoursynth-rs/blob/052853d44b70e91d5c0eb11c33c9d62dbc9a79eb/vapoursynth/examples/vspipe.rs#L528
Since it requests the first index at 0 instead of the first frame.