Bug 375918 - git master - Levels effect isn't working on clip in Timeline. [screenshot & video example included]
Summary: git master - Levels effect isn't working on clip in Timeline. [screenshot & v...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: git-master
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL: https://www.youtube.com/watch?v=Ysj2n...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-02 19:33 UTC by Unknown
Modified: 2017-02-05 20:12 UTC (History)
3 users (show)

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


Attachments
Screenshot showing issue. Lookin Project Monitor for example. Should not be all white. (348.79 KB, image/png)
2017-02-02 19:33 UTC, Unknown
Details
screenshot (638.47 KB, image/png)
2017-02-03 19:46 UTC, farid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2017-02-02 19:33:08 UTC
Created attachment 103780 [details]
Screenshot showing issue. Lookin Project Monitor for example. Should not be all white.

I just tried to apply the Levels effect to a video clip (.mp4) in the Timeline. When I adjust the Black Input level, the Project Monitor shows the clip as entirely white. It should be adjusting the black input levels without white-washing the clip.

Bug discovered while using:
Kdenlive 17.03.70 via ppa:kdenlive/kdenlive-master
Movit GPU enabled (though bug also happens with Movit GPU disabled)
Linux Mint 18.1 64-bit (Ubuntu base)
KDE Frameworks 5.18.0
Qt 5.5.1
Comment 1 farid 2017-02-03 01:28:09 UTC
I cannot reproduce, maybe this has to do with your MLT/freior/ffmpeg versions? Mine are: 

MLT 6.5
KDE Frameworks 5.30.0
Qt 5.8.0
FFMPEG 3.2.2
freior 1.4
Comment 2 Unknown 2017-02-03 18:53:33 UTC
@farid, did you try to increase the Input Black level above zero?

FFMPEG 2.8.10
Frei0r 1.5 (via ppa:kdenlive/kdenlive-master)

I created a new project (1080p, 29.97fps), added a clip to Project Bin, then to Timeline, then added the Levels effect and raised the Input Black Level (in properties widget) above zero. Same problem.
Comment 3 farid 2017-02-03 19:25:38 UTC
(In reply to Jesse from comment #2)
> @farid, did you try to increase the Input Black level above zero?
> 
> FFMPEG 2.8.10
> Frei0r 1.5 (via ppa:kdenlive/kdenlive-master)
> 
> I created a new project (1080p, 29.97fps), added a clip to Project Bin, then
> to Timeline, then added the Levels effect and raised the Input Black Level
> (in properties widget) above zero. Same problem.


Yes I changed the inputs of all values and it works as intended.
Comment 4 Unknown 2017-02-03 19:31:57 UTC
Appreciate you checking. I upgraded ffmpeg from 2.8.10 to 3.2.2 via a ppa for Ubuntu... but no fix. Problem still remains. Tried applying the Levels effect to .avi and .mp4 video clips. I tested further to change ANY of the parameters, but same result: a white-washed screen in the Project Monitor, and the histogram shows at the bottom-right side of the monitor screen.
Comment 5 Unknown 2017-02-03 19:36:25 UTC
UPDATE #1: It looks like trying to change the value of the "White output" parameter doesn't actually change it. Trying to slide the bar from one side or the other, or even type in a number value on the keyboard, doesn't change the White output value.
Comment 6 farid 2017-02-03 19:46:09 UTC
Created attachment 103802 [details]
screenshot
Comment 7 farid 2017-02-03 19:46:30 UTC
Check out my attachment.
Comment 8 Unknown 2017-02-03 19:49:16 UTC
It does seem to be working on Arch. Can you try to adjust the White output settings and let me know if the changes stick for you?
Comment 9 farid 2017-02-03 19:53:28 UTC
(In reply to Jesse from comment #8)
> It does seem to be working on Arch. Can you try to adjust the White output
> settings and let me know if the changes stick for you?

It works as intended.
Comment 10 Unknown 2017-02-03 19:56:10 UTC
Check out the video I uploaded in the URL field of this bug.

(Sorry, I'm not sure why there was flickering during the screen recording, but it shows the issue). The White output parameter doesn't seem to change.
Comment 11 Unknown 2017-02-03 19:57:12 UTC
Curious, are you running on a machine using Nvidia proprietary drivers?
Comment 12 farid 2017-02-03 20:01:08 UTC
(In reply to Jesse from comment #11)
> Curious, are you running on a machine using Nvidia proprietary drivers?

Yes.
Comment 13 Jean-Baptiste Mardelle 2017-02-04 16:21:22 UTC
I cannot reproduce either. Can you try updating your Kdenlive version from the PPA and check if issue is still here?
Comment 14 Unknown 2017-02-04 17:08:48 UTC
JB, sure thing. I'll keep you both posted.
Comment 15 Unknown 2017-02-05 04:06:52 UTC
I just tested from source (yes, I'm testing from source, now!), and the issue doesn't seem to be present -- everything works fine with the latest git build run from Qt Creator. Seems like the problem is with my one machine. Hmm... I'll test on my Mac Mini running Mint 18.1, tomorrow to see if the issue is on there.
Comment 16 Unknown 2017-02-05 20:12:32 UTC
I tried it on the same machine, again, and the problem seems to have disappeared with new projects. It could have just been something that was a glitch in the project file. I'll close this bug for now and re-open it if I can reproduce more consistently across other machines.

Thanks for checking and for your help, guys!