A
A
Andrew2012-06-22 10:48:36
linux
Andrew, 2012-06-22 10:48:36

How to explicitly specify the required libx264 library when building ffmpeg under ubuntu?

Good afternoon!

The essence of the problem is as follows:

There is a machine with ubuntu and with the h264 codec library already installed.
It is required to build the ffmpeg library from the sources on it with support for this codec, and the ffmpeg library is already installed on this computer, you need to put it in another directory (specifying --prefix)
Installed then installed, but without h264, as it swears at ./configure to an earlier version of the h264 codec already installed in the system. It cannot be removed, since the machine is combat and is used to its fullest. We have built (without deleting the old version) the latest h264 version, but ffmpeg still complains. There was an idea that it is possible to specify the required version of the h264 codec in the ./configure command. But I don't know if it is possible to do this and if it will help in this case. Maybe someone faced such a problem? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MikhailEdoshin, 2012-06-22
@MikhailEdoshin

configure swears, but not the next one make? configure but it seems that the compiler checks more common libraries, yes. See configure --helpif there's anything useful there. In principle, usually fine-tuning is passed configure through temporary environment variables, for example:

LFLAGS=путь/к/новой/библиотеке.lib ./configure

but it depends on the project, most likely.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question