zmwangx / rust-ffmpeg-sys

FFmpeg bindings for Rust.
113 stars 75 forks source link

AvChannelLayout not defined error when compiling with vcpkg's ffmpeg #51

Open prateekmedia opened 1 year ago

prateekmedia commented 1 year ago

I tried to build ccextractor using this and vcpkg ffmpeg but AvChannelLayout not found error came, I saw that v5.1.1 has some channel_layout_fixed.h header but this doesn't get applied there.

Build log: https://github.com/prateekmedia/ccextractor/actions/runs/4353700288/jobs/7608789114

prateekmedia commented 1 year ago

@Polochon-street can you look at this please, I think channel-layout.h fix is not being applied on the vcpkg ffmpeg. Edit: I checked the channel layout fixed header file doesn't have AVChannelLayout declaration, maybe that's why it is having an issue?

prateekmedia commented 1 year ago

Also just a suggestion, it would be better if we have a new CI for windows to test the flow and also to give an example on windows.