QMPlay2 is a video and audio player which can play most formats and codecs.
QMPlay2 is a video and audio player which can play most formats and codecs.
QMPlay2 is a video and audio player. It can play all formats supported by FFmpeg. It also supports Audio CD, raw files and chiptunes. It contains YouTube browser.
yay -S qmplay2-gitsudo zypper ar https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed Packman
sudo zypper dup --allow-vendor-change --from "Packman"
sudo zypper in QMPlay2
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf groupupdate core
sudo dnf update
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
sudo dnf install qmplay2
emerge --ask media-video/qmplay2slpkg install QMPlay2You can change the default audio and video quality of YouTube contents. Click on the "Settings" icon on the left of the search bar, change the order of audio and/or video quality priorities and apply changes. If the chosen quality can't be found on YouTube content, QMPlay2 will try using the next entry on the quality list.
YouTube videos don't work without external "yt-dlp" software, so QMPlay2 will download it automatically. You can remove downloaded "yt-dlp" from settings.
Examples:
streamlink -p QMPlay2 --player-http "URL" best
streamlink -p QMPlay2 -a /dev/stdin "URL" best
QMPlay2 supports spherical view on OpenGL and Vulkan video outputs. You can watch e.g. YouTube spherical videos by pressing "Ctrl+3". You can also enable it from the menu: "Playback->Video filters->Spherical view".
If you are using your own ALSA configuration asound.conf or .asoundrc you should also append:
defaults.namehint.!showall on to the configuration file. Otherwise devices which were added may not be visible!
QMPlay2 supports hardware video decoding: Vulkan Video, CUVID (NVIDIA only), DXVA2 (Windows), D3D11VA (Vulkan, Windows) VA-API (Linux/BSD only) and VideoToolBox (macOS only). Hardware acceleration is disabled by default, but you can enable it in "Settings->Playback settings":
VA-API + OpenGL uses EGL for OpenGL context creation. On X11 QMPlay2 tries to detect if EGL can be used, but the detection can fail. In this case you can try do it manually: export QT_XCB_GL_INTEGRATION=xcb_glx and run QMPlay2 from command line. If everything is working properly, you can export this variable globally. In case of multiple GPUs installed in system VA-API requires to use the same device as OpenGL. QMPlay2 detects it automatically, but if the detection fails, try to do it manually, e.g.: export QMPLAY2_EGL_CARD_FILE_PATH=/dev/dri/card1 and run QMPlay2 from command line. If everything is working properly, you can export this variable globally.
Video interlacing is automatically detected by QMPlay2. Go to "Settings->Video filters" for more options. If you have fast CPU (or low video resolution), you can use "Yadif 2x" deinterlacing filter for better quality.
You can enable deinterlacing filter on non-interlaced video if necessary (some interlaced videos may not have interlacing data), but remember to revert this setting on any other video! Otherwise the video quality and performance will be worse!
Hardware-accelerated video decoding uses its own video filtering, so the CPU deinterlacing method (e.g. "Yadif 2x") does nothing in this case. Of course you can adjust other deinterlacing settings in case of hardware acceleration.
Vulkan renderer has Yadif deinterlacing filter which is used by default for CPU decoded videos. You can change this behavior in Vulkan renderer settings. Moreover, Yadif Vulkan filter is used for hardware-decoded videos.
Chroma plane if pixel format is not YUV420 when XVideo is used as video output may not be properly deinterlaced.
Right click on volume slider and select "Split channels".
Go to "Options->Modules settings" and click "Extensions" on the list. Find "LastFM" group box, select "Scrobble", type your login and password and then press "Apply".
Empty files in share directory (on Windows it is a directory with QMPlay2.exe):
portable - runs QMPlay2 in portable mode (settings are stored in applications directory),noautoupdates - disables auto-updates at first run.Go to "Options->settings" and check "Read and display still images".
You can specify a CustomUserAgent in QMPlay2.ini file in General section.
Set NoCoversCache to true in QMPlay2.ini file in General section.
You can force single instance for QMPlay2: set "Allow only one instance" in "Settings->General settings".
Multimedia keys should work automatically (on Linux/BSD it might depend on your configuration).
Additionally In Linux/BSD you can associate keys with commands:
QMPlay2 -h,dbus-send --print-reply --dest=org.mpris.MediaPlayer2.QMPlay2 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause.dbus-send --print-reply --dest=org.mpris.MediaPlayer2.QMPlay2 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Nextdbus-send --print-reply --dest=org.mpris.MediaPlayer2.QMPlay2 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previousdbus-send --print-reply --dest=org.mpris.MediaPlayer2.QMPlay2 /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.StopDon't forget to update submodules: git submodule update --init.
Install required dependencies to build and run:
flatpak install org.flatpak.Builder org.kde.Platform/$(uname -m)/6.11 org.kde.Sdk/$(uname -m)/6.11
Build QMPlay2:
flatpak run org.flatpak.Builder build/flatpak --force-clean --ccache --user --install io.github.zaps166.QMPlay2.Devel.json
Optionally you can install VA-API driver for Intel GPUs:
flatpak install org.freedesktop.Platform.VAAPI.Intel/$(uname -m)/25.08
Clean build directories:
rm -rf ".flatpak-builder" "build/flatpak"
For CMake build be sure that you have CMake 3.16 or higher.
sudo pacman -S cmake ninja gcc pkg-config ffmpeg libass libva libxv alsa-lib libcdio taglib libcddb libpulse libgme libsidplayfp qt6-base qt6-tools qt6-5compat qt6-svg qt6-declarative pipewire
cmake-gui for graphical configuration. Otherwise follow the instructions below:cmake -GNinja -B build -S .,ninja -C build,sudo ninja -C build install.CMake options (option - default value: description):
CMAKE_INSTALL_PREFIX - mostly it is /usr/local: installation directory.CMAKE_BUILD_TYPE - Release.LANGUAGES - All - a space-separated list of translations to compile into QMPlay2.SOLID_ACTIONS_INSTALL_PATH - Linux/BSD only, autodetect: you can specify the path manually.SET_INSTALL_RPATH - non-Windows only, ON on macOS, OFF anywhere else: sets RPATH after installation.USE_FFMPEG - ON: enable/disable FFmpeg module.USE_FFMPEG_VKVIDEO: autodetect: enabled if Vulkan is enabled and FFmpeg version is >= 6.1.USE_FFMPEG_VAAPI: autodetect: enabled if libva, libva-drm, and egl exist.USE_FFMPEG_AVDEVICE - autodetect on Linux, OFF on non-Linux OS: it allows to use e.g. V4L2 devices.USE_INPUTS - ON: enable/disable Inputs module.USE_EXTENSIONS - ON: enable/disable Extensions module.USE_MPRIS2 - Linux/BSD only, ON: enable/disable MPRIS2 in Extensions module.USE_VISUALIZATIONS - ON: enable/disable Visualizations module.USE_AUDIOFILTERS - ON: enable/disable AudioFilters module.USE_VIDEOFILTERS - ON: enable/disable VideoFilters module.USE_OPENGL - ON: enable/disable OpenGL support.USE_VULKAN - autodetect: enable/disable Vulkan support.USE_AUDIOCD - autodetect: enabled if libcdio and libcddb exisNo open issues yet, or sync has not completed.