Как установить mplayer на ubuntu

Обновлено: 02.07.2024

При проигрывании HD-видео в высоком качестве, ресурсов компьютера может быть недостаточно для декодирования, и видео начинает заметно «тормозить». Эта статья рассказывает о том, как заставить компьютер максимально быстро декодировать HD-видео.

SMPlayer

Установка SMPlayer

Установите SMPlayer через Центр приложений или из консоли:

Настройка SMPlayer

После того как мы все установили, открываем SMPlayer:

Настройки → Быстродействие → Допускать выпадение кадров отключаем. Настройки → Быстродействие → Потоков декодирования выставляем значение равное количеству ядер вашего процессора.

Так же можно отключить петлевой фильтр, но это скажется на качестве:

Настройки → Быстродействие → Петлевой фильтр → Пропускать (всегда).

Отключение двойной буферизации может повысить производительность, но вызвать мерцание субтитров:

Настройки → Основные → Видео → Двойная буферизация отключаем.

Уже этого достаточно для плавного воспроизведения на компьютерах с многоядерным процессором.

Пункты, которые написаны выше, обязательны к выполнению, даже не для HD-видео.

Аппаратное ускорение декодирования видео

Настройка для видеокарт AMD и Nvidia (VDPAU)

Для использования аппаратного декодирования на видеокартах Nvidia необходимо установить проприетарный драйвер Nvidia. Подробнее об этом смотрите в статье Установка и настройка драйверов Nvidia.

VDPAU 1) - это набор библиотек для аппаратного декодирования видео, средствами видеокарт nVidia.

SMPlayer (рекомендуется)

Установите SMPlayer любым способом, например через Центр приложений.

Для задействования VDPAU, в настройках SMPlayer нужно выбрать:

Настройки → Основные → Видео → Устройство вывода выбираем vdpau.

XBMC Media Center (рекомендуется)

Смотрите инструкцию по установке.

Установите VLC любым способом, например через Центр приложений.

Для задействования VDPAU, в настройках VLC нужно выбрать

Настройки → Ввод и кодеки → Использовать видеоускоритель включаем.

Adobe Flash

В последней версии плагина Adobe Flash, поставляемого в комплекте с браузером Google Chrome 2) , имеется поддержка VDPAU.

Настройка для видеокарт AMD с проприетарным драйвером, а также Intel (VA-API)

VLC (рекомендуется для AMD с проприетарным драйвером)

Установите VLC любым способом, например через Центр приложений.

Затем в настройках VLC:

Настройки → Ввод и кодеки → Использовать видеоускоритель включаем.

XBMC Media Center (рекомендуется для AMD)

Смотрите инструкцию по установке.

SMPlayer (рекомендуется для Intel)

Для Ubuntu 14.04 добавляем репозиторий и устанавливаем пакет «mplayer-vaapi»:

Затем в настройках SMPlayer:

Настройки → Основные → Снимки экрана отключаем. Настройки → Основные → Видео → Прямой рендеринг включаем. Настройки → Основные → Видео → Устройство вывода выбираем vaapi.

XBMC Media Center (рекомендуется для Intel)

Смотрите инструкцию по установке.

Кодеки

В отличии от Windows, большинство аудио/видео плееров в Linux имеют встроенные кодеки, или используют системные (общие для всех плееров). Но если у вас появились какие то проблемы с вопроизведением каких либо форматов, следует установить ubuntu-restricted-extras. Этот метапакет включает: кодеки, Adobe Flash Player, java, шрифты windows и все, что нужно для корректной работы большинства программ.

Ссылки

VDPAU поддерживается видеокартами серии 8 и выше, но некоторые из них (8800GTS 320/640MB и 8800GTX) всё равно не поддерживаются.

Для установки mplayer-gui в Ubuntu / Linux Mint / Debian, введите в Терминал :

mplayer-gui — проигрыватель для Unix-подобных систем (вариант GUI)

Подробная информация о пакете:

Проигрыватель для Unix-подобных систем (вариант GUI)

Зависимости:

Библиотека для декодирования потоков ATSC A/52

Художественная библиотека ASCII

Общая библиотека для приложений ALSA

Библиотека для субтитров SSA / ASS

Сетевая аудиосистема - общие библиотеки

Библиотека FFmpeg с de/encoders для аудио / видео кодеков - файлы времени выполнения

Библиотека FFmpeg с дополнительными файлами для аудио / видео кодеков

Библиотека FFmpeg с (de) мультиплеерами для мультимедийных контейнеров - файлы времени выполнения

Библиотека FFmpeg с функциями упрощения программирования - файлы времени выполнения

Библиотека поддержки воспроизведения дисков Blu-ray (общая библиотека)

Баоэрская стереофоническая и бинауральная библиотека DSP

Библиотека GNU C: общие библиотеки

Цветная художественная библиотека ASCII

Библиотека для чтения и управления цифровыми аудиодисками

Библиотека для чтения цифровых аудиодисков с исправлением ошибок

Библиотека для чтения и управления CD-ROM

Библиотека декодирования для потоков когерентной акустики DTS

Прямая фрейм-буферная графика (разделяемые библиотеки)

Программная библиотека для цифрового видео формата DV (runtime lib)

Библиотека для чтения DVD-дисков

Чрезвычайно Наивный Charset Analyzer - файлы общей библиотеки

Расширенный аудиодекодер - файлы времени выполнения

Универсальная библиотека настройки шрифтов - время выполнения

Механизм шрифтов FreeType 2, файлы разделяемой библиотеки

Бесплатная реализация алгоритма Unicode BiDi

Библиотека GDK Pixbuf

Библиотека для изображений GIF (библиотека)

Бесплатная реализация OpenGL API - время выполнения GLX

Это виртуальный пакет. Для определения виртуальных пакетов см. Политику Debian.

Библиотека GLib подпрограмм C

Библиотека графического интерфейса пользователя GTK+

Комплект подключения аудио JACK (библиотеки)

Независимая библиотека JPEG в формате JPEG (пакет зависимостей)

Поддержка инфракрасного дистанционного управления - клиентская библиотека

Библиотека аудиодекодеров MPEG

Библиотека видеодекодера MPEG1 и MPEG2

Звуковой декодер MPEG 1/2/3 (разделяемая библиотека)

Ogg bitstream library

Программная реализация аудиофайла OpenAL (разделяемая библиотека)

Библиотека PNG - время выполнения (версия 1.6)

Библиотека FFmpeg для последующей обработки - файлы времени выполнения

Клиентские библиотеки PulseAudio

Простой слой DirectMedia

Общая библиотека для связи с серверами SMB/CIFS

Библиотека времени исполнения кодека Speex

Библиотека FFmpeg для повторной дискретизации аудио, рематрисинга и т.д. - файлы времени выполнения

Библиотека FFmpeg для масштабирования изображений и различных преобразований - файлы времени выполнения

You can watch Hulu, Prime Video and/or Netflix on Linux. You can also download videos from YouTube and watch them later or if you are in a country where you cannot get Netflix and other streaming services, you may have to rely on torrent services like Popcorn Time in Linux.

Best Linux video players

Installing the software

Another note for Ubuntu users. You should have universe repository enabled to find and install these video players from the software center or by using command line. I have mentioned the commands but if you like, you can also install them from the Software Center.

Please keep in mind that the list is in no particular order of ranking.

1. Haruna Video Player

Key Highlights:

  • Youtube-dl support
  • Control the playback speed
  • Plenty of keyboard shortcuts
  • Easily take a screenshot from the video
  • Option to add primary and secondary subtitle
  • Hardware decoding supported

A Qt-based video player that offers most of the essential features.

It even offers the ability to use youtube-dl to directly play videos from YouTube. For a lot of users, this happens to be the perfect front-end for MPV.

It does support all the major formats along with keyboard shortcuts, UI tweaks, screenshot feature, playlist, and many more features. Even though it is not a cross-platform solution, it is an excellent choice for Linux users.

How to install Haruna Video Player?

You can refer to our separate article on Haruna Video Player to explore more about it along with installation methods.

To give you a heads up, you can grab the AppImage file available in its archived GitHub repository or install it using flatpak on any Linux distribution using the following command:

2. MPlayer

  • Wide range of output drivers supported
  • Major file formats supported
  • Cross-platform
  • Command-line based

Yet another impressive open-source video player (technically, a video player engine). MPlayer may not offer you an intuitive user experience but it supports a wide range of output drivers and subtitle files.

How to install MPlayer?

3. SMPlayer

  • Supports all major video formats
  • Built-in codecs
  • Cross-platform (Windows & Linux)
  • Play ad-free YouTube video
  • Opensubtitles integration
  • UI Customization available
  • Based on MPlayer

As mentioned, SMPlayer uses MPlayer as the playback engine. So, it supports a wide range of file formats. In addition to all the basic features, it also lets you play YouTube videos from within the video player (by getting rid of the annoying ads).

How to install SMPlayer?

SMPlayer should be available in your Software Center. However, if you want to utilize the terminal, type in this:

4. MPV Player

  • Minimalist GUI
  • Video codecs built in
  • High-quality video output by video scaling
  • Cross-platform
  • YouTube Videos supported via CLI

Keeping that aside, it offers what you would expect from a standard video player. You can even try it on your Windows/Mac systems.

How to install MPV Player?

You will find it listed in the Software Center or Package Manager. In either case, you can download the required package for your distro from the official download page.

5. VLC Media Player

  • Built-in codecs
  • Customization options
  • Cross-platform
  • Every video file format supported
  • Extensions available for added functionalities

It is a quite powerful video player capable of handling a variety of file formats and codecs. You can customize the look of it by using skins and enhance the functionalities with the help of certain extensions. Other features like subtitle synchronization, audio/video filters, etc, exist as well.

How to install VLC?

You can easily install VLC in Ubuntu from the Software Center or download it from the official website.

6. Dragon Player

  • Simple UI
  • Tailored for KDE
  • Supports playing CDs and DVDs

How to install Dragon Player?

You will find it listed in the official repo. In either case, you can type in the following command to install it via terminal:

7. GNOME Videos

  • A simple video player for GNOME Desktop
  • Plugins supported
  • Ability to sort/access separate video channels

The default video player for distros with GNOME desktop environment (previously known as Totem). It supports all the major file formats and also lets you take a snap while playing a video. Similar to some of the others, it is a very simple and useful video player. You can try it out if you want.

How to install Totem (GNOME Videos)?

8. Deepin Movie

How to Install Deepin?

9. Xine Multimedia Engine

  • Customization available
  • Subtitles supported
  • Major file formats supported
  • Streaming playback support

Xine is an interesting portable media player. You can either choose to utilize the GUI or call the xine library from other applications to make use of the features available.

It supports a wide range of file formats. You can customize the skin of the GUI. It supports all kinds of subtitles (even from the DVDs). In addition to this, you can take a snapshot while playing the video, which comes handy.

How to install Xine Multimedia?

In addition to that, you can also check for available binary packages on their official website.

10. Celluloid

  • Drag and drop playlist support Support Support for better integration with supported desktop environments
  • Simple yet customizable

I had to look at Celluloid when one of our readers suggested adding it. Interestingly, it happens to be a GTK frontend for MPV. In fact, it was previously known as GNOME MPV.

How to install Celluloid?

You may not find it listed in the software center. So, for any Linux distribution, you should refer to the official installation instructions.

They recommend using Flatpak. Make sure you have Flatpak enabled (refer to our guide of using Flatpak for help).

11. Parole

  • Simple and extensible via Plugins
  • Customizable

Parole is the default video player in Xfce desktop and offers a good deal of features. It supports subtitles and you can also choose to extend its functionality using the plugins available.

How to install Parole?

You can choose to download the .DEB file from the launchpad page. In either case, follow the commands below to install it:

Wrapping Up

However, if you think we missed one of your favorite Linux video player that deserves a mentioned, let us know about it in the comments down below!

In many ways SMPlayer acquits itself well when compared to other front ends of MPlayer.

Look for the package named smplayer in the Synaptic Package Manager and install it.

The SMPlayer and other related deb packages available in the Ubuntu repositories are usually not the most up to date. If you wish to install the latest packages then you may access them from the Ubuntu PPA repositories.

Add the following software sources using the Synaptic Package Manager by accessing in turn Settings from the top menu, Repositories, Third-Party Software and Add:

Open a terminal and type:

Press Enter and type your administrator password and press Enter again.

Run the Update Manager from the System Menu by choosing the Administration Sub-Menu.

Once the update process is complete you will have the latest SMPlayer and related deb packages installed.

In case you have opted to set up the SMPlayer PPA software sources before installing SMPlayer then do not use the Update Manager route. Instead follow the steps given in the Installation Instructions section above after setting up the SMPlayer PPA software sources.

Add the following software sources using the Synaptic Package Manager by accessing in turn Settings from the top menu, Repositories, Third-Party Software and Add:

Press Enter and type your administrator password and press Enter again.

Run the Update Manager from the System Menu by choosing the Administration Sub-Menu.

Once the update process is complete you will have the latest MPlayer and related deb packages installed.

In case you have opted to set up the MPlayer PPA software sources before installing MPlayer then do not use the Update Manager route. Instead follow the steps given in the Installation Instructions section above after setting up the MPlayer PPA software sources.

The Ubuntu PPA packages for SMPlayer and SMPlayer are not officially part of the Ubuntu repositories. So you install them at your own risk. In particular the updating of SMPlayer Ubuntu PPA package and its dependencies need not be perfectly synchronized. In that case the updating tool (Synaptic Package Manager, Update Manager etc.) will 'hold back' these packages and not update them till all dependency requirements are met. This is normal. Do not try and force the installation of a package whose dependencies are not fully satisfied.

SMPlayer should be available at the Sub-Menu Sound & Video of the Applications Menu.

Click on Options and choose Preferences. Then click on General and Audio. There check the box next to the caption Use software volume control. Click on Apply and then OK.

SMPlayer (последним исправлял пользователь saratcchand 2009-09-19 13:35:28)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Читайте также: