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

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

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFMLTheora 1.3 - Play videos in SFML
« Reply #90 on: December 30, 2011, 07:59:00 am »
Yes, EnableVerticalSync works for me.

Please make sure that it's not disabled in your graphics driver settings. It should be set to "controlled by application".
Laurent Gomila - SFML developer

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #91 on: December 30, 2011, 10:28:03 am »
Hmm, weird then.

My graphics driver is set to controlled by application and I have never change it before.

I just tested with the previous SFML2 version I compiled and it seems that the result is the same, maybe it's related to the latest graphic driver then.
Well, SetFramerateLimit does make a good replacement for EnableVerticalSync in this case, though.

Sorry, my mistake.

akarivs

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFMLTheora 1.3 - Play videos in SFML
« Reply #92 on: February 29, 2012, 04:05:09 pm »
Hello
I try to use SFML Theora with SFML 1.6
When compile project, i've got errors, that I have unresolved external symbol sf::Texture and some from SF Audio package.

Then I replace SFML libs by libs from fix archieve.
And i've got new errors:

Code: [Select]
1>sfml-audio-s-d.lib(SoundBuffer.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (__imp_?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) в функции "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::_Sentry_base(classstd::basic_ostream<char,struct std::char_traits<char> > &)" (??0_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)


P.S. Sorry for my english, it's not my native language.

[/code]

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #93 on: February 29, 2012, 05:09:29 pm »
If you want to use SFMLTheora with SFML 1.6, you'll have to recompile SFMLTheora. To compile it you'll have to download libogg, libvorbis, libtheora, and libtheoraplayer, which can all be found (precompiled) on my website at http://www.zorexxlkl.com/downloads.
The precompiled libraries are only for SFML 2 since I compiled them with it.
Do let me know if you face problems compiling it.

kspes

  • Guest
SFMLTheora 1.3 - Play videos in SFML
« Reply #94 on: March 02, 2012, 09:58:43 pm »
Hi everyone, I'm Kresimir Spes, author of the libtheoraplayer library, glad to see all you people using my work! :) :) gotta love open source!

I've added SMFLTheora to the project's showcase page:
https://sourceforge.net/apps/mediawiki/libtheoraplayer/index.php?title=Showcase

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #95 on: March 03, 2012, 03:36:55 am »
Wow, that's awesome.
Great to see libtheoraplayer updated again.
Thanks for putting the project on the showcase page.
There's a bit of spelling error, though, it's SFML, not SMFL,  :) .

kspes

  • Guest
SFMLTheora 1.3 - Play videos in SFML
« Reply #96 on: March 03, 2012, 10:24:20 am »
Quote from: "zorexx"
Wow, that's awesome.
Great to see libtheoraplayer updated again.
Thanks for putting the project on the showcase page.
There's a bit of spelling error, though, it's SFML, not SMFL,  :) .


Typo corrected :)

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
SFMLTheora 1.3 - Play videos in SFML
« Reply #97 on: March 03, 2012, 11:29:39 am »
Hi

Just implementing this in my project, but I get:

" fatal error C1083: Cannot open include file: 'theoraplayer/TheoraPlayer.h': No such file or directory"

I downloaded the "Clean" package - should I have got something else? I am using MSVC 2010.

Thanks
Ed
SFML 2.1

kspes

  • Guest
SFMLTheora 1.3 - Play videos in SFML
« Reply #98 on: March 03, 2012, 11:39:43 am »
Quote from: "slotdev"
Hi

Just implementing this in my project, but I get:

" fatal error C1083: Cannot open include file: 'theoraplayer/TheoraPlayer.h': No such file or directory"

I downloaded the "Clean" package - should I have got something else? I am using MSVC 2010.

Thanks
Ed


check your project's header search locations. also note that I haven't made msvc2010 projects for libtheoraplayer, only 2008. it's on the todo list.

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
SFMLTheora 1.3 - Play videos in SFML
« Reply #99 on: March 03, 2012, 11:54:33 am »
Hi

Thanks for the help. I notice that theoraplayer/TheoraPlayer.h is not in the download at all - hence asking if I need something else.

But if it's not been compiled for VC2010, then I won't bother using it until it is, unless that's something I can do?
SFML 2.1

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #100 on: March 03, 2012, 11:55:45 am »
Quote from: "kspes"
Typo corrected :)

Thanks.  :)

Quote from: "slotdev"
Hi

Just implementing this in my project, but I get:

" fatal error C1083: Cannot open include file: 'theoraplayer/TheoraPlayer.h': No such file or directory"

I downloaded the "Clean" package - should I have got something else? I am using MSVC 2010.

Thanks
Ed


Sorry, I forgotten to mention that you need to have libtheoraplayer in order to use SFMLTheora, or at least the header files.

I guess I shall include the headers of libtheoraplayer along with SFMLTheora as well.

You can download a compiled version of the libtheoraplayer for msvc2010 at: http://www.zorexxlkl.com/downloads/


@kspes, I hope you don't mind me distributing the msvc2010 precompiled libtheoraplayer.

kspes

  • Guest
SFMLTheora 1.3 - Play videos in SFML
« Reply #101 on: March 03, 2012, 12:16:11 pm »
Quote from: "zorexx"

@kspes, I hope you don't mind me distributing the msvc2010 precompiled libtheoraplayer.


Sure, no problem :)
When I release 1.0stable version, I plan to release msvc2008 and msvc2010 precompiled SDK's.

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #102 on: March 03, 2012, 12:18:23 pm »
Thanks, that will be great.
I will look forward to seeing the stable version out.
By the way, just reporting a "bug" here,
<TheoraExport.h> in TheoraVideoFrame.h should be "TheoraExport.h".

kspes

  • Guest
SFMLTheora 1.3 - Play videos in SFML
« Reply #103 on: March 03, 2012, 12:20:31 pm »
Quote from: "zorexx"
Thanks, that will be great.
I will look forward to seeing the stable version out.
By the way, just reporting a "bug" here,
<TheoraExport.h> in TheoraVideoFrame.h should be "TheoraExport.h".


well spotted! just corrected it. btw, if you find anything else, please post it on the project's bug tracker, can't keep track of reports all arround the web :)

zorexx

  • Full Member
  • ***
  • Posts: 109
    • View Profile
    • zorexx@site
SFMLTheora 1.3 - Play videos in SFML
« Reply #104 on: March 03, 2012, 12:27:26 pm »
Ok, sure.

@slotdev: I've just updated SFMLTheora (as version 1.3.5) to include libtheoraplayer's header files, now everything should work with just the Clean package, sorry for the inconvenience. Also, since I am using msvc2010, you should not worry about it not working in msvc2010.  :)

 

anything