mpv
                                
                                 mpv copied to clipboard
                                
                                    mpv copied to clipboard
                            
                            
                            
                        rtsp automatic reconnect
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
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.
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)
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
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.