Bug 474421 - Unable to add Audio Track
Summary: Unable to add Audio Track
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 23.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-11 18:27 UTC by Chandler Klüser
Modified: 2023-09-17 19:25 UTC (History)
0 users

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


Attachments
Video reproducing the bug (417.61 KB, video/mp4)
2023-09-11 18:27 UTC, Chandler Klüser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chandler Klüser 2023-09-11 18:27:18 UTC
Created attachment 161565 [details]
Video reproducing the bug

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have kdenlive 23.08 in Archlinux Kernel Linux 6.5.2, amd64 architecture, with GNOME 44.4 and Wayland
2. Create a new project
3. Add audio tracks in the Project Files (.m4a, .ogg, .wav ...)
4. Drag and Drop the audio files into any audio track
5. Expected result: audio file is in the timeline in the audio track / Actual result: no audio is in the timeline
OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Antonio Rojas 2023-09-12 12:10:31 UTC
This is a downstream regression in mlt
Comment 2 Chandler Klüser 2023-09-12 12:12:46 UTC
there is any action to do to make it back to work again, like rebuilding it from source code with some patch?
Comment 3 Antonio Rojas 2023-09-12 12:17:27 UTC
(In reply to Chandler Klüser from comment #2)
> there is any action to do to make it back to work again, like rebuilding it
> from source code with some patch?

Update mlt to 7.18.0-3
Comment 4 Chandler Klüser 2023-09-13 08:06:41 UTC
I have full cleaned kdenlive and mlt, then:

`git clone https://github.com/mltframework/mlt` in `master` branch, commit `5eefee5167108c7a8189fc876e833d66cba5ddf3`:

```
cd mlt
cmake -B build . -DCMAKE_INSTALL_PREFIX=/usr -DMOD_OPENCV=ON
cmake --build build
sudo cmake --install build
```

then, `git clone https://github.com/KDE/kdenlive` in `master` branch, commit `a709f378ed05b85dc8aabf66d00eb73db9e3144a`

```
cd kdenlive
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --install .
```

The issue still persists, I have got also some warnings running kdenlive to help:

```
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Could not detect package type, probably default? App dir is "/home/chandler/Documentos/kdenlive/build/bin"
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltmovit.so
  (libmovit.so.8: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
  (libsox.so.3: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente)
profilePath from KdenliveSetting::mltPath:  "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::rendererPath:  "/usr/bin/melt-7"
Empty metadata for  "telecide"
(...)
SETTING AUDIO DATA IN MONITOR EMPTY!!!
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  0
TRACK NOT IN TARGET :  138  =  (138)
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
clip not ready or not compatible PlaylistState::VideoOnly true
```

============================

Side Note: if you can update [PKGBUILD](https://gitlab.archlinux.org/archlinux/packaging/packages/extra-cmake-modules/-/blob/main/PKGBUILD?ref_type=heads) of extra-cmake-modules source code path in Arch Packages Repository to `https://download.kde.org/stable/frameworks/5.110/extra-cmake-modules-5.110.0.tar.xz` I will appreciate, because the link is broken written that way.
Comment 5 Antonio Rojas 2023-09-13 08:10:42 UTC
This is fixed in the official packages already, you don't need to compile anything.
Comment 6 Chandler Klüser 2023-09-13 08:12:02 UTC
(In reply to Antonio Rojas from comment #5)
> This is fixed in the official packages already, you don't need to compile
> anything.

actually I have got this issue using the Official Package release
Comment 7 Chandler Klüser 2023-09-17 19:25:32 UTC
This time getting segmentation fault when importing a project:

::::::::
========== READY FOR TASK DISCARD ON:  3
===== REMOVING MASTER PRODUCER; CURRENT COUNT:  1 
:::::::::::::::::::::::::::
LOCALE: Document uses  "."  as decimal point and  "C"  as locale
Searching for locale: Found  QLocale(Oromo, Latin, Ethiopia)  with match type  1
FOUND MLT PROJECT VERSION:  7  /  18  /  0
[1]    16627 segmentation fault (core dumped)  kdenlive