Full Motion Video (and more) in Spring using only lua!

Full Motion Video (and more) in Spring using only lua!

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Full Motion Video (and more) in Spring using only lua!

Post by lurker »

Ref: ingame video


This lua allows you to chop up a video and play it in spring, locally or across the network. In the future it'll also be expanded for ingame content delivery.

I don't have a lot to say about it at this point; I'm posting it because it's pre-alpha and I haven't looked at it in a few weeks; I need some more pressure, and because today is the most confusing day to release it.

This package might be enough to make the sample video work; I'm not sure. No time to test as I'm on a strict deadline of April 1. If it works, the command sequence is /luaui auth, wait for confirmation, /luaui send, wait a bit, /luaui execute. I'll probably rename the topic to something less silly once I make a proper release, probably using a dll instead of a hacked spring to run the external commands used to preprocess the video.

I would have made a fancy fake-sounding post instead of just the topic, but ran out of time.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Full Motion Video (and more) in Spring using only lua!

Post by Pxtl »

Image
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Full Motion Video (and more) in Spring using only lua!

Post by lurker »

I think I'll make a package tomorrow that's just has a BUTTAN for a video, minus most of the Project Overlord code. And a good video too. But this serves as an announcement of overlord, mostly. The video is just to draw in eyes.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Full Motion Video (and more) in Spring using only lua!

Post by lurker »

Got off my butt and made the sampler.
http://evolutionrts.info/~lurker/Video.zip
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Full Motion Video (and more) in Spring using only lua!

Post by Tribulexrenamed »

Lurker, I cannot fathom how i can express my love for you in english, so when i log into spring im going to pm it to you in french.


This is going directly into my game. Cheers mate!
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Full Motion Video (and more) in Spring using only lua!

Post by lurker »

If you mean that sample vid, then don't forget to grab the code from the first zip that makes it bounce around the screen and not be toggleable. It's in plan.lua
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Full Motion Video (and more) in Spring using only lua!

Post by Tribulexrenamed »

Lurker this is awesome.


Is it possible to open up a connect to a non-spring-host server for streaming video?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Full Motion Video (and more) in Spring using only lua!

Post by lurker »

If you want to be restricted to windows-only or anyone that can compile a luasocket .so, yes, but at that point you might want to bring in some real video-rendering code.
User avatar
DavetheBrave
Posts: 281
Joined: 22 Jun 2005, 02:52

Re: Full Motion Video (and more) in Spring using only lua!

Post by DavetheBrave »

lurkey, you are epic :D
Post Reply

Return to “Lua Scripts”