Video formatting for GSVideo
in
Contributed Library Questions
•
2 years ago
Hi All,
I am using the gsvideo lib to play a large background video scaled 2x. I play the video through once, then hold the last frame in the texture while other parts of the app animate, then the video resets and we go through the process of playing again.
However, it seems that sometimes, the second (or third, fourth, maybe not at all) the video stalls partway in (also inconsistant). Because other classes are waiting for the video to finish, the entire app halts. No errors, the video seems to just pause. I have even gone as far as to tell the video to play each frame it loads.
When the video is finished, I stop it and delete, then set it to null. when it replays I make a new GSMovie object. maybe this isn't necessary, but it seemed to make it work more often.
So Im wondering if the format of the video is a problem, it is currently a h264 mov file at about 3000x600 (for a large video wall, these dimensions are actually only half size) is there another format that works more consistently? or is there a way to tell the movie to keep playing? is my telling it to play each frame killing it somehow?
I can give some code, but there are a lot of dependancies, really if you have a way to replay a gsvideo, that seems like my main issue.
thanks for any ideas!
ak
1