-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg.filter.loudnorm triggers Invalid ffmpeg content: non-monotonic PTS error #3944
Comments
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 ( |
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.
as in the log above. Interestingly, autocue’s So then we tried repairing the non-contiguous presentation time stamps (PTS) by doing
and the resultant In Liquidsoap, we don’t get the "Incorrect BOM value" error anymore, but @smiccoli tells me when using the
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.
The text was updated successfully, but these errors were encountered: