[FFmpeg-devel] [PATCH] doc/ffserver: extend documentation for various file-related options

Stefano Sabatini stefasab at gmail.com
Thu Nov 28 23:20:14 CET 2013


---
 doc/ffserver.texi | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/doc/ffserver.texi b/doc/ffserver.texi
index 1e3b6a3..1ba5460 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.
+ at 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
+ at 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.
+
+ at item Truncate
+Truncate the feed file, rather than appending to it. By default
+ at 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
+ at code{K}, @code{M}, and @code{G} are recognized.
 
- at 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}.
-- 
1.8.1.2



More information about the ffmpeg-devel mailing list