Colored-ASCII-Video
Colored-ASCII-Video copied to clipboard
Can't play any video
when I try to play a local file I get this:
FPS is 0.0
Traceback (most recent call last):
File "/home/demax/virtualpython/Colored-ASCII-Video-main/bapple.py", line 145, in <module>
frame_time = 1 / fps
~~^~~~~
'/home/demax/Video/Playing Minecraft #24 [No Commentary] [531M1gy_Hr0].mp4': No such file or directory
ZeroDivisionError: float division by zero
not even with youtube:
Traceback (most recent call last):
File "/home/demax/virtualpython/venv/lib/python3.11/site-packages/pytube/__main__.py", line 341, in title
self._title = self.vid_info['videoDetails']['title']
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'videoDetails'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/demax/virtualpython/Colored-ASCII-Video-main/bapple.py", line 66, in <module>
path = downloadVid.download_video(video_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/demax/virtualpython/Colored-ASCII-Video-main/downloadVid.py", line 28, in download_video
filename = multi_replace_regex(yt.title, replacements) + ".mp4"
^^^^^^^^
File "/home/demax/virtualpython/venv/lib/python3.11/site-packages/pytube/__main__.py", line 346, in title
raise exceptions.PytubeError(
pytube.exceptions.PytubeError: Exception while accessing title of https://youtube.com/watch?v=2xPvB1qKke4. Please file a bug report at https://github.com/pytube/pytube