• Home
  • Documents
  • Download
  • Status
  • FAQ
  • Mailing list
  • Applications
  • Links
  • License
  • Volunteer
  • Contacts

FFmpeg Host API



Official FFmpeg site : http://www.ffmpeg.org



Enable FFMPEG module

DEFINEs

If you want to enable FFmpeg module, your C++ compiler must add the following DEFINEs:
FFMPEGLIB
CAUTILITIES
ENABLE_HOST_FFMPEG

Source files

C++ files must include the following two:

  1. CiosAudio/Platforms/Windows/CaFFmpeg.hpp
  2. CiosAudio/Platforms/Windows/CaFFmpeg.cpp

If you are using another platform, such as Android or FreeBSD, just replace Windows into platform name.

Qt

If you are using Qt, in the following file:

CiosAudio/CiosAudio.pri

  1. DEFINES +=FFMPEGLIB
  2. DEFINES += CAUTILITIES

CiosAudio/Platforms/Windows/HostAPIs.pri

Enable the following setting:

HostAPIs += FFMPEG
If you are using another platform, such as Android or FreeBSD, just replace Windows into platform name.

Libraries

Libraries with FFmpeg are actually very complex, please refer to Compiling FFmpeg.