[FFmpeg-devel] [PATCH] Document the preset files system
Michael Niedermayer
michaelni
Mon Sep 29 00:42:40 CEST 2008
On Sun, Sep 28, 2008 at 11:36:46PM +0200, Stefano Sabatini wrote:
> Hi,
> as in subject.
>
> BTW, currently ffmpeg looks for preset files in these directories:
>
> const char *base[3]= { getenv("HOME"),
> "/usr/local/share",
> "/usr/share",
> };
>
> I think it would make sense to also look in $prefix/share/ffmpeg, for example
> if I install in /opt/ then it should look in /opt/share/ffmpeg (this
> will also require to export the prefix value in config.h).
>
> Regards.
> --
> FFmpeg = Furious Free Mastering Pitiful Exploitable Guru
> Index: doc/ffmpeg-doc.texi
> ===================================================================
> --- doc/ffmpeg-doc.texi (revision 15451)
> +++ doc/ffmpeg-doc.texi (working copy)
> @@ -780,6 +780,35 @@
> Set the initial demux-decode delay.
> @end table
>
> + at section Preset files
> +
> +Preset files are specified with the @code{vpre}, @code{apre} and
> + at code{spre} options.
> +
> +Preset files contains a sequence of @var{option}=@var{value} pairs,
> +one for each line, which specify a sequence of options which would be
> +awkward to specify on command line. Also, preset files support #
> +comments starting at the beginning of the line. Check the
> + at file{ffpresets} directory in the FFmpeg source tree for examples.
> +
> +Preset files should be terminated by the @code{.ffpreset} suffix. When
this sounds odd
anyway iam fine with the patch once one of the english experts approves it.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080929/f7f8ff66/attachment.pgp>
More information about the ffmpeg-devel
mailing list