Opened 20 months ago
Last modified 20 months ago
#9914 new defect
ffplay fails to play RTSP TCP streams
Reported by: | khuber | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffplay |
Version: | git-master | Keywords: | RTSP regression |
Cc: | khuber | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Newer ffplay versions don't fall back to TCP when playing RTSP streams.
The last tested version which did a proper fall-back was 4.2.7-0ubuntu0.1 (e.g. from Ubuntu 20.04). See attached ffplay-ubuntu20.04-works.txt
With newer versions I was unable to play the same TCP stream anymore.
Failing versions which I've tried:
- 4.4.2-0ubuntu0.22.04.1 (e.g. from Ubuntu 22.04), see attached ffplay-ubuntu22.04-worksnot.txt
- self-compiled snapshot from Sept 9th (e.g. N-108064-gdb85e01fd7 compiled on Ubuntu 22.04), see attached ffplay5-not-working-snapshot20220908.txt
Reproducing might be hard without having a RTSP camera with TCP stream available. I'm happy to provide all possible details.
The IP address:port in the Log is 127.0.0.1:1554 because there is a local SSH tunnel to the destination network. But this hasn't been a problem for the older version of ffplay and works well on my Ubuntu System with VLC.
Adding the parameter "-rtsp_transport tcp" makes the stream playable immediately (tested with above 4.4.2 version).
This bug was initially found in Kodi: https://github.com/xbmc/xbmc/issues/21796
Attachments (3)
Change History (5)
by , 20 months ago
Attachment: | ffplay5-not-working-snapshot20220908.txt added |
---|
by , 20 months ago
Attachment: | ffplay-ubuntu20.04-works.txt added |
---|
by , 20 months ago
Attachment: | ffplay-ubuntu22.04-worksnot.txt added |
---|
comment:1 by , 20 months ago
Description: | modified (diff) |
---|
comment:2 by , 20 months ago
Keywords: | regression added; tcp streaming removed |
---|---|
Version: | unspecified → git-master |
Is the issue only reproducible with ffplay, not with ffmpeg?