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

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

0 Members and 1 Guest are viewing this topic.

Demir

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #60 on: September 30, 2013, 08:37:34 am »
Hello

I think it should be "width, height" instead of "x + width, y+height)

void Movie::resizeToFrame(int x, int y, int width, int height, bool preserveRatio)
{
        resizeToFrame(sf::IntRect(x, y, x + width, y + height), preserveRatio);
}

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #61 on: September 30, 2013, 08:59:44 am »
Oh yes you're absolutely right! That's fixed.
It's been written when sf::Rect was defined as a {left, top, right, bottom} structure.

Thanks :)
Want to play movies in your SFML application? Check out sfeMovie!

Aldo_MX

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #62 on: December 04, 2013, 09:38:40 pm »
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...
What kind of help do you need?

I have checked the source briefly but I couldn't find support to load a movie from a sf::InputStream, so I can help you to add this feature.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #63 on: December 05, 2013, 04:35:21 pm »
Hello Aldo_MX,

sf::InputStream isn't the easiest feature I would think of, but it's up to you :) Planned tasks are listed here : https://github.com/Yalir/sfeMovie/issues so as you can see there are many different possible improvements depending on your taste, such as subtitles, seeking, etc. As for sf::InputStream, it's not listed but it's welcome too, although there are investigations to do on the topic: if the input stream is a network one, do you want to support RTSP for example?

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

konig

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #64 on: April 08, 2014, 11:58:24 pm »
Is sfeMovie compatible with sfml 2.1?

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #65 on: April 09, 2014, 08:17:34 am »
Yes, it is :)
Want to play movies in your SFML application? Check out sfeMovie!

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released]
« Reply #66 on: April 09, 2014, 08:45:36 am »
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.

A page fault is (usually) not an error in the application.
Page faults are simply signals from the hardware that the application accessed a page that is not currently in memory. The OS will then bring that page into memory from the executable file, library etc (or from swap if it was swapped out). Perfectly normal.

Maybe read this:
http://en.m.wikipedia.org/wiki/Page_fault
« Last Edit: April 09, 2014, 08:48:24 am by Jesper Juhl »

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #67 on: May 02, 2014, 08:05:36 pm »
I got an error when i did ./build.sh windows

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #68 on: May 02, 2014, 10:23:02 pm »
You need to provide more information that just the screenshot.

What's your OS, what compiler do you use, etc?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #69 on: May 02, 2014, 11:25:18 pm »
I use Windows  7 Home Premium, and Visual Studio 2010

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #70 on: May 02, 2014, 11:41:43 pm »
i followed the directions here
http://lucas.soltic.etu.p.luminy.univmed.fr/sfeMovie/start.php
when i got to this line
within the command line interpreter, go to the directory where you downloaded sfeMovie through the "cd" command, type "./build.sh windows" and return
The output in the picture i posted earlier is what happened

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #71 on: May 03, 2014, 02:13:24 am »
Something looks wrong with GCC, as stated in your screenshot "gcc is unable to create an executable file". You should have try a compile a sample program with GCC to check what's going on.
Want to play movies in your SFML application? Check out sfeMovie!

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #72 on: May 03, 2014, 05:20:00 pm »
hmm so i tried to compile a simple program. helloWorld.cpp is just a simple hello world program.
Attempt 1:
                    g++ helloWorld.cpp -o helloworld.exe
Result 1:
                    sh: g++: command not found

Attempt 2:
                    gcc helloWorld.cpp -o helloworld.exe
Result 2:
                    sh: gcc: command not found

What could I have done or be doing wrong? Any ideas?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #73 on: May 03, 2014, 06:42:56 pm »
Simple: It can't find GCC/GCC is not in PATH. Add it and it might work.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dixondean25

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: sfeMovie Project [v1.0 released] [looking for developers]
« Reply #74 on: May 03, 2014, 10:20:13 pm »
Alright i got MinGW to run a simple helloWorld program after adding it to my path.
So i went back to the steps here http://lucas.soltic.etu.p.luminy.univmed.fr/sfeMovie/start.php
and redid the "./build.sh windows" step.
It went past where it got errors last time, but now it seems stuck maybe I'm not sure. I also got some warnings. I'm not sure how long it's supposed to take or when I will know it has finished. But it's been like this(see picture) for a while now.

 

anything