I am working on a project that involves playing simple 1080p video in processing with the standard video library- however I am having difficult time with stability of the videos themselves in FullScreen.
On my 2015 MacBook- the frameRate is rather consistent (close to the set frameRate), but audio cuts off 5-10seconds into playback sometimes depending on the format and video size. On a fairly decent PC Laptop (Which i'm primarily using for this project), the frameRate is extremely low and stutters with audio cutting out 5 seconds into playback.
I have already tried setting the frameRate, using P2D/P3D renders, changing resizing, allocating more RAM to Processing in settings, etc- but only the frameRate helped with one specific file on Mac. I also tried different file formats/codecs and so far a twice over exported h.264 .mp4 has lead to the smoothest playback yet (which isn't very smooth at all on windows).
Are there any libraries or any techniques that could help with video playback- more so on Windows? I mean if I can play 30 minute long 1080p video on loop on a little Raspberry Pi perfectly fine (with GL Video through Processing of course), there has to be some way to play it fine on a MacBook and Windows Laptop.