Bug 474895 - Kdenlive stopped recognizing multiple audio tracks from mkv
Summary: Kdenlive stopped recognizing multiple audio tracks from mkv
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 23.08.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 475233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-26 10:28 UTC by UnduGT
Modified: 2023-10-07 06:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
OBS Settings if its helping (76.95 KB, image/png)
2023-09-26 10:28 UTC, UnduGT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description UnduGT 2023-09-26 10:28:58 UTC
Created attachment 161884 [details]
OBS Settings if its helping

SUMMARY
I regularly edit videos about every 2 - 3 days and use .mkv videos from OBS with 4 different audio tracks. For about 2 weeks Kdenlive has stopped reading them properly, 4 audio tracks are being imported, but they are all identical. Kdenlive only imports the first audio track 4 times. I thought it might be because of the few videos, but now it's the same with all videos. The videos themselves actually contain different audio tracks, as I can also access them in VLC. I'm currently working around this problem by importing the tracks into Audacity and then exporting them as an audio file and then importing them into Kdenlive.


STEPS TO REPRODUCE
1. Get .mkv video from OBS or other source with multiple audio tracks
2. Import into Kdenlive
3. Wait until Audio available in Kdenlive

OBSERVED RESULT
1 Videotrack
Multiple Identical Audiotracks

EXPECTED RESULT
1 Videotrack
Multiple different Audiotracks

SOFTWARE/OS VERSIONS
Kdenlive 23.08.1
MLT Version 7.18.0
ffmpeg Version: 2:6.0-10 (Manjaro Repository)  or Version: n6.0 (ffmpeg -version)

Operating System: Manjaro Linux Plasma Edition
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.1.53-1-MANJARO (64-bit)
Graphics Platform: X11

HARDWARE INFORMATION
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C91
System Version: 1.0

ADDITIONAL INFORMATION
OBS Studio Version used: 29.1.3 (64 Bit) Flatpak
Comment 1 jobimajobima 2023-10-02 17:50:44 UTC
same thing here in windows
Comment 2 Jean-Baptiste Mardelle 2023-10-03 07:11:26 UTC
Thanks for your report. This was caused by a change in the MLT video framework. I am working on a fix for 23.08.2
Comment 3 Jean-Baptiste Mardelle 2023-10-03 08:15:58 UTC
Git commit f76e24a0b00b441a87466943ce6a3b318574510e by Jean-Baptiste Mardelle.
Committed on 03/10/2023 at 10:15.
Pushed by mardelle into branch 'master'.

Fix multiple audio streams broken by MLT's new astream property

M  +5    -3    src/bin/bin.cpp
M  +4    -1    src/bin/projectclip.cpp
M  +5    -1    src/jobs/audiolevelstask.cpp
M  +2    -1    src/jobs/cliploadtask.cpp
M  +6    -0    src/mltcontroller/clipcontroller.cpp
M  +2    -0    src/mltcontroller/clipcontroller.h
M  +5    -0    src/mltcontroller/clippropertiescontroller.cpp
M  +9    -0    src/monitor/monitor.cpp
M  +1    -2    src/timeline2/model/clipmodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/f76e24a0b00b441a87466943ce6a3b318574510e
Comment 4 Jean-Baptiste Mardelle 2023-10-03 13:23:53 UTC
Git commit e4b545e87a48fa35c56b471e82dfe5124ecbe875 by Jean-Baptiste Mardelle.
Committed on 03/10/2023 at 11:31.
Pushed by mardelle into branch 'release/23.08'.

Fix multiple audio streams broken by MLT's new astream property

M  +5    -3    src/bin/bin.cpp
M  +4    -1    src/bin/projectclip.cpp
M  +5    -1    src/jobs/audiolevelstask.cpp
M  +2    -1    src/jobs/cliploadtask.cpp
M  +6    -0    src/mltcontroller/clipcontroller.cpp
M  +2    -0    src/mltcontroller/clipcontroller.h
M  +5    -0    src/mltcontroller/clippropertiescontroller.cpp
M  +9    -0    src/monitor/monitor.cpp
M  +1    -2    src/timeline2/model/clipmodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/e4b545e87a48fa35c56b471e82dfe5124ecbe875
Comment 5 Jean-Baptiste Mardelle 2023-10-07 06:23:57 UTC
*** Bug 475233 has been marked as a duplicate of this bug. ***