this repo has no description
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

🚸 Delete output file before starting rendering

ffmpeg doesnt like it when the file already exists, turns out

authored by

Gwenn Le Bihan and committed by
Gwenn Le Bihan
164bf3d9 39ab8c0e

+4
+4
src/video/encoding.rs
··· 216 216 217 217 let output_file: PathBuf = output_file.into(); 218 218 219 + if output_file.exists() { 220 + std::fs::remove_file(&output_file)?; 221 + } 222 + 219 223 create_dir_all(&output_file.parent().unwrap())?; 220 224 221 225 let mut encoder = self.setup_encoder(&output_file)?;