Skip to content

zsbzsb/Motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motion Project

License

This software is provided 'as-is' without any express or implied warranty. Read the full license agreement in "license.txt".

Author

Motion was created by Zachariah Brown (zsbzsb). Motion is written in C++ with duel C style functions so that it can be utilized by C++ or CLR/CLI programs. It provides an easy way to add video or audio playback to any SFML program. FFMPEG is used for decoding the files and then the data played back using SFML.

Examples

Check the included example folders for a quick code example to get up and running. Remember MotionNET depends on Motion while the Motion project can be used independently of MotionNET.

Linking

When using MotionNET ensure that SFML is compiled dynamically and CSFML is linked to the dynamic version of SFML. Also ensure that you do not link to static std libs. Failure to link everything dynamically will cause issues.

Custom Backends

As of the latest version there is not support for custom backends other than SFML. To implement your own video or audio backend inherit from one of the playback base classes and override the required functions.

Dependencies

  • SFML (latest master or 2.5+)
  • FFMPEG
  • Motion (only required for MotionNET)
  • CSFML