Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Video  (Read 1931 times)

0 Members and 1 Guest are viewing this topic.

spoty76

  • Newbie
  • *
  • Posts: 21
    • View Profile
Video
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Video
« Reply #1 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 and Motion.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

spoty76

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Video
« Reply #2 on: March 27, 2017, 08:46:47 pm »
Can you recommend any of those libraries, and can they work with sfml?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Video
« Reply #3 on: March 27, 2017, 08:57:06 pm »
They both work with SFML and I think, I already recommended both of them. :D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

spoty76

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Video
« Reply #4 on: March 27, 2017, 09:28:44 pm »
Oh, sorry, didn't notice, thanks

 

anything