[FFmpeg-user] ffmpeg with static x264

Reindl Harald h.reindl at thelounge.net
Sat Oct 6 20:53:16 CEST 2012



Am 06.10.2012 20:21, schrieb Carl Eugen Hoyos:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
> 
>> because ffmpeg and x264 are heavily changing so-names
> 
> Could you elaborate?

having a recent x264/ffmpeg on a distribution is not so easy
vlc, mplayer and a lot of multimedia-packages are using both

so it is not possible update only ffmpeg/x264 without rebuild
other packages, but i mainly use ffmpeg as command-line tool
without any deps - so i have to find workaorunds :-)

>> in theory i also have a RPM with static x264
>> /usr/local/include/x264.h
>> /usr/local/include/x264_config.h
>> /usr/local/lib64/libx264.a
> 
>> /usr/local/lib64/pkgconfig/x264.pc
> 
> (FFmpeg does not use pkgconfig for x264.)

ok, it's easy to not include it in the package

> If you don't need libx264.a for other applications, 
> you don't have to install it, simply pass the 
> necessary include and lib paths as extra-ldflags 
> and extra-cflags to FFmpeg's configure.
> (See configure --help)

correct me -but that would mean x264 as shared-library
a way to go if ffmpeg is using the ones from /usr/local
while another version is installed in /usr

if will give extra-ldflags a try ASAP





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121006/ba99c26f/attachment.asc>


More information about the ffmpeg-user mailing list