X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=doc%2Fhooks.texi;h=bd817e7f9c77c0986bb66a56474873d0613e5647;hp=7eb2da8848d8a9fea07ad7eb32e820d4cbfeb4f3;hb=56d2d2d01a96ed801517f826285f4c9877f46db3;hpb=9d6f1d52c5e0d109c79db373e10c3632ed4886a1 diff --git a/doc/hooks.texi b/doc/hooks.texi index 7eb2da8848..bd817e7f9c 100644 --- a/doc/hooks.texi +++ b/doc/hooks.texi @@ -18,10 +18,10 @@ Any number of hook modules can be placed inline, and they are run in the order that they were specified on the ffmpeg command line. Three modules are provided and are described below. They are all intended to -be used as a base for your own modules. +be used as a base for your own modules. Modules are loaded using the -vhook option to ffmpeg. The value of this parameter -is a space seperated list of arguments. The first is the module name, and the rest +is a space separated list of arguments. The first is the module name, and the rest are passed as arguments to the Configure function of the module. @section null.c @@ -45,5 +45,16 @@ This allows a caption to be placed onto each frame. It supports inserting the time and date. By using the imlib functions, it would be easy to add your own graphical logo, add a frame/border, etc. +@section ppm.c + +It's basically a launch point for a PPM pipe, so you can use any +executable (or script) which consumes a PPM on stdin and produces a PPM +on stdout (and flushes each frame). + +Usage example: + +@example +ffmpeg -i input -vhook "/path/to/ppm.so some-ppm-filter args" output +@end example @bye