This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io::prelude::*; | |
use std::process::{Command, Stdio}; | |
fn main() { | |
let mut child = Command::new("ffmpeg") | |
// Overwrite file if it already exists | |
.arg("-y") | |
// Interpret the information from stdin as "raw video" ... | |
.arg("-f") | |
.arg("rawvideo") |
OlderNewer