diff --git a/vid_convert.py b/vid_convert.py index cad923a..ac3717c 100755 --- a/vid_convert.py +++ b/vid_convert.py @@ -211,10 +211,10 @@ if __name__ == '__main__': for track in infos['audio']: convert_audio(file, track['index'], volumes[track['index']], track['channels'], track['channel_layout'], track['language'], track['title']) if args.starttime: - vid_part_time = args.starttime + vid_part_time = int(args.starttime) else: vid_part_time = 0 while vid_part_time < infos['duration']: - crf = 20 + crf = 19 convert_video(file, infos, vid_part_time, cropsize, crf) vid_part_time += 300