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 8275129b59 - Show all commits

View File

@ -176,7 +176,7 @@ class _Worker:
self.logger.debug("%s - Calling ffmpeg", package_id) self.logger.debug("%s - Calling ffmpeg", package_id)
start = time.time() start = time.time()
(ffmpeg (ffmpeg
.input(demux_file, framrate=24, format='concat', safe=0) .input(demux_file, framerate=24, format='concat', safe=0)
.filter('scale', height='min(in_h, {})'.format(maxheight), width=-2) .filter('scale', height='min(in_h, {})'.format(maxheight), width=-2)
.output(outpath, vcodec='libx264', crf=crf, preset=preset, vsync='vfr', movflags='+faststart', pix_fmt='yuv420p', c='copy') .output(outpath, vcodec='libx264', crf=crf, preset=preset, vsync='vfr', movflags='+faststart', pix_fmt='yuv420p', c='copy')
.overwrite_output() .overwrite_output()