← Back to team overview

openshot.bugs team mailing list archive

[Bug 520941] Re: Fade in/out glitches

 

I have also found that PNG sequences cause this issue.  See the attached
example project "Openshot PNG sequence issue.tar.gz", which demonstates
the issue using a PNG sequence generated via "New Animated Title".

There are two issues I can see:-

1. The final frame of the animation is not mixed correctly and so you see a flash.
2. Fades will be broken for any clips after the PNG sequence on the same track (in the example I attached, you hear a blip at the end)

Looking at the generated MLT XML, you can see a difference between image
sequence "out" attribute which is "79".  Whereas the transition which is
added along with the image sequence has "out" set to "78".

If you change the 78 to 79 and run the XML directly with melt, then that
at least fixes the flash you see at the end of the animation.  But does
not resolve the blip at the end of the fade.

I have played with the ins and outs, but cannot find a way to resolve
the blip.

So back to the 78 vs 79 issue.  I think this is a rounding error within
OpenShot.  I since noticed that I used the default profile NTSC, I
usually use PAL, but lets investigate this anyway:

The image sequence is 80 frames.  NTSC is 29.97 frames per second.
So I expect OpenShot to calculate a duration of 2.669336003 and round this to 2.67.
But OpenShot shows a length of 2.64, which happens to be what you would round to if OpenShot was calculating based on 79 frames (79/29.97 = 2.635969303)

So possibly OpenShot is getting the number of frames in a sequence out
by 1?

** Attachment added: "Openshot PNG sequence issue.tar.gz"
   https://bugs.launchpad.net/openshot/+bug/520941/+attachment/3188348/+files/Openshot%20PNG%20sequence%20issue.tar.gz

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/520941

Title:
  Fade in/out glitches

Status in OpenShot Video Editor:
  Fix Committed

Bug description:
  Hi,

  I don't know if anyone else has experienced this, but now and again
  (not all the time) my fades in and out glitch at the outer end: before
  a fade in, the image or video appears momentarily (probably just for
  one frame) then disappears, and the fade starts normally. Similarly at
  the end, with the final frame flashing up full brightness.

  It also seems to some extent to happen on audio - it's like OpenShot
  realises a moment too late that it's not meant to be playing the
  audio, or that a fade is meant to be happening.

  Sometimes it doesn't happen, and sometimes it fixes itself...
  unfortunately not on a 'quick' project I've been doing this morning!

  Anyway. It's absolutely great work - I'm so impressed! Something as
  good as this, and non-linear (I can't understand what you can even do
  with linear editing!) is a joy to have!

  Ubuntu 8.04
  DEB 1.0.0

  Again - great application. I've already done some stuff I'm really
  pleased with!

  Cheers,

  Mike

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/520941/+subscriptions