Experiencing skipping when using output.file from an m3u8 of HLS chunks #2949
Replies: 6 comments 15 replies
-
I realise that this could be because of the estimated duration warning that's coming from FFMPEG, but i'm not sure how to work around that either. |
Beta Was this translation helpful? Give feedback.
-
I'm doing something similar, test with my settings.
|
Beta Was this translation helpful? Give feedback.
-
Hi! Have you tried using |
Beta Was this translation helpful? Give feedback.
-
The reason is b/c the playlist will open/close on each segment which can indeed create gaps. |
Beta Was this translation helpful? Give feedback.
-
Hello @cdgraff , Thanks for your suggestion. I have added that format to both my hls generation liq and the conctenate liq but i am still seeing the skip in the output file : I'll give the suggestion from @toots a go now |
Beta Was this translation helpful? Give feedback.
-
I tested and saw the same message but not into all the files
But listening the audio is perfect, no gaps... |
Beta Was this translation helpful? Give feedback.
-
[SOLVED]
In a nutshell, i should have been using
input.hls
. I thought there was an issue with this, and the alpine docker image but it transpired it was just a typo in my M3u8 file.Original Question
I am trying to concatenate hls fragments back into a single file, but the file that is produced has skips at the joins. Only slightly but they are audible.
My implementation is a big more complicated than this, as I have docker and docker-in-docker (dind) dynamically generating this stuff. But in essence I have one liquidsoap file that is continuously writing chunks to a centralised file storage, and a liquidsoap script that is responsible for concatenating a subsection of those chunks using an M3U8 file that i generate.
My hls liq looks something like this :
Here is an example M3U8 file that i generate :
and here is my liquidsoap script responsible for concat
My approach for the concat is that i load the playlist from the m3u8, i play it once, i dsync the clock and output to a file.
Can anyone help me identify where the issue may be here, i feel as though this should work but the skips are there.
Here is concatenate logs :
Beta Was this translation helpful? Give feedback.
All reactions