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

Author Topic: sfTheora 1.4 - Play videos in SFML  (Read 62958 times)

0 Members and 1 Guest are viewing this topic.

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
SFMLTheora 1.3 - Play videos in SFML
« Reply #105 on: March 03, 2012, 06:25:51 pm »
Hi

Thanks for the updated, much appreciated :)

I've downloaded it, included it in my project, but I get errors related to sf::Time, which I guess is a new function in SFML2, since the last version we use (which is from around November 2011 - before the major API update).

We will have to update our system to get this working, but thanks all the same :)

Ed
SFML 2.1

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #106 on: March 03, 2012, 06:34:11 pm »
Yeap, the sf::Time is a recent change in SFML2.  :)

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
Re: sfTheora 1.4 - Play videos in SFML
« Reply #107 on: April 05, 2012, 07:22:57 am »
So, I'm finally done adapting sfTheora to the latest SFML naming conventions (and, notice the name change  ;D).

I also added some new functions, like getDuration and getTime, as well as a new error handling system.
You can also now load videos by passing it as a parameter to the constructor. This is made possible thanks to the new error handling system.

Dropped SFML 1.6 support as well, since SFML 2.0 will be released as a stable version soon.

See the changelog for the full list of changes.
« Last Edit: April 05, 2012, 07:27:09 am by zorexx »

kspes

  • Guest
Re: sfTheora 1.4 - Play videos in SFML
« Reply #108 on: April 05, 2012, 08:43:47 am »
I've changed the links on theora playbacks' wiki showcase page to account the name change.

@zorexx: are you using 1.0RC2 or the svn trunk version? I've made some pretty cool changes, especially in file seeking speed and accuracy. 1.0RC3 should be out somewhat soon!

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
Re: sfTheora 1.4 - Play videos in SFML
« Reply #109 on: April 05, 2012, 08:58:13 am »
Thanks updating.

I compiled the SVN trunk version on 03/03/2012, hopefully the changes you mentioned are made before that date.

kspes

  • Guest
Re: sfTheora 1.4 - Play videos in SFML
« Reply #110 on: April 05, 2012, 09:06:09 am »
yeah, I think they should be in that revision.