Update stream capture frame rate to 60 FPS and adjust encoding settings; increase audio bitrate to 256k for better quality.

This commit is contained in:
Nikita
2025-12-21 18:15:28 -08:00
parent 7d24993b08
commit b9927d9807
4 changed files with 41 additions and 18 deletions

View File

@@ -112,9 +112,9 @@ pub async fn start_hls(
"-c:a",
"aac",
"-b:a",
"128k",
"256k",
"-ar",
"44100",
"48000",
// HLS output settings
"-f",
"hls",
@@ -183,9 +183,9 @@ pub async fn start_youtube(
"-c:a",
"aac",
"-b:a",
"128k",
"256k",
"-ar",
"44100",
"48000",
// FLV container for RTMP
"-f",
"flv",
@@ -268,9 +268,9 @@ pub async fn start_youtube_with_filter(
"-c:a".to_string(),
"aac".to_string(),
"-b:a".to_string(),
"128k".to_string(),
"256k".to_string(),
"-ar".to_string(),
"44100".to_string(),
"48000".to_string(),
]);
// Output