diff --git a/server/src/modules/schedule-tasks/video-conversion.service.ts b/server/src/modules/schedule-tasks/video-conversion.service.ts index e714476098..d2a1a82a43 100644 --- a/server/src/modules/schedule-tasks/video-conversion.service.ts +++ b/server/src/modules/schedule-tasks/video-conversion.service.ts @@ -24,7 +24,6 @@ export class VideoConversionService { ) { } - // time ffmpeg -i 15065f4a-47ff-4aed-8c3e-c9fcf1840531.mov -crf 35 -preset ultrafast -vcodec libx264 -acodec mp3 -vf "scale=1280:-1" 15065f4a-47ff-4aed-8c3e-c9fcf1840531.mp4 @Cron(CronExpression.EVERY_MINUTE , { name: 'video-encoding' diff --git a/web/src/lib/components/asset-viewer/immich-thumbnail.svelte b/web/src/lib/components/asset-viewer/immich-thumbnail.svelte index 9f5db1a36a..d7fa9ac04c 100644 --- a/web/src/lib/components/asset-viewer/immich-thumbnail.svelte +++ b/web/src/lib/components/asset-viewer/immich-thumbnail.svelte @@ -59,7 +59,14 @@ videoPlayerNode.load(); + videoPlayerNode.onloadeddata = () => { + console.log('first frame load'); + }; + videoPlayerNode.oncanplaythrough = () => { + console.log('can play through'); + }; videoPlayerNode.oncanplay = () => { + console.log('can play'); videoPlayerNode.muted = true; videoPlayerNode.play(); @@ -119,9 +126,8 @@ mouseOver = false; URL.revokeObjectURL(videoData); - if (calculateVideoDurationIntervalHandler) { - clearInterval(calculateVideoDurationIntervalHandler); - } + clearInterval(calculateVideoDurationIntervalHandler); + isThumbnailVideoPlaying = false; videoProgress = '00:00'; }; @@ -197,7 +203,7 @@ {#if mouseOver && asset.type === AssetType.VIDEO}
Storage
+ {#if serverInfoRes} +{serverInfoRes?.diskUse} of {serverInfoRes?.diskSize} used
+ {:else} +Server
+ +{endpoint}
+Status
+ + {#if isServerOk} +Online
+ {:else} +Offline
+ {/if} +Version
+{serverVersion}
+