carykh / jumpcutter

Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
MIT License
3.08k stars 541 forks source link

how to run on mac after librarys installed #130

Closed NalinPlad closed 1 year ago

NalinPlad commented 5 years ago

I installed and libraries and I opened jumpcutter.py in terminal but it doesn't seem to work.

jsrobson10 commented 5 years ago

You need to be more specific: What error messages is it giving? What python version are you using? Are you using python 3?

JamesGelok commented 4 years ago

@NalinPlad I'm a mac user on Catalina. I'm gonna give my best guess at what went wrong by writing out what I did.

I installed and libraries and I opened jumpcutter.py in terminal but it doesn't seem to work.

After making sure I was using the pip3 command for installs and the python3 command for running it, I needed to install ffmpeg. (PIL aka pillow was weird in that the library name and install weren't the same. modify the command to use pip3 if u need)

If you have homebrew, you can type

brew install ffmpeg

then while you're in the directory, run it on your video file using the command

python3 jumpcutter.py --input_file YourVideoFileLocatedInTheSameDirectory.mp4

it should run UNLESS you have a TEMP directory in that folder from a previous attempt. Then you need to delete that and try again. Goodluck.

JacksonChen666 commented 4 years ago

If you need to, adjust the frame rate to something else if the videos go out of sync