diff options
author | Marton Balint <cus@passwd.hu> | 2019-12-27 01:19:17 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-01-18 23:51:17 +0100 |
commit | 3ffe3b1db0ccb79b4a7ef2ce112e83e6f07aa49e (patch) | |
tree | af747efc9fb48d489a1fe5008a718ef4c2ee778a /doc/muxers.texi | |
parent | a8ceb2a72fa1bef4ab5f1ec6cdc7ce74fffda19d (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.texi | 11 |
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. |