This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import subprocess | |
# Función para ejecutar el comando FFmpeg | |
def run_ffmpeg(command): | |
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
return result.stdout.decode(), result.stderr.decode() | |
# Detectar los silencios en un archivo de audio | |
def detect_silence(input_file): |
OlderNewer