From f87e189ee0d26399add10f2a8b11260b3d6fb11d Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 28 Nov 2013 21:06:08 +0100 Subject: doc/ffserver: extend documentation for various file-related options --- doc/ffserver.texi | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'doc/ffserver.texi') diff --git a/doc/ffserver.texi b/doc/ffserver.texi index b551fdfb90..57aeca8da3 100644 --- a/doc/ffserver.texi +++ b/doc/ffserver.texi @@ -327,13 +327,25 @@ The following options are recognized within a Feed section. @table @option @item File @var{filename} -Set the path where the file is stored on disk. +@item ReadOnlyFile @var{filename} +Set the path where the feed file is stored on disk. + +If not specified, the @file{/tmp/FEED.ffm} is assumed, where +@var{FEED} is the feed name. + +If @option{ReadOnlyFile} is used the file is marked as read-only and +it will not be deleted or updated. + +@item Truncate +Truncate the feed file, rather than appending to it. By default +@command{ffserver} will append data to the file, until the maximum +file size value is reached (see @option{FileMaxSize} option). @item FileMaxSize @var{size} -Set maximum size of the feed. 0 means unlimited. +Set maximum size of the feed. 0 means unlimited. The postfixes +@code{K}, @code{M}, and @code{G} are recognized. -@item ReadOnlyFile @var{filename} -Mark the file as readonly and it will not be deleted or updated. +Default value is 5M. @item Launch @var{args} Launch an @command{ffmpeg} command when creating @command{ffserver}. -- cgit v1.2.3