mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
fix(server): copy video projection metadata for 360 videos (#12376)
This commit is contained in:
parent
02803816f4
commit
aa0097bde2
2 changed files with 6 additions and 0 deletions
|
@ -1247,6 +1247,7 @@ describe(MediaService.name, () => {
|
|||
'-fps_mode passthrough',
|
||||
'-map 0:0',
|
||||
'-map 0:1',
|
||||
'-strict unofficial',
|
||||
'-v verbose',
|
||||
'-vf scale=-2:720,format=yuv420p',
|
||||
'-preset 12',
|
||||
|
@ -1372,6 +1373,7 @@ 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',
|
||||
|
@ -1532,6 +1534,7 @@ describe(MediaService.name, () => {
|
|||
'-fps_mode passthrough',
|
||||
'-map 0:0',
|
||||
'-map 0:1',
|
||||
'-strict unofficial',
|
||||
'-bf 7',
|
||||
'-refs 5',
|
||||
'-g 256',
|
||||
|
@ -1716,6 +1719,7 @@ 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',
|
||||
|
@ -1913,6 +1917,7 @@ 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',
|
||||
|
|
|
@ -115,6 +115,7 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue