correction (str / int) pour le starttime, crf à 19
This commit is contained in:
parent
70690a57d0
commit
3b49aa268b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user