Write a python script that takes an mp3 and transcribes it into a .txt
- User
Write a python script that takes an mp3 and transcribes it into a .txt
- Assistant
- User
Warning (from warnings module): File "E:\Python\Lib\site-packages\pydub\utils.py", line 170 warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Warning (from warnings module): File "E:\Python\Lib\site-packages\pydub\utils.py", line 198 warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning) RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work Traceback (most recent call last): File "C:\Users\admin\Desktop\Tanulási_tools\Youtube_Transscript_Generator.py", line 36, in transcribe_audio(mp3_file, txt_file) File "C:\Users\admin\Desktop\Tanulási_tools\Youtube_Transscript_Generator.py", line 7, in transcribe_audio audio = AudioSegment.from_mp3(mp3_file) File "E:\Python\Lib\site-packages\pydub\audio_segment.py", line 796, in from_mp3 return cls.from_file(file, 'mp3', parameters=parameters) File "E:\Python\Lib\site-packages\pydub\audio_segment.py", line 728, in from_file info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit) File "E:\Python\Lib\site-packages\pydub\utils.py", line 274, in mediainfo_json res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE) File "E:\Python\Lib\subprocess.py", line 1026, in self._execute_child(args, executable, preexec_fn, close_fds, File "E:\Python\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] A rendszer nem találja a megadott fájlt
- Assistant