Skip to content

HLS no HTTP request synchro video and audio segments

Hi, I have quite a problem playing HLS live stream with mp4 segments. Segments are 4 seconds long. I noticed in the request log that VLC does not have synchronized segment loading for video and audio (audio and video have their own m3u8 playlist with segments), so they are separate. I tried the Safari web browser which natively supports HLS stream and there is no problem there, there is also no problem in the Tivimate application on Android and there is also no problem in the siptv application on LG televisions. I also have this problem in the tvOS application that uses the VLC player.

here I am adding an extract from the apache2 log when playing in Safari MacOS:

XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:27 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:27 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:31 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:31 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:35 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:35 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:39 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:39 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:43 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:43 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:47 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:29:47 +0100] AUDIO

here is the same extract of the log, but from playback in VLC:

XXX.XXX.XXX.XXX - - [19/Mar/2023:21:37:57 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:37:59 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:01 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:04 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:05 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:08 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:09 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:12 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:13 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:16 +0100] AUDIO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:17 +0100] VIDEO
XXX.XXX.XXX.XXX - - [19/Mar/2023:21:38:20 +0100] AUDIO

I remind you that the two video segments are 8 seconds long and the audio segments are exactly 8 seconds long.

I will also include a test URL for the live stream here.

https://ovaluk.eu/test/tk_dash_test/play.m3u8

thank you for any advice or a fix soon.

VLC_Debug_Log__3.0.18_Vetinari_.txt

VLC_Debug_Log__3.0.18_Vetinari_2.txt

Edited by djlucas123456
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information