Open deepshakes opened 6 years ago
I get this error on Windows too. I am a total noob in programming but had a basic python introduction. Might this be because of linux/windows paths? I thought os.path takes care of this?
Have you tried putting the target image, the demo.py file, the mp4 dir, in different directories?
Especially try putting the target image in its own directory and see if that sorts out any of these path problems.
Have you tried putting the target image, the demo.py file, the mp4 dir, in different directories?
Just tried it then, but I'm still getting the same issue.
os.rename needs a full path. If you add "/home/USERNAME/" + in front of vid it works. There are more lines where this is necessary.
This wasn't happening on my Mac, but it's happening on my Windows machine. For some reason, after the first video selected in my mp4 set has finished extracting, the script stops and prints this message:
The forward slash before b.mp4 and the double backwards slashes aren't typos, that's just how it's printing out.