Show More
Commit Description:
Various UI improvements.
Commit Description:
Various UI improvements.
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