avinashpaliwal / Super-SloMo

PyTorch implementation of Super SloMo by Jiang et al.
MIT License
2.99k stars 475 forks source link

ffmpeg error while running evaluation code. #100

Open Rishabh-Samra opened 3 years ago

Rishabh-Samra commented 3 years ago

After downloading given checkpoint file, I was trying to run the given evaluation code for linux: python video_to_slomo.py --video path\to\video.mp4 --sf N --checkpoint path\to\checkpoint.ckpt --fps M --output path\to\output.mkv

I had created the input video.mp4 from the given sequence of images using cv2.VideoWriter() command and has also installed ffmpeg in the given conda environment using the command: conda install -c conda-forge ffmpeg-python

But I got the following error after running the code:

ffmpeg -i path\to\video.mp4 -vsync 0 .tmpSuperSloMo/input/%06d.png ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory Error converting file: path\to\video.mp4. Exiting.

Please help as how I can rectify this error!

AtomicNess123 commented 2 years ago

What is a checkpoint file and where to get one?