[FFmpeg-user] Enabling libx265
David Favor
david at davidfavor.com
Mon Jul 21 15:32:39 CEST 2014
Kimio Miyamura wrote:
> 2014/07/20 1:26、David Favor <david <at> davidfavor.com> wrote:
>
>> Or if you'd like to build shared, here's the correct incantation...
>>
>> cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ../../source
>>
>> You know everything is correct, when the output of otool shows
>> absolute paths for all objects.
>
> To execute x265 as shared library with in a non-standard library path, We need export "DYLD_LIBRARY_PATH".
>
> $ export DYLD_LIBRARY_PATH=$prefix
>
> This is same with ffmpeg which uses x265 as shard library.
Or add ...
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix
which is preferred, as if you begin doing things like...
export DYLD_LIBRARY_PATH=$prefix
Everything's rainbows + unicorns, till you try running a
task out of cron or at the system level...
Then you have to determine how you'll set this so all processes
pickup this path... and if this path ever changes... or requires
multiple values... you'll have to keep all this straight...
I've tried this... It becomes complex...
For me, better to just use the cmake facility for setting this
for each $prefix path that's used.
More information about the ffmpeg-user
mailing list