← Back to team overview

openshot.developers team mailing list archive

[Bug 676133] Re: Problems with speed and reverse

 

I think I found why the patch wasn't working with reverse at low speed,
I changed it (file openshot-diff).

But I'm not able to see the video neither. I guess the player does not
manage reverse video at low speed.

I tried with a cutted clip of 15 seconds, output timestamps seem good
but I get a white windows when I try to play the video :

on_mnuClipProperties_activate
on_txtOut_value_changed
on_cboKeyFrame_changed
on_txtHeight_value_changed
on_txtWidth_value_changed
on_scaleAlpha_value_changed
on_cboSimpleSpeed_changed
===original_speed : 1.000000
===localtxtIn     : 0.000000
===localtxtOut    : 14.925000
===localtxtLength : 14.925000
===localreverse   : 0.000000
---clip_object.speed : 1.000000
---clip_object.max_length : 331.998333
---clip_object.start_time : 0.000000
---clip_object.end_time   : 14.925000
===clip_object.reversed : 0.000000
===clip_object.start_time : 0.000000
===clip_object.end_time : 14.925000
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_cboSimpleSpeed_changed
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
on_btnClose_clicked
===original_speed : 1.000000
===localtxtIn     : 0.000000
===localtxtOut    : 14.925000
===localtxtLength : 14.925000
===localreverse   : 0.000000
---clip_object.speed : 0.500000
---clip_object.max_length : 663.996667
---clip_object.start_time : 634.146667
---clip_object.end_time   : 663.996667
===clip_object.reversed : 1.000000
===clip_object.start_time : 634.146667
===clip_object.end_time : 663.996667
project modified:  Modified clip properties
state saved
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died
first_image == NULL get image died


** Attachment added: "openshot-diffs"
   https://bugs.launchpad.net/openshot/+bug/676133/+attachment/1743518/+files/openshot-diffs

-- 
Problems with speed and reverse
https://bugs.launchpad.net/bugs/676133
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
## Problem with speed :

  Length of a video part does not update when I want to play it slower.

  I needed to comment some part of the code to make it working :

  openshot-1.2.2/windows/ClipProperties.py : 808
    ##if speed_multiplier < original_speed:
      # clip is longer now (keep the short version)
      ##clip_object.end_time = clip_object.start_time + original_length
    ##else:
      # clip is shorter
    clip_object.end_time = new_end_time


## Problem with reverse :

  When I want to play a part of a video in reverse, it does not keep the good part of the video
  I changed a part of the code :

  openshot-1.2.2/windows/ClipProperties.py : 813
    if localcboDirection.lower() == _("Reverse").lower():
      clip_object.reversed = True
      tmp = clip_object.start_time
      clip_object.start_time = clip_object.max_length - clip_object.end_time
      clip_object.end_time = clip_object.max_length - tmp
    else:
      clip_object.reversed = False

But I'm not too good in coding... it works but only at normal speed. when I want to make it slower, I have an other part of the video again





References