Package Details: qmplay2 22.06.16-1

Git Clone URL: (read-only, click to copy)
Package Base: qmplay2
Description: QMPlay2 is a video and audio player which can play most formats and codecs
Upstream URL:
Keywords: ass audio chiptune ffmpeg media mod movie player qt srt subtitles video youtube
Licenses: LGPL
Submitter: mrbit
Maintainer: zaps166
Last Packager: zaps166
Votes: 41
Popularity: 0.70
First Submitted: 2012-10-13 22:02 (UTC)
Last Updated: 2022-06-16 14:09 (UTC)

Required by (1)

Sources (1)

Pinned Comments

zaps166 commented on 2017-06-19 20:07 (UTC)

Please report all non Arch Linux packaging issues here:

Latest Comments

jose1711 commented on 2021-10-20 10:52 (UTC) (edited on 2021-10-20 11:02 (UTC) by jose1711)


yeah, that's basically the same as i wrote in

Update: one issue with this is that you cannot really have homedir mounted with noexec (for extra security). It would be nice to have a way to chose (managed by QMPlay2 or system).

zaps166 commented on 2021-10-20 09:16 (UTC)


QMPlay2 doesn't use system-wide youtube-dl (and now yt-dlp) for years. It's better to keep it up-to-date.

This commin ( only changed youtube-dl to yt-dlp.

It's better to use qmplay2-git AUR package to have updated software!

jose1711 commented on 2021-10-19 21:32 (UTC)

OK, my bad. As per qmplay2 does not use yt-dlp installed in the system but rather downloads it itself and places it in ~/.config/QMplay2 (which is kinda weird in Linux world). Hence ignore my comment. And thank you for maintaining this.

Martchus commented on 2021-10-19 13:26 (UTC)

Is the path of youtube-dl actually customizable? If not one needed to create a symlink (which would be rather cumbersome).

jose1711 commented on 2021-10-19 11:48 (UTC)

could you please add yt-dlp to optdepends? thanks

Martchus commented on 2019-12-19 23:50 (UTC) (edited on 2019-12-20 19:03 (UTC) by Martchus)

The make dependency xorgproto is missing. Besides, packages within the group base-devel should not be mentioned explicitly as dependency.

Martchus commented on 2019-07-13 20:54 (UTC)

Can you add aarch64 to archs? It builds and is also part of the previously mentioned binary repo.

Martchus commented on 2019-06-09 16:43 (UTC)

In case somebody is interested in a binary repository:

zaps166 commented on 2018-07-13 18:08 (UTC)

@FabioLolix Done

FabioLolix commented on 2018-07-08 13:01 (UTC)

there is not more need to specify USE_QT5 and "mkdir -p QMPlay2-build" should be in prepare()


zaps166 commented on 2017-06-19 20:09 (UTC)

palopezv, ok, I created a pinned comment for software issues :)

zaps166 commented on 2017-06-19 20:07 (UTC)

Please report all non Arch Linux packaging issues here:

toropisco commented on 2017-06-19 19:40 (UTC)

zaps166, the OP uses Antergos, not Arch Linux. As fellow packager my advise is: WONTFIX. Furthermore, read for the reason why.

zaps166 commented on 2017-06-19 18:50 (UTC)

Ok, but I wonder what's wrong with LTO on your OS...

rtfreedman commented on 2017-06-19 16:50 (UTC)


zaps166 commented on 2017-06-19 13:10 (UTC)

What if you compile Release, but with "-DUSE_LINK_TIME_OPTIMIZATION=OFF" ?

rtfreedman commented on 2017-06-19 10:30 (UTC) (edited on 2017-06-19 11:06 (UTC) by rtfreedman)

Antergos x86_64, trace.log Never crashed before. Edit: There is no crash with -DCMAKE_BUILD_TYPE=Debug :(

zaps166 commented on 2017-06-17 17:18 (UTC)

@rtfreedman Could you add more details? Which OS (manjaro/arch), etc. ? Maybe add gdb log (you must prevent stripping binaries in PKGBILD)? Does crash happen on previous QMPlay2 version?

rtfreedman commented on 2017-06-17 00:58 (UTC)

I get segfaults with version 17.06.09 and -DUSE_QT5=ON, no problem with -DUSE_QT5=OFF

zaps166 commented on 2016-06-14 22:26 (UTC)

Switched to Qt5 :)

ahjolinna commented on 2016-04-23 14:41 (UTC)

yeah it's maybe smart to wait for 5.6.1, even kde neon project is waiting for it before they will release their first stable ISO

zaps166 commented on 2016-04-23 14:27 (UTC)

Still waiting for 5.6.1... QMPlay2 compilation script uses Qt 5.6.1 as default (if detected). Qt 5.6.0 wrongly process important mouse enter/leave events on XCB (worse than Qt 5.5.1, so it is annoying): And for submenus with widgets (Video EQ in QMPlay2): And other (not my own) patches which fixes DBus Menu - 5.5.x and 5.6.0 break more complicated tray context menus (QMPlay2 tray context menu) e.g. on KDE. Currently qmplay2-git uses Qt5. I don't know when 5.6.1 will be released, so I can switch to Qt5 if you want....

ahjolinna commented on 2016-04-23 14:07 (UTC)

I think now when Qt5.6 (LTS) has arrived you you should use it instead of the obsolete Qt4

zaps166 commented on 2015-07-30 10:05 (UTC)

Thanks, fixed!

vagorafaelino commented on 2015-07-30 01:21 (UTC)

There's a typo in the makedepends array. Please remove comma after gcc

mrbit commented on 2015-07-22 21:42 (UTC)

ok (y) :)

zaps166 commented on 2015-07-22 20:49 (UTC)

Hi, Source directory is "QMPlay2-*". This is bug in aur, but not in aur4 :) I maintain aur4 package

ennorie commented on 2015-07-22 14:05 (UTC)

Hi, as for today, MAKEPKG needs a little tweak : Source directory is QMPlay2-15.07.13 and not QMPlay2-src

zaps166 commented on 2015-06-06 09:20 (UTC)

Hi, QMPlay2 doesn't use "openal" and minimum "ffmpeg" version is 2.0 (you don't have to specify version) :)

mrbit commented on 2015-01-04 12:57 (UTC)

Hi zaps166, done :)

zaps166 commented on 2015-01-04 11:41 (UTC)

Please remove all lines containing "sed" from PKGBUILD :)

piteq commented on 2015-01-03 20:23 (UTC)

../../app/lib/ undefined reference to `swr_free' ../../app/lib/ undefined reference to `swr_init' ../../app/lib/ undefined reference to `swr_convert' ../../app/lib/ undefined reference to `swr_alloc_set_opts' ../../app/lib/ undefined reference to `swr_set_matrix' collect2: error: ld returned 1 exit status Makefile:193: polecenia dla obiektu '../../app/bin/QMPlay2' nie powiodły się make[2]: *** [../../app/bin/QMPlay2] Błąd 1 make[2]: Opuszczenie katalogu '/tmp/yaourt-tmp-piteq/aur-qmplay2/src/QMPlay2-src/src/gui' Makefile:113: polecenia dla obiektu 'sub-gui-make_default-ordered' nie powiodły się make[1]: *** [sub-gui-make_default-ordered] Błąd 2 make[1]: Opuszczenie katalogu '/tmp/yaourt-tmp-piteq/aur-qmplay2/src/QMPlay2-src/src' Makefile:39: polecenia dla obiektu 'sub-src-make_default' nie powiodły się make: *** [sub-src-make_default] Błąd 2 real 3m40.783s user 3m8.367s sys 0m9.395s Build failed! :(:(

mrbit commented on 2014-12-06 11:38 (UTC)

Hi urbanomad64, oops sorry , now work. Test please.

urbanomad64 commented on 2014-12-05 14:16 (UTC)

build fails collect2: error: ld returned 1 exit status Makefile:195: recipe for target '../../app/bin/QMPlay2' failed make[2]: *** [../../app/bin/QMPlay2] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-seansloanejohnson/aur-qmplay2/src/QMPlay2-src/src/gui' Makefile:113: recipe for target 'sub-gui-make_default-ordered' failed make[1]: *** [sub-gui-make_default-ordered] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-seansloanejohnson/aur-qmplay2/src/QMPlay2-src/src' Makefile:39: recipe for target 'sub-src-make_default' failed make: *** [sub-src-make_default] Error 2 real 1m46.146s user 1m37.853s sys 0m4.850s Build failed! ==> ERROR: A failure occurred in build(). Aborting...

ahjolinna commented on 2014-10-26 18:16 (UTC)

why not Qt5 instead?

mrbit commented on 2014-09-16 06:52 (UTC)

Hi metak, ok, done. reinstall

metak commented on 2014-09-16 03:07 (UTC)

@ Ilya87 Release page suggests following: *libavresample: Uncomment last three lines in "src/qmplay2/" Fixes the problem for me.

Ilya87 commented on 2014-08-22 03:38 (UTC)

Using with ffmpeg-git gives error: SndResampler.cpp: В функции-члене «bool SndResampler::create(int, int, int, int)»: SndResampler.cpp:60:26: ошибка: нет декларации «SWR_CH_MAX» в этой области видимости channel_map.fill( -1, SWR_CH_MAX ); ^

mrbit commented on 2014-07-28 21:42 (UTC)

Hey zaps166 done.

zaps166 commented on 2014-07-28 18:59 (UTC)

Hi, new release because of bugs in .desktop files - (new checksum, because this is the same file name). Please remove ">=1.2" from ffmpeg dependency :)

zaps166 commented on 2014-07-27 20:18 (UTC)

Hi! There is new version :) Please remove these lines (no longer needed): mkdir -p $pkgdir/usr/share/icons/hicolor/128x128/apps cp $pkgdir/usr/share/icons/QMPlay2.png $pkgdir/usr/share/icons/hicolor/128x128/apps/ And also you can replace "ffmpeg>=1.2" by "ffmpeg" because it may cause dependency conflicts.

mrbit commented on 2014-06-24 15:51 (UTC)

Thanks Ilya87, done..

Ilya87 commented on 2014-06-23 22:42 (UTC)

If icon is invisible in multimedia apps list add the following lines to the end of package() secti on mkdir -p $pkgdir/usr/share/icons/hicolor/128x128/apps mv $pkgdir/usr/share/icons/QMPlay2.png $pkgdir/usr/share/icons/hicolor/128x128/apps/

Ilya87 commented on 2014-05-25 19:39 (UTC)

Very strange, but now I can't reproduce this bug (with field order flags). But I have a new one - wmv3 format decodes using ffwmv3, not ffwmv3vdpau on hardware that supports wmv3 VDPAU acceleration.

zaps166 commented on 2014-05-23 09:56 (UTC)

Ilya87: Could you send me movie (or only fragment), which has incorrect field order flag? I think that field order flag does nothing without deinterlacing, so I must see that movie.

zaps166 commented on 2014-05-23 09:51 (UTC)

OK, VDPAU doesn't work. I don't know why, probably this is ffmpeg-git bug (VLC has the same crash). You can apply this patch for ffmpeg-git (not for working FFMpeg from official repos, because some movies are less smooth in 1 thread (I don't know why :D)): --- QMPlay2-src-orig/src/modules/FFMpeg/FFDecVDPAU.cpp 2014-02-22 21:53:12.000000000 +0100 +++ QMPlay2-src/src/modules/FFMpeg/FFDecVDPAU.cpp 2014-05-23 11:43:31.310613570 +0200 @@ -48,7 +48,7 @@ codec_ctx->hwaccel_context = av_mallocz( sizeof( AVVDPAUContext ) ); ( ( AVVDPAUContext * )codec_ctx->hwaccel_context )->decoder = ( ( VDPAUWriter * )hwAccelWriter )->getVdpDecoder(); ( ( AVVDPAUContext * )codec_ctx->hwaccel_context )->render = ( ( VDPAUWriter * )hwAccelWriter )->getVdpDecoderRender(); - codec_ctx->thread_count = LIBAVCODEC_VERSION_MAJOR < 55 ? 1 : 3; + codec_ctx->thread_count = 1;//LIBAVCODEC_VERSION_MAJOR < 55 ? 1 : 3; codec_ctx->get_buffer = HWAccelHelper::get_buffer; codec_ctx->release_buffer = HWAccelHelper::release_buffer; codec_ctx->get_format = get_format;

Ilya87 commented on 2014-05-22 21:24 (UTC)

This bug appears when VDPAU decoding enabled (and consequently is used for decoding). P. S. Feature request - add please option (if possible) to set explicitly field order not only when deinterlacing filter is enabled and for VDPAU, because there are some videos that have wrong field order flag and decoding without correct flag leads to ugly picture without deinterlacing and ugly picture with VDPAU deinterlacing.

zaps166 commented on 2014-05-22 11:31 (UTC)

I compiled ffmpeg-git and qmplay2 and it works correctly. I can't fix bug which is unavailable for me. Could you tell me more about this API change?

Ilya87 commented on 2014-05-22 00:07 (UTC)

This commit is obviously in official ffmpeg's repo, that means QMPlay2 can't oark with ffmpeg-git. Even after recompilation of QMPlay2 it produces the same error. The commit was about API change.

zaps166 commented on 2014-05-21 13:40 (UTC)

This patch modifies libavutil/utils.c, but QMPlay2 crashes at assert in libavcodec/utils.c. I can't compile QMPlay2 with 502512ea0f179165782777265f441d4061ff6012 commit (it seems like libav, but QMPlay2 needs ffmpeg). You must recompile QMPlay2 after updating ffmpeg, otherwise you can have strange software behaviour.

Ilya87 commented on 2014-05-20 18:20 (UTC);a=commit;h=502512ea0f179165782777265f441d4061ff6012 - This commit crashes QMPlay2: Assertion desc->flags & (1 << 4) failed at libavcodec/utils.c:707 [20 may 2014 22:11:07] Program przerwał działanie (SIGABRT)

mrbit commented on 2014-03-08 20:17 (UTC)

Thanks zaps166, done.

zaps166 commented on 2014-03-08 17:24 (UTC)

You can add youtube-dl to optdepends for correct youtube URL decode

mrbit commented on 2014-02-16 23:02 (UTC)


zaps166 commented on 2014-02-16 21:58 (UTC)

Thanks, but the version is 14.02.16 (sorry, my fault)

mrbit commented on 2014-02-16 21:50 (UTC)

Hi zaps166, done.

zaps166 commented on 2014-02-16 21:30 (UTC)

Hi, there is new version available! Please add 'taglib' and 'libcddb' to dependencies!

zaps166 commented on 2013-12-07 15:20 (UTC)

Hi, there is an update available. You should remove "sed"!

zaps166 commented on 2013-11-01 22:12 (UTC)

Hi, please add: sed -i 's/.*reader->seek/if \( \( wh == 0 \&\& offset < 0 \) \|\| \!reader->seek/' src/modules/FFMpeg/FFDemux.cpp Since FFMpeg 2.1 QMPlay2 crashes at MPEGTS files. This is a patch.

zaps166 commented on 2013-09-08 20:02 (UTC)

There is an update available. Now by default there is ALSA module instead of Portaudio on Linux, you should change depends in PKGBUILD.

willemw commented on 2013-08-23 06:51 (UTC)

Hi mrbit. You could remove makedepends and optdepends (or list the reason why pulseaudio is an optdepends after the ':' ). Use 'install -Dm755' instead of 'mv'. For more minor cleanup, in general: perhaps try to follow the wiki PKGBUILD guidelines even more closely (e.g. list the maintainer, don't mention the program name in the title, have quotes around paths containing $pkgdir and $srcdir, BTW there is no need for $srcdir here.)

mrbit commented on 2013-08-23 06:25 (UTC)

Hi willemw, what do you suggest ?

willemw commented on 2013-08-23 05:07 (UTC)

(No need for makedepends here. Could use 'install' instead of 'mv'. Is pulseaudio really an optdepends (i.e. does it give you additional qmplay2 features?) ..., ...)

zaps166 commented on 2013-08-19 08:20 (UTC)

Hmmm, I don't know why. Remove QMPlay2, check manually if it has been removed and reinstall.

mrbit commented on 2013-08-19 07:01 (UTC)

thanks zaps166, done Wotk , but in the terminal : QMPlay2 ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream [19 ago 2013 08:57:28] Cannot load library /usr/bin/../share/qmplay2/modules/ (/usr/bin/../share/qmplay2/modules/ undefined symbol: _ZTI9VisWidget)

zaps166 commented on 2013-08-18 21:42 (UTC)

New version of QMPlay2, new versioning and you can remove all "sed" from PKGBUILD :)

mrbit commented on 2013-08-03 07:33 (UTC)

thanks zaps166, done

zaps166 commented on 2013-08-02 22:26 (UTC)

Since FFMpeg 2.0 there's no subtitles in MKV files, here is my patch: Remove from PKGBUILD: sed -i "1i#include <va/va_version.h>" src/modules/FFMpeg/VAApiWriter.hpp sed -i "1i#include <va/va_compat.h>" src/modules/FFMpeg/VAApiWriter.hpp and remove "ffmpeg-full" from "optdepends", because now Arch Linux FFMpeg package has "VAAPI". And add to PKGBUILD: sed -i 's/ packet.convergence_duration != QMPLAY2_NOPTS_VALUE/packet.convergence_duration > 0/' src/modules/FFMpeg/FFDemux.cpp sed -i 's/qstrcmp( codecName, "ass" )/qstrcmp( codecName, "ass" ) \&\& qstrcmp( codecName, "ssa" )/' src/gui/PlayClass.cpp sed -i 's/\!qstrcmp( streams\[ subtitlesStream \].codecName, "ass" )/(\!qstrcmp( streams\[ subtitlesStream \].codecName, "ass" ) \|\| \!qstrcmp( streams\[ subtitlesStream \].codecName, "ssa" ) )/' src/gui/PlayClass.cpp Thanks :)

mrbit commented on 2013-07-12 14:38 (UTC)

done zaps166.

zaps166 commented on 2013-07-12 13:24 (UTC)

New version of QMPlay2, VAAPI fixed

jim1960 commented on 2013-06-30 10:10 (UTC)

makepkg error: (just pacman -Syu) -------------- VAApiWriter.cpp:186:95: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive] if ( vaCreateSurfaces( VADisp, realW, realH, VA_RT_FORMAT_YUV420, surface_count, VA_surfaces ) != VA_STATUS_SUCCESS ) ^ VAApiWriter.cpp:186:95: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive] VAApiWriter.cpp:186:95: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’ In file included from /usr/include/va/va_x11.h:27:0, from ./VAApiWriter.hpp:10, from VAApiWriter.cpp:11: /usr/include/va/va.h:792:1: note: declared here vaCreateSurfaces( ^ g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I../../qmplay2/headers -Ilibmodplug -Ibuild/moc -o build/obj/load_s3m.o libmodplug/load_s3m.cpp make[3]: *** [build/obj/VAApiWriter.o] Error 1 -----------------

zaps166 commented on 2013-05-19 17:14 (UTC)

OK, thanks :) //pkgdesc is truncated - should be in one line

mrbit commented on 2013-05-19 17:06 (UTC)

ok, zaps166, done

zaps166 commented on 2013-05-19 16:52 (UTC)

There is new QMPlay2, can You use this PKGBUILD: # Contributer: pkgname=qmplay2 pkgver=19V2013 pkgrel=1 pkgdesc="QMPlay2 is a video player, it can plays all formats and stream supported by ffmpeg and libmodplug (including J2B). It has integrated Youtube browser" arch=('i686' 'x86_64') url="" license=('LGPL') depends=('qt4' 'ffmpeg' 'libass' 'mesa' 'libva' 'libxv' 'portaudio' 'libcdio') optdepends=('pulseaudio' 'ffmpeg-full') makedepends=('make' 'gcc') source=("${pkgver}.tar.bz2") md5sums=(514ad7b96de3d94fde6c458b0065d9d6) build() { cd $srcdir/QMPlay2-src NOTERM=1 SYSTEM_BUILD=1 ./compile_unix 0 } package() { mv $srcdir/QMPlay2-src/app $pkgdir/usr } ? Thanks :)

zaps166 commented on 2013-03-25 17:35 (UTC)

QMPlay2 requires qt4, not qt (aka Qt5) and "pulseaudio" should be an optional package :) Can You add to script "QMPlay2_enqueue.desktop" and "qmplay2-opencda.desktop" (for KDE4 CDAudio notifications) files into correct directories? I think that "make" should detect number of CPU cores (or CPUs), look at my QMPlay2 compile script or in my old QMPlay PKGBUILD which detects and uses all CPU cores during compilation :) Thanks :D

mrbit commented on 2013-01-20 09:54 (UTC)


mrbit commented on 2013-01-20 09:46 (UTC)

yes..some requires ??

zaps166 commented on 2013-01-20 09:41 (UTC)

Can You add "mesa" to "depends" (for OpenGL plugin)?

mrbit commented on 2012-12-27 13:14 (UTC)

oops!! sorry! thanks ssharunas done md5..

commented on 2012-12-27 12:35 (UTC)

md5 does not match..

mrbit commented on 2012-11-04 10:51 (UTC)

Add "libcdio" to "depends in PKGBUID ok. thanks zap166

zaps166 commented on 2012-11-04 10:18 (UTC)

Add "libcdio" to "depends", because new version uses this library for AudioCD.

mrbit commented on 2012-10-25 06:17 (UTC)

ok, fixed....Thanks archtux

archtux commented on 2012-10-25 03:35 (UTC)

==> Entering fakeroot environment... ==> Starting package()... sed: can't read /home/antonio/QMPLAY2/src/QMPlay2-src/app/share/applications/QMPlay2.desktop: No such file or directory ==> ERROR: A failure occurred in package(). Aborting... There is no desktop file in tarball.

mrbit commented on 2012-10-24 22:14 (UTC)

note ---> First uninstall qmplay2 update and fixed

zaps166 commented on 2012-10-22 21:38 (UTC)

Please update to new version. New files location in package, new download link. Source code:

mrbit commented on 2012-10-13 23:14 (UTC)

add file desktop