Opened 20 months ago

Last modified 19 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 khuber)

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)

ffplay5-not-working-snapshot20220908.txt (3.4 KB ) - added by khuber 20 months ago.
ffplay-ubuntu20.04-works.txt (20.3 KB ) - added by khuber 20 months ago.
ffplay-ubuntu22.04-worksnot.txt (4.3 KB ) - added by khuber 20 months ago.

Download all attachments as: .zip

Change History (5)

by khuber, 20 months ago

by khuber, 20 months ago

comment:1 by khuber, 20 months ago

Description: modified (diff)

comment:2 by Carl Eugen Hoyos, 19 months ago

Keywords: regression added; tcp streaming removed
Version: unspecifiedgit-master

Is the issue only reproducible with ffplay, not with ffmpeg?

Note: See TracTickets for help on using tickets.