Did a quick test with, loading my version.py:
Properly loads in Hybrid. (without audio, but with no length problem)
=> no clue why it's not working for you, my guess is that something is wrong with the script.
Problem also is that vspipe doesn't output any info that there are additional indexes.
and
both output:
and only:
outputs:
since I don't think there is a restriction (aside from maxint) for possible indexes, blind testing all indexes is a bad idea,...
Also I think there is no delay info there and I don't know whether Vapoursynth even handles delays at all,...
Cu Selur
Ps.: Asked Myrsloik about it over at doom9 and created an issue entry https://github.com/vapoursynth/vapoursynth/issues/1060, he already wrote:
import vapoursynth as vs
core = vs.core
import site
clip = core.std.BlankClip()
clip = core.text.Text(clip, core.version())
audio = vs.core.std.BlankAudio()
clip = core.std.Trim(clip=clip, first=0, last=1)
clip.set_output(index=0)
audio.set_output(index=1)
=> no clue why it's not working for you, my guess is that something is wrong with the script.
Problem also is that vspipe doesn't output any info that there are additional indexes.
VSPipe.exe --info c:\Users\Selur\Desktop\version.vpy -o 0
VSPipe.exe --info c:\Users\Selur\Desktop\version.vpy
Width: 640
Height: 480
Frames: 2
FPS: 24/1 (24.000 fps)
Format Name: RGB24
Color Family: RGB
Alpha: No
Sample Type: Integer
Bits: 8
SubSampling W: 0
SubSampling H: 0
VSPipe.exe --info c:\Users\Selur\Desktop\version.vpy -o 1
Samples: 441000
Sample Rate: 44100
Format Name: Audio16 (2 CH)
Sample Type: Integer
Bits: 16
Channels: 2
Layout: Front Left, Front Right
Also I think there is no delay info there and I don't know whether Vapoursynth even handles delays at all,...
Cu Selur
Ps.: Asked Myrsloik about it over at doom9 and created an issue entry https://github.com/vapoursynth/vapoursynth/issues/1060, he already wrote:
Quote:Makes sense but there are a few problems.so there is hope, but since there isn't an API function of it, this will probably only come with a new Vapoursynth release that changes the api.
Some people parse the info output so changing it would break things.
There's also no actual api function to obtain the set output indices so that needs to be added as well.
Create an issue and I'll probably do it in a bit.