gpn18 fix audio
This commit is contained in:
parent
93603bf6ec
commit
2c6d6f3cba
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
var comp = app.project.item(3);
|
||||
var comp = app.project.item(4);
|
||||
|
||||
var layer_title = comp.layer('intro_title');
|
||||
var textProp_title = layer_title.property("Source Text");
|
||||
|
|
|
@ -174,7 +174,8 @@ def finalize_job(job_id, event):
|
|||
intermediate_clip = os.path.join(tempdir.name, event_id+'.mov')
|
||||
final_clip = os.path.join(os.path.dirname(args.project), event_id+'.ts')
|
||||
|
||||
run('ffmpeg -y -hide_banner -loglevel error -i "{input}" -ar 48000 -ac 1 -f s16le -i /dev/zero -map 0:v -c:v mpeg2video -q:v 0 -aspect 16:9 -map 1:0 -map 1:0 -map 1:0 -map 1:0 -shortest -f mpegts "{output}"',
|
||||
run('ffmpeg -y -hide_banner -loglevel error -i "{input}" -map 0:v -c:v mpeg2video -q:v 0 -aspect 16:9 -map 0:1 -shortest -f mpegts "{output}"',
|
||||
#run('ffmpeg -y -hide_banner -loglevel error -i "{input}" -ar 48000 -ac 1 -map 0:v -c:v mpeg2video -q:v 0 -aspect 16:9 -map 1:0 -c:a copy -map 2:0 -c:a copy -shortest -f mpegts "{output}"',
|
||||
input=intermediate_clip,
|
||||
output=final_clip)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue