RTMP playback delay on vlc increases overtime

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ahmed96alaa
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2017 16:09

RTMP playback delay on vlc increases overtime

Postby ahmed96alaa » 07 Sep 2017 14:13

i'm trying wowza to send a RTSP stream from an android device to other LAN clients

i'm using VLC to play the RTMP stream as a client

when starting a playback ... the delay is < 1 second and that's really really great

but overtime the delay keeps increasing ... sometimes when i leave the streaming ON .. for about an hour or more ...
the delay reaches 5-7 seconds !!!

but when i stop the VLC playback and start it immediately the delay return back to it's first state (< 1 second)

i almost tried everything

- i tried setting cache to low value in VLC but that decreases the instant delay ... not that accumulating delay

- i tried to decrease the bitrate of encoding .... i even set it to 10 kbps !!!
i knew that the quality would get so bad but i wanted to test the theory that it's just a
bitrate vs bandwidth issue ... also didn't work .. it's barely the same

- i tried setting the stream type to (live-lowlatency) in the conf of live application (application.xml)

but all leads to the same issue .. i can't get rid of that accumulating delay please if anyone can help

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: RTMP playback delay on vlc increases overtime

Postby InTheWings » 07 Sep 2017 16:47

If the delay increases that means you had buffer underruns and the core tries to compensate by buffering more
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

ahmed96alaa
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2017 16:09

Re: RTMP playback delay on vlc increases overtime

Postby ahmed96alaa » 07 Sep 2017 17:32

If the delay increases that means you had buffer underruns and the core tries to compensate by buffering more
i don't have any idea how to fix that or even how tow to make the player skip it .... can u tell me what do i have to do ??

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: RTMP playback delay on vlc increases overtime

Postby InTheWings » 08 Sep 2017 14:41

If the delay increases that means you had buffer underruns and the core tries to compensate by buffering more
i don't have any idea how to fix that or even how tow to make the player skip it .... can u tell me what do i have to do ??
VLC is not a realtime video player. It needs buffering. If your link is not reliable, that's normal behavior.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Llorx
New Cone
New Cone
Posts: 5
Joined: 18 Sep 2020 00:55

Re: RTMP playback delay on vlc increases overtime

Postby Llorx » 28 Feb 2022 19:29

But maybe you can add an option to avoid VLC increasing the buffer but skip frames.

RTMP means Real Time Messaging Protocol and increasing the buffer over time is anything but real time.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 35 guests