Bug 458759

Summary: Audio mixer don't work when video is rezided
Product: [Applications] kdenlive Reporter: Ricardo Nascimento <ricard>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.08.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: I make a video with the issue

Description Ricardo Nascimento 2022-09-05 19:03:59 UTC
SUMMARY
***
When project video is different of the video input, the kdenlive ask if I want adjust the project. When the project video is adjusted, the Audio Mixer don't work by the track. Only master audio  work correctely.
***


STEPS TO REPRODUCE
1. Set the anyone project video (for example, HD720p 24fps)
2. Input a video 1080p 30fps
3. Say yes, when Kdenlive ask if I want adjust the project as the video.

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 Jean-Baptiste Mardelle 2022-09-09 02:46:11 UTC
Thanks for your report but I cannot reproduce the issue. Can you please better describe the problem ? What doesn't work in the audio mixer ? you don't see the audio levels ? You cannot adjust the volume ?
Comment 2 Ricardo Nascimento 2022-09-09 10:58:06 UTC
Created attachment 151948 [details]
I make a video with the issue

Hi guys,

I make a video with the problem. You can download from my Google Drive and watch.

https://drive.google.com/file/d/1VejC-Oxlp7IAxl_S9vlNuMLxPE6y1M20/view?usp=sharing
Comment 3 Ricardo Nascimento 2022-09-09 11:00:37 UTC
Please, watch a movie video with the bug from my google drive.

https://drive.google.com/file/d/1VejC-Oxlp7IAxl_S9vlNuMLxPE6y1M20/view?usp=sharing


Others information about my PC Computer

root@home:/home/ricardo# uname -a
Linux home 5.19.0-1-rt-amd64 #1 SMP PREEMPT_RT Debian 5.19.6-1 (2022-09-01) x86_64 GNU/Linux

________________________________________________________________________________________________________________________
root@home:/home/ricardo# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] (rev 08)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 08)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1f.0 ISA bridge: Intel Corporation H310 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] (rev ff)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
02:00.0 Non-Volatile memory controller: Sandisk Corp Device 5019 (rev 01)

________________________________________________________________________________________________________________________
root@home:/home/ricardo# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0810:0001 Personal Communication Systems, Inc. Dual PSX Adaptor
Bus 001 Device 005: ID 30fa:0400  USB OPTICAL MOUSE 
Bus 001 Device 004: ID c0f4:01b0 USB usb keyboard
Bus 001 Device 008: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 009: ID 0c76:161f JMTek, LLC. USB PnP Audio Device
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Comment 4 Jean-Baptiste Mardelle 2022-09-09 15:40:45 UTC
I saw your video but still cannot reproduce. Can you please check which MLT version is installed ?
Go in Kdenlive's help menu > About Kdenlive > Components and scroll down a little bit to see MLT version.
Comment 5 Ricardo Nascimento 2022-09-09 17:16:11 UTC
Hi! Information about my system instalad

libmlt++-7-7
MLT multimedia framework C++ wrapper (runtime)
1:7.8.0+repack1-dmo6

libmlt-7-7
Multimedia framework (runtime)
1:7.8.0+repack1-dmo6

libmlt7-data
Multimedia framework (data)
1:7.8.0+repack1-dmo6

mencoder: 4:1.5-dmo7

ffmpeg: 10:5.1.1-dmo1
Comment 6 Jean-Baptiste Mardelle 2022-09-10 04:48:47 UTC
Ok, thanks for the details. I think the issue is now fixed by one of my recent change to the mixer:
https://invent.kde.org/multimedia/kdenlive/-/commit/da7ec1de516842bb8ec0558ae8a53bcc3ea47000

If possible, please try the daily Appimage development build to confirm the fix:
https://binary-factory.kde.org/view/AppImage/job/Kdenlive_Nightly_appimage-centos7/
Comment 7 Ricardo Nascimento 2022-09-10 16:56:44 UTC
Thanks for your attention, my friend. The bug was solved.