Simple video playback #2488
Replies: 3 comments 3 replies
-
Hello @Axle-Ozz-i-sofT, the simplest video/audio decoding library I know is pl_mpeg, I used it with raylib and it works great but only supports Beside that one, I don't know of other simple, small and portable video-decoding libraries. |
Beta Was this translation helpful? Give feedback.
-
Hello. There is a library that uses for ffmpeg from Andreas Stöckel. https://github.com/astoeckel/acinerella It's easy to integrate into raylib. Here is my pascal test. https://github.com/GuvaCode/Raylib-Examples/tree/main/video/acinerella |
Beta Was this translation helpful? Give feedback.
-
Great plan Axle. Will you publish your books in any on-line/multimedia form? You might also get some help about this on gamedev.tv, Although they might be concentrated on the use of production-level game-development tool chains, I was led to raylib by one of their courses. |
Beta Was this translation helpful? Give feedback.
-
Hi Ray
I am asking if you already have or are considering a simple video (MMedia) playback library to include in raylib?
I am currently writing a series of books to introduce my fellow students, and and keen beginners, to the world of software programming. I have completed the first two books of five (Final draft) and handed it out to my tertiary lecturer and some fellow ICT students for appraisal and feedback. The focus of the first book is on "Programming" and non language specific. All examples are orientated toward fundamental programming principles rather than being language specific. I have provided examples in C, FreeBASIC and Python 3 for all topics (all examples are cross platform for Win x86-64 and Linux (Ubuntu) x86-64). The reason is that all 3 language examples follow the same flow and logic throughout. A learner can place the example side by side and they read the same routine by routine except for some language specific syntax.
The second book focuses upon setting up the development libraries and IDEs for the 3 languages.
Each of the last 3 books will be language specific, but still follow the same emphasis on keeping the examples to be readable side by side with the same flow and logic. After some extensive research I have decided that your raylib makes for an excellent choice to introduce libraries and some intermediate programming techniques. raylib is one of the few, if not only simple library that is cross platform and available for C, FreeBASIC and Python without me having to spend a small portion of my life writing binders and wrappers. I should be able to integrate raylib and show many fundamental techniques :)
The only thing I am missing in a simple and convenient way is a simple video playback library. I can do this using the language and platform specific toolsets, but no one size fits all at the moment.
For now I am looking at a choice between MPV(lib), VLC(lib) or ffmpeg(lib) but feel like a bit of overkill for a simple playback module. I don't want to introduce too much library and dependency complexity if I can avoid it :) I want to try and encourage a desire to learn programming rather than scare them away lol
My current example list (still in thought):
I would be appreciative of any thoughts on a Simple MMedia (Video) playback library that you may have?
P.S. I could see simple video playback for game intros or scene changes for the game creating enthusiasts :)
Best regards
Axle AU
Beta Was this translation helpful? Give feedback.
All reactions