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

Author Topic: SFML and video?  (Read 1374 times)

0 Members and 1 Guest are viewing this topic.

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
SFML and video?
« on: May 03, 2012, 08:41:13 am »
Dose SFML support video at all? Alpha mats on videos to mask areas stuff like that?
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML and video?
« Reply #1 on: May 03, 2012, 08:51:55 am »
SFML doesn't support videos natively, but you can have a look at this project.
Laurent Gomila - SFML developer

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
Re: SFML and video?
« Reply #2 on: May 03, 2012, 09:16:28 am »
SFML doesn't support videos natively, but you can have a look at this project.

thanks I'll check it out.. though with out looping video implemented I do not think i can use this :( It is still on the todo list... Any other libraries you might no of that can do these kind of things? Maybe I could run alongside SFML in the same way you may use openGL if you like?

I'm using SFML to make a small 2D project and was wondering what options there are for playing videos at exact pixel coordinates. So say your game window is 1280x720 and you have a few videos one is say 100x100 pixels to make your still image background look like the fountain is running... stuff like that
« Last Edit: May 03, 2012, 09:38:01 am by aNewHobby »
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)