[FFmpeg-devel] [PATCH 5/5] Document file protocol options

Stefano Sabatini stefasab at gmail.com
Sun Jul 14 12:54:35 CEST 2013


On date Sunday 2013-07-14 13:43:25 +0300, Andrey Utkin encoded:
> ---
>  doc/protocols.texi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/doc/protocols.texi b/doc/protocols.texi
> index e8427aa..cd8bc30 100644
> --- a/doc/protocols.texi
> +++ b/doc/protocols.texi
> @@ -129,6 +129,20 @@ The ff* tools default to the file protocol, that is a resource
>  specified with the name "FILE.mpeg" is interpreted as the URL
>  "file:FILE.mpeg".
>  
> +This protocol accepts the following options:
> +
> + at table @option
> + at item truncate
> +Truncate existing files on write, if set to 1. A value of 0 prevents
> +truncating. Default value is 1.
> +
> + at item blocksize
> +Set I/O operation maximum block size, in bytes. Default value is
> + at code{INT_MAX}, which results in not limiting the requested block size.
> +Setting this value reasonably low improves user termination request reaction
> +time, which is valuable for files on slow medium.
> + at end table

LGTM, thanks.
-- 
FFmpeg = Fierce Fierce Mastodontic Purposeless Extensive Game


More information about the ffmpeg-devel mailing list