SFML community forums

Help => Graphics => Topic started by: spoty76 on March 27, 2017, 06:32:41 pm

Title: Video
Post by: spoty76 on March 27, 2017, 06:32:41 pm
Any possible ways to include a video tape into my code?
For example if the player picks an item, some flashbacks are appearing.
Title: Re: Video
Post by: eXpl0it3r on March 27, 2017, 07:06:29 pm
"Video tapes" are physical objects, so it's kind of hard to include them in code. ;)

But since you probably just meant some video clips, yes that's possible, but not with SFML directly.
However there have been multiple libraries written for playing back video data, the two most prominent ones are probably sfeMovie (https://en.sfml-dev.org/forums/index.php?topic=8701.0) and Motion (https://en.sfml-dev.org/forums/index.php?topic=16221.0).
Title: Re: Video
Post by: spoty76 on March 27, 2017, 08:46:47 pm
Can you recommend any of those libraries, and can they work with sfml?
Title: Re: Video
Post by: eXpl0it3r on March 27, 2017, 08:57:06 pm
They both work with SFML and I think, I already recommended both of them. :D
Title: Re: Video
Post by: spoty76 on March 27, 2017, 09:28:44 pm
Oh, sorry, didn't notice, thanks