Package Details: makemkv 1.18.1-1

Git Clone URL: https://aur.archlinux.org/makemkv.git (read-only, click to copy)
Package Base: makemkv
Description: DVD and Blu-ray to MKV converter
Upstream URL: https://www.makemkv.com
Licenses: LGPL-2.1-or-later, LicenseRef-GuinpinSoft-inc-EULA
Submitter: hydro
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 329
Popularity: 1.98
First Submitted: 2010-01-26 15:31 (UTC)
Last Updated: 2025-04-05 21:06 (UTC)

Dependencies (4)

Sources (4)

Pinned Comments

FabioLolix commented on 2024-07-20 16:33 (UTC)

This now depends on libavcodec.so so when it needs to be rebuilded against new ffmpeg version you are forced to uninstall first otherwise the update will be blocked

fosskers commented on 2023-06-11 13:56 (UTC)

I can confirm that a manual sudo modprobe sg was necessary to get makepkg to detect my DVD drive.

FabioLolix commented on 2023-03-16 21:41 (UTC)

Beta key:

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 28 Next › Last »

hydro commented on 2018-05-16 05:23 (UTC)

Added patch from gentoo ebuild.

Marcel_K commented on 2018-05-15 23:48 (UTC)

I stand corrected, indeed: the package owner should patch the sources in prepare() and push a new release.

javmorin commented on 2018-05-15 22:27 (UTC) (edited on 2018-05-15 22:29 (UTC) by javmorin)

I added the following prepare() section. Not sure if the CAP_DELAY matters, but it was changed in other ffmpeg 4.x updates, so I assumed it does.

prepare() {
  cd "${srcdir}/${pkgname}-oss-${pkgver}"
  # ffmpeg 4.0 tweaks
  sed -ri 's|CODEC_CAP_DELAY|AV_CODEC_CAP_DELAY|' libffabi/src/ffabi.c
  sed -ri 's|([ &])CODEC_FLAG_GLOBAL_HEADER|\1AV_CODEC_FLAG_GLOBAL_HEADER|' libffabi/src/ffabi.c
}

evana commented on 2018-05-14 05:36 (UTC)

@nbisby sed also needs -r otherwise the regex doesn't work as written.

nbisby commented on 2018-05-13 23:50 (UTC)

I added the line: sed -e "s/([ &])CODEC_FLAG_GLOBAL_HEADER/\1AV_CODEC_FLAG_GLOBAL_HEADER/" libffabi/src/ffabi.c -i

to the build() section of the PKGBUILD (after the cd, but before the ./configure). It built and launched after that.

mosh5382 commented on 2018-05-13 23:43 (UTC)

This took a bit of doing.

I ran this: wget http://www.makemkv.com/download/makemkv-oss-1.12.2.tar.gz

Then added the "AV_" in the spots pointed out by the complication failure in this file: libffabi/src/ffabi.c

I then repackaged the makemkv-oss-1.12.2.tar.gz

Finally I changed the md5sum in the pkgbuild for the "makemkv-oss-1.12.2.tar.gz" file.

I was then able to makepkg -s and the pkgbuild worked correctly. After installing the pkgbuild makemkv will now run correctly.

Archange commented on 2018-05-13 18:11 (UTC)

Just replace CODEC_FLAG_GLOBAL_HEADER by AV_CODEC_FLAG_GLOBAL_HEADER as suggested.

theking02 commented on 2018-05-13 17:53 (UTC) (edited on 2018-05-13 18:10 (UTC) by Archange)

I tried rebuilding and am getting the following error:

libabi/src/sys_linux.c: In function ‘SYS_readdir’:
libabi/src/sys_linux.c:80:5: warning: ‘readdir64_r’ is deprecated [-Wdeprecated-declarations]
     err = readdir64_r(dirp,&data.ent,&pent);
     ^~~
In file included from libabi/src/sys_linux.c:25:
/usr/include/dirent.h:201:12: note: declared here
 extern int readdir64_r (DIR *__restrict __dirp,
            ^~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_init’:
libffabi/src/ffabi.c:152:5: warning: ‘avcodec_register_all’ is deprecated [-Wdeprecated-declarations]
     avcodec_register_all();
     ^~~~~~~~~~~~~~~~~~~~
In file included from libffabi/src/ffabi.c:22:
/usr/include/libavcodec/avcodec.h:4086:6: note: declared here
 void avcodec_register_all(void);
      ^~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:520:30: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
         ctx->avctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              AV_CODEC_FLAG_GLOBAL_HEADER
libffabi/src/ffabi.c:520:30: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_get_info’:
libffabi/src/ffabi.c:721:28: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
     if ((ctx->avctx->flags&CODEC_FLAG_GLOBAL_HEADER)!=0)
                            ^~~~~~~~~~~~~~~~~~~~~~~~
                            AV_CODEC_FLAG_GLOBAL_HEADER
make: *** [Makefile:75: out/libmakemkv.so.1.full] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Marcel_K commented on 2018-05-13 14:40 (UTC)

Yes. You can rebuild the package yourself, no need for a change in the PKGBUILD.

theking02 commented on 2018-05-13 12:35 (UTC)

This might need a rebuild because of the newest ffmpeg libraries? I am getting this error when launching:

/usr/bin/makemkvcon: error while loading shared libraries: libavcodec.so.57: cannot open shared object file: No such file or directory

ffmpeg: https://www.archlinux.org/packages/extra/x86_64/ffmpeg/

Is now up to version 1:4.0-2 which provides libavcodec.so.58