Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

ffmpeg error while running evaluation code. #100

Open
Rishabh-Samra opened this issue Oct 13, 2021 · 1 comment
Open

ffmpeg error while running evaluation code. #100

Rishabh-Samra opened this issue Oct 13, 2021 · 1 comment

Comments

@Rishabh-Samra
Copy link

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
Copy link

What is a checkpoint file and where to get one?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants