[FFmpeg-devel] ffmpeg for CentOS 7 tutorial is broken

Douglas Wire pupcostudios at gmail.com
Sat Nov 18 02:16:22 EET 2017

This is using the procedure right off of the webpage tutorial and it does
not appear it even created an OPUS.pc anywhere.

BEGIN /tmp/ffconf.zdwwNVl9/test.c
    1    #include <lame/lame.h>
    2    #include <stdint.h>
    3    long check_lame_set_VBR_quality(void) { return (long)
lame_set_VBR_quality; }
    4    int main(void) { int ret = 0;
    5     ret |= ((intptr_t)check_lame_set_VBR_quality) & 0xFFFF;
    6    return ret; }
END /tmp/ffconf.zdwwNVl9/test.c
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/root/ffmpeg_build/include
-std=c11 -fomit-frame-pointer -pthread -I/root/ffmpeg_build/include
-I/usr/include/freetype2 -c -o /tmp/ffconf.zdwwNVl9/test.o
gcc -L/root/ffmpeg_build/lib -Wl,--as-needed -Wl,-z,noexecstack -o
/tmp/ffconf.zdwwNVl9/test /tmp/ffconf.zdwwNVl9/test.o -lmp3lame -lpthread
require_pkg_config libopus opus opus_multistream.h
check_pkg_config libopus opus opus_multistream.h
test_pkg_config libopus opus opus_multistream.h
pkg-config --exists --print-errors opus
Package opus was not found in the pkg-config search path.
Perhaps you should add the directory containing `opus.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opus' found
ERROR: opus not found using pkg-config

The reason I mentioned the tutorial is I thought whoever rights those might
wan to revisit their work as the one for CentOS 7 is incorrect. I think I
cn figure out how to compile as shared on my.

On Fri, Nov 17, 2017 at 7:02 PM, grady player <derfooser at icloud.com> wrote:

> if you post the output of failed build step, someone might have some
> insight... but just saying everything is broken isn't likely going to go
> anywhere.
> if you are having problems with ffmpeg-php you may want to contact their
> maintainers https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues
> -grady
> > On Nov 17, 2017, at 4:38 PM, Douglas Wire <pupcostudios at gmail.com>
> wrote:
> >
> > I spent a week or so at one point making a set of one liners to install
> > ffmpeg with a bunch of encoder support and since I need ffmpeg-php
> support
> > I was compiling as shared.
> >
> > Now nothing I wrote works and if you run the tutorial it fails with
> > pckg-config errors and refuses to compile. Can someone take a look at
> this?
> > I have spent three days pulling my hair out until I realized just
> following
> > your published tutorial exhibits the same failures as I have been seeing
> > with my script. Thanks in advance
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list