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

Stefano Sabatini stefasab at gmail.com
Sun Jul 14 12:13:25 CEST 2013


On date Saturday 2013-07-13 20:07:18 +0300, Andrey Utkin encoded:
> ---
>  doc/protocols.texi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/doc/protocols.texi b/doc/protocols.texi
> index e8427aa..93a3c4e 100644
> --- a/doc/protocols.texi
> +++ b/doc/protocols.texi
> @@ -129,6 +129,16 @@ 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
> +Truncates existing files on write, if set to 1. Value 0 prevents truncating. Default value is 1.

Truncate ... . A value of 0 prevents truncating ...

BTW why an user should not truncate the file?

> +
> + at item blocksize

> +Set I/O operation maximum block size, in bytes. Default value is 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.

Defautl value is @code{INT_MAX}...

Also format lines so that are no longer than 80 chars.

> + at end table
> +
>  @section ftp
>  
>  FTP (File Transfer Protocol).
> -- 
> 1.8.1.5
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
FFmpeg = Fanciful & Furious Maxi Powered Extended Genius


More information about the ffmpeg-devel mailing list