Bug 365841 - git master - audio meter in clip monitor not working when clip is selected in Project Bin (screenshot included)
Summary: git master - audio meter in clip monitor not working when clip is selected in...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: unspecified
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-19 05:42 UTC by Unknown
Modified: 2016-07-19 23:40 UTC (History)
1 user (show)

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


Attachments
Example of issue. (232.22 KB, image/png)
2016-07-19 05:44 UTC, Unknown
Details
Audio Monitor in Project Monitor is working fine. (311.39 KB, image/png)
2016-07-19 05:44 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2016-07-19 05:42:46 UTC
When I added a clip (.mkv) into the Project Bin, I noticed that the audio meter changed to a series of lines on the Clip Monitor. No indication of audio activity during playback. Project monitor audio monitor, however, works fine.

Reproducible: Always

Steps to Reproduce:
1. Create  new project (HD 1080p, 24fps)
2. Add clip (.mkv, 1904x800, 23.976fps)
3. Have selected and look at Clip Monitor and/or playback clip in Clip Monitor.

Actual Results:  
Audio Monitor is showing as a series of grey horizontal bars.

Expected Results:  
Audio Monitor should work like normal.

Bug discovered while using Kdenlive git master build via ppa:kdenlive/kdenlive-master.

Linux Mint 18 x64, Cinnamon 3.0.7 desktop environment.

KDE Frameworks 5.18.0
Comment 1 Unknown 2016-07-19 05:44:12 UTC
Created attachment 100162 [details]
Example of issue.
Comment 2 Unknown 2016-07-19 05:44:36 UTC
Created attachment 100163 [details]
Audio Monitor in Project Monitor is working fine.
Comment 3 Unknown 2016-07-19 06:08:51 UTC
Not sure if it helps, but there're a lot of these in the Terminal when running Kdenlive and trying to play back the .mkv file in question:

[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 1 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
[aac @ 0x7f34e4b612e0] element type mismatch 3 != 0
Comment 4 Jean-Baptiste Mardelle 2016-07-19 06:16:43 UTC
I guess the video has  5:1 audio.. Can you paste the output of :
ffmpeg -i youclip.mkv
Comment 5 Jean-Baptiste Mardelle 2016-07-19 06:49:54 UTC
Ok, I can reproduce with a 5.1 audio clip, will look into it
Comment 6 Jean-Baptiste Mardelle 2016-07-19 07:33:35 UTC
Git commit fa1116c026c9bc31a075d2dd1ecc007049de3c73 by Jean-Baptiste Mardelle.
Committed on 19/07/2016 at 07:33.
Pushed by mardelle into branch 'Applications/16.08'.

Fix audio level meter with 5:1 clips

M  +19   -5    src/monitor/scopes/monitoraudiolevel.cpp
M  +2    -0    src/monitor/scopes/monitoraudiolevel.h

http://commits.kde.org/kdenlive/fa1116c026c9bc31a075d2dd1ecc007049de3c73
Comment 7 Unknown 2016-07-19 23:40:17 UTC
Confirmed fix w/ video files that have 5.1 audio. Working great. Thanks JB!

Marking bug as resolved/fixed.