Fixes Issue #2 #4
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user