From 58b563ad046cdb09619eda08559462e62d27e3ad Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Sun, 15 Mar 2020 16:28:10 +0100 Subject: [PATCH] revert ffmpeg frame calculation --- pype/plugins/global/publish/extract_review.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 5c40227494..abe3d36758 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -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