mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
fix(server): copy video projection metadata for 360 videos (#12376)
This commit is contained in:
parent
02803816f4
commit
aa0097bde2
@ -1247,6 +1247,7 @@ describe(MediaService.name, () => {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
'-map 0:0',
|
'-map 0:0',
|
||||||
'-map 0:1',
|
'-map 0:1',
|
||||||
|
'-strict unofficial',
|
||||||
'-v verbose',
|
'-v verbose',
|
||||||
'-vf scale=-2:720,format=yuv420p',
|
'-vf scale=-2:720,format=yuv420p',
|
||||||
'-preset 12',
|
'-preset 12',
|
||||||
@ -1372,6 +1373,7 @@ describe(MediaService.name, () => {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
'-map 0:0',
|
'-map 0:0',
|
||||||
'-map 0:1',
|
'-map 0:1',
|
||||||
|
'-strict unofficial',
|
||||||
'-g 256',
|
'-g 256',
|
||||||
'-v verbose',
|
'-v verbose',
|
||||||
'-vf format=nv12,hwupload_cuda,scale_cuda=-2:720',
|
'-vf format=nv12,hwupload_cuda,scale_cuda=-2:720',
|
||||||
@ -1532,6 +1534,7 @@ describe(MediaService.name, () => {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
'-map 0:0',
|
'-map 0:0',
|
||||||
'-map 0:1',
|
'-map 0:1',
|
||||||
|
'-strict unofficial',
|
||||||
'-bf 7',
|
'-bf 7',
|
||||||
'-refs 5',
|
'-refs 5',
|
||||||
'-g 256',
|
'-g 256',
|
||||||
@ -1716,6 +1719,7 @@ describe(MediaService.name, () => {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
'-map 0:0',
|
'-map 0:0',
|
||||||
'-map 0:1',
|
'-map 0:1',
|
||||||
|
'-strict unofficial',
|
||||||
'-g 256',
|
'-g 256',
|
||||||
'-v verbose',
|
'-v verbose',
|
||||||
'-vf format=nv12,hwupload,scale_vaapi=-2:720',
|
'-vf format=nv12,hwupload,scale_vaapi=-2:720',
|
||||||
@ -1913,6 +1917,7 @@ describe(MediaService.name, () => {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
'-map 0:0',
|
'-map 0:0',
|
||||||
'-map 0:1',
|
'-map 0:1',
|
||||||
|
'-strict unofficial',
|
||||||
'-g 256',
|
'-g 256',
|
||||||
'-v verbose',
|
'-v verbose',
|
||||||
'-vf scale_rkrga=-2:720:format=nv12:afbc=1',
|
'-vf scale_rkrga=-2:720:format=nv12:afbc=1',
|
||||||
|
@ -115,6 +115,7 @@ export class BaseConfig implements VideoCodecSWConfig {
|
|||||||
'-fps_mode passthrough',
|
'-fps_mode passthrough',
|
||||||
// explicitly selects the video stream instead of leaving it up to FFmpeg
|
// explicitly selects the video stream instead of leaving it up to FFmpeg
|
||||||
`-map 0:${videoStream.index}`,
|
`-map 0:${videoStream.index}`,
|
||||||
|
'-strict unofficial',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (audioStream) {
|
if (audioStream) {
|
||||||
|
Loading…
Reference in New Issue
Block a user