diff options
author | wm4 <wm4@nowhere> | 2013-09-22 02:40:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-22 02:40:29 +0200 |
commit | b0f7a26f1a6dc061db0a60908842371e7a010db2 (patch) | |
tree | 0bdd7490110da5e30edf7151f9949e67bff07e92 /DOCS/man | |
parent | ce861c9f33fa17d2c9be64eb9e90b22a64dfd5a4 (diff) | |
download | mpv-b0f7a26f1a6dc061db0a60908842371e7a010db2.tar.bz2 mpv-b0f7a26f1a6dc061db0a60908842371e7a010db2.tar.xz |
network: fix rtsp playback
By default, libavformat uses UDP for rtsp playback. This doesn't work
very well. Apparently the reason is that the buffer sizes libavformat
chooses for UDP are way too small, and switching to TCP gets rid of this
issue entirely (thanks go to Reimar Döffinger for figuring this out).
In theory, you can set buffer sizes as libavformat options, but that
doesn't seem to help.
Add an option to select the rtsp transport, and make TCP the default.
Also remove an outdated comment from stream.c.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/options.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 766118e4c6..8efb1eb70f 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -1772,6 +1772,11 @@ - ``--reset-on-next-file=""`` Do not reset pause mode. +``--rtsp-transport=<lavf|udp|tcp|http>`` + Select RTSP transport method (default: tcp). This selects the underlying + network transport when playing ``rtsp://...`` URLs. The value ``lavf`` + leaves the decision to libavformat. + ``--saturation=<-100-100>`` Adjust the saturation of the video signal (default: 0). You can get grayscale output with this option. Not supported by all video output |