Show More
Commit Description:
Loads of new ideas, many from thinking about when I'm not coding and some from just now....
Commit Description:
Loads of new ideas, many from thinking about when I'm not coding and some from just now. Note that instead of doing leisure next, I'm doing events next. I honestly might switch back but I have ideas for dialog that fit nicely into a focus on events.
File last commit:
Show/Diff file:
Action:
FNA/lib/FAudio/README.ffmpeg
26 lines | 1.0 KiB | text/plain | TextLexer
FAudio has optional support for decoding xWMA resources using FFmpeg.
Please note that enabling support for FFmpeg means your project has to comply
with the FFmpeg license. For more information please consult the FFmpeg project at
https://www.ffmpeg.org/legal.html
Building with FFmpeg support on *nix platforms
----------------------------------------------
Enable FFmpeg support at cmake configure-time with `-DFFMPEG=ON`.
When enabling FFMpeg support you must also specify
`-DFFmpeg_INCLUDE_DIR=`
with the path to the system's ffmpeg include folder.
Ex.
`-DFFmpeg_INCLUDE_DIR=/usr/include/`
or
`-DFFmpeg_INCLUDE_DIR=/usr/include/ffmpeg/`
Building with FFmpeg support on Windows
---------------------------------------
You'll need to modify the Visual Studio project for FAudio to enable support:
- add HAVE_FFMPEG=1 to preprocessor defines
- add the correct include and lib paths to the VisualC++ directories.
- add avutil.lib and avcodec.lib to the linker input
- add faudio_ffmpeg.c to the sources of the project