RTSP Stream not showing run / play time so disable switch in playlist

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sj44k
New Cone
New Cone
Posts: 2
Joined: 05 Sep 2022 19:07

RTSP Stream not showing run / play time so disable switch in playlist

Postby sj44k » 05 Sep 2022 19:18

Ok did my best to cover my issue in a short subject :D

Challenge :
I have several camera's at my home, different brands / types most of them old and not updatable anymore but work all fine.
All stream perfectly to my VLC instances (running on Debian / Android tv stick / Rasbian / Windows and Ios) independently.
BUT

One of my camera's is not showing the play / run time, simply it does not progress and shows 00:00 all the time, most camera's do show the shown playtime as that starts when viewing the stream.
This results in having an issue when trying to create a playlist that cycles trough my camera's as this is depending the show time on the elapsed play/run time.

For example I use this on my windows client :
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --run-time=5 --loop --no-video-title rtsp://192.168.1.21 rtsp://192.168.1.22 rtsp://192.168.1.23
For my Android I fixed this within a playlist
The --run-time command is depending on a video / stream having a working play / run time.
Both attempts give the same behaviour as described below:

The loop / cycle works with most of my camera's but as soon I have one of the "no play time" camera's in the playlist / loop the loop stops at that certain camera.
My best guess is this is due to the RTSP stream (probably an UDP stream vs the other cameras being TCP streams but I have not confirmed this).
Tried to change the settings on the "no play time" camera's but nothing helped an no updates will be (ever) available for these babies.

So anyone able to give me a tip ?
How to loop between streams on a fixed time not based on the playtime of a certain video / stream
OR
How to get the "no play time" camera's to behave like the other camera's and show their playtime ?

Apologies if this has been covered before but I was not able to find anything on the Forum / Google
Last edited by sj44k on 05 Sep 2022 19:22, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15311
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP Stream not showing run / play time so disable switch in playlist

Postby Rémi Denis-Courmont » 05 Sep 2022 19:20

Play time is a feature of RTSP, not the underlying media transport. Check your Wireshark logs, but I'd guess the camera simply does not report a play time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sj44k
New Cone
New Cone
Posts: 2
Joined: 05 Sep 2022 19:07

Re: RTSP Stream not showing run / play time so disable switch in playlist

Postby sj44k » 05 Sep 2022 19:27

Fair enough
I could try to do a PCAP but I am comfortable to assume this particular "no play time" camera's are not supporting the RTSP play time feature.

Brings be back to the first question, am I able to loop a video source (stream) without relying on the run time ?

by the way thanks for the superfast response :)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests