fix aspect ratio
This commit is contained in:
parent
85dfd7043d
commit
96466c203b
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def render(infile, outfile, sequence, parameters={}, workdir='artwork'):
|
||||||
|
|
||||||
# invoke avconv aka ffmpeg and renerate a lossles-dv from the frames
|
# invoke avconv aka ffmpeg and renerate a lossles-dv from the frames
|
||||||
# if we're not in debug-mode, suppress all output
|
# if we're not in debug-mode, suppress all output
|
||||||
os.system('cd {0} && avconv -ar 48000 -ac 2 -f s16le -i /dev/zero -f image2 -i .frames/%04d.png -target pal-dv -shortest "{1}"'.format(workdir, outfile) + ('' if debug else '>/dev/null 2>&1'))
|
os.system('cd {0} && avconv -ar 48000 -ac 2 -f s16le -i /dev/zero -f image2 -i .frames/%04d.png -target pal-dv -aspect 16:9 -shortest "{1}"'.format(workdir, outfile) + ('' if debug else '>/dev/null 2>&1'))
|
||||||
|
|
||||||
# as before, in non-debug-mode the thread-worker does all progress messages
|
# as before, in non-debug-mode the thread-worker does all progress messages
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Add table
Reference in a new issue