View topic - Videos in Spring?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Videos in Spring?
PostPosted: 25 Jul 2012, 03:32 
Moderator

Joined: 05 Aug 2009, 19:42
Would anyone else care to see Spring being capable of supporting videos?
As far as use cases go, I'm mostly thinking about missions/scenarios, as I can't really recall any game that extensively uses videos in skirmish mode (RA3 sometimes has AI videos appear in skirmish once you explore them/defeat them).

I've found this: http://stackoverflow.com/questions/6495 ... gl-texture, which doesn't seem all that complex to do.

I'd mostly like to know, from a dev perspective, is there any known issue that may make this much harder?

I could potentially try to do this myself, although probably won't be able to prioritize on it for this/next month, but I'd like to see if anyone would care for this.

I assume adding some unsynced lua read&control wouldn't be too hard, either. f.e
Code:
Spring.LoadVideo(path, x, y, width, height) -> videoId
Spring.StartVideo(videoId)
Spring.StopVideo(videoId)
Spring.GetCurrentVideoPosition(videoId)
...
etc.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 26 Jul 2012, 04:09 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Spring used to have a built in recorder thingy (does it still?).

Tbh, fraps and spring don't get along well at all. Using fraps with spring tanks fps (even though you can't tell from the resulting video) and I would like to see it fixed.

I can record full 1080p in nuclear dawn without any noticeable performance hit. For some reason, in spring, I'll get maybe 15 fps (even though fraps and spring both display 30+ on the meters).

Imo, I think it's an issue with spring more than anything.


Top
 Online Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 26 Jul 2012, 04:18 
Moderator

Joined: 05 Aug 2009, 19:42
This has nothing to do with recording, it's about the ability to embed and play videos inside of spring.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 26 Jul 2012, 13:40 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
gajop wrote:
This has nothing to do with recording, it's about the ability to embed and play videos inside of spring.


Forb is is illiterate, give him a break. :P


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 27 Jul 2012, 03:31 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
gajop wrote:
This has nothing to do with recording, it's about the ability to embed and play videos inside of spring.


It would have been clearer had you actually said that. Lurker has done it. You should talk to him.


Top
 Online Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 27 Jul 2012, 15:18 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
lurkers thread:
viewtopic.php?f=23&t=18312&hilit=video+lua
not much info though and links are dead.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 28 Jul 2012, 02:27 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Well he had it all written, and the framework for it was in evo at one point. Shoot him a message, I imagine he prolly still has it lying around. Lurker isn't generally one to be careless with things he has created.


Top
 Online Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 11 Sep 2012, 17:29 
User avatar

Joined: 14 Jan 2009, 14:20
as far as i remember Floris did some nice videos with fraps and got no pb with fps and afair when I talk about it about the fps issue, he manage to find a nice codec to solve the issue.

Maybe you should ask him


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 11 Sep 2012, 18:11 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
knorke wrote:
lurkers thread:
viewtopic.php?f=23&t=18312&hilit=video+lua
not much info though and links are dead.
Lurkers stuff worked but had serious issues, IIRC a massive hang and all the frames were stored as images.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 11 Sep 2012, 18:21 
User avatar

Joined: 04 Jan 2011, 20:00
I didn used Fraps but "Taksi Desktop Video Recorder". (and FFDSHOW codec, but that aint that important I guess)

And... because I didnt have an uber pc I only set to record with 6..7 fps and then speed that up to x4 to make it around 25..30 fps.
I guess I also could record at say 10...15fps fairly well, but gamespeed x3...x4 is more interresting for a full game to view anyway.

Also because I was live playing myself too, and with slightly higher quality settigns too. Make sure to put smoothScroll and smoothCamera widgets on.


(my laptop specs: i7 1.6Ghz, HD4670, 4 GB ram, SSD)


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 11 Sep 2012, 19:16 
User avatar

Joined: 02 Dec 2011, 22:31
Location: North Dakota, US
gajop wrote:
This has nothing to do with recording, it's about the ability to embed and play videos inside of spring.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 13 Sep 2012, 01:45 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
I told you, the original post is poorly worded.


Top
 Online Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 13 Sep 2012, 02:48 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
nonsense. people just do not read before posting.


Top
 Offline Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 13 Sep 2012, 04:28 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
I read it and I still misunderstood what he was saying.


Top
 Online Profile  
 
 Post subject: Re: Videos in Spring?
PostPosted: 19 Sep 2012, 12:32 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
I would like to see Lurkers work


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.