L'option "-g 1" n'était pas une bonne idée...

This commit is contained in:
Antoine Van Elstraete 2022-07-03 17:34:58 +02:00
parent 805d4f17ab
commit 184c75e8e7
Signed by: AntoineVe
GPG Key ID: E36069A977E2A9ED

View File

@ -169,7 +169,7 @@ def convert_video(file, infos, start, crop, crf, animation):
output = f'{file}_video_t{str_start}.mkv'
fmt = "yuv420p10le" # Always 10-bits
track = infos['video']['index']
codec = 'libx265 -preset slower -g 1' # -g 1 is for intra encoding
codec = 'libx265 -preset slower'
hdr = ''
if animation:
tune = "-tune animation"