Hey,
I've been struggling with sfeMovie for the last few days and was hoping that someone may be able to offer some help.
I am using the downloadable builds of the library from
here. Specifically the Windows (Visual Studio 2013) Debug and Release for Free decoders (although the issue happens with the All Decoders as well).
When I call the .play() function it causes the program crash. This is with both my program and the sample program. The dubug throws:
Debug: ..\src\AudioStream.cpp:171 sfe::AudioStream::onGetData() - No more audio packets, do not go further
into the console after the call to .play() . I was attempting to play small_1.ogv for the sample program.
I am using:
Visual Studio 2013
SFML 2.2
Dynamically linking to: sfeMovie.lib;sfml-audio.lib;sfml-graphics.lib;sfml-window.lib;sfml-system.lib
with all the .dll copied into the run directory.
I feel like it's me doing something stupid or other people would probably be bringing this up too.
Also tried to build sfeMovie myself to see if that would work but keep getting the error
2> make: *** [libavutil/file.o] Error 1
2> *** an error occured, aborting.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
resulting in
3>LINK : fatal error LNK1104: cannot open file 'FFmpeg-binaries\lib\avformat.lib'
but that's almost certainly me. Was following the
Getting Started notes in Visual Studio 2013.
Any help would be gratefully appreciated.