-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtsp error 461 with freebox stream #5540
Comments
Try it with ffmpeg/ffplay? |
It works with ffplay : $ffplay "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd" |
Try with --rtsp-transport=lavf (I think this will do something similar to what ffplay does, re: the transport) or --rtsp-transport=udp to force UDP. The server seems to be complaining about using an unsupported transport. mpv defaults to forcing TCP, while ffplay in my experience will usually pick UDP. |
That's correct. When this was changed, TCP apparently worked much better. But it was a long time ago, when mpv checked network only every video frame, and UDP packet drop could be extreme. |
Thanks, this works. I suppose mpv could try to change RTSP transport by itself so that end users don't get stuck? |
I am trying to play a stream which works with vlc and ffplay.
In mpv 0.27.1 I get a ffmpeg/demuxer error. (I cannot try 0.28 version as ffmpeg is not recent enough).
Stream is a direct TV given by a french interne provider
Log below :
[cplayer] Playing: rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
[ffmpeg] Opening rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
[ffmpeg] Stream opened successfully.
[demux] Trying demuxers for level=request.
[cplayer] Run command: disable-section, flags=0, args=[input]
[global] config path: 'fonts' -/-> '/home/live/.config/mpv/fonts'
[global] config path: 'fonts' -/-> '/home/live/.mpv/fonts'
[global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE)
[global] config path: 'subfont.ttf' -/-> '/home/live/.config/mpv/subfont.ttf'
[global] config path: 'subfont.ttf' -/-> '/home/live/.mpv/subfont.ttf'
[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[global] config path: 'fonts.conf' -/-> '/home/live/.config/mpv/fonts.conf'
[global] config path: 'fonts.conf' -/-> '/home/live/.mpv/fonts.conf'
[global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'
[osd/libass] Setting up fonts...
[lavf] Found 'rtsp' at score=100 size=0 (forced).
[ffmpeg/demuxer] rtsp: SDP:
[ffmpeg/demuxer] v=0
[ffmpeg/demuxer] o=leCDN 1518807555 1518807555 IN IP4 kapoueh.proxad.net
[ffmpeg/demuxer] s=unknown
[ffmpeg/demuxer] i=unknown
[ffmpeg/demuxer] c=IN IP4 0.0.0.0
[ffmpeg/demuxer] t=0 0
[ffmpeg/demuxer] m=video 0 RTP/AVP 33
[ffmpeg/demuxer] a=control:rtsp://mafreebox.freebox.fr:554/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
[ffmpeg/demuxer]
[ffmpeg/demuxer] rtsp: method SETUP failed: 461 Unsupported Transport
The text was updated successfully, but these errors were encountered: