Skip to content

Commit

Permalink
fix encoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Sep 3, 2024
1 parent 75619e6 commit 25e1bb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion screenpipe-audio/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ async fn run_ffmpeg(
"-c:a",
"aac",
"-b:a",
"128k",
"64k", // Reduced bitrate for higher compression
"-profile:a",
"aac_low", // Use AAC-LC profile for better compatibility
"-movflags",
"+faststart", // Optimize for web streaming
"-f",
"mp4",
output_path.to_str().unwrap(),
Expand Down

0 comments on commit 25e1bb5

Please sign in to comment.