-
Notifications
You must be signed in to change notification settings - Fork 12
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
loop feature / using callbacks #2
Comments
Wow! Exciting to hear that someone is actually using this project. Thanks for the feedback. What platform are you building this on? |
Building on Linux mint using the Kos toolchain. |
I just re-read your dreamroq-player.c file and figured somethings out. You don't need to have dreamroq_play() called over and over to play the file right? You can just call this once and the video will keep playing? This is where I messed up I think. I'll report back in a few days :) |
Nice, you're actually doing this on kos/DC, where I originally developed it. Glad people are keeping the platform alive. I'm reviewing how the code works, but yes, it's one blocking call to the dreamroq_play() function which returns after the video has completed. |
actually, since we're chatting about it, is it possible to have alpha in the video? I can see some mention of ARGB but I can't figure out how to encode the video correctly. |
I fixed my issue for my game :) by the way you can check the repo here https://github.com/lerabot/reaperi_cycle |
Indeed, there are RoQ files with ARGB. They were used in the game The 11th Hour and this library supports decoding them. However, it might be a challenge to find software that encodes the ARGB variant. |
I've been testing your library recently and integrating it it my game.
I have some problem with the callbacks. I can't seem to use the quit callback, maybe I'm getting something wrong.
In order to cancel the video, i'd need to return 1. even if I do that, nothing happen unless its on the last frame.
The text was updated successfully, but these errors were encountered: