SUMMARY When I add the Compressor/Expander effect to a clip and try to play it, it tells me: qml: Add effect: avfilter.compand XML parsing of "avfilter.compand" . found 5 parameters QLocale: Default value is QVariant(double, 0) parsed: "0" QLocale: Default value is QVariant(double, 0.8) parsed: "0.8" QLocale: Default value is QVariant(double, 0.01) parsed: "0.01" QLocale: Default value is QVariant(double, 0) parsed: "0" QLocale: Default value is QVariant(double, 0) parsed: "0" END parsing of "avfilter.compand" . Number of found parameters 5 // GOT CLIP STACK DATA CHANGE: QList(308) // GOT CLIP STACK DATA CHANGE DONE: QModelIndex(1,0,0x19,TimelineItemModel(0x57141e96f320)) = QList(308) MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT: 2 MUTEX UNLOCK!!!!!!!!!!!! loadEffects deleting collapsibleeffectview MLT: "[filter avfilter.compand ] Cannot set sink channel counts" MLT: "[filter avfilter.compand ] Cannot set sink channel counts" STEPS TO REPRODUCE 1. Add Compressor/Expander effect to a clip 2. Try to play the clip OBSERVED RESULT The effect has no effect. EXPECTED RESULT The effect works. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.9.6-arch1-1 (64-bit)/Wayland (available in About System) KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION Using: * mlt 7.24.0-3
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.