Package Details: makemkv 1.12.3-1

Git Clone URL: https://aur.archlinux.org/makemkv.git (read-only)
Package Base: makemkv
Description: DVD and Blu-ray to MKV converter and network streamer
Upstream URL: http://www.makemkv.com
Licenses: custom, MPL, LGPL
Submitter: hydro
Maintainer: hydro
Last Packager: hydro
Votes: 244
Popularity: 3.338627
First Submitted: 2010-01-26 15:31
Last Updated: 2018-07-24 22:10

Latest Comments

1 2 3 4 5 6 ... Next › Last »

hydro commented on 2018-05-16 05:23

Added patch from gentoo ebuild.

Marcel_K commented on 2018-05-15 23:48

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

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

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

nbisby commented on 2018-05-13 23:50

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

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.

ArchangeGabriel commented on 2018-05-13 18:11

Just replace CODEC_FLAG_GLOBAL_HEADER by AV_CODEC_FLAG_GLOBAL_HEADER as suggested.

theking02 commented on 2018-05-13 17:53

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

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

theking02 commented on 2018-05-13 12:35

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