correction de typo dans la fonction pour hdr10+
This commit is contained in:
parent
184c75e8e7
commit
7634ad4fad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user