HAP .avi file doesn't loop via jit.movie object
Hello everyone,
I'm working on a project in which I am looping a 7.5Gb HAP-encoded .avi file using the jit.movie object, but each time it gets to the end of the movie, it begins stuttering and doesn't loop smoothly back to the beginning. This doesn't seem to be the case with .mp4 files. Does anybody have any idea of why this happens? Could this be an encoding issue? I encoded the file using the ffmpeg library.
Also: I am working in Windows with the viddll engine. Thank you!
You can try to load the first second and the last second of the video into the RAM using the "loadram 1" and "loadram -1" messages for jit.movie as soon as you load the video.
Let me know if this solves the problem
Thank you for your response. By the way – I love your YouTube channel! Your content is incredibly helpful.
I did try the 'loadram 1' and 'loadram -1' messages with the jit.movie object but it didn't seem to do much. I could tell it went to the beginning/end of the film, but then it refused to play. The playback is fine from beginning to the end of the video, but at the end, it glitches out and it almost appears to be skipping between the first couple of frames of the video. Not sure why this happens...
I'm going to try and load about a 50Gb HAP video at some point, so if this is a RAM issue, I need to work it out. Thanks again for your help!