14.02.2022, 20:39
Edit to clarify - core.imwri.Read is extremely slow to start processing files... once it starts processing files, then it runs normally, at expected speed.
I don't think this is a problem with Hybrid specifically, but I'm not sure where else to start asking about this. I suspect it might not be solvable if it's only happening to me, since there's nothing crashing or any error messages.
The problem described below does not happen for me on Windows 7. It also does not happen for ImageReader on AviSynth on Windows 10 (in the same version of Hybrid).
In Vapoursynth on Windows 10, core.imwri.Read is extremely slow to start processing files. It appears to somehow be trying to "pre-process" in some way the entire source directory from which images are being loaded. It does not matter if the start frame is 000000.png and the end frame is 000001.png. vsViewer.exe and VSPipe.exe will not start processing files until this "preprocessing" is done for the ENTIRE source directory.
In Task Manager (I use the classic Task Manager on W10), I can see that "I/O Other" and "I/O Other Bytes" increase at about 1 KB/s for either vsViewer.exe or VSPipe.exe. If the source directory has 8,000 images, it takes about 3 minutes for this to get to 517 KB and start processing files. For a source directory that has ~150,000 png images for a full length movie, it takes around 20 minutes for vsViewer.exe or VSPipe.exe to begin processing files. I guess that could be tolerable for just encoding, but it's a problem when using the viewer. Waiting ~20 minutes for the viewer to appear doesn't make for a usable workflow! (I guess a workaround would be to copy a smaller number of files to a temporary directory and load them from there, but what a pain!)
On Windows 7, this "preprocessing" does not appear to happen. Processing / viewer loading happens immediately. ("I/O Other" and "I/O Other Bytes" in Task Manager do not increase before it starts processing files for Windows 7.)
I tried on older versions of Hybrid going back about a year, and this problem is still present. It will take me much more time keep testing older and older versions.
Have you ever heard of anything like this? If you don't think this is Hybrid specific, do you have an idea on where I can ask about this?
If you want to try testing this on a source movie that is over 1 hour long, you can run the following command on any source file to extract all frames (be sure it is in its own folder first):
I don't think this is a problem with Hybrid specifically, but I'm not sure where else to start asking about this. I suspect it might not be solvable if it's only happening to me, since there's nothing crashing or any error messages.
The problem described below does not happen for me on Windows 7. It also does not happen for ImageReader on AviSynth on Windows 10 (in the same version of Hybrid).
In Vapoursynth on Windows 10, core.imwri.Read is extremely slow to start processing files. It appears to somehow be trying to "pre-process" in some way the entire source directory from which images are being loaded. It does not matter if the start frame is 000000.png and the end frame is 000001.png. vsViewer.exe and VSPipe.exe will not start processing files until this "preprocessing" is done for the ENTIRE source directory.
In Task Manager (I use the classic Task Manager on W10), I can see that "I/O Other" and "I/O Other Bytes" increase at about 1 KB/s for either vsViewer.exe or VSPipe.exe. If the source directory has 8,000 images, it takes about 3 minutes for this to get to 517 KB and start processing files. For a source directory that has ~150,000 png images for a full length movie, it takes around 20 minutes for vsViewer.exe or VSPipe.exe to begin processing files. I guess that could be tolerable for just encoding, but it's a problem when using the viewer. Waiting ~20 minutes for the viewer to appear doesn't make for a usable workflow! (I guess a workaround would be to copy a smaller number of files to a temporary directory and load them from there, but what a pain!)
On Windows 7, this "preprocessing" does not appear to happen. Processing / viewer loading happens immediately. ("I/O Other" and "I/O Other Bytes" in Task Manager do not increase before it starts processing files for Windows 7.)
I tried on older versions of Hybrid going back about a year, and this problem is still present. It will take me much more time keep testing older and older versions.
Have you ever heard of anything like this? If you don't think this is Hybrid specific, do you have an idea on where I can ask about this?
If you want to try testing this on a source movie that is over 1 hour long, you can run the following command on any source file to extract all frames (be sure it is in its own folder first):
ffmpeg -r 1 -i "source.mp4" -r 1 %06d.png