Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-12-27 03:19:17 +0300
committerMarton Balint <cus@passwd.hu>2020-01-19 01:51:17 +0300
commit3ffe3b1db0ccb79b4a7ef2ce112e83e6f07aa49e (patch)
treeaf747efc9fb48d489a1fe5008a718ef4c2ee778a /doc/muxers.texi
parenta8ceb2a72fa1bef4ab5f1ec6cdc7ce74fffda19d (diff)
avformat/img2enc: add support for specifying protocol options
v2: simplified example Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 5f98bc5bdc..05bf483ba5 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1215,6 +1215,11 @@ overwritten with new images. Default value is 0.
@item strftime
If set to 1, expand the filename with date and time information from
@code{strftime()}. Default value is 0.
+
+@item protocol_opts @var{options_list}
+Set protocol options as a :-separated list of key=value parameters. Values
+containing the @code{:} special character must be escaped.
+
@end table
@subsection Examples
@@ -1257,6 +1262,12 @@ You can set the file name with current frame's PTS:
ffmpeg -f v4l2 -r 1 -i /dev/video0 -copyts -f image2 -frame_pts true %d.jpg"
@end example
+A more complex example is to publish contents of your desktop directly to a
+WebDAV server every second:
+@example
+ffmpeg -f x11grab -framerate 1 -i :0.0 -q:v 6 -update 1 -protocol_opts method=PUT http://example.com/desktop.jpg
+@end example
+
@section matroska
Matroska container muxer.