Fixes Issue #2 #4

Merged
dafo5502 merged 59 commits from developer into master 2021-10-25 14:41:37 +02:00
Showing only changes of commit c9051f9e9b - Show all commits

View File

@ -184,7 +184,7 @@ class _Worker:
start = time.time() start = time.time()
(ffmpeg (ffmpeg
.input(demux_file, framerate=25) .input(demux_file, framerate=25)
.filter('scale', height='min(in_h, {}').format(maxheight, width=-2) .filter('scale', height='min(in_h, {}'.format(maxheight), width=-2)
.output(outpath, crf=crf, preset=preset, vsync='vfr', movflags='faststart', pix_fmt='yuv420p') .output(outpath, crf=crf, preset=preset, vsync='vfr', movflags='faststart', pix_fmt='yuv420p')
.run(quiet=quiet)) .run(quiet=quiet))