ubuntu:video:install_h.264_decoder
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:video:install_h.264_decoder [2023/06/19 07:19] – peter | ubuntu:video:install_h.264_decoder [2023/06/19 07:28] (current) – peter | ||
---|---|---|---|
Line 6: | Line 6: | ||
---- | ---- | ||
+ | |||
+ | ===== Install all multimedia codecs ===== | ||
+ | |||
+ | Ubuntu provides a meta-package named **ubuntu-restricted-extras** that consists of most of the common audio and video codecs along with some other packages like the Microsoft fonts. | ||
+ | |||
+ | * Install this package and this should resolve most media codecs issues. | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install ubuntu-restricted-extras | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * With the multimedia codecs installed, most media files should be able to be played (almost). | ||
+ | * This includes, mp4 and mkv video files; as well as mp3 music files. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install the Bad gstreamer plugin ===== | ||
<code bash> | <code bash> | ||
Line 20: | Line 42: | ||
</ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Install more decoders ====== | ||
+ | |||
+ | There may be other video files that also require some other decoder. | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install libavcodec-extra gstreamer1.0-plugins-ugly gstreamer1.0-libav | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Optionally, install a better video player (recommended) ====== | ||
+ | |||
+ | Install vlc or mpv. | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install vlc | ||
+ | |||
+ | or | ||
+ | |||
+ | sudo apt install mpv | ||
+ | </ | ||
---- | ---- | ||
ubuntu/video/install_h.264_decoder.1687159172.txt.gz · Last modified: 2023/06/19 07:19 by peter