[Ffmpeg-devel] [RFC]: vhook Documentation

Piero Bugoni crboca32
Wed Mar 7 02:32:09 CET 2007


--- V?ctor Paesa <wzrlpy at arsystel.com> wrote:

> 
> Some comments/nitpicks:
> 
> -Text fonts are being looked for in a FONTPATH
> environment variable.
> +The font file used is looked for in a FONTPATH
> environment variable, and
> +prepended to the point size as a command line
> option and can be specified
> +with the full path to the font file, as in:
> + at example
> +-F /usr/X11R6/lib/X11/fonts/TTF/VeraBd.ttf/20
> +# where 20 is the point size.
> + at end example
> 
> The way to express point size might be more visible
> this way:
> 
> + at end example
> +where 20 is the point size.
> 

Done.

> 
> +   # Date and time stamp, security-camera style:
> +   ffmpeg -r 29.97 -s 320x256 -f video4linux -i
> /dev/video0 \
> +     -vhook 'vhook/imlib2.so -x 0 -y 0 -i
> black-260x20.png' \
> +     -vhook  'vhook/imlib2.so -c white -F
> VeraBd.ttf/12 -x 0 -y 0 -t
> %A-%D-%T' \
> +     output.avi
> 
> Why is the second vhook not aligned with first?
> 

Laziness.

> +A list of them is here:
> +
> +http://netpbm.sourceforge.net/doc/directory.html
> 
> There is a tag for URLs @url{}
> 

Done.

> +Options:
> + at multitable @columnfractions .2 .8
> + at item @option{-c <color>}          @tab Foreground
> color of the text
> ('internet' way) <#RRGGBB> [default #ffffff]
> + at item @option{-C <color>}          @tab Background
> color of the text
> ('internet' way) <#RRGGBB> [default #000000]
> + at item @option{-f <font-filename>}  @tab The font
> file to use
> + at item @option{-t <text>}           @tab The text to
> display
> + at item @option{-T <filename>}       @tab The
> filename to read text from
> + at item @option{-x <pos>}            @tab X
> coordinate of the start of text
> + at item @option{-y <pos>}            @tab Y
> coordinate of the start of text
> + at end multitable
> 
> X,Y should be x,y in drawtext help too.
> 

Done.

> 
> +Command Line options:
> +-m [0|1]  Mode. Zero is the default mode, see
> below.
> +-t 000000 - ffffff  Threshold. Six digit hex.
> +-f <filename> - Watermark image filename. You must
> specify this!
> 
> Shouldn't be these items in a table?
> 

Done.

> 
> + An example watermark file is at
> + http://engene.se/ffmpeg_watermark.gif
> 
> URL tag.
> 

Done.

For whatever reason, when I 
./texi2html156_natsuki -monolithic hooks.texi

The formatting of the last section in html does not
reflect the source, i.e., "MODE 0" ends up in the
paragraph that describes it, instead of above it.

If the output looks OK to you, however, then it should
be fine.

Piero.


 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hooks.texi.diff
Type: application/octet-stream
Size: 8914 bytes
Desc: 801158189-hooks.texi.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070306/83095e9b/attachment.obj>



More information about the ffmpeg-devel mailing list