Video anyone?
Video anyone?
Is anyone displaying or controlling video or image sequences for intro graphics or story line? I couldn't find anything on video specifically, but other methods of sequencing images would work. Displaying a series of JPEGs could work, but might get heavy if you did too many sequences.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Video anyone?
love.video is highly anticipated, but there is one tiny problem: it has to be written. And such a thing is far from trivial.
The best solution is to “animate” images, lines, circles, etc., just like in normal game play.
The best solution is to “animate” images, lines, circles, etc., just like in normal game play.
Help us help you: attach a .love.
Re: Video anyone?
Takes less space too (we're talking tens - maybe hundreds - of MBs)Robin wrote:The best solution is to “animate” images, lines, circles, etc., just like in normal game play.
Re: Video anyone?
One way I could see video implemented is by splitting the video frames into PNG files, which has been optimized with some kind of difference method, so only pixels that have changed are actually in the image.
Then, when playing a video, with a custom love.run, you could skip the love.graphics.clear() command and just draw the next video frame over the previous frames, and it would work like that.
Then, when playing a video, with a custom love.run, you could skip the love.graphics.clear() command and just draw the next video frame over the previous frames, and it would work like that.
Re: Video anyone?
So basically you would like to emulate a video codec?thelinx wrote:One way I could see video implemented is by splitting the video frames into PNG files, which has been optimized with some kind of difference method, so only pixels that have changed are actually in the image.
Re: Video anyone?
I'm working on a concept version.
Re: Video anyone?
I Think that a player (with one format/codec only) could be an interesting feature.
I think that using a PNG-frame per frame is crude solution
Sdl+Mpeg I found this:
http://www.happypenguin.org/show?SDL%20MPEG%20Library
I think that using a PNG-frame per frame is crude solution
Sdl+Mpeg I found this:
http://www.happypenguin.org/show?SDL%20MPEG%20Library
Bartoleo
Re: Video anyone?
any common wavelet compressed codec would be great- however I have no idea what that entails on the engine side.
Who is online
Users browsing this forum: Ahrefs [Bot] and 9 guests