GERARDO LABANCA

Generation

generate functionSat, 25 Mar 2023

un progrma para obtener metadatos de un archivo de video

import os import subprocess def get_video_meta(file_path): command = "ffprobe -v quiet -print_format json -show_format -show_streams {0}".format(file_path) result = subprocess.check_output(command, shell=True) return json.loads(result)

Questions about programming?Chat with your personal AI assistant