[FFmpeg-user] Enabling libx265
宮村 公男
xanadu at apost.plala.or.jp
Mon Apr 21 06:54:51 CEST 2014
2014/04/18 1:26、宮村 公男 <xanadu at apost.plala.or.jp> のメール:
> Now I remove *.dylib files to build ffmpeg as static binary.
>
> $ git clone git://source.ffmpeg.org/ffmpeg.git
> $ cd ffmpeg
> $ ./configure --as=yasm --enable-gpl --enable-libx265
>
> then ffmpeg configure script exits with "ERROR: x265 not found" error.
The cause of this issue might be a bug with x265. It can be solved by:
1.Add -lstdc++ into CFLAGS
or
2.Edit x265.pc as follows:
--- a/x265.pc 2014-04-16 14:50:20.000000000 +0900
+++ b/x265.pc 2014-04-21 10:54:32.000000000 +0900
@@ -6,6 +6,6 @@
Name: x265
Description: H.265/HEVC video encoder
Version: 0.9
-Libs: -L${libdir} -lx265
+Libs: -L${libdir} -lx265 -lstdc++
Libs.private: -lc++ -l/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/lib/darwin/libclang_rt.osx.a
Cflags: -I${includedir}
// Miya
More information about the ffmpeg-user
mailing list