Skip to content

Commit

Permalink
makemovie: if dailies has no slate it does not offest sound by 1 frame
Browse files Browse the repository at this point in the history
  • Loading branch information
timurhai committed May 8, 2024
1 parent fab7436 commit 051a5f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/moviemaker/makemovie.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 051a5f5

Please sign in to comment.