From 051a5f598dee3443c983dda09491d1f06dff7661 Mon Sep 17 00:00:00 2001 From: timurhai Date: Wed, 8 May 2024 22:14:25 +0300 Subject: [PATCH] makemovie: if dailies has no slate it does not offest sound by 1 frame --- utilities/moviemaker/makemovie.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utilities/moviemaker/makemovie.py b/utilities/moviemaker/makemovie.py index 6ad2c30e6..e2f4306aa 100755 --- a/utilities/moviemaker/makemovie.py +++ b/utilities/moviemaker/makemovie.py @@ -658,7 +658,8 @@ def getImages(inpattern): if Audio is not None and EncType == 'ffmpeg': inputmask += '"' - inputmask += ' -itsoffset %.3f' % ( 1.0 / float(Options.fps)) + if Options.slate is not None: + inputmask += ' -itsoffset %.3f' % ( 1.0 / float(Options.fps)) inputmask += ' -i "%s"' % Audio inputmask += ' -af apad -shortest' inputmask += ' -acodec "%s' % Options.acodec