mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): video thumbnail generation failing with single i-frame (#10477)
This commit is contained in:
parent
5813dc02d1
commit
968553a50e
2 changed files with 4 additions and 4 deletions
|
|
@ -393,7 +393,7 @@ export class ThumbnailConfig extends BaseConfig {
|
|||
|
||||
getFilterOptions(videoStream: VideoStreamInfo): string[] {
|
||||
const options = [
|
||||
'fps=12:round=up',
|
||||
'fps=12:eof_action=pass:round=down',
|
||||
'thumbnail=12',
|
||||
String.raw`select=gt(scene\,0.1)-eq(prev_selected_n\,n)+isnan(prev_selected_n)+gt(n\,20)`,
|
||||
'trim=end_frame=2',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue