Super-SloMo icon indicating copy to clipboard operation
Super-SloMo copied to clipboard

ffmpeg error while running evaluation code.

Open Rishabh-Samra opened this issue 2 years ago • 1 comments

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!

Rishabh-Samra avatar Oct 13 '21 19:10 Rishabh-Samra

What is a checkpoint file and where to get one?

AtomicNess123 avatar Aug 18 '22 08:08 AtomicNess123