commit 9c3367b9431c3335dabfea73439d6bf635e956f0
parent a51d7669245ff613267d9d064cdb51689ec2bd1e
Author: rbckman <rob@tarina.org>
Date: Tue, 18 Jun 2024 04:31:19 +0100
timelapse merge only video otherwise fps is wrong
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -2972,9 +2972,9 @@ def timelapse(beeps,camera,filmname,foldername,filename,between,duration,backlig
for f in files:
if sound == True:
compileshot(f,filmfolder,filmname)
- audiotrim(foldername + 'timelapse/' + filename + '_' + str(n).zfill(3), 'end', '')
+ #audiotrim(foldername + 'timelapse/' + filename + '_' + str(n).zfill(3), 'end', '')
videomerge.append('-cat')
- videomerge.append(f + '.mp4')
+ videomerge.append(f + '.mp4#video')
else:
videomerge.append('-cat')
videomerge.append(f + '.h264')
@@ -3688,7 +3688,7 @@ def renderscene(filmfolder, filmname, scene):
print('renderfix is:'+str(renderfixscene))
# Render if needed
- if videohash != oldvideohash or renderfixscene == True or renderfix == True:
+ if videohash != oldvideohash or renderfixscene == True:
rendervideo(filmfiles, renderfilename, 'scene ' + str(scene))
fastedit(filmfolder, filmname, filmfiles, scene)
print('updating videohash...')