π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: add custom bitrate, framerate for preview compress
Prateek Sunalca08f39a4e61
diff --git a/mobile/lib/services/preview_video_store.dart b/mobile/lib/services/preview_video_store.dartindex c416c04127..69fe6ca398 100644--- a/mobile/lib/services/preview_video_store.dart+++ b/mobile/lib/services/preview_video_store.dart@@ -82,7 +82,9 @@ class PreviewVideoStore {_logger.info('Compressing video ${enteFile.displayName}');final mediaInfo = await VideoCompress.compressVideo(file.path,- quality: VideoQuality.MediumQuality,+ quality: VideoQuality.Res1280x720Quality,+ bitRate: 2000000,+ frameRate: 30,);if (mediaInfo?.path == null) return;_logger.info('CompressionDone ${enteFile.displayName}');diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex e50cb57f04..fb68fddce3 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -186,7 +186,7 @@ dependencies:uuid: ^4.5.0video_compress:git:- url: https://github.com/RmanAkbarzadeh/VideoCompress.git+ url: https://github.com/prateekmedia/VideoCompress-forked.gitvideo_editor:git:url: https://github.com/prateekmedia/video_editor.git