Skip to content

loudbirds/ffmpeg-d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"],

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.

Testing

Running D unit tests with dub:

dub test

... will print the associated FFmpeg library versions. This is useful for checking versions expected by this binding and the actual library.

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

About

D port of the FFmpeg C headers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • D 100.0%