Converter: fix output names of merged files, now its 100% same as input,

ConvertAvatar: fix input image after fix landmarks face align,
VideoEd: video_from_sequence now uses pipe input to input any filenames instead of %.5d. formatted
This commit is contained in:
Colombo 2019-08-27 22:05:22 +04:00
parent 23854ac8bc
commit 9f58d160a0
4 changed files with 21 additions and 15 deletions

View file

@ -214,12 +214,7 @@ class ConvertSubprocessor(Subprocessor):
for i in range( len(self.frames) ):
frame = self.frames[i]
frame.idx = i
inp_stem = Path(frame.frame_info.filename).stem
if len([ True for symbol in inp_stem if symbol not in digits ]) > 0:
frame.output_filename = self.output_path / ('%.5d.png' % (i+1) )
else:
frame.output_filename = self.output_path / ( inp_stem + '.png' )
frame.output_filename = self.output_path / ( Path(frame.frame_info.filename).stem + '.png' )
frames[0].cfg = self.converter_config.copy()