Fixes Issue #2 #4

Merged
dafo5502 merged 59 commits from developer into master 2021-10-25 14:41:37 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit bdb851e088 - Show all commits

View File

@ -68,7 +68,6 @@ class Mediasite:
for slide in data['slides']:
myslide = { 'url': os.path.join(slides_path, self._download(slides_path, slide['url'], session)),
'duration': slide['duration'] }
self.logger.info('MySlide: {}'.format(myslide))
f.write('file \'{}\'\n'.format(myslide['url']))
f.write('duration {}\n'.format(slide['duration']))
mypackage['slides'].append(myslide)

View File

@ -185,7 +185,8 @@ class _Worker:
(ffmpeg
.input(demux_file, framerate=25)
.filter('scale', height='min(in_h, {})'.format(maxheight), width=-2)
.overwrite_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()
.run(quiet=quiet))
runtime = time.time() - start