Forums Gallery Downloads LOGIN |REGISTER

How to info video add ?

If you're looking for help with Scaleform, HUD development, UI Emulator/Actions, this is the place!


 

User avatar
Lavizh
News Posters
News Posters
 
Posts: 11983
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: How to info video add ?

Postby Lavizh » 05.03.2012, 16:58

I am talking about the FreeSDK ofcourse. And no there is no movie / video support with Scaleform Video. Using FLV / AVI video files and converting to Swift / GFX files does not work in the engine.
 
 
 

Image
User avatar
princeteam
Just getting started
Just getting started
 
Posts: 70
Member since: 22.10.2011, 20:04
Location: Behind you!
Likes: 1

Re: How to info video add ?

Postby princeteam » 05.03.2012, 20:26

But i think FreeSDK supports .USM i am tring it
PrinceTeam
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11983
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: How to info video add ?

Postby Lavizh » 05.03.2012, 20:51

USM is a 3rd party license codec. It's extremely expensive for licensing. The FreeSDK does not support this. There is no supplied AVI/MP4 -> USM converter available anyways.

More info here : http://gameware.autodesk.com/scaleform/ ... s/videoime


After requiring the codec (on a license from Autodesk), you need this :

Image
 
 
 

Image
User avatar
hendrik
Producer
Producer
 
Posts: 1326
Member since: 29.05.2010, 11:46
Location: Germany
Likes: 163

Re: How to info video add ?

Postby hendrik » 05.03.2012, 23:38

I'm working on adding WebM video codec support to CryEngine3 FreeSDK. There are converts avi/mp4 -> webm available, but it will still take me about 2-3 weeks.
Taxel
Just getting started
Just getting started
 
Posts: 93
Member since: 24.08.2011, 13:29
Location: Germany
Likes: 0

Re: How to info video add ?

Postby Taxel » 06.03.2012, 00:31

isn't this what he needs?
http://freesdk.crydev.net/display/SDKDO ... leform+GFx
I haven't tried, but according to this, video playback should work, right?
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11983
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: How to info video add ?

Postby Lavizh » 06.03.2012, 00:37

Well how is he supposed to make an USM file when the converter and codec is not included ? Also trying to playback FLV files embedded in a SWF/GFX does not work either. Screen goes blank. This is becouse Scaleform Video is not included. But i have yet to try embedding JPG files (still images from a sequence) into a SWF/GFX file. And set up the timelines with images from 0-100 for example.
 
 
 

Image
hd131
Just getting started
Just getting started
 
Posts: 6
Member since: 24.06.2011, 16:07
Likes: 0

Re: How to info video add ?

Postby hd131 » 29.03.2012, 18:32

Hello! please tell me exactly where and in what file to register it here
IFlashPlayer * pFlashPlayer = gEnv-> pSystem-> CreateFlashPlayerInstance ();
bool bRes = pFlashPlayer-> Load ("myvideo.usm");
and then it
pFlashPlayer-> Advance (fDeltaTime);
pFlashPlayer-> Render ();

This is the documentation http://freesdk.crydev.net/display/SDKDO ... Scaleform+гфх

thank !!!
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11983
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: How to info video add ?

Postby Lavizh » 29.03.2012, 19:20

Scaleform Video is not supported on the FreeSDK (nor UDK). It's extremely expensive. You cannot play USM files unless you have a special license from Autodesk. This is also explained in post above you.
 
 
 

Image
hd131
Just getting started
Just getting started
 
Posts: 6
Member since: 24.06.2011, 16:07
Likes: 0

Re: How to info video add ?

Postby hd131 » 29.03.2012, 20:13

but perhaps the latest version FREE SDK does not support skaleform?
User avatar
Lavizh
News Posters
News Posters
 
Posts: 11983
Member since: 04.12.2007, 03:23
Location: Hamar, Norway
Likes: 744

Re: How to info video add ?

Postby Lavizh » 29.03.2012, 20:21

Why would they cut out Scaleform GFX support if they just included it ? Or do you mean if the next version will support Scaleform Video? If the latter, i doubt it since the expenses is way too high. Not even UDK includes Scaleform Video.
 
 
 

Image
hd131
Just getting started
Just getting started
 
Posts: 6
Member since: 24.06.2011, 16:07
Likes: 0

Re: How to info video add ?

Postby hd131 » 29.03.2012, 20:43

how to play the video and in what format?
User avatar
hendrik
Producer
Producer
 
Posts: 1326
Member since: 29.05.2010, 11:46
Location: Germany
Likes: 163

Re: How to info video add ?

Postby hendrik » 29.03.2012, 20:50

no way to play video atm. Wait about a week I'll release a Videoplayer Plugin soon for webm format.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community