From 62e55f3db9ff1cdaedb663c448a45cb1cb6d19d6 Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Sun, 20 Oct 2024 11:15:50 -0400 Subject: [PATCH] fix(server): Revert "fix(server): copy video projection metadata for 360 videos (#12376)" (#13611) Revert "fix(server): copy video projection metadata for 360 videos (#12376)" This reverts commit aa0097bde2cca98dc66db25e58ec5c1c1212ccfb. --- server/src/services/media.service.spec.ts | 5 ----- server/src/utils/media.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/server/src/services/media.service.spec.ts b/server/src/services/media.service.spec.ts index b633ed902c..afd21ee9e9 100644 --- a/server/src/services/media.service.spec.ts +++ b/server/src/services/media.service.spec.ts @@ -1327,7 +1327,6 @@ describe(MediaService.name, () => { '-fps_mode passthrough', '-map 0:0', '-map 0:1', - '-strict unofficial', '-v verbose', '-vf scale=-2:720,format=yuv420p', '-preset 12', @@ -1453,7 +1452,6 @@ describe(MediaService.name, () => { '-fps_mode passthrough', '-map 0:0', '-map 0:1', - '-strict unofficial', '-g 256', '-v verbose', '-vf format=nv12,hwupload_cuda,scale_cuda=-2:720', @@ -1614,7 +1612,6 @@ describe(MediaService.name, () => { '-fps_mode passthrough', '-map 0:0', '-map 0:1', - '-strict unofficial', '-bf 7', '-refs 5', '-g 256', @@ -1800,7 +1797,6 @@ describe(MediaService.name, () => { '-fps_mode passthrough', '-map 0:0', '-map 0:1', - '-strict unofficial', '-g 256', '-v verbose', '-vf format=nv12,hwupload,scale_vaapi=-2:720:mode=hq:out_range=pc', @@ -2071,7 +2067,6 @@ describe(MediaService.name, () => { '-fps_mode passthrough', '-map 0:0', '-map 0:1', - '-strict unofficial', '-g 256', '-v verbose', '-vf scale_rkrga=-2:720:format=nv12:afbc=1', diff --git a/server/src/utils/media.ts b/server/src/utils/media.ts index 55f92d109a..03d57296d8 100644 --- a/server/src/utils/media.ts +++ b/server/src/utils/media.ts @@ -118,7 +118,6 @@ export class BaseConfig implements VideoCodecSWConfig { '-fps_mode passthrough', // explicitly selects the video stream instead of leaving it up to FFmpeg `-map 0:${videoStream.index}`, - '-strict unofficial', ]; if (audioStream) {