BB FlashBack SDK: Base Classes

Recording to MP4/H264


MP4/H264 recording is only available in the Pro and Advanced editions of the SDK
 

 

The FlashBack SDK can use OpenH264 to record to MP4/H264 format files instead of FBR format.

To record to H264 encoded video in an MP4 container:

  1. Set FBRecorder::OutputFileFormat to 1

  2. Set FBRecorder::OpenH264Config to the path of welsenc.cfg and welslayer.cfg. They must be in the same folder. These files are included in the SDK installation.

  3. Have your application download the archive at http://ciscobinary.openh264.org/openh264-1.2.0-win32msvc.dll.bz2

    Rename the file extracted from the archive to welsenc.dll and copy it to the same folder as your application executable.

    If you download the DLL from the above URL, Cisco will be responsible for royalties payable on H264 video generated by your application. If you do not download the DLL but instead include it in your application installation, then you are liable for H264 royalties levied by MPEG LA. Some more about this: http://www.openh264.org/faq.html
     

  4. Include these files in the same folder as your application executable (or set the PATH environment variable to point to their folder). They are included in the SDK installation.

    OpenH264Lib.dll
    LibAVEncoder.dll
    libiomp5md.dll
    BBIPP.dll
    avcodec-52.dll
    avcore-0.dll
    avformat-52.dll
    avutil-50.dll
    libmfxaudiosw32.dll
    libx264-128.dll
    swscale-0.dll

MP4 files recorded by the SDK do not include a cursor image.

MP4 files can not be played and edited by FlashBack SDK classes.