Video anyone?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
solecize
Prole
Posts: 15
Joined: Mon Jul 26, 2010 6:54 pm

Video anyone?

Post by solecize »

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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Video anyone?

Post by Robin »

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.
Help us help you: attach a .love.
User avatar
Chief
Party member
Posts: 101
Joined: Fri Mar 12, 2010 7:57 am
Location: Norway, 67° north

Re: Video anyone?

Post by Chief »

Robin wrote:The best solution is to “animate” images, lines, circles, etc., just like in normal game play.
Takes less space too (we're talking tens - maybe hundreds - of MBs)
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Video anyone?

Post by thelinx »

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.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Video anyone?

Post by vrld »

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.
So basically you would like to emulate a video codec? ;)
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Video anyone?

Post by thelinx »

I'm working on a concept version.
User avatar
bartoleo
Party member
Posts: 118
Joined: Wed Jul 14, 2010 10:57 am
Location: Savigliano

Re: Video anyone?

Post by bartoleo »

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
Bartoleo
User avatar
solecize
Prole
Posts: 15
Joined: Mon Jul 26, 2010 6:54 pm

Re: Video anyone?

Post by solecize »

any common wavelet compressed codec would be great- however I have no idea what that entails on the engine side.
Post Reply

Who is online

Users browsing this forum: pgimeno and 70 guests