mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
fix(server): consider all I-frames for video thumbnails (#10471)
nointra instead of nokey
This commit is contained in:
parent
b21572cb32
commit
e58131492d
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue