[x265] Problem with linking x265 and ffmpeg

宮村 公男 xanadu at apost.plala.or.jp
Sun Apr 20 08:51:48 CEST 2014


Hello, 

I have a problem with linking x265 and ffmpeg.  

Let me describe outline of problem here…

I’ve got an error while trying to configure ffmpeg with —enable-libx265.  With static x265 library (libx265.a), ffmpeg fails to configure with error “x265 not found”.  
I have upload part of config.log of ffmpeg which related with this error at http://www10.plala.or.jp/pipedream/config_log.html
This error suspects me that libx265.a is broken or not properly build.

I’ve made a contact with a person who build ffmpeg with libx265 via web and received his compile environment (Called disk image).  With this environment, I have tried the following.

1.pkg-config source is copied from disk image which he sent me. Also, tried x265.pc which he sent to me, so the difference is not exists.

2.yasm source is copied from disk image which he sent me. I compiled yasm based on his article’s procedure.

3.cmake source is copied from disk image which he sent me. I compiled yasm based on your article’s procedure. Also tried x265.a which he sent me, so the difference is not exists.

4.for the purpose of comparing, I downloaded x264 and build it based on his article’s procedure.

The result is x264′s configure check have passed and x265′s configure check have failed.
In addition, I can build ffmpeg with –enable-libx264 successfully.  

I’ve confirmed both (his libx265.a and my build libx265.a) with ffmpeg configure script log.  Then there are no difference except ffmpeg’s temp file name.

Now I’d like let someone to check these libx265.a is properly build or not.  


On the other hand, I’ve tried to build ffmpeg with shard x265 library (libx265.0.9.dylib, libx265.16.dylib, libx265.dylib)  This time, I can build ffmpeg successfully, but shard x265 library’s dependency is incorrect.  So I can’t execute ffmpeg without put shard x265 library and ffmpeg binary.  Of course I’ve set proper prefix to build x265 and ffmpeg.

I’d like let someone to check this shard x265 library (libx265.0.9.dylib, libx265.16.dylib, libx265.dylib)  is properly build or not.  


I have uploaded x265 libraries at http://www10.plala.or.jp/pipedream/libx265.zip (3.7MB)


Finally, I’ve noticed size of libx265.a is different with camake’s version.  cmake-2.8.12.2 creates a bit bigger library than cmake-2.8.12.1.  Dose it meaningful or not?


I appreciate your strong help!!


// Miya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140420/c4c29d22/attachment.html>


More information about the x265-devel mailing list