Package Details: subtitlecomposer 0.7.1-3

Git Clone URL: (read-only, click to copy)
Package Base: subtitlecomposer
Description: Video subtitle editor
Upstream URL:
Keywords: composer editor kde subtitle
Licenses: GPL
Submitter: Martchus
Maintainer: Martchus (maxrd2)
Last Packager: Martchus
Votes: 28
Popularity: 0.60
First Submitted: 2015-09-02 23:50 (UTC)
Last Updated: 2022-01-25 17:21 (UTC)

Required by (0)

Sources (3)

Pinned Comments

Martchus commented on 2016-05-18 21:59 (UTC)

All my packages are managed at GitHub where you can also contribute directly: There also exist a binary repository (i686 and x86_64, also contains Git version):

Latest Comments

davy commented on 2022-05-01 22:03 (UTC) (edited on 2022-05-04 18:03 (UTC) by davy)

Perfectly built. Subtitle files load properly. But no video player functionality. All dependencies were met.

maxrd2 commented on 2021-11-04 08:50 (UTC)

Thanks.. updated validpgpkeys

abouvier commented on 2021-11-04 02:22 (UTC)

You should add the signing key in the validpgpkeys=() array.

josete commented on 2021-05-23 16:28 (UTC)

Solved. Thanks a lot!

ranger commented on 2021-05-19 17:32 (UTC)

@josete looks that your mirror is outdated

pacman -Ss extra-cmake-modules extra/extra-cmake-modules 5.82.0-2 (kf5) Extra modules and scripts for CMake

josete commented on 2021-05-19 17:27 (UTC)

Hi! I'm having problems again so I have uninstalled the package. Trying to reinstall I read ... "failed retrieving file 'extra-cmake-modules-5.81.0-1-any.pkg.tar.zst' from : The requested URL returned error: 404" What can I do? Thanks in advance!

josete commented on 2021-01-20 19:35 (UTC)

Done! Solved! Thanks a lot!

maxrd2 commented on 2021-01-20 18:24 (UTC)

@josete you have to rebuild/reinstall the AUR package. ICU got updated since you've last compiled.

josete commented on 2021-01-20 18:03 (UTC)

Trying to launch the application I get ...

subtitlecomposer: error while loading shared libraries: cannot open shared object file: No such file or directory

maxrd2 commented on 2020-12-12 14:30 (UTC)

I've made an update not Martchus. It was possibly mistake, but last time AUR rejected push because pkgrel/ver didn't increase while PKGBUILD and .SRCINFO got changed. Anyways it's a little more than just a build fix.

ranger commented on 2020-12-12 14:00 (UTC)

Thanks for the package Martchus

But please don't update the pkgrel for a build fix if you don't change anything else. The AUR notifiers will see this as a new update, when there is no need for rebuild.

maxrd2 commented on 2020-12-10 22:02 (UTC)

@jan666 build should be fixed now

jan666 commented on 2020-12-10 13:36 (UTC)

SC stable does not build anymore, this is the error: [ 72%] Building CXX object src/videoplayerplugins/mpv/CMakeFiles/mpvplayer.dir/mpvbackend.cpp.o In file included from /var/tmp/pamac-build-ed/subtitlecomposer/src/subtitlecomposer-v0.7.0/src/videoplayerplugins/mpv/mpvplayer_autogen/EWIEGA46WW/moc_mpvbackend.cpp:10, from /var/tmp/pamac-build-ed/subtitlecomposer/src/subtitlecomposer-v0.7.0/src/videoplayerplugins/mpv/mpvplayer_autogen/mocs_compilation.cpp:5: /var/tmp/pamac-build-ed/subtitlecomposer/src/subtitlecomposer-v0.7.0/src/videoplayerplugins/mpv/mpvplayer_autogen/EWIEGA46WW/../../mpvbackend.h:26:10: fatal error: mpv/qthelper.hpp: No such file or directory 26 | #include <mpv/qthelper.hpp> | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/videoplayerplugins/mpv/CMakeFiles/mpvplayer.dir/build.make:86: src/videoplayerplugins/mpv/CMakeFiles/mpvplayer.dir/mpvplayer_autogen/mocs_compilation.cpp.o] Error 1

I contacted the maker of SC and he suggested the following solutions: The version of mpv you're using does not have qthelper.hpp anymore.

You can just comment that #include line as it's not required by SC itself.

Or report it to AUR and someone will hopefully patch the build.

Or install some older mpv.

Or disable/uninstall mpv so it won't be built.

Maybe the maintainer of this package can patch the source or come up with a user solution? thanks

Ray commented on 2020-12-02 22:52 (UTC)

Oddly, I cannot install from the AUR package on my notebook. The same installation was fine on desktop. I'm getting error message

"[ 84%] Built target xineplayer make: *** [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: subtitlecomposer [ray@ray-4284h98 yay-git]$ "

j1simon commented on 2020-10-28 08:35 (UTC)

Regarding this bug report, it would be necessary to patch the desktop file until the new version is released:

josete commented on 2020-05-16 09:40 (UTC)

Reinstalled! All perfect! Thanks a lot!

maxrd2 commented on 2020-05-15 10:02 (UTC)

@josete libicu got updated after subtitlecomposer package was built. Just reinstall/rebuild it with pacaur -S subtitlecomposer

josete commented on 2020-05-15 09:51 (UTC)

Hi! Trying to run this program I get: "subtitlecomposer: error while loading shared libraries: cannot open shared object file: No such file or directory" Any ideas?

Tio commented on 2019-06-28 00:09 (UTC)

Works with the latest update. Thanks!

Tio commented on 2019-06-27 15:00 (UTC)

I get this error now:

Building subtitlecomposer...
==> Making package: subtitlecomposer 0.6.6-6 (jue 27 jun 2019 16:59:37 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.6.6.tar.gz
  -> Found 0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch
==> Validating source files with sha256sums...
    v0.6.6.tar.gz ... Passed
    0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.6.6.tar.gz with bsdtar
==> Starting prepare()...
/var/tmp/pamac-build-tio/subtitlecomposer/PKGBUILD: line 45: cd: /var/tmp/pamac-build-tio/subtitlecomposer/src/subtitlecomposer-0.6.6: No such file or directory
==> ERROR: A failure occurred in prepare().

Martchus commented on 2019-06-27 14:59 (UTC)

@Tio fixed

Tio commented on 2019-06-27 14:29 (UTC)


Building subtitlecomposer...
==> Making package: subtitlecomposer 0.6.6-3 (jue 27 jun 2019 15:50:29 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading v0.6.6.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   131    0   131    0     0    205      0 --:--:-- --:--:-- --:--:--   204

100 32444    0 32444    0     0  20945      0 --:--:--  0:00:01 --:--:-- 20945
100 1598k    0 1598k    0     0   654k      0 --:--:--  0:00:02 --:--:-- 1753k
  -> Downloading 0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  7759    0  7759    0     0  13263      0 --:--:-- --:--:-- --:--:-- 13240
==> Validating source files with sha256sums...
    v0.6.6.tar.gz ... FAILED
    0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

Nocifer commented on 2019-01-26 14:56 (UTC) (edited on 2019-01-26 14:58 (UTC) by Nocifer)

I tried to build and I got the following error:

CMake Error: No source or binary directory provided

I had to edit the PKGBUILD's build() and add an extra '.' step for CMake's configuration, like so:


Neros commented on 2018-06-12 23:43 (UTC)

@Martchus Thanks!

Martchus commented on 2018-06-11 14:00 (UTC)

@Neros If you don't need it, just leave pocketsphinx out-commented and build in a clean chroot. This is the cheapest workaround.

maxrd2 commented on 2018-06-11 13:50 (UTC)

@Neros that cmake error is because of invalid sphinbase pkgconfig file. Have submitted pull request upstream: Before its merged should be patched manually.

Neros commented on 2018-06-11 12:39 (UTC)

I can't compile it anymore:

CMake Error at /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:54 (set):
  Syntax error in cmake code at


  when parsing string


  Invalid character escape '\' (at end of input).
Call Stack (most recent call first):
  /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:81 (_pkgconfig_set)
  /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:113 (_pkgconfig_invoke)
  /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:450 (_pkgconfig_invoke_dyn)
  /usr/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
  cmake/FindPocketSphinx.cmake:11 (pkg_check_modules)
  src/speechplugins/pocketsphinx/CMakeLists.txt:1 (find_package)

-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-neros/aur-subtitlecomposer/src/subtitlecomposer-0.6.6/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-neros/aur-subtitlecomposer/src/subtitlecomposer-0.6.6/CMakeFiles/CMakeError.log".

Martchus commented on 2017-05-24 21:20 (UTC)

I've just rebuild the package in a clean chroot. Not sure why you're getting this error. Could you provide a little bit more of the output (not just the end)? Which makedepends/optdepends do you use?

andre-fernando commented on 2017-05-24 06:45 (UTC)

I am getting a build error: make[1]: *** [CMakeFiles/Makefile2:2470: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build subtitlecomposer. any idea how to fix this?

mikronimo commented on 2017-02-08 13:48 (UTC) (edited on 2017-02-08 17:57 (UTC) by mikronimo)

@Martchus: i Just tried to update pocketsphinx, but, still, it requires gst0.10... anyway, i'll try what you said, thanks for the answer. EDIT: I updated subtitlecomposer, and modified the PKGBUILD (at the prompt request about it); compilation and installation are gone well; the issue, for what about me, is solved. Thanks again.

Martchus commented on 2017-02-08 12:11 (UTC)

mikronimo: Did you read the comments about optional dependencies in the PKGBUILD? I propose you just comment the pocketsphinx dependencies out. There is no real benefit having it anyways because pocketsphinx integration isn't ready yet (as far as I know). But wait, hasn't pocketsphinx already been updated to use new gstreamer?

mikronimo commented on 2017-02-08 02:37 (UTC)

I had all working untill the last update; now that gstreamer0.10 became obsolete in manjaro, i removed it, since the new gstreamer1.10 works in his place; subtitle compser has like dependency gstreamer1.10, but pocketsphinx still have the 0.10 version, so i can't update unless i reinstall it: is there a solution without doing that?

Martchus commented on 2016-05-18 21:59 (UTC)

All my packages are managed at GitHub where you can also contribute directly: There also exist a binary repository (i686 and x86_64, also contains Git version):

Martchus commented on 2016-05-10 20:56 (UTC) (edited on 2016-05-10 21:01 (UTC) by Martchus)

Just to not confuse people which haven't read the last comments, I'm referring to this version of the PKGBUILD: allum: I added pocketsphinx as optional dependency. However, to be able to build the plugin, pocketsphinx must be available at build time. There is no way around it. If you comment the pocketsphinx make-dependency out, you should also out comment the optional dependency for pocketsphinx because in the case the pocketsphinx hasn't been built and hence the package can not make use of pocketsphinx afterwards. That's actually the reason why you got the error message in the first place. I also mentioned this in the comments I've added to the PKGBUILD file itself. The version in my binary repo does not have the pocketsphinx optdep yet (just the make dep and hence the plugin is available), because I forgot to add it and I don't think it is worth to rebuild it (it will be rebuild soon enough when the next version is released). Actually, pocketsphinx does not take long to build so it isn't an "annoying dependency" anyways. The problem is just that the version which is currently available in the AUR doesn't build. I already posted my fixed versions in the comment sections of sphinxbase and pocketsphinx, so the maintainer can fix it.

alium commented on 2016-05-10 19:54 (UTC)

@Martchus: can you make pocketsphinx as optional and no as 'hard' dependencies?

Martchus commented on 2016-05-10 16:14 (UTC)

I fixed the AUR package for sphinxbase and pocketsphinx and added it as make dependency so the plugin will be build. You can find the updated packages (sphinxbase, pocketsphinx, subtitlecomposer and subtitlecomposer-git) here: However, I don't think it makes sense to update the subtitlecomposer package here until the issues in the pocketsphinx and sphinxbase packages are fixed. Otherwise I'll probably get complaints that the package is not building. If you don't want to build everything on your own, you can also use my binary repository (i686, x86_64):

Martchus commented on 2016-05-10 14:10 (UTC) (edited on 2016-05-10 14:31 (UTC) by Martchus)

There is currently no package for pocketsphinx available in the official repositories. Last time I tried to build the version from the AUR it didn't work. That's why I didn't add pocketsphinx to the dependencies. If you want to build the pocketsphinx plugin, add pocketsphinx to the dependencies and try to build it (eg. from the AUR) before. (You also need to build sphinxbase before.)

alium commented on 2016-05-10 13:57 (UTC)

Can not build - missing "pocketsphinx": Package pocketsphinx was not found in the pkg-config search path. Perhaps you should add the directory containing `pocketsphinx.pc' to the PKG_CONFIG_PATH environment variable No package 'pocketsphinx' found CMake Warning at src/speechplugins/CMakeLists.txt:12 (message): PocketSphinx not found - Speech plugin will not be built -- Configuring incomplete, errors occurred!

maxigaz commented on 2016-04-13 15:47 (UTC)

Thank you for the advice! Removing PocketSphinx worked, indeed. PocketSphinx was installed from the official repos of Manjaro Linux, which is currently outdated. I'll try with the AUR package next time.

Martchus commented on 2016-04-13 12:08 (UTC)

I just changed the pkgver in the last update (rebuilding is required because of ICU update). You might try to build it without the PocketSphinx plug-in. If you need it, ensure you have the latest version installed.

maxigaz commented on 2016-04-13 12:01 (UTC)

When trying to update from 0.6.3-1 to 0.6.3-2, compilation fails towards the end. Here is the terminal output I get: [ 97%] Building CXX object src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o /tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp: In member function ‘void SubtitleComposer::PocketSphinxPlugin::processUtterance()’: /tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:95:42: error: too few arguments to function ‘ps_seg_t* ps_seg_iter(ps_decoder_t*, int32*)’ ps_seg_t *iter = ps_seg_iter(m_psDecoder); ^ In file included from /tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:25:0: /usr/include/pocketsphinx/pocketsphinx.h:462:11: note: declared here ps_seg_t *ps_seg_iter(ps_decoder_t *ps, int32 *out_best_score); ^ src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/build.make:62: recipe for target 'src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o' failed make[2]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o] Error 1 CMakeFiles/Makefile2:2469: recipe for target 'src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all' failed make[1]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

Martchus commented on 2016-02-07 21:09 (UTC) (edited on 2016-03-15 22:02 (UTC) by Martchus)

It seems like dependencies for the backends MVP, Xine and gstreamer must be present at compile time. Hence I added these optional dependencies to the regular deps. Read the comment in the PKGBUILD file. I enabled Xine and gstreamer and disabled MVP by default. Currently I wouldn't recommend to use the binary repository noted in the PKGBUILD file as the dependencies of this binary package doesn't match what really is required by the new version. (See the comment below for my own repository.) EDIT: This is no longer valid since release 0.6.0. gstreamer is now always required. The other backends are now pluggable. Of course Xine/MPV must be present to build the plugins in the first place.

Martchus commented on 2015-11-07 22:43 (UTC) (edited on 2015-11-07 22:56 (UTC) by Martchus)

I've just updated the package since the previous version didn't work when building for i686 architecture. I hope this fixes your issue, but I can't say it exactly, because the error message you've provided misses the interesting part. But I guess before "compilation terminated." you've got: "In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0, from /usr/include/gstreamer-1.0/gst/gst.h:35, from /build/subtitlecomposer/src/subtitlecomposer-0.5.7/src/services/gstreamer/gstreamerplayerbackend.h:33, from /build/subtitlecomposer/src/subtitlecomposer-0.5.7/src/services/player.cpp:24: /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory" I use a workaround to prevent this error and as I sayed it should now also work for i686. By the way, here's a link to my binary repository: (The link in the PKGBUILD file is from the maintainer in the old AUR but I think he doesn't update the repository very frequently.)

dare023 commented on 2015-11-07 19:56 (UTC)

Update fails: compilation terminated. src/services/tests/CMakeFiles/services-wavewritertest.dir/build.make:374: recipe for target 'src/services/tests/CMakeFiles/services-wavewritertest.dir/__/player.o' failed make[2]: *** [src/services/tests/CMakeFiles/services-wavewritertest.dir/__/player.o] Error 1 CMakeFiles/Makefile2:1709: recipe for target 'src/services/tests/CMakeFiles/services-wavewritertest.dir/all' failed make[1]: *** [src/services/tests/CMakeFiles/services-wavewritertest.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2