mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
revert ffmpeg frame calculation
This commit is contained in:
parent
317c25a7c5
commit
58b563ad04
1 changed files with 2 additions and 6 deletions
|
|
@ -183,12 +183,8 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
frame_start_handle, fps))
|
||||
else:
|
||||
if no_handles:
|
||||
# start_sec = float(handle_start) / fps
|
||||
input_args.append(
|
||||
"-start_number {0} -framerate {1}".format(
|
||||
handle_start, fps
|
||||
)
|
||||
)
|
||||
start_sec = float(handle_start) / fps
|
||||
input_args.append("-ss {:0.2f}".format(start_sec))
|
||||
frame_start_handle = frame_start
|
||||
frame_end_handle = frame_end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue