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

Author Topic: sfeMovie (video & audio playback library with many codecs)  (Read 148419 times)

0 Members and 6 Guests are viewing this topic.

feliwir

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #90 on: June 27, 2014, 10:34:13 am »
The build is stuck at the following step (for both Debug/Release): "/tmp/ffmpeg-2.2.2/configure options"
I waited for 10 Minutes now and my CPU Usage is ~80% (and that CPU is a quadcore^^).
How can i get any further?

Greetings feliwir

feliwir

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #91 on: June 27, 2014, 10:35:13 am »
Nevermind, it just went on :D You should maybe print a message that this step takes a lot, i was just going to cancel the build, because i thought it was stuck :)

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #92 on: June 27, 2014, 06:44:28 pm »
Ah, I usually build on Unixes which are much faster than MinGW builds on Windows so... yep I'll add a notice :)
Edit: done.
« Last Edit: June 27, 2014, 07:02:00 pm by Ceylo »
Want to play movies in your SFML application? Check out sfeMovie!

AlexxanderX

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • AlexanderX
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #93 on: August 11, 2014, 04:10:28 pm »
I think the fit function is bugged. The fullscreen from the example provided is not working properly:

Here is the code:
(click to show/hide)
Using last version from github and I'm running a Linux Mint 16 x64.
« Last Edit: August 11, 2014, 04:15:43 pm by AlexxanderX »
Here you can find my blog and tutorials about SFML - http://alexanderx.net/ (died...) - http://web.archive.org/web/20160110002847/http://alexanderx.net/

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #94 on: August 11, 2014, 06:48:07 pm »
Indeed, feliwir had reported the issue too and I'm working on it :)
Want to play movies in your SFML application? Check out sfeMovie!

bluekirby0

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #95 on: August 24, 2014, 08:27:21 am »
Another set of free codecs you can add to your legal page list:
Opus audio
VP9 video (available through newer libvpx builds, still kinda early in its life but quite usable)

FFMpeg has no support for it yet that I've seen, but another one to watch for is Daala.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #96 on: August 24, 2014, 03:59:11 pm »
Hi bluekirby0,
Do you know the usage of Opus and VP9 nowadays?
Want to play movies in your SFML application? Check out sfeMovie!

bluekirby0

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #97 on: August 24, 2014, 04:53:58 pm »
For now they are the main competitors for the next web standard vs H.265 video and AAC audio.

The only major usage of either codec right now is via Youtube where newer submissions are being converted to these formats. Otherwise I know Mumble is transitioning its clients to use Opus as well, and there are several 4k TV manufacturers on-board to support VP9 (but probably H.265 as well).

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #98 on: August 24, 2014, 05:45:27 pm »
Ok, it's added to the TODO list ! :)
Want to play movies in your SFML application? Check out sfeMovie!

JohnGreek

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #99 on: August 26, 2014, 08:45:17 pm »
Really hope i could use your library, but on windows, MinGW whenever i create an sfe movie object it crashes, stack or heap it doesn't matter.
And not only that, i get some weird error like cannot obtain handle to infernal or something if i recall correctly.
Tried building from source as well but it's the same. ??? ??? ???
I really could use some help  :)

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #100 on: August 26, 2014, 11:14:35 pm »
Hello JohnGreek
Which version of sfeMovie? Which Windows version? Which sources?

Edit: and which version of MinGW?
« Last Edit: August 26, 2014, 11:18:06 pm by Ceylo »
Want to play movies in your SFML application? Check out sfeMovie!

JohnGreek

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #101 on: August 27, 2014, 02:46:39 am »
Hey Ceylo  :)
I tried with the latest v1.0
I' m on windows 7 64-bit with MinGW 4.8.2

AlexxanderX

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • AlexanderX
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #102 on: August 27, 2014, 12:58:02 pm »
What can I do with:
Quote
terminate called after throwing an instance of 'std::runtime_error'
  what():  Timer::play() - timer playing twice
I tried to separate the other things of my app in a separate thread but still can't separate all. I tried also to put the sfeMovie player into a separated thread but I got errors from XInitThreads. Some tips of what can I do?
Here you can find my blog and tutorials about SFML - http://alexanderx.net/ (died...) - http://web.archive.org/web/20160110002847/http://alexanderx.net/

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #103 on: August 27, 2014, 10:41:45 pm »
I think the fit function is bugged. The fullscreen from the example provided is not working properly:
[...]
This is fixed and merged to the master branch, tell me if everything is ok on your side too :)
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #104 on: August 27, 2014, 10:49:05 pm »
What can I do with:
Quote
terminate called after throwing an instance of 'std::runtime_error'
  what():  Timer::play() - timer playing twice
I tried to separate the other things of my app in a separate thread but still can't separate all. I tried also to put the sfeMovie player into a separated thread but I got errors from XInitThreads. Some tips of what can I do?
Can you give a minimal code to reproduce the problem?
The message shows that play() is called several times, are you sure you play the movie only once?
Want to play movies in your SFML application? Check out sfeMovie!