参考:https://pretagteam.com/question/moviewriter-stderr-ffmpeg-error-while-loading-shared-libraries-libopenh264so5-cannot-open-shared-object-file-no-such-file-or-directory
参考:https://newbedev.com/shell-ubuntu-20-04-ffmpeg-error-while-loading-shared-libraries-libopenh264-so-5-cannot-open-shared-object-file-no-such-file-or-directory-code-example
下面这一条直接对我就有用了
Example 1: MovieWriter stderr: ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory
conda update ffmpeg
之后运行就正常了
下面的是另外一个参考
Example 2: ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory
# ffmpeg 3.4.1
conda install ffmpeg x264=20131218 -c conda-forge
# ffmpeg 4
conda install x264=='1!152.20180717' ffmpeg=4.0.2 -c conda-forge