Open vitoyucepi opened 2 weeks ago
Thanks for reporting. I am not sure if this is really a bug. The gap is caused by the new request taking too much time to be prepared I think. If I use prefetch=2
, I get a constant sine (with a pop due to the expected discontinuity between the tracks):
If I use
prefetch=2
This is weird. There are only two tracks in the playlist and I still see the gap even with prefetch=2
.
What decoder are you using?
I found this issue a good opportunity to test github actions, and I didn't enjoy the process. https://github.com/vitoyucepi/liquidsoap-issue-3971 https://github.com/vitoyucepi/liquidsoap-issue-3971/blob/52ecedb16e84924d5340611b1fe7ebd4c5775fdd/.github/workflows/github-actions-demo.yml https://github.com/vitoyucepi/liquidsoap-issue-3971/actions/runs/9602151400/job/26482345377
What decoder are you using?
ffmpeg
Describe the bug If![Screenshot from Audacity with the waveform separated by the empty frames](https://github.com/savonet/liquidsoap/assets/35035879/7de17314-9108-460e-9cec-c25f244ffca2)
playlist
uses a CUE file, it will produce blank frames when switching between requests.To Reproduce
ffmpeg -f lavfi -i "sine=frequency=100:duration=2" -c:a libmp3lame -b:a 16k -y 1.mp3
1.cue
main.liq
Expected behavior No blank frames between requests, because they produce an audible click.
Version details
Install method savonet/liquidsoap:v2.2.5
Common issues
3937