π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Start sculpting
Manav Rathi3871a538ab17
diff --git a/desktop/src/main/services/ffmpeg.ts b/desktop/src/main/services/ffmpeg.tsindex 6fc99d85f6..013e15c532 100644--- a/desktop/src/main/services/ffmpeg.ts+++ b/desktop/src/main/services/ffmpeg.ts@@ -194,12 +194,12 @@ export const ffmpegGenerateHLSPlaylistAndSegments = async (// where ffmpeg should read the key.const keyInfo = [keyURI, keyPath].join("\n");- // Current parameters+ // Overview:+ //+ // - H.264 720p 30fps video 2000kbps.+ // - AAC audio 128kbps.+ // - Encrypted HLS playlist with a single file containing all the chunks.//- // - H264- // - 720p width- // - 2000kbps bitrate- // - 30fps frame rateconst command = [ffmpegBinaryPath(),@@ -218,18 +218,19 @@ export const ffmpegGenerateHLSPlaylistAndSegments = async (// `-r 30` sets the frame rate to 30 fps."-r","30",- // `-c:v libx264` sets the codec for the video stream to H264.- "-c:v",- "libx264",+ */+ // Video codec H.264 2000kbps+ //+ // `-c:v libx264` sets the codec for the video stream to H.264.+ //// `-b:v 2000k` sets the bitrate for the video stream.- "-b:v",- "2000k",+ ["-c:v", "libx264", "-b:v", "2000k"],+ // Audio codec AAC+ //// `-c:a aac -b:a 128k` converts the audio stream to 128k bit AAC.- "-c:a",- "aac",- "-b:a",- "128k",- */+ //+ // - 128 is the default, we specify it anyway.+ ["-c:a", "aac", "-b:a", "128k"],// Generate a HLS playlist.["-f", "hls"],// Place all the video segments within the same .ts file (with the same