Closed TheFrankman closed 1 year ago
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.
I'm doing something similar, test with my settings.
mp3 =
%ffmpeg(
format="mp3",
id3v2_version=0,
write_xing=0,
%audio(
channels=2,
samplerate=44100,
codec="libmp3lame",
b="64k"
)
)
streams = [("mp3",mp3)]
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 :