mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
name probesize and duration to max_int
This commit is contained in:
parent
c50cab558c
commit
d992935468
1 changed files with 5 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
from urllib.parse import MAX_CACHE_SIZE
|
||||
|
||||
import pyblish.api
|
||||
from openpype.pipeline import (
|
||||
|
|
@ -131,6 +132,10 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
jpeg_items.append(path_to_subprocess_arg(ffmpeg_path))
|
||||
# override file if already exists
|
||||
jpeg_items.append("-y")
|
||||
# flag for large file sizes
|
||||
max_int = 2147483647
|
||||
jpeg_items.append("-analyzeduration {}".format(max_int))
|
||||
jpeg_items.append("-probesize {}".format(max_int))
|
||||
# use same input args like with mov
|
||||
jpeg_items.extend(ffmpeg_args.get("input") or [])
|
||||
# input file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue