Posts: 733
Threads: 30
Joined: Apr 2022
Reputation:
43
04-17-2022, 12:16 AM
Hi, all. I'm currently working on a video player that is written in QB64. It's been a real fun project to work on. The project uses
a lot of API calls. It's a great way to showcase just what one can do with this language. The source is huge, so I have decided to not include it here. Here is a short video showing it working:
SpriggsySpriggs/QB64-Win32-Video-Player
The GitHub link above should contain all files necessary to compile and run the program. I have also included a precompiled binary. 64 bit only. If you choose to compile from source, make sure you check "Output EXE to Source Folder".
Hope y'all like it!
Tread on those who tread on you
Posts: 2,169
Threads: 222
Joined: Apr 2022
Reputation:
103
Awesome, glad to see you here. I sent you a PM, btw.
My favorite vid players allow me to use a key to step a frame ahead or back. That is a really cool feature. I couldn't tell from the YouTube vid if your creation has any such effects. The best I could ever get, without API calls was breaking down a vid into frames, and then using a QB64 prog to thumb through the frames. Kind of primitive, but it worked for a small vid, like a golf swing.
Pete
PS: I love the API King title, which I assume was Steve's doing.
Posts: 733
Threads: 30
Joined: Apr 2022
Reputation:
43
Hi, Pete! I don't see any PM in my inbox so maybe it got stuck! The title was my doing, haha! I'll definitely look into adding the forward and back using the arrow keys. Now that I'm thinking of it, I'll also add the ability to pause with the spacebar, like most programs do. If I get ambitious, I'll see if I can make my program read media keys from the keyboard. Thanks for taking the time to check it out!
Tread on those who tread on you
Posts: 49
Threads: 14
Joined: Apr 2022
Reputation:
6
It's so cool that you were able to make that in QB64. Nice job man!
Posts: 276
Threads: 14
Joined: Apr 2022
Reputation:
27
I haven't checked out the code yet, but that was cool to see what's possible with API in QB64. Great job!
On a personal project note: I was wracking my brains on how to bring Windows style load and save dialogs into a project of mine and your pipecom routine was just the ticket I was looking for. It walked in and took over like a boss. You bring such great stuff to the forum. If I haven't said it before, Thank you.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Posts: 728
Threads: 119
Joined: Apr 2022
Reputation:
106
Looks awesome, @Spriggsy! Well done. So glad we have your API knowledge here.
- Dav