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 720879 - Sometimes the waveform goes beyond the clip
Sometimes the waveform goes beyond the clip
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Timeline
0.92
Other Linux
: Normal normal
: 0.93
Assigned To: Mathieu Duponchelle
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-21 14:55 UTC by antistress
Modified: 2014-01-23 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
waveform goes behond the clip (153.57 KB, image/png)
2013-12-21 14:56 UTC, antistress
Details

Description antistress 2013-12-21 14:55:38 UTC
Using Pitivi 0.92 with Debian Sid & Intel Iby Bridge HD Graphics (Linux debian
3.11-2-amd64, libc6 2.17-97, libclutter-1.0-0 1.14.4-3), when i play with clips*
on the timeline, adding and removing them, the waveform goes behond the clip. 

Actually, the graphical representation of the clip duration doesn't seem good (too short), which can be experimented by trying to overlap the clip with another one to make a transition or by playing with the Viewer

See screenshot attached

Thanks

*Ogg Theora 480p/stereo Big Buck Bunny trailer [1]
webm Sintel trailer [2] :
[1] http://download.blender.org/peach/trailer/trailer_400p.ogg (from http://www.bigbuckbunny.org/index.php/trailer-page/)
[2] http://media.w3.org/2010/05/sintel/trailer.webm (from
http://www.w3.org/2010/05/video/mediaevents.html)
Comment 1 antistress 2013-12-21 14:56:59 UTC
Created attachment 264689 [details]
waveform goes behond the clip
Comment 2 Jean-François Fortin Tam 2013-12-21 15:59:06 UTC
I've noticed this happening temporarily during zoom level change animation, rarely do they get stuck - we'd need clear step-by-step instructions to reproduce this bug...
Comment 3 antistress 2013-12-22 07:04:07 UTC
Ok here is a case :

1. Launch Pitivi, close the startup wizard. Don't set projet settings.
2. Import both clips simultaneously into the media library using ctrl+click
3. Add trailer.webm to the timeline using the dedicated button "Insert the selected clips at the end of the timeline"
4. Delete the clip from the timeline (click on it and press del key)
5. Add trailer_400p.ogg  to the timeline using the dedicated button "Insert the selected clips at the end of the timeline"
6. See that the waveform goes beyond the clip

Start again steps 3-6 is the bug is not present at st time
Comment 4 Mathieu Duponchelle 2014-01-23 17:48:02 UTC
OK this report is all kinds of great, allowed me to easily reproduce this traceback we have had for quite some time but couldn't put our finger on:

AttributeError: 'NoneType' object has no attribute 'get_asset'

Thanks a whole, lot this kind of detailed feedback is what helps us making the software better !

Working on a fix right now, should be fairly simple.
Comment 5 Mathieu Duponchelle 2014-01-23 19:33:36 UTC
Fixed by :

commit 30eea02f8f2b059fa8dd7c18115d3b2eb8178069
Author: Mathieu Duponchelle <mduponchelle1@gmail.com>
Date:   Thu Jan 23 19:23:03 2014 +0100

    AudioPreviewer: initialize pipeline to None, and check if it exists
    
    before trying to stop it.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720879

Thanks again for the feedback !
Comment 6 antistress 2014-01-23 23:33:30 UTC
Thanks for all your work on Pitivi and cie :)