Recently, I have a problem with audio filters like Compressors and limiter. All of them give me an MLT error “Cannot set sink channel counts”. Firstly, i tried switching audio engines, but it did nothing. Then I tried other versions of ffmpeg (i use ffmpeg-obs) and even built latest version of mlt 7.24 from source and still have this problem.
[in @ 0x7b99fd711180] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7b99fd711180] filter context - w: 720 h: 720 fmt: 1 csp: unknown range: unknown, incoming frame - w: 720 h: 720 fmt: 1 csp: bt709 range: tv pts_time: 3.1
::::: ASSET IS AUDIO!!!
qml: Add effect: avfilter.asoftclip
XML parsing of "avfilter.asoftclip" . found 6 parameters
WARNING: Unknown type : "fixed"
END parsing of "avfilter.asoftclip" . Number of found parameters 5
// GOT CLIP STACK DATA CHANGE: QList(308)
// GOT CLIP STACK DATA CHANGE DONE: QModelIndex(0,0,0x6,TimelineItemModel(0x5d663a3b4b10)) = QList(308)
pos: 74 out: 9502
MLT: "[filter avfilter.asoftclip ] Cannot set sink channel counts"
When i tested in appimage of kdenlive everything works fine. I also noticed that it uses MLT 7.25.
// SETTING CLIP PROPERTIES: QMap(("kdenlive:duration", "00:00:16:22")("kdenlive:maxduration", "502")("length", "502")("out", "501"))
::::: ASSET IS AUDIO!!!
qml: Add effect: avfilter.asoftclip
XML parsing of "avfilter.asoftclip" . found 6 parameters
WARNING: Unknown type : "fixed"
END parsing of "avfilter.asoftclip" . Number of found parameters 5
// GOT CLIP STACK DATA CHANGE: QList(308)
// GOT CLIP STACK DATA CHANGE DONE: QModelIndex(0,0,0x6,TimelineItemModel(0x142f3770)) = QList(308)
[out @ 0x7b8fb0139140] Removing channel layout 0x3, redundant with 2 channels
pos: 159 out: 9502
I am not really tech savvy, but is it a good idea to copy all the mlt files from appimage to my system and try it. Or is it a problem with my audio system witch is fixed by appimage environment?(pipewire)
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 4575
Tile Size: 65472
User Name: egorechek
Host Name: egorechek
Server Name: PulseAudio (on PipeWire 1.2.0)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_06_00.6.analog-stereo
Default Source: alsa_input.pci-0000_06_00.6.analog-stereo
Cookie: 2a16:e275
thanks