[FFmpeg-user] ffmpeg with static x264

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Oct 6 20:21:11 CEST 2012


Reindl Harald <h.reindl <at> thelounge.net> writes:

> because ffmpeg and x264 are heavily changing so-names

Could you elaborate?

> and many distribution packages depends on it i am now
> at a point where ffmpeg static without .so-files is
> possible under /usr/local not colliding with /usr
> 
> 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.)

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)

Carl Eugen



More information about the ffmpeg-user mailing list