commit 5862c2538e88139d7634bfbadc0994e80896b0d9
parent 2f9edb823c454fb85b75479c4dfd12eef9235401
Author: rob <rob@tarina.org>
Date: Tue, 29 Aug 2023 15:38:59 +0100
jussåm
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -2698,7 +2698,7 @@ def compileshot(filename,filmfolder,filmname):
#count estimated audio filesize with a bitrate of 320 kb/s
audiosize = countsize(renderfilename + '.wav') * 0.453
os.system('mv ' + renderfilename + '.mp4 ' + renderfilename + '_tmp.mp4')
- p = Popen(['ffmpeg', '-y', '-i', renderfilename + '.wav', '-acodec', 'libmp3lame', '-b:a', '320k', renderfilename + '.mp3'])
+ p = Popen(['ffmpeg', '-y', '-i', filename + '.wav', '-acodec', 'libmp3lame', '-b:a', '320k', renderfilename + '.mp3'])
while p.poll() is None:
time.sleep(0.2)
try: