[READ-ONLY] Mirror of https://github.com/mrgnw/spatial-maker.
0

Configure Feed

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

fix: use ffmpeg auto-detect instead of invalid libjpeg encoder for JXL/AVIF/HEIC loading

+1 -1
+1 -1
src/image_loader.rs
··· 198 198 .ok_or_else(|| SpatialError::IoError("Invalid output path".to_string()))?; 199 199 200 200 let output = Command::new("ffmpeg") 201 - .args(&["-i", input_str, "-c:v", "libjpeg", "-q:v", "2", "-y", output_str]) 201 + .args(&["-i", input_str, "-q:v", "2", "-y", output_str]) 202 202 .output() 203 203 .map_err(|e| SpatialError::IoError(format!("Failed to run ffmpeg: {}", e)))?; 204 204