ffmpeg-d 4.4.1
FFmpeg Bindings
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
FFmpeg API
This is a D port of the FFmpeg C headers. Please check FFmpeg website for more information on the application and libraries
Usage
NOTE: This branch is compatible with ffmpeg 3.1.x, for other versions please see the other branches for usage information.
Adding to DUB
To include ffmpeg-d
in your dub project add the following dependency to your dub.json file.
"ffmpeg-d": "~>3.1.0"
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"],
Examples
There are a few examples in the examples directory, these can be compiled to working executables using DUB:
dub build -c remux_example
Other examples written in C can be found on the main FFMpeg site: https://www.ffmpeg.org/doxygen/3.1/examples.html
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 has been tested with FFmpeg 2.7.6, 2.8.0, 3.0.9, 3.1.10 libraries.
Please use the branch of this repo that corresponds to the same major.minor version of FFmpeg. For example use release/3.1
with FFmpeg 3.1.10.
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
- 4.4.1 released a year ago
- ljubobratovicrelja/ffmpeg-d
- LGPL-2.1
- Copyright © 2013
- Authors:
- Dependencies:
- none
- Versions:
-
4.4.1 2023-Apr-04 3.1.1 2018-Feb-14 3.1.0 2017-Sep-10 3.0.0 2017-Aug-26 2.5.1 2016-Sep-18 - Download Stats:
-
-
0 downloads today
-
1 downloads this week
-
1 downloads this month
-
1677 downloads total
-
- Score:
- 1.9
- Short URL:
- ffmpeg-d.dub.pm