[FFmpeg-trac] #9914(ffplay:new): ffplay fails to play RTSP TCP streams
FFmpeg
trac at avcodec.org
Thu Sep 8 22:06:02 EEST 2022
#9914: ffplay fails to play RTSP TCP streams
-------------------------------------+-------------------------------------
Reporter: khuber | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffplay
Version: unspecified | Resolution:
Keywords: tcp RTSP | Blocked By:
streaming |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by khuber:
Old description:
> 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).
New description:
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
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9914#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list