larksuite / rsmpeg

A Rust crate that exposes FFmpeg's power as much as possible.
https://docs.rs/rsmpeg/latest/rsmpeg/
MIT License
677 stars 41 forks source link

how to use rsmpeg #191

Closed phial3 closed 2 months ago

phial3 commented 2 months ago

macOS m2 install ffmpeg 7.0 by brew: /opt/homebrew/opt/ffmpeg

in project Cargo.toml

rsmpeg = "0.15"
image
ldm0 commented 2 months ago

Thank's for reporting.

I am unable to reproduce this issue. Could you try importing rsmpeg like this:

rsmpeg = { git = "https://github.com/larksuite/rsmpeg", branch = "master", features = ["ffmpeg7", "link_system_ffmpeg"] }

Let me know if the issue still persists.