Description

FFmpeg Bindings

Package Information

Version2.5.1 (2016-Sep-18)
Repositoryhttps://github.com/ljubobratovicrelja/ffmpeg-d
LicenseLGPL-2.1
CopyrightCopyright © 2013
AuthorsSumit Raja, donglei, Relja Ljubobratovic
Registered byRelja Ljubobratovic
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

FFmpeg API

Join the chat at https://gitter.im/ljubobratovicrelja/ffmpeg-d Dub package

This is a D port of the FFmpeg C headers. Please check FFmpeg website for more information on the application and libraries

Usage

The main configuration of the project is set up as a source library. Linking to FFmpeg libraries is defined in the dub.json. If FFmpeg libraries are not visible in your build system, provide the library directory with `ldflags` argument in your project's configuration as:

"lflags": ["-L/path/to/ffmpegLibs"],

The other two configurations - `posix-test-executable and windows-test-executable`, build an executable (in Posix and Windows environments) that prints the associated library versions. This is useful for checking the versions expected by this binding and the actual library.

OS X

It is noted that FFmpeg compiled on OS X with clang fails linking with DMD. Workaround is to install the FFmpeg libraries using Homebrew. See the issue #1 for more info.

FFmpeg Version

Currently the library is tested with FFmpeg 2.7.6 and 2.8.0 libraries. Newer versions should be tested in future. If you've already tested this library with newer FFmpeg, please let us know in the gitter chat room!

Contributing

Any contribution is most welcome! Also, any feedback is very valuable - please give us a hint about the system your using this library on, and the version of the FFmpeg libraries your linking to your program, so other people could know what configuration will work for them!

License

This library is licensed under LGPL v2.1 license, as are most files in the FFmpeg libraries. Any use of this library also follows license rules of the original FFmpeg library. For additional info refer to the FFmpeg license file

Available versions

2.5.1 2.5.0 2.4.3 2.4.3-swscale ~master ~nogc-nothrow-patch