Summary: | Compressor/Expander: MLT: "[filter avfilter.compand ] Cannot set sink channel counts" | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | James North <james> |
Component: | Video Effects & Transitions | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 3847b8fe-a74d-4b44-a19e-3b68d5e31ed7, fritzibaby, havoigt, jarno, snd.noise, tsn |
Priority: | HI | ||
Version First Reported In: | 24.05.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
James North
2024-06-27 03:09:21 UTC
Happens on the Flatpak too. Downgraded to 1cb1ee7399bfe45491b57fc56df5999a2e1f93ba9fea76c664b87116d821f0c6 flatpak commit for now, which does not exhibit this bug. Same issue. When adding Simple Compressor/Expander a popup shows: Simple Compressor/Expander [filter avfilter.contrast] Cannot set sink channel counts In my case I found out when trying to use `Deeser` or `Crystalizer` effects on an audio track; so it is not only happening with `Compressor/Expander`; seems to happen to many audio effects. This is probably an MLT issue, possibly fixed in git with this: https://github.com/mltframework/mlt/commit/1493ced9dc9968c358c2bbb9edf8b8a6122b9216 I will update our build pipeline so we can have an AppImage to confirm it is fixed. Thank you. Bug is fixed on experimental AppImage kdenlive-master-8472-linux-gcc-x86_64.AppImage. I use KDE neon 6.0. (In reply to Jean-Baptiste Mardelle from comment #5) > This is probably an MLT issue, possibly fixed in git with this: > https://github.com/mltframework/mlt/commit/ > 1493ced9dc9968c358c2bbb9edf8b8a6122b9216 > I will update our build pipeline so we can have an AppImage to confirm it is > fixed. It's possible I did it wrong, but I cherry-picked the commit you linked to and added it to the PKGBUILD for mlt (https://gitlab.archlinux.org/archlinux/packaging/packages/mlt) and rebuilt, but I'm still getting this error in Kdenlive. I just got the Kdenlive version 24.05.02 from flatpak. Unfortunately bugs not fixed yet. After adding Simple Compressor/Expander its config window shows: Compressor/Expander [filter avfilter.compand] Cannot set sink channel counts After adding Simple Compressor/Expander its config window claims: Simple Compressor/Expander [filter avfilter.contrast] Cannot set sink channel counts My system: Platform: KDE neon 6.0 KDE-Plasma-Version: 6.1.2 KDE-Frameworks-Version: 6.3.0 QT-Version: 6.7.0 (In reply to Jarno van der Kolk from comment #7) > (In reply to Jean-Baptiste Mardelle from comment #5) > > This is probably an MLT issue, possibly fixed in git with this: > > https://github.com/mltframework/mlt/commit/ > > 1493ced9dc9968c358c2bbb9edf8b8a6122b9216 > > I will update our build pipeline so we can have an AppImage to confirm it is > > fixed. > > It's possible I did it wrong, but I cherry-picked the commit you linked to > and added it to the PKGBUILD for mlt > (https://gitlab.archlinux.org/archlinux/packaging/packages/mlt) and rebuilt, > but I'm still getting this error in Kdenlive. You probably did it wrong, try to use the mlt masster aur package to test. This is fixed in MLT master and latest Appimage and will be available in next version. As for the Flatpak there is a pull request open. (https://github.com/flathub/org.kde.kdenlive/pull/420) (In reply to farid from comment #9) > You probably did it wrong, try to use the mlt masster aur package to test. Right, I shouldn't have cherry-picked that one commit but just take the whole current master. That indeed solves the problem. So, I'm just confirming! whilst this was fixed in 24.05.2 there seems to be a regression in 24.08.0 as it has reappeared on the appimage. Reappeared in 24.08.0 Git commit 8d86acd5d1de2bbc0d91cf4c554ca40b40f8984e by Jean-Baptiste Mardelle. Committed on 24/09/2024 at 18:39. Pushed by mardelle into branch 'master'. Include latest fix for avfilter audio channel issue Related: bug 491073, bug 493463 M +3 -3 libs/mlt/mlt.py https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/8d86acd5d1de2bbc0d91cf4c554ca40b40f8984e With this commit I can confirm this bug is fixed. If it still appears in the latest version, please feel free to re-open it and update the affected version number. |