Support linking with a subset of FFmpeg using feature flags
@ldm0 ci sta già lavorando.
Dal 29/9/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
My application has no use for some FFmpeg libraries. For example, I don't need to use avdevice because I'm not working with any actual devices - I'm just transcoding media files. So I built FFmpeg without that library. (I am using vcpkg and they offer a feature for each FFmpeg library that you want to build, so I excluded avdevice.)
rust-ffmpeg-sys is a similar type of package offering FFmpeg bindings, and it offers the ability to opt in & out of each library using features: https://github.com/zmwangx/rust-ffmpeg-sys/blob/a13516c4f2183330468f3f5867262a78674f61e0/Cargo.toml#L103-L111
By excluding some features, it reduces the build time for building FFmpeg. And less things for the compiler/linker to deal with: a whole bunch of bindings don't even need to be generated, etc.
My current preference is rsmpeg over ffmpeg_next, but it would be nice if I could build only the subset of FFmpeg that I need.
- Lingua principale
- Rust
- Stelle
- 245
- Fork
- 48
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CCExtractor/rusty_ffmpeg
-
opencv-rust compatability Aperta
CCExtractor/rusty_ffmpeg#130 · 2 commenti · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
CCExtractor/rusty_ffmpeg#120 · 4 commenti ·
-
CCExtractor/rusty_ffmpeg#101 · 4 commenti · 1 assegnatario ·
-
CCExtractor/rusty_ffmpeg#70 · 1 assegnatario ·
Tutte le issue di CCExtractor/rusty_ffmpeg
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug good first issue package: quic
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
`dora trace view` sends a non-canonical full UUID as-is, so a valid trace ID shows "No spans found" Apertacli coordinator rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area: tasks enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Jason-jo17/Polybench#15 · 1 commento ·