use HD resolution

This commit is contained in:
j 2021-11-05 10:25:23 +00:00
parent f550f92f64
commit f8c15e6944
1 changed files with 4 additions and 4 deletions

View File

@ -208,10 +208,10 @@ sequence_template = '''
<video>
<format>
<samplecharacteristics>
<width>720</width>
<height>576</height>
<width>1920</width>
<height>1080</height>
<anamorphic>FALSE</anamorphic>
<pixelaspectratio>PAL-601</pixelaspectratio>
<pixelaspectratio>square</pixelaspectratio>
<fielddominance>none</fielddominance>
<rate>
<ntsc>FALSE</ntsc>
@ -264,7 +264,7 @@ sequence_template = '''
def wrap_text(start, end, text, fontsize=30):
margin = 40
width = 640
width = 1920 - 240
font = os.path.join(base, 'DejaVuSansCondensedBold.ttf')
if not os.path.exists(font):
font = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf'