Dear sir, I have solved the problem occured before using command 'conda install -c conda-forge ffmpeg'; But I met a new problem: when I was running training procedure by "python3 mm_video/run_net.py --cfg configs/compressed_video/msrvtt_captioning.yaml" , I got error "ImportError: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/qysu/anaconda3/envs/cocap/lib/python3.9/site-packages/cv_reader/api.cpython-39-x86_64-linux-gnu.so)", what can I do to solve it? Thanks.
Hello!
Here is a compiled wheel package: Google Drive This was built by running python3 setup.py bdist_wheel under the root folder of this project after preparing the ffmpeg. You can compile it yourself if your environment does not match mine.
To install it, run pip3 install cv_reader-1.1.0-cp39-cp39-linux_x86_64.whl.
Hello! Thanks for your reply, I have installed the package in the requriement.txt and then installed cv_reader-1.1.0-cp39-cp39-linux_x86_64.whl by pip3 install cv_reader-1.1.0-cp39-cp39-linux_x86_64.whl. Unfortunately, when I tap "cv_reader", I got the error in the picture 1 below : "ImportError: libbz2.so.1.0: cannot open shared object file: No such file or directory"; Second, when I was running code: "python3 tools/video_convert.py --codec=libx264 --keyint=60 --resize=240 -i dataset/msrvtt/videos -o dataset/msrvtt/videos_h264_keyint_60" according to the Cocap/dataset/README.md, I got the error: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/ffmpeg', Any other problem with my environment? How to fix them? Thanks, sir.
Originally posted by @Suqingyong in https://github.com/acherstyx/Compressed-Video-Reader/issues/2#issuecomment-1913593555