Open smiccoli opened 1 month ago
how can i provide you with the file without making it public? it's a song for which we have the rights but i dont think it is not ok to share in github.
I checked it with mp3diags but besides a "normalization missing (an)" and "picture ignored (ej)" notes there's nothing apparently wrong with it.
Only getting (an) & (ej) is a good first thing. Often MP3s have many more errors.
If the file was small (like max a few MB), you could try sending it to moonbase (at) quantentunnel (dot) de, or, if you’re on Discord, contact me there (Moonbase59) in a private message (max. 20 MB I believe).
I’ll of course only use it for diagnosis and delete it again afterwards.
What version of ffmpeg are you running in your Docker (ffmpeg -version
)?
ok, ive sent it to you on discord DM. Let me know if I can help with something more
Thanks! We tried finding faults with the MP3, but found none at first.
ffprobe sample.mp3
showed the same
Incorrect BOM value
Error reading lyrics, skipped
as in the log above.
Interestingly, autocue’s cue_file -fw sample.mp3
made that go away (maybe a glitch in the tags, or ffmpeg demuxing buffer problem).
So then we tried repairing the non-contiguous presentation time stamps (PTS) by doing
ffmpeg -i sample-fixed.mp3 -map_metadata 0 -c copy -reset_timestamps 1 -fflags +genpts sample-new-pts.mp3
and the resultant sample-new-pts
indeed has contiguous time stamps now. (The discontinuity might have been caused by previous editing.)
In Liquidsoap, we don’t get the "Incorrect BOM value" error anymore, but @smiccoli tells me when using the
source = buffer(source)
from above code, LS still crashes, and when leaving that out it plays fine.
Describe the bug Liquidsoap 2.2.5 crashes with the following error if the ffmpeg filter
ffmpeg.filter.loudnorm
is used on a source returned by abuffer()
. Other filters such asffmpeg.filter.pan
andffmpeg.filter.volume
dont present the same behavior and work well with sources returned bybuffer()
.To Reproduce A minimal script to reproduce the issue is the most efficient way to have your bug addressed and fixed very quickly!
Expected behavior Loudnorm filter should work with both buffered and non-buffered sources.
Version details
Install method Custom docker image starting from the official
debian:bookworm-slim
Inside the dockerfile, FFmpeg installed via debian repos while Liquidsoap is installed via the deb package from github release.