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

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

0 Members and 1 Guest are viewing this topic.

Haikarainen

  • Guest
Re: sfeMovie Project [v1.0 released]
« Reply #45 on: March 08, 2013, 12:11:49 pm »
even more because of git
What do you mean?

Add a global linenormalization option

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #46 on: March 08, 2013, 05:06:47 pm »
Add a global linenormalization option
Is the issue because you get LF line ending instead of CRLF or the opposite?
Which line ending works and which doesn't? I'm asking this because according to my tests both work on Windows.
Want to play movies in your SFML application? Check out sfeMovie!

Haikarainen

  • Guest
Re: sfeMovie Project [v1.0 released]
« Reply #47 on: March 08, 2013, 06:58:57 pm »
Add a global linenormalization option
Is the issue because you get LF line ending instead of CRLF or the opposite?
Which line ending works and which doesn't? I'm asking this because according to my tests both work on Windows.

I cant remember, it worked with MinGW-GCC 4.7, but not with MinGW-GCC 4.6. It was in the ffmpeg-build-process IIRC

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #48 on: March 17, 2013, 09:44:07 am »
Ok. Saved on the issue tracker, I remember I had had this issue too. However I'm somewhat busy at the moment so it'll have to wait a bit more.
Want to play movies in your SFML application? Check out sfeMovie!

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Re: sfeMovie Project [v1.0 released]
« Reply #49 on: April 07, 2013, 04:13:23 pm »
Hey Ceylo

I got the binaries from the project website, for Windows x86, and the demo code. It compiles OK, but when I run the demo program, I get this: Unhandled exception at 0x6d4e2684 in sfeMovieTest.exe: 0xC0000005: Access violation writing location 0x60a7c7ec.

It occurs inside the line:

if (!movie.openFromFile(MOVIE_FILE))

Do you know why this might be?

Also, does FLV video work without recompiling sfeMovie??

Thanks
Ed

UPDATE: I fixed this - forgot it was only for Release builds at the moment. Debug (and static linked) builds would be VERY useful ;)
« Last Edit: April 07, 2013, 04:18:25 pm by slotdev »
SFML 2.1

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #50 on: April 07, 2013, 10:00:46 pm »
Hello slotdev,

FLV is only a container. And it used with H264 and VP6 video codecs and PCM and MP3 video codec. And these codecs are not enabled in the free builds, so yes you'll have to rebuild sfeMovie.

As for you issue, I'm glad it was only about release/debug :) . Yes debug and then static (if possible) builds will come as soon as the CMake directed build system is ready.
Want to play movies in your SFML application? Check out sfeMovie!

Demir

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #51 on: May 11, 2013, 01:09:15 pm »
Hello

I'm trying to learn SFML with your nice player.

My question is aboult "Page Faults".

I examine memory and cpu usage in Windows Task Manager while the player is running. Page faults value increase 30.000 per seconds approximately.

I dont know it is a real problem or not. (may be it is spesific for my machine)

Thanks.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #52 on: May 11, 2013, 02:31:26 pm »
Hello Demir,

I don't know. Page faults are related to virtual memory management by your OS. It can either mean that you don't have enough memory, or that your OS uses too much of it, or badly manages it, or something else. Anyway I don't think you should worry about this.

Ceylo
Want to play movies in your SFML application? Check out sfeMovie!

Demir

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #53 on: May 11, 2013, 03:26:39 pm »
Thank you Ceylo.

I wonder if anybody tested to play some movies (with different formats) sequentially ( following one after another ) during hours or wole (all) day.

to test this I use Stopped status.

if (movie3.getStatus() == sfe::Movie::Stopped) {
    movie3.stop();
    movie3.play();
}

Demir

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #54 on: May 11, 2013, 03:34:36 pm »
I indeed remember that a user had been playing a movie repeatedly for a whole day without any issue, with more or less the same code as the one you're showing.
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]
« Reply #55 on: May 17, 2013, 03:06:26 pm »
To Visual Studio 2012 users: a new binary package is now available for this IDE on sfeMovie's website.
Want to play movies in your SFML application? Check out sfeMovie!

firefly2442

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: sfeMovie Project [v1.0 released]
« Reply #56 on: June 01, 2013, 04:59:49 am »
Any consideration of changing the license to LGPL to allow linking to the library?  This would match a little more closely with SFML, the dependencies of SFML, ffmpeg, etc...

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #57 on: June 01, 2013, 11:07:47 am »
What do you mean? sfeMovie is already covered by LGPL so I don't understand what you want...
Want to play movies in your SFML application? Check out sfeMovie!

firefly2442

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: sfeMovie Project [v1.0 released]
« Reply #58 on: June 01, 2013, 11:45:29 pm »
Ahh, my apologies, I must have been looking at something else.  Mea culpa. :)

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #59 on: September 12, 2013, 03:23:36 pm »
Hi! :)

A few words to let you know what's going on here. Much progress has been done since 1.0 has been released (mostly very recent work), especially the new build system is ready so you do no more need do deal with a script or a terminal to build sfeMovie.

The second point is.. I'm looking for people to help on the project! There are already a few people helping, and I'm really grateful to them. However I would like this project to move forward even quicker! So in case you feel like doing so...

To give you an idea of what's left to be done (yes, you're gonna be afraid), I invite you to have a look at the task list.

Basically there is work for all tastes. I tried to tag tasks the best I could so that you can very quickly find out the task that match your interests.

Soo, whatever your favorite OS and IDE are, should you prefer CMake, C or C++, there are tasks you can help on! (just filter the task list with the tag you're interested in)
Of course I'm here to help you and explain to you everything you want to know about everything (ok maybe not exactly everything, but.. you get the picture ;D) so that you don't get stuck and aren't frustrated.

As for skills, I'd say you'll need to know how to work with at least one existing version control system and you should know at least one of the following areas: CMake, C++, OS libraries architecture, FFmpeg, threads…).

The final purpose is of course learning and spending nice times working together :)

Ceylo
Want to play movies in your SFML application? Check out sfeMovie!

 

anything