Bug 366501

Summary: Volume effect crashes Kdenlive
Product: [Applications] kdenlive Reporter: Kubuntiac <user581>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED FIXED    
Severity: crash CC: riku.seppala, wegwerf-1-2-3
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kubuntiac 2016-08-07 21:11:33 UTC
When I add the volume effect, immediately on playback Kdenlive crashes with the following gdb:
[volume @ 0x7fff546dff40] [Eval @ 0x7fff967f9040] Undefined constant or missing '(' in ''
[volume @ 0x7fff546dff40] Unable to parse option value ""
[volume @ 0x7fff546dff40] [Eval @ 0x7fff967f9040] Undefined constant or missing '(' in ''
[volume @ 0x7fff546dff40] Unable to parse option value ""
[volume @ 0x7fff546dff40] [Eval @ 0x7fff967f9040] Undefined constant or missing '(' in ''
[volume @ 0x7fff546dff40] Unable to parse option value ""
[filt @ 0x7fff54644c40] [Eval @ 0x7fff967f9630] Undefined constant or missing '(' in ''1.0''
[filt @ 0x7fff54644c40] Error when evaluating the volume expression ''1.0''
[filter avfilter.volume] Cannot init filter

I'm using the daily ppa that compiles master on Kubuntu 16.04.

Reproducible: Always

Steps to Reproduce:
1. Add an audio source to the timeline
2. Add the volume effect
3. Hit playback in the timeline

Actual Results:  
crash

Expected Results:  
no crash
Comment 1 riku.seppala 2016-08-08 11:50:18 UTC
I see this too. I'm using Version 16.04.2 from rpmfusion on Fedora 24.
Comment 2 Vincent PINON 2016-08-09 09:50:55 UTC
Hello,
Many filters from FFmpeg (avfilters) are not yet properly handled by MLT/Kdenlive.
You should pick the MLT equivalent.
From 16.07.80, we have blacklisted the problematic effects ; a better solution would be to create the XML description to handle them properly.