Created
June 13, 2023 17:34
-
-
Save MacRusher/9d6867f196a33e0b325f22f9f491f256 to your computer and use it in GitHub Desktop.
Fix for Opera h264 codecs on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
############################################## | |
# Install lib before using: # | |
# sudo apt install -y chromium-codecs-ffmpeg # | |
############################################## | |
OPERA_PATH=/usr/lib/x86_64-linux-gnu/opera-developer | |
FFMPEG_PATH=/snap/chromium-ffmpeg/current/chromium-ffmpeg-111306/chromium-ffmpeg/libffmpeg.so | |
cp -v $OPERA_PATH/libffmpeg.so $OPERA_PATH/libffmpeg.so.$(date +%s).bak | |
cp -v -f $FFMPEG_PATH $OPERA_PATH/libffmpeg.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment