Invalid transitions using 'Add to Timeline'

Bug #792011 reported by Johan Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
High
Unassigned

Bug Description

Openshot version 1.3.1
I am trying out OS.
Imported a few images and lined them up on Track 2.
Add transition "fractal1" to snap to end of first image. Direction is "down".
Play - it works fine.
Add transition "fractal1" to snap to start of second image. Direction is "up".
Play - first transition does nothing but second work correctly.

If I remove any of the transitions. The other one works correctly.

Related branches

Revision history for this message
Johan Pretorius (johanpretorius2026) wrote :

I deleted the second "fractal1" transition and added another type. I then deleted the one I just added and re-added the "fractal1". Seems to work. (?)

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hi,

Could you reproduce it after running OS in a console and put us the result here ?
What is your system, version of mlt (use https://answers.launchpad.net/openshot/+faq/1032) ?
Thanks.

Revision history for this message
Johan Pretorius (johanpretorius2026) wrote :

I have a gentoo 32 bit installation.

The debug.py does not work on my system.

media-libs/mlt 0.5.10
dev-python/pygtk 2.22.0-r1
x11-libs/gtk+ 2.22.1-r1
Python 2.7.1

uname -a
Linux jumper 2.6.38-gentoo-r6 #1 SMP Fri Jun 3 00:39:54 SAST 2011 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz GenuineIntel GNU/Linux

johanp@jumper ~ $ openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
Process no longer exists: 11560. Creating new pid lock file.
on_mnuHistory_toggled called with self.GtkCheckMenuItem
on_nbFiles_switch_page
on_nbFiles_switch_page
state saved
on_nbFiles_switch_page
Init Transitions tab
on_nbFiles_switch_page
Init Effects tab
on_nbFiles_switch_page
on_nbFiles_switch_page
on_nbFiles_switch_page
on_nbFiles_switch_page
on_tlbImportFiles_clicked called with self.GtkToolButton
project modified: Added file
state saved
project modified: Added file
state saved
project modified: Added file
state saved
project modified: Added file
state saved
project modified: Added clip
state saved
project modified: Added clip
state saved
on_nbFiles_switch_page
on_nbFiles_switch_page
project modified: Added transition
state saved
on_tlbArrow_clicked called with self.GtkRadioToolButton
on_tlbResize_toggled called with self.GtkRadioToolButton
on_tlbPlay_clicked called with self.GtkToolButton
Autosaving... before playback of new XML file.
on_tlbPlay_clicked called with self.GtkToolButton
on_mnuReverseMarker_activate clicked
Autosaving... before playback of new XML file.
on_tlbPlay_clicked called with self.GtkToolButton
on_tlbPlay_clicked called with self.GtkToolButton
project modified: Added transition
state saved
on_tlbPlay_clicked called with self.GtkToolButton
Autosaving... before playback of new XML file.
on_tlbPlay_clicked called with self.GtkToolButton
project modified: Resized transition
state saved
on_tlbUndo_clicked
on_tlbResize_toggled called with self.GtkRadioToolButton
on_tlbArrow_clicked called with self.GtkRadioToolButton
project modified: Moved transition
state saved
on_tlbPlay_clicked called with self.GtkToolButton
Autosaving... before playback of new XML file.
on_tlbPlay_clicked called with self.GtkToolButton
on_tlbPlay_clicked called with self.GtkToolButton
on_frmMain_destroy

Revision history for this message
Olivier Girard (eolinwen) wrote :

Are you using KDE ?
 You should do a upadte of your mlt version The last is the but she introduces a bug in the preview very horrible. The mlt Team is aware and it seems that the git version resolve this issue.

Revision history for this message
Olivier Girard (eolinwen) wrote :

I precise that I can not reproduce it.

Revision history for this message
Johan Pretorius (johanpretorius2026) wrote :

I'm using gnome 2.32.1.

Gentoo's MLT is 5.10 and portage does not yet provide the latest.

If you cannot reproduce it it means it is probably fixed in the latest versions.

I'll wait for gentoo to provide the updates.

Thanks.

Andy Finch (fincha)
Changed in openshot:
status: New → Incomplete
Revision history for this message
Joop Mevissen (jm) wrote :

I can confirm this, but it only happens if you put transitions back to back on the timeline.

Here is a quick way to check this: import a couple of images and use the "Add to timeline" function. Choose a transition and fill in 3.5s for the length (assuming the standard length of an image is 7s). If you playback, the first transition isn't working. The second one works, but in the wrong direction. The third doesn't work, etc.

If you do the same but fill in 3.4s for the transition length, all is fine.

If you put more than 3.5s for the length the result is a big mess, so it would be nice if the transition length can not be more than half of the image length.

Andy Finch (fincha)
Changed in openshot:
status: Incomplete → Confirmed
Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Added an upper limit to the size of fade and transition length when using the 'Add to Timeline' feature, to prevent invalid transitions and fades from being added to the timeline.

Changed in openshot:
milestone: none → 1.4.3
summary: - Transitions working incorrectly
+ Invalid transitions using 'Add to Timeline'
Changed in openshot:
status: Confirmed → Fix Committed
importance: Undecided → High
Changed in openshot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.