Skip to content

CEVPlayer - plugin for CRYENGINE V allowing you to play video on the screen and on the game objects

License

Notifications You must be signed in to change notification settings

afrostalin/CEVPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Short description

Codacy Badge

CEVPlayer - plugin for CRYENGINE V allowing you to play video on the screen and on the game objects

It's includes :

  • Flowgraph nodes for creating video player (Screen video / Texture video)
  • VideoPlayerComponent for easy integration with new components system
  • Schematic functions for easy creation schematic entitys with video player component
  • Example project for fast study functionality
  • Full source code
  • Absolutly free license

Projects using this plugin

Building

Before compiling

  • Download full source code from official CRYENGINE repository
  • Download custom SDKs for CEVPlayer in attached to latest release files
  • Extract custom sdks to CRYENGINE/Code/SDKs/_CustomSDKs folder
  • Copy CEVPlayer sources to CRYENGINE/Code/CryPlugins/CEVPlayer
  • Add CEVPlayer module to CRYENGINE/Code/CryPlugins/CMakeLists.txt
add_subdirectory(CEVPlayer/Module)

Compiling

  • Starting with CRYENGINE 5.6 this plugin is provided only as a plug-in integrated into the full solution
  • Generate CRYENGINE solution, select CEVPlayer target and compile it

Branches

  • master - Main branch for latest CRYENGINE version (CRYENGINE 5.6)
  • cryengine_5.5 - If you need build plugin for CRYENGINE 5.5
  • cryengine_5.4 - If you need build plugin for CRYENGINE 5.4
  • cryengine_5.3 - If you need build plugin for CRYENGINE 5.3

Using

  • Copy CEVPlayer.dll, avutil-54.dll and swscale-3.dll to CRYENGINE/bin/win_x64 folder
  • Add CEVPlayer to you .cryproject file
{
    "type": "EPluginType::Native",
    "path": "CEVPlayer"
}
  • That's all. Now you can start sandbox and create logic for playing video in you game

Additional information

Warning №1 : CEVPlayer uses code of Libav licensed under the LGPLv2.1 and its source and binaries can be downloaded here

Warning №2 : CEVPlayer can play video only in .webm format

Warning №3 : All video files should be in Videos folder

Warning №4 : TextureVideoPlayer not playing audio - use audio triggers for this

Warning №5 : Don't use for TextureVideoPlayer video in very hight resolution - it's can be perfomance problems (optimal HD and low)

Warning №6 : Don't play video when level loading - you game will be crash!

TODO

  • Add ability to play video when level loading (Problem with blocking OnPostUpdate event)
  • Maybe create special shader for YUV->RGBA conversion
  • Audio triggers for in-game video
  • Make plugin compatible with CRYENGINE 5.3 (See this)

WIKI and lessons

Please see WIKI

Fast study functionality with example project project

GitHub community

I will be happy with any help from the community, so I'm waiting for your pull requests

If you have any problem with this plugin please use GitHub issues mechanism

Contacts

If you need more from me, write me directly to my email : chernecoff@gmail.com

About

CEVPlayer - plugin for CRYENGINE V allowing you to play video on the screen and on the game objects

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published