make-blender: Fix debug mode file format in finalizing
This commit is contained in:
parent
cff5566e90
commit
6d9aa93a4f
1 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
# vim: tabstop=4 shiftwidth=4 expandtab
|
||||
"""
|
||||
Generate intros by rendering a blender project with some text fields replaced by
|
||||
the schedule contents.
|
||||
The blender project must be configured to use mkv/matroska as output file format!
|
||||
"""
|
||||
|
||||
import subprocess
|
||||
import renderlib
|
||||
|
@ -330,8 +335,8 @@ for event in events:
|
|||
intermediate_clip = os.path.join(tempdir.name, event_id + '.avi')
|
||||
final_clip = os.path.join(os.path.dirname(args.project), event_id + '.avi')
|
||||
else:
|
||||
intermediate_clip = os.path.join(tempdir.name, event_id + '.mov')
|
||||
final_clip = os.path.join(os.path.dirname(args.project), event_id + '.mov')
|
||||
intermediate_clip = os.path.join(tempdir.name, event_id + '.mkv')
|
||||
final_clip = os.path.join(os.path.dirname(args.project), event_id + '.mkv')
|
||||
copyfile(intermediate_clip, final_clip)
|
||||
event_print(event, "copied intermediate clip to " + final_clip)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue