mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
fix(server): consider all I-frames for video thumbnails (#10471)
nointra instead of nokey
This commit is contained in:
parent
b21572cb32
commit
e58131492d
@ -344,7 +344,7 @@ describe(MediaService.name, () => {
|
||||
'/original/path.ext',
|
||||
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
|
||||
{
|
||||
inputOptions: ['-skip_frame nokey', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
outputOptions: [
|
||||
'-fps_mode vfr',
|
||||
'-frames:v 1',
|
||||
@ -371,7 +371,7 @@ describe(MediaService.name, () => {
|
||||
'/original/path.ext',
|
||||
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
|
||||
{
|
||||
inputOptions: ['-skip_frame nokey', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
outputOptions: [
|
||||
'-fps_mode vfr',
|
||||
'-frames:v 1',
|
||||
@ -400,7 +400,7 @@ describe(MediaService.name, () => {
|
||||
'/original/path.ext',
|
||||
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
|
||||
{
|
||||
inputOptions: ['-skip_frame nokey', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
|
||||
outputOptions: [
|
||||
'-fps_mode vfr',
|
||||
'-frames:v 1',
|
||||
|
@ -384,7 +384,7 @@ export class ThumbnailConfig extends BaseConfig {
|
||||
}
|
||||
|
||||
getBaseInputOptions(): string[] {
|
||||
return ['-skip_frame nokey', '-sws_flags accurate_rnd+full_chroma_int'];
|
||||
return ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'];
|
||||
}
|
||||
|
||||
getBaseOutputOptions() {
|
||||
|
Loading…
Reference in New Issue
Block a user