After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708401 - Fix the autoaligner to use the new waveforms cache generator and GES Assets
Fix the autoaligner to use the new waveforms cache generator and GES Assets
Product: pitivi
Classification: Other
Component: Timeline
Other Linux
: Low minor
: 1.2
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Reported: 2013-09-19 19:16 UTC by Jean-François Fortin Tam
Modified: 2015-10-20 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Jean-François Fortin Tam 2013-09-19 19:16:56 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/

We need to port to it, and also to use GES Assets (that part should be trivial).
Comment 1 Mathieu Duponchelle 2013-09-30 22:20:33 UTC
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.
Comment 2 Thibault Saunier 2015-10-20 13:05:41 UTC
This bug has been migrated to

Please use the Phabricator interface to report further bugs by creating a task and associating it with Project: Pitivi.

See for details.