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
import os
from os import listdir
from os.path import isfile, join
from moviepy.editor import *
from pathlib import Path
filePath = os.getcwd() + "/1g.mp4"
my_file = Path(filePath)
print(filePath)
print(my_file.is_file())
VideoFileClip(filePath)
Error:
Traceback (most recent call last):
File "movie.py", line 13, in <module>
VideoFileClip(filePath)
File "/usr/local/lib/python3.6/dist-packages/moviepy/video/io/VideoFileClip.py", line 91, in __init__
fps_source=fps_source)
File "/usr/local/lib/python3.6/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 33, in __init__
fps_source)
File "/usr/local/lib/python3.6/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 259, in ffmpeg_parse_infos
proc.terminate()
File "/usr/lib/python3.6/subprocess.py", line 1585, in terminate
self.send_signal(signal.SIGTERM)
File "/usr/lib/python3.6/subprocess.py", line 1580, in send_signal
os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
I'm not able to make a path of a video file into a VideoClipFile and I am unable to debug my error. I have checked that my video file is valid and my path is too.
Any fix for this?
I am running Python 3.6
The text was updated successfully, but these errors were encountered:
keikoro
added
the
video
Related to VideoClip and related classes, or handling of video in general.
label
Dec 16, 2018
Code:
Error:
I'm not able to make a path of a video file into a VideoClipFile and I am unable to debug my error. I have checked that my video file is valid and my path is too.
Any fix for this?
I am running Python 3.6
The text was updated successfully, but these errors were encountered: