forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

common.rs9 lines, 223 bytesHistoryRawDownload
1use std::process::Command;
2
3/// Whether `ffmpeg -version` runs successfully.
4pub fn have_ffmpeg() -> bool {
5 Command::new("ffmpeg")
6 .arg("-version")
7 .output()
8 .is_ok_and(|o| o.status.success())
9}