This is a quick tutorial and setup guide iv made easy for those who wish to use LUA to create applications/games.
This is based off the work of (Enceladus)
https://github.com/DanielSant0s/Enceladus
I reworked a new executable that loads (Enceladus - LUA 5.4.3) to work strictly off the ISO...
I dont think its sample size, as the audio and video play perfectly still, Just the 2 threads the audio and video EE threads themselves seem to be off timing when on some systems. And yeah not entiterly sure as to why but I could try playing with chunk size anyway.
..but I feel this is...
Thanks ! And yeah thanks for this extended debugging.
The resolution swap is a odd one. I was pretty sure I had the code hardlocked and defined set resolution sense the video itself expects to be played at a certain resolution and rate.
I may have changed my code to display at a rate avaliable...
Ahhhh thanks for the followup that actually makes alot more sense. Yeah so tech the video and audio play fine on both consoles just they get out of sync on the SCPH-50004 which must be either from the background thread timing or could be down to read speeds yeah it does pinpoint the issue for me...
Thanks a ton
By the way could you let me know on the
SCPH-50004
Is the video playing slow and stuttering or is the audio stuttering or both ? Sounds like just the audio is a issue on the SCPH-50004. Which is even more bizzare to me if thats the case lol
What Happens when you try my first...
Oh yeah and the cutscenes it creates are 100000000% Lag Proof, basiclly almost impossible to have a laggy cutscene with how I coded this to work with emulation in mind.
A system with 200mb ram can emulate these cutscenes lol
**UPDATE**
Showing a example of a fully working cutscene player from game engine im making.
This cutscene was made by the engine and coded from scratch via standerd ps2sdk NO "SMS" code was used.
It was VERY tricky getting the audio to play in sync with video and its framerate adjustments...
20 year long programmer here just started ps2 dev couple days ago.
So far I have working 2d gane engine based on g2 gslib and working video playing.
Just finished the audio test playing custom wav files.
Here is the test for anyone that wants to see it in action getting the audio to work...