Just replace CODEC_FLAG_GLOBAL_HEADER by AV_CODEC_FLAG_GLOBAL_HEADER as suggested.
Search Criteria
Package Details: makemkv 1.17.8-1
Package Actions
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: | 326 |
Popularity: | 3.19 |
First Submitted: | 2010-01-26 15:31 (UTC) |
Last Updated: | 2024-09-30 16:08 (UTC) |
Dependencies (4)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg, ffmpeg4.4)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional) – bdjava https://www.makemkv.com/bdjava/
Required by (3)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 27 Next › Last »
Archange commented on 2018-05-13 18:11 (UTC)
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
lucaswerkmeister commented on 2018-04-27 19:57 (UTC)
The cdrtools package installs an autoload file for sg
in /usr/lib/modules-load.d/cdrecord.conf, so IMHO it wouldn’t be out of place for makemkv to do the same…
hydro commented on 2018-02-24 16:25 (UTC)
I added a post install warning. I don't think a package should autoload a module that is not part of the package.
Marcel_K commented on 2018-02-20 21:54 (UTC)
@hydro: What about javmorin's suggestion to add a makemkv.conf file to automatically load the sg driver? I can confirm that MakeMKV works properly again after loading that module.
javmorin commented on 2018-01-24 19:00 (UTC) (edited on 2018-01-24 19:03 (UTC) by javmorin)
I can confirm that makemkv works normally after loading of the sg module.
Per https://wiki.archlinux.org/index.php/Kernel_modules#Automatic_module_handling it would seem correct to add an '/etc/modules-load.d/makemkv.conf' file to this package which triggers loading of the sg module on boot. At the very least there should be a post install warning indicating that loading of the sg module is required for makemkv to run properly.
Correction: since it is being installed via package it would be /usr/lib/modules-load.d/makemkv.conf
klemens commented on 2018-01-24 03:23 (UTC)
Regarding the unrecognised drives: mike said in the liked thread that makemkv now needs the generic scsi sg driver, which it seems is not loaded by default on arch.
After loading the driver (e.g through modprobe sg
) my drive is recognised again, but I haven't tested actually reading a disk.
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 newffmpeg
version you are forced to uninstall first otherwise the update will be blockedfosskers commented on 2023-06-11 13:56 (UTC)
I can confirm that a manual
sudo modprobe sg
was necessary to getmakepkg
to detect my DVD drive.FabioLolix commented on 2023-03-16 21:41 (UTC)
Beta key: