summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
Commit message (Collapse)AuthorAgeFilesLines
* libavformat/tcp: add local_addr/local_port for network optionjackarain2023-03-301-0/+6
| | | | | Signed-off-by: jackarain <jack.wgm@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avformat/file: add fd protocolZhao Zhili2023-01-111-0/+27
| | | | | | | Unlike the pipe protocol, fd protocol has seek support if it corresponding to a regular file. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avformat/file: add fd option for pipeZhao Zhili2023-01-111-1/+3
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* doc/protocols: Remove IPFS urls to specific content in examplesDerek Buitenhuis2022-12-121-2/+2
| | | | | | | We shouldn't be providing links to unverified and non-FFmpeg-controlled content in our documentation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/protocols: Remove third party serverDerek Buitenhuis2022-12-121-4/+1
| | | | | | | | | | | | We do not endorse or recommend specific third party servers or companies that users' data will be funneled through. It is also incorrectly describing how FFmpeg currently works. Should have been part of 412922cc6fa790897ef6bb2be5d6f9a5f030754d but was missed. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/protocols: update rtsp optionsJun Zhao2022-10-291-0/+64
| | | | | | Split the rtsp options to muxer/demuxer, and update the options. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/librist: allow setting fifo size and fail on overflowGijs Peskens2022-06-091-0/+8
| | | | | | | | | | Introduce fifo_size and overrun_nonfatal params to configure fifo buffer behavior. Use newly introduced RIST_DATA_FLAGS_OVERFLOW flag to check for overrun and error out in that case. Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: add details and reformat IPFS sectionGyan Doshi2022-05-261-16/+17
|
* doc/protocols: sort IPFS section alphabeticallyGyan Doshi2022-05-261-31/+31
|
* avformat: Add IPFS protocol support.Mark Gaiser2022-04-121-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for: - ffplay ipfs://<cid> - ffplay ipns://<cid> IPFS data can be played from so called "ipfs gateways". A gateway is essentially a webserver that gives access to the distributed IPFS network. This protocol support (ipfs and ipns) therefore translates ipfs:// and ipns:// to a http:// url. This resulting url is then handled by the http protocol. It could also be https depending on the gateway provided. To use this protocol, a gateway must be provided. If you do nothing it will try to find it in your $HOME/.ipfs/gateway file. The ways to set it manually are: 1. Define a -gateway <url> to the gateway. 2. Define $IPFS_GATEWAY with the full http link to the gateway. 3. Define $IPFS_PATH and point it to the IPFS data path. 4. Have IPFS running in your local user folder (under $HOME/.ipfs). Signed-off-by: Mark Gaiser <markg85@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtp: add localaddr for network interface selectionLimin Wang2021-11-271-0/+4
| | | | | Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/libsrt: add snddropdelay parameter for srtLimin Wang2021-10-111-0/+6
| | | | | Reviewed-by: "zhilizhao(赵志立)" <quinkblack@foxmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat: add a concat protocol that takes a line break delimited list of ↵James Almer2021-07-021-0/+32
| | | | | | | | resources Suggested-by: ffmpeg@fb.com Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/protocols: Add remark about TCP_NODELAY to documentation of TCPThilo Borgmann2021-06-201-0/+2
|
* lavf/rtmp: Add option to set TCP_NODELAY for rtmpNick Ruff2021-06-201-0/+5
| | | | Suggested-By: ffmpeg@fb.com
* avformat/libsrt: workaround conflict with ffmpeg cmdline optionZhao Zhili2021-06-091-0/+3
| | | | | | Add 'srt_streamid' option as an alias for 'streamid'. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: add tsbpd optionZhao Zhili2021-06-091-0/+5
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/rtsp: Remove deprecated old options, rename stimeout->timeoutAndreas Rheinhardt2021-04-271-11/+1
| | | | | | | Deprecated in ff46124b0df17a1d35249e09ae8eae9a61f16e04. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/http: Remove deprecated "user-agent" optionAndreas Rheinhardt2021-04-271-3/+0
| | | | | | | Deprecated in 27714b462d1bff9e9b40fbdabb39f58e79032b81. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/protocols: update rtsp optionsAndriy Gelman2021-04-101-1/+10
| | | | | | Define listen_timeout and user_agent. Set timeout and user-agent to deprecated. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* avformat/rtsp: support buffer_size and pkt_size options for RTPJiangjie Gao2021-03-191-0/+3
| | | | | | | | | And forward it to the underlying UDP protocol. Fixes ticket #7517. Signed-off-by: Jiangjie Gao <gaojiangjie@live.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/http,tls: honor http_proxy command line variable for HTTPSMoritz Barsnick2021-03-191-0/+4
| | | | | | | | | | | | | | | | | | Add the "http_proxy" option and its handling to the "tls" protocol, pass the option from the "https" protocol. The "https" protocol already defines the "http_proxy" command line option, like the "http" protocol does. The "http" protocol properly honors that command line option in addition to the environment variable. The "https" protocol doesn't, because the proxy is evaluated in the underlying "tls" protocol, which doesn't have this option, and thus only handles the environment variable, which it has access to. Fixes #7223. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: clarify and limit buffer_sizeMarton Balint2021-03-131-1/+3
| | | | | | As suggested by librist developers. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: increase default loglevelMarton Balint2021-03-131-1/+3
| | | | | | | | | Also remove AV_LOG_SIMULATE from the list as it is not used directly, and do not use panic level on unknown loglevel, but make them warn. Also fix mapping of NOTICE/INFO/VERBOSE and add documentation about when the option should actually be used. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: make packet size adjustable for writing, fix it for readingMarton Balint2021-03-131-0/+3
| | | | | | | | Maximum packet size is 10000 (RIST_MAX_PACKET_SIZE, which is unfortunately private) minus the RIST protocol overhead which is 28 bytes for the unencrypted case, 36 for the encrypted case. Signed-off-by: Marton Balint <cus@passwd.hu>
* libavformat: add librist protocolPaul B Mahol2021-03-131-0/+29
| | | | | | This work is sponsored by Open Broadcast Systems. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/gopher: Add support for Gopher over TLSparazyd2021-03-111-0/+6
| | | | | | | | | | | | | | | | This commit adds a "gophers" handler to the gopher protocol. gophers is a community-adopted protocol that acts the same way like normal gopher with the added TLS encapsulation. The gophers protocol is supported by gopher servers like geomydae(8), and clients like curl(1), clic(1), and hurl(1). This commit also adds compilation guards to both gopher and gophers, since now there are two protocols in the file it makes sense to have this addition. Signed-off-by: parazyd <parazyd@dyne.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: explain tcp listen option descriptionLingjiang Fang2021-01-091-2/+3
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/http: support retry on connection errorerankor2021-01-031-0/+7
| | | | | | | | | | | | | | | | | | Add 2 new options: - reconnect_on_http_error - a list of http status codes that should be retried. the list can contain explicit status codes / the strings 4xx/5xx. - reconnect_on_network_error - reconnects on arbitrary errors during connect, e.g. ECONNRESET/ETIMEDOUT the retry employs the same exponential backoff logic as the existing reconnect/reconnect_at_eof flags. related tickets: https://trac.ffmpeg.org/ticket/6066 https://trac.ffmpeg.org/ticket/7768 Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: document cache optionGyan Doshi2020-12-271-0/+10
| | | | Add entry for read_ahead_limit
* avformat/libamqp: parse vhost in uriAndriy Gelman2020-12-211-3/+4
| | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* avformat/rtpproto: support for rtp read timeoutLimin Wang2020-10-221-0/+3
| | | | | | | | | then we can set the rtp read timeout instead of infinite timeout. How to test(5s timeout): ./ffprobe -i rtp://192.168.1.67:1234?timeout=5000000 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* doc/http: Update HTTP protocol optionsJun Zhao2020-07-191-5/+22
| | | | | | | | remove the timeout option docs part for HTTP protocol and add auth_type option part. Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/icecast: Add option to use TLS connectionMarvin Scholz2020-07-021-0/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/libamqp: add option delivery_modeLevis Florian2020-06-241-0/+15
| | | | | Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Levis Florian <levis.florian@gmail.com>
* doc/protocols: clarify timeout and latency unit of measurement for SRTLimin Wang2020-05-031-6/+6
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/libzmq: Make default pkt_size value consistent with amqpAndriy Gelman2020-03-091-1/+1
| | | | | 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-091-0/+60
| | | | | | | 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-241-5/+3
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: fix name of timeout optionMarton Balint2020-02-241-1/+1
| | | | | | | 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-251-1/+1
| | | | | | | | | | | | 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-111-0/+20
| | | | | | | 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-111-0/+6
| | | | | | | | 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-031-0/+8
| | | | | | | | | | | | | | | | | 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-021-0/+47
| | | | | | | | | 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-111-0/+8
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/doc, http, icecast, rtsp: Add option to disable send-expect-100Jun Li2019-03-311-0/+5
| | | | | | | | | | 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-031-11/+6
| | | | | 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-231-2/+83
| | | | | | | | | | 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-031-3/+2
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>