GNOME Bugzilla – Bug 708401
Fix the autoaligner to use the new waveforms cache generator and GES Assets
Last modified: 2015-10-20 13:05:41 UTC
We had a working automatic clip alignment feature in 0.15.x, which used Pitivi's audio waveforms processing module... however, this module has been replaced by a faster, better, stronger (more precise) module that happens to have a part of it written in C for performance (see "pitivi/coptimizations/renderer.c" and the way we use it in pitivi/timeline/previewers.py). We need to port autoaligner.py to it, and also to use GES Assets (that part should be trivial).
As is, the current code in coptimizations is only used for transforming the one dimensional data obtained through the "level" element into a two dimensional cairo surface. The level generation is done in python, and the waveforms data is pickled in ~/.cache/pitivi/waves . What must be done is find a way make the aligner use that data, if necessary creating it itself, and avoiding races with the waveform's code, so you might want to rephrase the report to remove the mention to coptimizations.
This bug has been migrated to https://phabricator.freedesktop.org/T3058. Please use the Phabricator interface to report further bugs by creating a task and associating it with Project: Pitivi. See http://wiki.pitivi.org/wiki/Bug_reporting for details.