title: FFMPEG 4.2.4, Python 3.9: "ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory"
body: <p>I'm using ffmpeg 4.2.4 and Python 3.9</p>
  <p>Currently getting error:<br />
  <code>ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory</code></p>
  <p>Tried the solutions from these links but they didn't work:<br />
  <a href="https://stackoverflow.com/questions/62213783/ffmpeg-error-while-loading-shared-libraries-libopenh264-so-5">ffmpeg: error while loading shared libraries: libopenh264.so.5</a><br />
  <a href="https://stackoverflow.com/questions/12901706/ffmpeg-error-in-linux">Ffmpeg error in linux</a></p>
  <p>If anyone has any idea how to fix it, or needs any more information, please let me know.</p>
  <hr />
  <p>Edit: I've noticed that it's been over a year later since I created this post and it's still getting replies - I've created a <a href="https://gist.github.com/Wilann/a187a3aebc19914605bc6a7bd90b7986" rel="nofollow noreferrer">gist</a> explaining another way I overcame a similar issue</p>
  <p>Basically, I uninstalled conda's version of <code>ffmpeg</code> (in the environment that's having issues) using <code>conda uninstall ffmpeg --force</code> and (for Ubuntu), update the system wide version (I think this is what it's called) with <code>sudo apt install ffmpeg</code></p>