Untitled

Anonymous
plain_text
11/15/2024 12:46 PM
428 B
15
Indexable
import subprocess



# Transcribe the audio file
audio_file_path = '/mnt/data/Thoại 001.m4a'
output_file_path = '/mnt/data/Thoại_001.wav'

# Convert audio file to WAV format if needed, as it's currently in .m4a format
subprocess.run(['ffmpeg', '-i', audio_file_path, output_file_path])

output_file_pat
h
Editor is loading...
Leave a Comment