def post_processing(self):
     cw = self.cw
     with cw.convert(self):
         outdir = get_outdir(self.type)
         out = os.path.join(outdir, self.title + '.mp4')
         ffmpeg.join(cw.names, out, cw)
         for file in cw.names:
             utils.remove(file)
         cw.setNameAt(0, out)
         del cw.imgs[1:]
         cw.dones.add(os.path.realpath(out))
         cw.dir = outdir
Esempio n. 2
0
 def post_processing(self):
     cw = self.customWidget
     with cw.convert(self):
         outdir = get_outdir(self.type)
         out = os.path.join(outdir, self.title + '.mp4')
         ffmpeg.join(cw.names, out, cw)
         cw.removeDirList.append((self.dir, False))
         self.single = True
         cw.setNameAt(0, out)
         del cw.imgs[1:]
         cw.dones.add(os.path.realpath(out))
         cw.dir = outdir
 def post_processing(self):
     cw = self.customWidget
     with cw.convert(self):
         outdir = get_outdir(self.type)
         out = os.path.join(outdir, self.title + '.mp4')
         ffmpeg.join(cw.names, out, cw)
         cw.removeDirList.append((self.dir, False))
         self.single = True
         cw.setNameAt(0, out)
         del cw.imgs[1:]
         cw.dones.add(os.path.realpath(out))
         if not options.get('lazy'):
             cw.pageIcon.hide()
             cw.after_label.setText('')
         cw.dir = outdir