Open AdnielSsj opened 1 year ago
Hmm do you have ffmpeg installed?
Yeah!
At least that should be the case.
I put the "Ffmpeg" files in my "PATH" in my system variables.
And also, directly in the files where the "main.py" program is.
I also double clicked on "ffmpeg.exe" just in case.
That said, I still don't think it's a problem with ffmpeg directly. I have other programs that also use ffmpeg and they work fine.
Maybe the video files or the python code doesn't detect it? What other things should I confirm that I am possibly doing wrong?
I'm going to try reinstalling ffmpeg or try it on a different device too. Although I don't know if installing it on another friend's device can help me understand the problem of what is happening on my PC.
Edit : i tried to type "ffmpeg" on cmd and it gave me this :
Good morning!
Sorry for the question that surely is simple.
I would like to know what is wrong here? I think I have a problem in "totalAudioLength = get_duration(originalVideoFile)"
So, I assume that I inserted the wrong path to the file.
I tried in these ways: original_video_file_path = E:\VideosTranslation\video.mp4 srt_file_path = E:\VideosTranslation\subtitles.srt
original_video_file_path = "E:\VideosTranslation\video.mp4" srt_file_path = "E:\VideosTranslation\subtitles.srt"
or even leaving it in the same file as main.py and putting simply :
original_video_file_path = video.mp4 srt_file_path = subtitles.srt
But I always have the same error. Is it a problem with some other configuration?
Just to mention that I don't know anything about programming or Github either. Possibly I am thinking that it is an "X" error and in reality it has nothing to do