[FFmpeg-devel] change installation directory for ffpresets

Måns Rullgård mans
Sun May 16 04:19:47 CEST 2010


Reinhard Tartler <siretart at tauware.de> writes:

> On Sat, May 15, 2010 at 22:01:52 (CEST), Stefano Sabatini wrote:
>
>> Presets are parsed and processed by ffmpeg the binary, shipping them
>> with libavcodec looks a very bad idea (TM).
>>
>> Since presets files are processed by ffmpeg they need to depend on the
>> ffmpeg version. For example we could decide to change the presets
>> syntax, this would merely depend on the revnumber, and nothing on the
>> library numbers.
>
> In practice, the preset syntax doesn't change. What does change is the
> options and values it sets. Therefore in practice, the dependency of the
> presets on the libavcodec package at least "feels" much stronger than on
> FFmpeg.

The presets cannot be processed by libavcodec and thus should not be
that closely tied to it.

> The thing is this, in ubuntu/debian, I maintain in fact two versions of
> FFmpeg.  One that builds and installs the 'ffmpeg' utility package but
> no libx264 wrapper, and the other one with libx264 enabled but without
> the ffmpeg utility (called the '-extra-' variant. In practice, it can
> indeed happen that the -extra- variant is lagging a few days/weeks
> behind the regular variant. Therefore, it is convenient to ship the
> preset files in the libavcodec binary package.
>
> This can be of course considered as a self-made problem, but I'd prefer
> a solution at an upstream level over a sub-optimal distro-only one.

That is indeed your problem.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list