-
Notifications
You must be signed in to change notification settings - Fork 71
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
First time loading videos sometimes takes a while to load (Needs more testing) #286
Comments
Can confirm this also happens for me on mac, sometimes it took 15 seconds sometimes it takes 50 seconds, i also see the lag happening for other people i see playing a mod i worked on |
i have an idea |
we can use file caching |
This occurs because the video is being moved from hard storage to RAM, and videos are very dense. |
is there anyway to fix it? |
well could there be another way for it to be a perminate fix for hxCodec |
To my understanding no. To do that it would need to preload every single video in the game at once. Not only is that extremely stressful on the PC but it's very resource dependent |
oh ok |
well can you make a example on the readme and name it preload video so people can do what you did to the video |
Nah, it all works off a custom cutscene framework I made for my mod |
oh |
what is your mod called and does it have a source code on github? |
Hello, does this issue occur when loading small videos? How big are the videos you're trying to load? |
it appears to be based on the size of the videos, from my limited testing |
Won't fix atm, it is expected for hxCodec to take time when loading big videos, due to it being single-threaded, slow I/O speed on the hardware side, etc. |
hxvlc has faster loading time and they already did the byte video support |
Yeah, I've seen quite a lot of stellar work on hxVLC, might as well replace hxCodec hahaha |
well i am gonna try to make vlc wasm so people don't have to worry about video support on web & you can probably make it into a app for ios. just get a https website link and convert it into a .app for ios |
With hxCodec 3.0 loading videos for the first time can take to 10-15 seconds to load
The text was updated successfully, but these errors were encountered: