You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\21922\Videos>auto_subtitle trimmed_output.mp4 --model medium --language en
C:\Users\21922\AppData\Roaming\Python\Python312\site-packages\whisper\__init__.py:146: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(fp, map_location=device)
Extracting audio from trimmed_output...
Generating subtitles for trimmed_output... This might take a while.
99%|███████████████████████████████████████████████████████████████████ | 622840/631840 [04:52<00:04, 2130.51frames/s]
Adding subtitles to trimmed_output...
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\21922\AppData\Roaming\Python\Python312\Scripts\auto_subtitle.exe\__main__.py", line 7, in <module>
File "C:\Users\21922\AppData\Roaming\Python\Python312\site-packages\auto_subtitle\cli.py", line 67, in main
).output(out_path).run(quiet=True, overwrite_output=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\21922\AppData\Roaming\Python\Python312\site-packages\ffmpeg\_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
The text was updated successfully, but these errors were encountered:
Hello, that that day, I give up because the error. But today, I read the previous issue. It it the windows command line problem. You can read previous issue and solve then. like
I run the code, and raise ffmpeg error.
The text was updated successfully, but these errors were encountered: