summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
Commit message (Collapse)AuthorAge
* avformat/libzmq: Make default pkt_size value consistent with amqpAndriy Gelman2020-03-09
| | | | | Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat: Add AMQP version 0-9-1 protocol supportAndriy Gelman2020-03-09
| | | | | | | Supports connecting to a RabbitMQ broker via AMQP version 0-9-1. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: clarify SRT timeout options docsMarton Balint2020-02-24
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: fix name of timeout optionMarton Balint2020-02-24
| | | | | | | rw_timeout is the generic URLcontext option, not the protocol specific timeout option, also ?rw_timeout never worked because ?timeout was parsed instead. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/udp: increase the default buffer size of a receiving socket to 384KMarton Balint2020-01-25
| | | | | | | | | | | | It is a common mistake that people only increase fifo_size when they experience drops, unfortunately this does not help for higher bitrate (> 100 Mbps) streams when the reader thread simply might not receive the packets in time (especially under high CPU load) if the default 64 KB of kernel buffer size is used. New default is determined so that common linux systems can set this buffer size without tuning kernel parameters. Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/libsrt: enable other encryption parametersJun Zhao2019-12-11
| | | | | | | Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ SRTO_KMPREANNOUNCE for srt encryption control. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf/libsrt: add linger parameter to libsrtJun Zhao2019-12-11
| | | | | | | | add linger parameter to libsrt, it's setting the number of seconds that the socket waits for unsent data when closing. Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/ftp: add AVOptions for authenticationNicolas Frattaroli2019-11-03
| | | | | | | | | | | | | | | | | This introduces two new AVOption options for the FTP protocol, one named ftp-user to supply the username to be used for auth, one named ftp-password to supply the password to be used for auth. These are useful for when an API user does not wish to deal with URL manipulation and percent encoding. Setting them while also having credentials in the URL will use the credentials from the URL. The rationale for this is that credentials embedded in the URL are probably more specific to what the user is trying to do than anything set by some API user. Signed-off-by: Nicolas Frattaroli <ffmpeg@fratti.ch> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat: Add ZeroMQ as a protocolAndriy Gelman2019-09-02
| | | | | | | | | When ffmpeg was streaming, multiple clients were only supported by using a multicast destination address. An alternative was to stream to a server which re-distributes the content. This commit adds ZeroMQ as a protocol, which allows multiple clients to connect to a single ffmpeg instance. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/file: add seekable option to disallow seekingMarton Balint2019-04-11
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/doc, http, icecast, rtsp: Add option to disable send-expect-100Jun Li2019-03-31
| | | | | | | | | | Fix ticket #7297 The current setting for send-expect-100 option is either enabled if applicable or forced enabled, no option to force disable the header. This change is to expand the option setting to provide more flexibility, which is useful for rstp case. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/protocols: move option follow entry to correct sectionGyan Doshi2019-03-03
| | | | | The entry for file protocol option 'follow' was inserted under ftp options during merge of a Libav commit - 90eb24996913238e1a. Corrected.
* avformat/libsrt: add several options supported in srt 1.3.0Matsuzawa Tomohiro2018-10-23
| | | | | | | | | | Several SRT options are missing. Since pkg_config requires libsrt v1.3.0 and above, it should be able to support options added in libsrt v1.3.0 and below. This commit adds 8 SRT options. sndbuf, rcvbuf, lossmaxttl, minversion, streamid, smoother, messageapi and transtype The keys of option are equivalent to stransmit. https://github.com/Haivision/srt/blob/v1.3.0/apps/socketoptions.hpp#L196-L223 Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: simplify and clarify UDP localaddr optionMarton Balint2018-10-03
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/udp: add support for generic source filteringMarton Balint2018-10-03
| | | | | | | | This allows getting data only from a specific source IP. This is useful not only for unicast but for multicast as well because multicast source subscriptions do not act as source filters for the incoming packets. Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit 'a507af97eef468238d545ff954a39d7432832e54'James Almer2018-09-02
|\ | | | | | | | | | | | | * commit 'a507af97eef468238d545ff954a39d7432832e54': avformat/libsrt: add latency options and deprecate tspbdelay Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add latency options and deprecate tspbdelaySven Dueking2018-06-04
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c'James Almer2018-09-02
|\| | | | | | | | | | | | | * commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c': avformat/libsrt: add payload size option Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add payload size optionSven Dueking2018-06-03
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/libsrt: add pkt_size parameter to libsrtMarton Balint2018-09-01
| | | | | | | | | | | | | | | | Also make sure we set the URL context max packet size accordingly. Based on a patch by Tudor Suciu <tudor.suciu@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | doc/protocols: documents tcp_mssJun Zhao2018-07-26
| | | | | | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | Merge commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57'James Almer2018-03-29
|\| | | | | | | | | | | | | * commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57': Add Haivision SRT protocol Merged-by: James Almer <jamrial@gmail.com>
| * Add Haivision SRT protocolSven Dueking2018-03-28
| | | | | | | | | | | | | | | | The protocol requires libsrt (https://github.com/Haivision/srt) to be installed Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/http: add referer option into httpSteven Liu2018-02-01
| | | | | | | | | | add Referer message if referer have been set. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | Remove the ffserver programRostislav Pehlivanov2018-01-06
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avformat/http: export http_version from responseAman Gupta2017-12-26
| | | | | | | | | | | | Can be used by the api user to figure out what http features the server supports based on the response received. Signed-off-by: Aman Gupta <aman@tmm1.net>
* | libavformat: LibreSSL (libtls) supportsfan52017-12-17
| | | | | | | | Signed-off-by: sfan5 <sfan5@live.de>
* | avformat/subfile: allow to extract till EOFGyan Doshi2017-11-19
| | | | | | | | | | Users can set end offset as 0 to extract till end of file. Tested locally and documented.
* | avformat/tcp: add option to enable TCP_NODELAYAman Gupta2017-11-17
| | | | | | | | | | | | | | | | This can reduce latency and increase throughput, particularly on high latency networks. Signed-off-by: Aman Gupta <aman@tmm1.net> Reviewed-by: Jeyapal, Karthick <kjeyapal@akamai.com>
* | doc/protocols: add option usage descriptionLou Logan2017-02-13
| | | | | | | | | | | | Fixes ticket #6148. Signed-off-by: Lou Logan <lou@lrcd.com>
* | avformat: Add Pro-MPEG CoP #3-R2 FEC protocolVlad Tarca2016-11-13
| | | | | | | | | | | | | | Pro-MPEG Code of Practice #3 release 2 forward error correction for rtp_mpegts streams Signed-off-by: Vlad Tarca <vtarca@mobibase.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc: fix various typos and grammar errorsMoritz Barsnick2016-10-11
| | | | | | | | | | Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/http: deprecate user-agent optionSteven Liu2016-09-17
| |
* | libavformat/http: add support for content_type option in listen modeMoritz Barsnick2016-08-14
| | | | | | | | | | | | | | | | | | Instead of silently ignoring the content_type option in listen mode, apply its value to the provided "Content-Type:" header. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/protocols: Fix seperated typoMichael Niedermayer2016-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: Add tee protocolMichael Niedermayer2016-07-19
| | | | | | | | | | | | Option passing support will be submitted seperately to the ML Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | cosmetics: fix some misspelled wordsJames Almer2016-07-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/udp: replace packet_gap with bitrate optionMarton Balint2016-06-19
| | | | | | | | | | | | | | | | We haven't had a stable release since the packet_gap addition, so probably it is worth reworking the option to something that makes more sense to the end user. Also add burst_bits option to specify maximum length of bit bursts. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/udp: Add a delay between packets for streaming to clients with ↵Pavel Nikiforov2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | short buffer This commit enables sending UDP packets in a background thread with specified delay. When sending packets without a delay some devices with small RX buffer ( MAG200 STB, for example) will drop tail packets in bursts causing decoding errors. To use it specify "fifo_size" with "packet_gap" . The output url will looks like udp://xxx:yyy?fifo_size=<output fifo size>&packet_gap=<delay in usecs> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '933dec0e29ec4d2cb83474279a6c52d62fdb7310'Derek Buitenhuis2016-04-19
|\| | | | | | | | | | | | | * commit '933dec0e29ec4d2cb83474279a6c52d62fdb7310': file: Add an option for following a file that is being written Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * file: Add an option for following a file that is being writtenMartin Storsjö2016-03-24
| | | | | | | | | | | | | | | | Using this requires setting the rw_timeout option to make it terminate, alternatively using the interrupt callback (if used via the API). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ccea588f831906084b8c8235222920e6984beb72'Derek Buitenhuis2016-04-18
|\| | | | | | | | | | | | | * commit 'ccea588f831906084b8c8235222920e6984beb72': avio: Add an option 'rw_timeout' Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * avio: Add an option 'rw_timeout'Andrey Utkin2016-03-24
| | | | | | | | | | | | | | | | | | | | | | If set non-zero, this limits duration of the retry_transfer_wrapper() loop, thus affecting ffurl_read*(), ffurl_write(). As soon as one single byte is successfully received/transmitted, the timer restarts. This has further changes by Michael Niedermayer and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
| * doc: Fix spelling of 'Transmission'Sebastian Ramacher2015-05-26
| | | | | | | | | | Signed-off-by: Sebastian Ramacher <sramacher@debian.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | doc/protocols: document protocol_whitelistMichael Niedermayer2016-02-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavformat/tcp.c : add send_buffer_size and recv_buffer_size optionsPerette Barella2016-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds two new options that may be set via the dictionary: - send_buffer_size - recv_buffer_size When present, setsockopt() is used with SO_SNDBUF and SO_RCVBUF to set socket buffer sizes. I chose to make send and receive independent because buffering requirements are often asymmetric. Errors in setting the buffer size mean the socket will use its default, so they are ignored. There is no sanity checking on values, as the kernel/socket layers already impose reasonable limits if asked for something crazy. Rationale for enlarging receive buffers is to reduce susceptibility to intermittent network delays/congestion. I added setting the send buffer for symmetry. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/http: Documented http_proxy optionJoel Holdsworth2015-12-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/http: add reconnect_delay_max optionMichael Niedermayer2015-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/protocols: Fix usefull typoMichael Niedermayer2015-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/http: Add reconnect_at_eof and reconnect_streamed optionsMichael Niedermayer2015-09-07
| | | | | | | | | | | | | | They allow reconnecting endless live streams which fail with eof Reviewed-by: Zhang Rui <bbcallen@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>