Fixes Issue #2 #4
@ -176,14 +176,14 @@ class _Worker:
|
|||||||
outpath = os.path.join(outdir, outstream)
|
outpath = os.path.join(outdir, outstream)
|
||||||
self.logger.debug("%s - Building slide video from demux.txt", package_id)
|
self.logger.debug("%s - Building slide video from demux.txt", package_id)
|
||||||
|
|
||||||
|
quiet = True
|
||||||
|
if self.logger.getEffectiveLevel() < logging.INFO:
|
||||||
quiet = False
|
quiet = False
|
||||||
# if self.logger.getEffectiveLevel() < logging.INFO:
|
|
||||||
# quiet = False
|
|
||||||
|
|
||||||
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, framerate=25)
|
.input(demux_file, format='concat', framerate=25)
|
||||||
.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')
|
.output(outpath, vcodec='libx264', crf=crf, preset=preset, vsync='vfr', movflags='+faststart', pix_fmt='yuv420p')
|
||||||
.overwrite_output()
|
.overwrite_output()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user