Unstar
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user