added codecs install script

This commit is contained in:
Jonas Forsberg 2020-08-06 10:44:29 +02:00
parent 51b8bcdc4f
commit 5b3b3eaf89

16
bin/install_codecs Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
[[ "$EUID" != 0 ]] && echo "Run as root!" && exit 1
zypper refresh
zypper dist-upgrade --from packman --allow-downgrade --allow-vendor-change
zypper install --from packman \
ffmpeg \
gstreamer-plugins-bad \
gstreamer-plugins-libav \
gstreamer-plugins-ugly \
libavcodec58 \
libavdevice58 \
libavfilter7 \
libavformat58 \
libavresample4 \
libavutil56 \
vlc-codecs