use HD resolution
This commit is contained in:
parent
f550f92f64
commit
f8c15e6944
1 changed files with 4 additions and 4 deletions
|
@ -208,10 +208,10 @@ sequence_template = '''
|
||||||
<video>
|
<video>
|
||||||
<format>
|
<format>
|
||||||
<samplecharacteristics>
|
<samplecharacteristics>
|
||||||
<width>720</width>
|
<width>1920</width>
|
||||||
<height>576</height>
|
<height>1080</height>
|
||||||
<anamorphic>FALSE</anamorphic>
|
<anamorphic>FALSE</anamorphic>
|
||||||
<pixelaspectratio>PAL-601</pixelaspectratio>
|
<pixelaspectratio>square</pixelaspectratio>
|
||||||
<fielddominance>none</fielddominance>
|
<fielddominance>none</fielddominance>
|
||||||
<rate>
|
<rate>
|
||||||
<ntsc>FALSE</ntsc>
|
<ntsc>FALSE</ntsc>
|
||||||
|
@ -264,7 +264,7 @@ sequence_template = '''
|
||||||
|
|
||||||
def wrap_text(start, end, text, fontsize=30):
|
def wrap_text(start, end, text, fontsize=30):
|
||||||
margin = 40
|
margin = 40
|
||||||
width = 640
|
width = 1920 - 240
|
||||||
font = os.path.join(base, 'DejaVuSansCondensedBold.ttf')
|
font = os.path.join(base, 'DejaVuSansCondensedBold.ttf')
|
||||||
if not os.path.exists(font):
|
if not os.path.exists(font):
|
||||||
font = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf'
|
font = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf'
|
||||||
|
|
Loading…
Reference in a new issue