Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Unstar

Manav Rathi9c4c692c31fe
diff --git a/web/apps/photos/src/services/upload/upload-service.ts b/web/apps/photos/src/services/upload/upload-service.ts
index 28aa08039c..603ee11f91 100644
--- a/web/apps/photos/src/services/upload/upload-service.ts
+++ b/web/apps/photos/src/services/upload/upload-service.ts
@@ -28,7 +28,7 @@ import type {
import { FileType, type FileTypeInfo } from "@/media/file-type";
import { encodeLivePhoto } from "@/media/live-photo";
import { extractExif } from "@/new/photos/services/exif";
-import * as ffmpeg from "@/new/photos/services/ffmpeg";
+import { extractVideoMetadata } from "@/new/photos/services/ffmpeg";
import {
getNonEmptyMagicMetadataProps,
updateMagicMetadata,
@@ -1077,7 +1077,7 @@ const tryExtractImageMetadata = async (
const tryExtractVideoMetadata = async (uploadItem: UploadItem) => {
try {
- return await ffmpeg.extractVideoMetadata(uploadItem);
+ return await extractVideoMetadata(uploadItem);
} catch (e) {
log.error(`Failed to extract video metadata for ${uploadItem}`, e);
return undefined;
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index 35d2509e6a..e04f1d1231 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -168,8 +168,8 @@ For more details, see [translations.md](translations.md).
- [ffmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) is used to run
FFmpeg in the browser using WASM. Note that this is substantially slower
- than native ffmpeg, which is why we still recommend customers to use the
- desktop app (since it can bundle a native ffmpeg implementation too).
+ than native ffmpeg (the desktop app can, and does, bundle the faster native
+ ffmpeg implementation too).
- [ExifReader](https://github.com/mattiasw/ExifReader) is used for Exif
parsing.