Yalir / sfeMovie

sfeMovie is a simple C++ library that lets you play movies in SFML based applications. It relies on FFmpeg to read medias and remains consistent with SFML's naming conventions.
http://sfemovie.yalir.org/
GNU Lesser General Public License v2.1
114 stars 37 forks source link

Be able to build sfeMovie against FFmpeg binaries provided by package managers #66

Open Ceylo opened 9 years ago

Ceylo commented 9 years ago

This especially targets Linux although it may apply to the other OSs in some way.

To be supported:

Depending on what we find, we may need to bring fixes to the current sources. It must not become boilerplate code with too many conditional compilation blocks though.

CMake scripts shouldn't need to be modified as they're already able to find system FFmpeg binaries (and if in some case they don't, that's a bug to report).

bluekirby0 commented 9 years ago

With Debian you have to be more specific than latest as that could refer to any of "stable" "testing" or "sid" distributions.

If stable there is also the problem of backports from testing. Ffmpeg is notorious for api deprecations so supporting a wide range of ffmpeg versions can quickly turn ugly.

Ceylo commented 9 years ago

hmmm I suppose you got too fast after I created the issue, I've edited it right away to specify stable. Yeah that may be an issue, especially considering that FFmpeg may not exist on stable yet, only on testing. I don't remember if that applies to Debian or Ubuntu though.

And yeah of course the stable will new to be recent enough if this it what you mean.

Ceylo commented 9 years ago

Ah I guess I got the last part: no I don't want to support too old versions of FFmpeg (ie. ones that don't immediately build with our sources).

notklaatu commented 9 years ago

For what it's worth, I built this against my own personal compiles of ffmpeg 2.1.1 and it works, so far, great.

Ceylo commented 9 years ago

Hey thanks good to know :)