noticed that the preview "clipped" even if sound doesn't do it, and apparently 256 is not the max value there.
also tested converting from voltage to loudness but it kind of looked crappier so I assume something else does it for us.
noticed that the preview "clipped" even if sound doesn't do it, and apparently 256 is not the max value there.
also tested converting from voltage to loudness but it kind of looked crappier so I assume something else does it for us.
loaded in a couple of different video clips and the waveforms looked better.
Lint Skipped |
Unit Tests Skipped |
Thanks for your contribution. I used it as a base to fix the problem in a slightly different way (Fix the values at the time they are generated, not when displaying them in timeline). Hope it's ok for you :
https://invent.kde.org/kde/kdenlive/commit/3f267699c20c3e56f34d188ca74247edd9642aac
Of course, I just wasn't sure where else there could be assumptions on the values, so I wanted to keep it minimal. So your fix seems better. :-)