font
This commit is contained in:
parent
490ec82c17
commit
135861e9d7
2 changed files with 5 additions and 4 deletions
|
@ -19,16 +19,17 @@ for xml in glob('output/*/*.xml'):
|
||||||
subprocess.call([
|
subprocess.call([
|
||||||
'qmelt', audio_xml, '-consumer', 'avformat:' + audio,
|
'qmelt', audio_xml, '-consumer', 'avformat:' + audio,
|
||||||
])
|
])
|
||||||
subprocess.call([
|
cmd = [
|
||||||
'ffmpeg', '-y',
|
'ffmpeg', '-y',
|
||||||
'-i', video,
|
'-i', video,
|
||||||
'-i', audio,
|
'-i', audio,
|
||||||
'-c:v', 'copy',
|
|
||||||
'-map', '0:v',
|
'-map', '0:v',
|
||||||
'-map', '1:a',
|
'-map', '1:a',
|
||||||
|
'-c:v', 'copy',
|
||||||
'-strict', '-2',
|
'-strict', '-2',
|
||||||
pre
|
pre
|
||||||
])
|
]
|
||||||
|
subprocess.call(cmd)
|
||||||
os.unlink(video)
|
os.unlink(video)
|
||||||
os.unlink(audio)
|
os.unlink(audio)
|
||||||
shutil.move(pre, mp4)
|
shutil.move(pre, mp4)
|
||||||
|
|
|
@ -15,7 +15,7 @@ body {
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Roboto Medium';
|
font-family: 'Roboto Medium';
|
||||||
src: url(../ttf/Roboto-Medium.ttf);
|
src: url(../../ttf/Roboto-Medium.ttf);
|
||||||
}
|
}
|
||||||
#text {
|
#text {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
Loading…
Reference in a new issue