rust-ffmpeg-sys icon indicating copy to clipboard operation
rust-ffmpeg-sys copied to clipboard

FFmpeg bindings for Rust.

Results 45 rust-ffmpeg-sys issues
Sort by recently updated
recently updated
newest added

This PR adds support for FFI functions related to CUDA in FFmpeg. I can also move this behind a feature if necessary?

Cross-compilation was assuming a setup typical for Linux. Cross-compilation from ARM macOS to Intel macOS has its own quirky requirements, because it uses the same system-global compiler, but needs different...

I was unable to compile on windows, I managed to fix this by explicitly telling clang the target triple. Similar situation: libui-rs/libui/pull/7

The configure script wants this, otherwise it won't configure itself properly for cross-compilation on all platforms.

`cfg!()` evaluates host on which build.rs runs, not the platform the code is being compiled for. It's invalid for cross-compilation.

This PR adds link libraries which are necessary for static build. This PR fixes error shown below: ``` note: avcodec.lib(mfenc.o) : error LNK2001: 无法解析的外部符号 IID_ICodecAPI avcodec.lib(mfenc.o) : error LNK2001: 无法解析的外部符号...

The bitstreamfilters have moved in ffmpeg 5 to a separate header. This PR adds that header (conditionally on ffmpeg 5+) to the bindings.