mpv icon indicating copy to clipboard operation
mpv copied to clipboard

rtsp automatic reconnect

Open roderick1980 opened this issue 7 years ago • 4 comments

mpv version and platform

v0.29
Linux orangepizero 3.4.113-sun8i #2 SMP PREEMPT Mon Aug 20 11:56:36 CEST 2018 armv7l armv7l armv7l GNU/Linux

Reproduction steps

mpv connects to an rtsp stream, the connection goes down and then the connection is restablished

Expected behavior

I'd like mpv to try reconnection automatically

Actual behavior

Log file

roderick1980 avatar Sep 21 '18 07:09 roderick1980

Any solution to this? :( - I'm using this command:

DISPLAY=:0 mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all --no-audio --no-cache --cache=no --cache-default=no --framedrop=vo --speed=1 --rtsp-transport=udp --no-config --fs rtsp://127.0.0.1:10120/proxyStream

From time to time it stops playback.

rgaufman avatar Jun 27 '19 15:06 rgaufman

I would love to hear something about this as well. Have been scratching my head for a while, as there seems to be no documentation describing this particular issue, and the issues here that could be related has comment that "Reconnect logic already exists", but no pointer as to how to activate or where to find information. (I would recon in docs, but nothing obvious about reconnecting on docs)

tranquiliza avatar Jul 05 '19 22:07 tranquiliza

I have the same behaviour when I play via rtsp stream, the mpv process falls after a while Linux y-455 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ruirigel avatar Feb 06 '22 20:02 ruirigel

In the docs for --network-timeout it suggests to use --demuxer-lavf-o but has no information on what specific option should be set. Randomly trying timeout=10 it says Unable to open RTSP for listening, avformat_open_input() failed.

trishmapow avatar Oct 27 '22 03:10 trishmapow