Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-29 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2018-12-28 19:21, Moritz Barsnick wrote:
> x265 messed it up, with a commit created 15 days ago: 
> http://ffmpeg.org/pipermail/ffmpeg-user/2018-December/042609.html

Hmm, ok. It must have been authored 15 days ago, but commited after
Dec 24th. Anyway, thanks for the info.

I believe to remember that x265 broke pretty much the same thing
several months ago.

> AFAIU, fate doesn't use external libraries. (Not even just build
> tests, apparently.)

I see.

Cheers,
  K. C.

- -- 
regards Helmut K. C. Tessarek  KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAlwnYpwACgkQvgmFNJ1E
3QCOHg/9GXfeSGOND0f4xg45yP9jrn8MLWEKqCK68i4mAtvtLbJyXFY7xSV08L8Y
A6+xDJSPvAoRLX/fHGGNQ24DQwLJogpHPAg2ktlMvcGaJP1qh5sHD5aOw/eSsWi4
H5QBmCkCQ1ZTVCBxVfvEWbzQCLF6cpx0OoAX+zl0i9yUcgbV+4JwNmu4C5Pa4rwt
E3QkFmQ8J8cizvWdPUyNjjUN7k5oV8mOssOfledzHTGbZtMrQ+KaaNLrBP72If73
u1c75piDggxn7/sJLMzLsrspwyqkTl5wj9fBbV7iQtToBfI3CxGec8CktSj/8P+2
2S1o/AlA1xbnFkmYujNTd3/Tk0WtJ/f+PQ615YlJZtQAfDt3FvbPdHfGZF2cMtOm
7gTjCbyoEkk2CFXxkq/iFoYSQ/3FphiHiC4AjuOwVWPaET+BmHweQmU9Vu2F2TIm
jnaJBjnuCzxmNGMTrhhiCJvT7UPbFgo84sGtwhwoPED/0CMVfa06fr2CrHakYqAm
g6MqcxPzev0C1940aLBgk7+sVzsCIkjYe1PHge9jEjtanGzRMQOeyjXhWGaVccQD
hR/QniittRkIMnJmISM0+na6ap6E7qJ31waMN80ATb5t46U9QvzQ/6gXIzVhDJCB
+7xQVdYsNxxy980qBQruQjeFwj0pyKEsM31NAQTfQ1ZZQn4Ux4Y=
=7Ohr
-END PGP SIGNATURE-
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Moritz Barsnick
On Fri, Dec 28, 2018 at 18:51:55 -0500, Helmut K. C. Tessarek wrote:
> Either the latest x265 broke something or a change in ffmpeg's
> configure messed things up.

x265 messed it up, with a commit created 15 days ago:
http://ffmpeg.org/pipermail/ffmpeg-user/2018-December/042609.html

> What I don't understand is that you didn't run into the same problem
> with fate.

AFAIU, fate doesn't use external libraries. (Not even just build tests,
apparently.)

Moritz
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

> You'd need to post your whole config.log (pastebin) likely.
> 
> However, this list is for development of FFmpeg itself, and this 
> question should be on the user mailing list, or #ffmpeg on
> FreeNode, where you'll likely get better answers.

I'd usually agree, but I'm building the binaries for macOS and I'm
running into the same issue.

Either the latest x265 broke something or a change in ffmpeg's
configure messed things up.

What I don't understand is that you didn't run into the same problem
with fate.

The last successful build I had was Dec 24th:

ffmpeg 92795-gcdbf8847ea
x265 20181217-1f44f1f1623d 2.9+16-1f44f1f1623d

So something between then and now screwed things up.

Cheers,
  K. C.

- -- 
regards Helmut K. C. Tessarek  KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAlwmtxUACgkQvgmFNJ1E
3QDHLQ/7BK1EDTPotGqn+7LQODL2TSmDGq8mQf7emx5ckG42R5Kpb0G84eZ5Ns6a
Mii8oQ/tovX/kRtFjd4+H17xIUA2u7e+kXc/yNSHC51jFhE5F8QxfuU/3T2wfSIt
nLbPx68t5LARPqUdaldWUJ3r7kL/wyctNaeqYfZrMuhhzRm5BCRnKJC1mLgNCB+e
8628iMdCCeucZwj1Eb3bK+Y4YgoxalEHHjnqSnrAxlxuWO2WdlIbD1z5gfTMJ8s7
bDsKVmKKdgy27lI4JU0vRZ5Q1d2GaPqicVRij7L3XjYr0OC6Yn2Oe9h9mYZCBLfp
Z3f/wxUMOSQI4CwA2yd97ZV1fcs82B28StAvdaixTDWxecWyjF89dMC2mYqmpIFu
SFqrtzEZdrWnFgNljSkvkd4t2evLCIS+A5l9b01sXVxN7RyqFv0kThs+bHll/cH9
jYXm/bVYn1hUuAp73xsKlHlNWjRcCgTQQSqVAKxAU6NP2PeIRogf/NpU8M7hACuo
mds/OIFPNUMTnul58pvT59xTnrQV96aULDvbm+lTvskP93T/x4VDjs2yrYJ3q4tH
45J0a2x6eCmU2yVKLK/6wf2NwciBCDxItBIwqRPZ5m/8creDlfF46dHspE/q2wqd
mR0YmeWr5ouOigFSnXi0EZk/eZwbqMPrUc+87LGm9Gt3gdHCHAs=
=G6TL
-END PGP SIGNATURE-
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Larry Apolonio

Thanks Derek, I will repost my question on the users list as well as in IRC

The pastebin is here though

https://pastebin.com/Vq8GFaui


On 12/28/2018 8:30 AM, Derek Buitenhuis wrote:

On 28/12/2018 16:21, Larry Apolonio wrote:

[...]

You'd need to post your whole config.log (pastebin) likely.

However, this list is for development of FFmpeg itself, and this
question should be on the user mailing list, or #ffmpeg on FreeNode,
where you'll likely get better answers.

Cheers,
- Derek

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Derek Buitenhuis
On 28/12/2018 16:21, Larry Apolonio wrote:
> [...]

You'd need to post your whole config.log (pastebin) likely.

However, this list is for development of FFmpeg itself, and this
question should be on the user mailing list, or #ffmpeg on FreeNode,
where you'll likely get better answers.

Cheers,
- Derek

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Larry Apolonio

On 12/28/2018 3:09 AM, Moritz Barsnick wrote:

On Thu, Dec 27, 2018 at 22:38:24 -0800, Larry Apolonio wrote:

ERROR: x265 not found using pkg-config

[...]

pkg-config --exists --print-errors x265
Package x265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x265.pc'
to the PKG_CONFIG_PATH environment variable

After x265's "sudo make install", is x265.pc located where your other
pkgconfig files are located?

Perhaps you need to
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

in case pkgconfig is not searching that path by default.
(Assuming "make install" installed to /usr/local.)

Moritz
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


I checked /usr/local/lib/pkgconfig and the x265.pc packages is there as 
well as the others.


# ls -l /usr/local/lib/pkgconfig
total 52
-rw-r--r-- 1 root root 426 Dec 26 23:52 libavcodec.pc
-rw-r--r-- 1 root root 459 Dec 26 23:52 libavdevice.pc
-rw-r--r-- 1 root root 449 Dec 26 23:52 libavfilter.pc
-rw-r--r-- 1 root root 366 Dec 26 23:52 libavformat.pc
-rw-r--r-- 1 root root 285 Dec 26 23:52 libavutil.pc
-rw-r--r-- 1 root root 308 Dec 26 23:52 libpostproc.pc
-rw-r--r-- 1 root root 313 Dec 26 23:52 libswresample.pc
-rw-r--r-- 1 root root 306 Dec 26 23:52 libswscale.pc
-rw-r--r-- 1 root root 246 Dec 26 22:46 opencore-amrnb.pc
-rw-r--r-- 1 root root 255 Dec 26 22:46 opencore-amrwb.pc
-rw-r--r-- 1 root root 260 Dec 27 11:25 vo-amrwbenc.pc
-rw-r--r-- 1 root root 278 Dec 26 23:10 x264.pc
*-rw-r--r-- 1 root root 244 Dec 27 12:00 x265.pc*


I ran the following commands and they did not produce any error

$ pkg-config --exists --print-errors x265
$ pkg-config --exists --print-errors x264
$ pkg-config --exists --print-errors opencore-amrwb

and the PKG_CONFIG_PATH is set.

$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/

LA

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-28 Thread Moritz Barsnick
On Thu, Dec 27, 2018 at 22:38:24 -0800, Larry Apolonio wrote:
> ERROR: x265 not found using pkg-config
[...]
> pkg-config --exists --print-errors x265
> Package x265 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `x265.pc'
> to the PKG_CONFIG_PATH environment variable

After x265's "sudo make install", is x265.pc located where your other
pkgconfig files are located?

Perhaps you need to
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

in case pkgconfig is not searching that path by default.
(Assuming "make install" installed to /usr/local.)

Moritz
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] Install from Source on CentOS 7

2018-12-27 Thread Larry Apolonio

All,

I am trying to compile ffmpeg with x265 libs

Details of how I did it are here (without the x265 support)

https://www.apolonio.com/node/138

but I get an error when I add x265.

ERROR: x265 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-u...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this 
will help

solve the problem.

Here is the tail end of the config.log file

BEGIN /tmp/ffconf.3qUgZlye/test.c
1   #include 
2   #if !(X264_MPEG2)
3   #error "unsatisfied condition: X264_MPEG2"
4   #endif
END /tmp/ffconf.3qUgZlye/test.c
/usr/bin/gcc44 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC 
-std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 
-I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/uuid -I/usr/include/libpng15 -I/usr/include/freetype2 
-I/usr/include/libpng15 -I/usr/include/openjpeg-2.3 -D_REENTRANT -E -o 
/tmp/ffconf.3qUgZlye/test.o /tmp/ffconf.3qUgZlye/test.c

In file included from /tmp/ffconf.3qUgZlye/test.c:1:
/usr/local/include/x264.h:40:4: warning: #warning You must include 
stdint.h or inttypes.h before x264.h
/tmp/ffconf.3qUgZlye/test.c:3:2: error: #error "unsatisfied condition: 
X264_MPEG2"

require_pkg_config libx265 x265 x265.h x265_api_get
check_pkg_config libx265 x265 x265.h x265_api_get
test_pkg_config libx265 x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
Package x265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x265.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x265' found
ERROR: x265 not found using pkg-config

What is not in the document is how I installed x265, here is what I did

cd ~/src/ffmpeg

git clone https://github.com/videolan/x265.git

cd x265/build

cmake ../source/

make

sudo make install

It seems to install fine, I can run the command x265, and it did run 
ldconfig prior to compiling ffmpeg, but I still get the error.


If I remove --enable-libx265 from the ./configure command, it does 
complete with the following warnings


WARNING: using libx264 without pkg-config
WARNING: Building with deprecated library libavresample

and I am able to make and sudo make install ffmpeg and it does what 
transcode some files like I need it to.


Any thoughts, pointers, is there more information I can provide?

Thanks,

Larry Apolonio



___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel