Skip to content

Conversation

@sakgoyal
Copy link

@sakgoyal sakgoyal commented Aug 22, 2025

@sakgoyal
Copy link
Author

instead of using the generate_ffi.sh script, use the bindgen cli to directly generate it. this makes the generation cross platform (with workarounds for pkgconfig on windows) .

it also makes sure it stays in sync with the OS (windows/unix generate different bindings).

this also removes the need for separate ffi_ffmpeg-xxxx.rs. it will automatically generate the file depending on the installed version.

@sakgoyal
Copy link
Author

for now it assumes it's installed in c:/ffmpeg on windows. you could probably change it. but I don't want to deal with searching for that file.

@sakgoyal sakgoyal marked this pull request as ready for review September 18, 2025 23:19
@sakgoyal
Copy link
Author

sakgoyal commented Sep 22, 2025

@izderadicka can you review this please?

Generate cross platform FFI for ffmpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant