Search found 4 matches

by clearlinux
Sun Oct 24, 2021 4:45 am
Forum: MakeMKV for Linux
Topic: help configure find ffmpeg
Replies: 3
Views: 8703

Re: help configure find ffmpeg

I solved my problem. The *only* environment variable I needed to set in order for configure to find ffmpeg was PKG_CONFIG_PATH to where ffmpeg was installed with the appropriate build options.

This is in the regular instructions under "OPTIONAL: Building with latest libavcodec"

Basically, I just ...
by clearlinux
Sun Oct 24, 2021 12:38 am
Forum: MakeMKV for Linux
Topic: help configure find ffmpeg
Replies: 3
Views: 8703

Re: help configure find ffmpeg

I tried building against the latest "release" ffmpeg-4.4, basically following these directions: https://www.javahotchocolate.com/notes/makemkv.html

Here is config.log: https://paste.rs/yUM

error: LIBAVCODEC_VERSION_MAJOR is not known at compile time in libavcodec.h

I would appreciate any guidance ...
by clearlinux
Sun Oct 17, 2021 6:19 pm
Forum: MakeMKV for Linux
Topic: help configure find ffmpeg
Replies: 3
Views: 8703

Re: help configure find ffmpeg

by specifying the following:

declare -x ffmpeg_CFLAGS="-I/usr/local/include"
declare -x ffmpeg_LIBS="/usr/local/lib"

./configure can get to:

checking for ffmpeg... yes
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... failed
configure: error: in ...
by clearlinux
Sun Oct 17, 2021 2:28 pm
Forum: MakeMKV for Linux
Topic: help configure find ffmpeg
Replies: 3
Views: 8703

help configure find ffmpeg

I'm sorry, this probably "building software 101," but I think I have ffmpeg libraries in /usr/local/include, but I don't know how to tell configure to look for them there.

I tried setting the ffmpeg_LIBS variable, but it doesn't seem to help. Could A Smart Person please advise?

export|grep ffmpeg ...