Allow switching between logarithmic and linear audio waveform thumbnails
Open, NormalPublic


Reported in tracker:

"The current rendering method of audio thumbnail waveforms - as far as I can tell - is logarithmic. This makes it hard for me to see low volume changes in audio.

Allowing to switch between logarithmic and linear audio thumbnail waveform rendering would make editing easier for my process, which is heavily based on where audio starts and stops.

In the case of ffmpeg, if the showwaves effect is used, the scale parameter can be set to use lin or log"

afarid created this task.Oct 4 2018, 12:06 AM
afarid triaged this task as Normal priority.

Yes. we do use ffmpeg for audio/video clips, see file src/jobs/audiothumbjob.cpp

Actually, MLT is used if you didn't set the path to ffmpeg under "Settings" -> "Configure" -> "Environment".

It should already be linear but I see what you mean. Changing to ffmpeg results in better thumbnails and might already be sufficient for your process.

So providing the default path to FFmpeg should do the job, is that right?

Well, I had a look and we use FFmpeg but not the showwave effect. Currently we retrieve the audio data directly from FFmpeg using the "data" effect which does not seem to allow logarithmic output. We might have to perform the transformation on our side... so it's a bit more work...