From 7634ad4fade7b1dc83d1cd1576c046f4526be2c8 Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Wed, 6 Jul 2022 17:24:09 +0200 Subject: [PATCH] correction de typo dans la fonction pour hdr10+ --- vid_convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vid_convert.py b/vid_convert.py index 4216d09..bf1d797 100755 --- a/vid_convert.py +++ b/vid_convert.py @@ -69,7 +69,7 @@ def get_infos(file): hdr10_v_raw = subprocess.getoutput(hdr10_v_cmd) if 'metadata detected' in hdr10_v_raw: hdr10_cmd = f'ffmpeg -loglevel panic -i {file} -c:v copy -vbsf hevc_mp4toannexb -f hevc - | hdr10plus_parser -o /tmp/{file}_hdr10_metadata.json -' - v_infos.update({'hdr10': True, 'hdr10_metdata': f'/tmp/{file}_hdr10_metadata.json'}) + v_infos.update({'hdr10plus': True, 'hdr10plus_metadata': f'/tmp/{file}_hdr10_metadata.json'}) infos = {'duration': duration, 'video': v_infos, 'audio': a_infos, 'subtitles': s_infos} logging.debug("Informations du film : \n" + json.dumps(infos, indent=True)) return infos