Collection of extra operators to manipulate VSE strips #32532

Closed
opened 2012-09-11 01:29:26 +02:00 by carlos padial · 20 comments
Member

Project: Blender Extensions
Tracker: Py Scripts Contrib
Python: 3.2
Blender: 2.66
Dependencies: exiftool to get exif data working
Author(s): Turi Scandurra, Carlos Padial
Script name: Extra Sequencer Actions
Homepage: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Sequencer/Extra_Sequencer_Actions
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Sequencer/Extra_Sequencer_Actions
Category: Sequencer
SVN Download: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/sequencer_extra_actions
Status: Open

%%%The script is composed of a collection of several operators placed in different locations.

Location: Timeline → Frame

  Trim to Timeline Content
  Trim to Selection 

Location: Video Sequence Editor → Select

  Select All by Type
  Current-Frame-Aware Select
  Inverse 

Location: Video Sequence Editor → Strip•••••••

  Ripple Delete
  Ripple Cut
  Insert
  Insert (Single Channel)•••••••
  Slide
  Slide Grab
  Copy Properties
  Fade
  Distribute 

Location: Video Sequence Editor → Input

  Open with Editor
  Open with External Editor
  File Name to Strip Name 

Location: Video Sequence Editor

  File Place
  File Insert
  Navigate Up
  Proxy Place
  Proxy Insert 

Location: Movie Clip Editor

  Open from File Browser
  Open Active Strip 

Location: Movie Clip Editor, Video Sequence Editor (with preview), Timeline

  Jog/Shuttle 

Location: Timeline, Video Sequence Editor

  Skip One Frame 

Location: Video Sequence Editor > UI

  Recursive loader 

Usage
Trim to Timeline Content

Automatically set start and end frames of current scene according to the content of the Sequence Editor.
Trim to Selection

Set start and end frames of current scene to match selected strips in the Sequence Editor.
Select All by Type

Select all the strips of the specified type in the Sequence Editor.
Current-Frame-Aware Select

Select strips on all channels according to current frame. Available modes are:

  Before (select all strips before current frame),
  After (select all strips after current frame),
  On (select all strips underneath playhead). 

Select Inverse

Inverse the selection of strips.
Ripple Delete

Delete the active strip and shift back all other strips the number of frames between the beginning of deleted strip and the next edit in the sequence.
Ripple Cut

Same as above, but copying active strip to memory buffer before deleting it. Copied strip can be pasted in place as usual, for example using the keystroke combination ctrl-V.
Insert

Shift forward all strips after current frame and insert active strip.
Insert (Single Channel)

Same as above, but shifting occurs only on the same channel as active strip.
Slide

Alter in and out points of a strip but not its duration. Only available when a the type of active strip is Movie, Scene or Meta. Click 'Input...' to choose the amount of sliding desired. The start and end frame of active strip will be moved, but its length and position will remain unchanged. This action is also known as slipping. Click 'Current Frame to Start' or 'Current Frame to End' to perform the slide according to current frame.
Slide Grab

Same as above, interactive mode. Move mouse cursor along X axis to jog. To exit, click left or right mouse button or hit ESC.
Copy Properties

Copy properties of active strip to selected strips. Start selecting multiple strips, then make active the strip whose properties need to be copied to the selected strips. Click the desired operator to perform the action. Some operators affect single properties, while some others affect a group of properties.
Fade

Fade opacity of active strip, or its volume if its type is Sound, creating keyframes for the corresponding property. Possible fade directions are In, Out, In and Out. Duration defines the number of frames between the start and the end of the fade. Amount defines the maximum value that the fade will set. For opacity fades, the maximum value is 1.0. The minimum value reached by the fade is always 0. Keyframes created with this operator can be manipulated through the F-Curve Editor.
Distribute

Evenly distribute selected strips along the timeline according to a specified offset. This operator is useful to reassign strip length to every element of an image sequence. The operator also allows to reverse the order of the distributed strips. To perform a simple reversion of an image sequence, first separate its images and select them, then run Distribute with Offset set to 1 and Reverse Order enabled.
Open with Editor

Open active strip with Movie Clip Editor or Image Editor, according to strip type. If a clip is already loaded, existing data is used.
Open with External Editor

Open active image strip with the default external image editor. To use this operator a valid path to the external editor must be specified in User Preferences > File.
File Name to Strip Name

Set strip name to input file name. This operator is useful after separating images of a sequence.
File Place

Place active file from File Browser to Sequencer Editor on current frame.
File Insert

Same as above, but also shift forward forward all strips after current frame.
Proxy Place

Same as File Place, adding a proxy file.
Proxy Insert

Same as File Insert, adding a proxy file.
Navigate Up

Move current view to parent timeline. Only enabled when current view is relative to a Meta strip. This operator does not perform any modification to timeline elements.
Open from File Browser

Load a Movie or Image Sequence from File Browser to Movie Clip Editor. If a clip is already loaded, existing data is used.
Open Active Strip

Load a Movie or Image Sequence from Sequence Editor to Movie Clip Editor. If a clip is already loaded, existing data is used.
Jog/Shuttle

Jog through current sequence, looping between start and end frames. This action is known as jogging, shuttling or scrubbing. Click the operator to enter interactive mode. Move mouse cursor along X axis to jog. To exit, click left or right mouse button or hit ESC.
Skip One Second

Skip through the Timeline by one-second increments. The number of frames to skip is based on render settings for current scene. The script enables two new key bindings:

  ctrl + shift + left arrow to skip back one second,
  ctrl + shift + right arrow to skip forward one second. 

Recursive Loader

In a File Browser area, select a file and in the VSE panel press "Import from Browser" button. All movie clips will be imported (sorted alphabeticaly by filename) in the VSE

  Check "Recursive" option to search recursively in this folder
  Check "Same extension" to force import only files with the selected extension.
  Check "Proxies" to setup proxies if existing. (first load a single file with Proxy Place to setup extension and suffix) %%%
**Project**: Blender Extensions **Tracker**: Py Scripts Contrib **Python**: 3.2 **Blender**: 2.66 **Dependencies**: exiftool to get exif data working **Author(s)**: Turi Scandurra, Carlos Padial **Script name**: Extra Sequencer Actions **Homepage**: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Sequencer/Extra_Sequencer_Actions **Wiki page**: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Sequencer/Extra_Sequencer_Actions **Category**: Sequencer **SVN Download**: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/sequencer_extra_actions **Status**: Open %%%The script is composed of a collection of several operators placed in different locations. Location: Timeline → Frame ``` Trim to Timeline Content Trim to Selection ``` Location: Video Sequence Editor → Select ``` Select All by Type Current-Frame-Aware Select Inverse ``` Location: Video Sequence Editor → Strip••••••• ``` Ripple Delete Ripple Cut Insert Insert (Single Channel)••••••• Slide Slide Grab Copy Properties Fade Distribute ``` Location: Video Sequence Editor → Input ``` Open with Editor Open with External Editor File Name to Strip Name ``` Location: Video Sequence Editor ``` File Place File Insert Navigate Up Proxy Place Proxy Insert ``` Location: Movie Clip Editor ``` Open from File Browser Open Active Strip ``` Location: Movie Clip Editor, Video Sequence Editor (with preview), Timeline ``` Jog/Shuttle ``` Location: Timeline, Video Sequence Editor ``` Skip One Frame ``` Location: Video Sequence Editor > UI ``` Recursive loader ``` Usage Trim to Timeline Content Automatically set start and end frames of current scene according to the content of the Sequence Editor. Trim to Selection Set start and end frames of current scene to match selected strips in the Sequence Editor. Select All by Type Select all the strips of the specified type in the Sequence Editor. Current-Frame-Aware Select Select strips on all channels according to current frame. Available modes are: ``` Before (select all strips before current frame), After (select all strips after current frame), On (select all strips underneath playhead). ``` Select Inverse Inverse the selection of strips. Ripple Delete Delete the active strip and shift back all other strips the number of frames between the beginning of deleted strip and the next edit in the sequence. Ripple Cut Same as above, but copying active strip to memory buffer before deleting it. Copied strip can be pasted in place as usual, for example using the keystroke combination ctrl-V. Insert Shift forward all strips after current frame and insert active strip. Insert (Single Channel) Same as above, but shifting occurs only on the same channel as active strip. Slide Alter in and out points of a strip but not its duration. Only available when a the type of active strip is Movie, Scene or Meta. Click 'Input...' to choose the amount of sliding desired. The start and end frame of active strip will be moved, but its length and position will remain unchanged. This action is also known as slipping. Click 'Current Frame to Start' or 'Current Frame to End' to perform the slide according to current frame. Slide Grab Same as above, interactive mode. Move mouse cursor along X axis to jog. To exit, click left or right mouse button or hit ESC. Copy Properties Copy properties of active strip to selected strips. Start selecting multiple strips, then make active the strip whose properties need to be copied to the selected strips. Click the desired operator to perform the action. Some operators affect single properties, while some others affect a group of properties. Fade Fade opacity of active strip, or its volume if its type is Sound, creating keyframes for the corresponding property. Possible fade directions are In, Out, In and Out. Duration defines the number of frames between the start and the end of the fade. Amount defines the maximum value that the fade will set. For opacity fades, the maximum value is 1.0. The minimum value reached by the fade is always 0. Keyframes created with this operator can be manipulated through the F-Curve Editor. Distribute Evenly distribute selected strips along the timeline according to a specified offset. This operator is useful to reassign strip length to every element of an image sequence. The operator also allows to reverse the order of the distributed strips. To perform a simple reversion of an image sequence, first separate its images and select them, then run Distribute with Offset set to 1 and Reverse Order enabled. Open with Editor Open active strip with Movie Clip Editor or Image Editor, according to strip type. If a clip is already loaded, existing data is used. Open with External Editor Open active image strip with the default external image editor. To use this operator a valid path to the external editor must be specified in User Preferences > File. File Name to Strip Name Set strip name to input file name. This operator is useful after separating images of a sequence. File Place Place active file from File Browser to Sequencer Editor on current frame. File Insert Same as above, but also shift forward forward all strips after current frame. Proxy Place Same as File Place, adding a proxy file. Proxy Insert Same as File Insert, adding a proxy file. Navigate Up Move current view to parent timeline. Only enabled when current view is relative to a Meta strip. This operator does not perform any modification to timeline elements. Open from File Browser Load a Movie or Image Sequence from File Browser to Movie Clip Editor. If a clip is already loaded, existing data is used. Open Active Strip Load a Movie or Image Sequence from Sequence Editor to Movie Clip Editor. If a clip is already loaded, existing data is used. Jog/Shuttle Jog through current sequence, looping between start and end frames. This action is known as jogging, shuttling or scrubbing. Click the operator to enter interactive mode. Move mouse cursor along X axis to jog. To exit, click left or right mouse button or hit ESC. Skip One Second Skip through the Timeline by one-second increments. The number of frames to skip is based on render settings for current scene. The script enables two new key bindings: ``` ctrl + shift + left arrow to skip back one second, ctrl + shift + right arrow to skip forward one second. ``` Recursive Loader In a File Browser area, select a file and in the VSE panel press "Import from Browser" button. All movie clips will be imported (sorted alphabeticaly by filename) in the VSE ``` Check "Recursive" option to search recursively in this folder Check "Same extension" to force import only files with the selected extension. Check "Proxies" to setup proxies if existing. (first load a single file with Proxy Place to setup extension and suffix) %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

This task was automatically closed as archived as part of migration, because it was determined to be no longer active.

The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

This task was automatically closed as archived as part of migration, because it was determined to be no longer active. The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the #Addons project page for more information on the workflow.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

%%%v3.4

  • Removed Strip Select > Inverse, as the same funcion is now native.
  • Minor UI fixes.%%%
%%%v3.4 - Removed Strip Select > Inverse, as the same funcion is now native. - Minor UI fixes.%%%
Author
Member

%%%#ripple cut fixed to work with multiple strips selected

new operator 'sequencerextra.createmovieclip'

When a movie or image strip is selected, this operator creates a movieclip or find the correspondent movieclip that already exists for this footage, and add a VSE strip with same cuts the original strip has.It can convert movie strips and image sequences, both with hard cuts or soft cuts.

fixed problem when checking if the clip exists

  • Removed Strip Select > Inverse, as the same funcion is now native.
  • Rearranged sequencer header elements ("Navigate up" before "File Place").
  • Changed text "Create a Movieclip Strip" to "Create Movieclip Strip".
  • Modified AddRecursiveLoadPanel to show panel only on sequencer view
    (and not on preview view.)

Removed obsolete option 'color balance' from Sequencer_Extra_CopyProperties

Removed some print lines in functions.py and operators_extra_actions.py

TODO:

  • Check for new elements to add to "Copy Properties".
  • "Open with Editor" should open Movieclips too.
  • Add documentation to wiki.
  • Remember to keep Tracker version updated to svn version%%%
%%%#ripple cut fixed to work with multiple strips selected # new operator 'sequencerextra.createmovieclip' When a movie or image strip is selected, this operator creates a movieclip or find the correspondent movieclip that already exists for this footage, and add a VSE strip with same cuts the original strip has.It can convert movie strips and image sequences, both with hard cuts or soft cuts. fixed problem when checking if the clip exists - Removed Strip Select > Inverse, as the same funcion is now native. - Rearranged sequencer header elements ("Navigate up" before "File Place"). - Changed text "Create a Movieclip Strip" to "Create Movieclip Strip". - Modified AddRecursiveLoadPanel to show panel only on sequencer view (and not on preview view.) # Removed obsolete option 'color balance' from Sequencer_Extra_CopyProperties # Removed some print lines in functions.py and operators_extra_actions.py TODO: - Check for new elements to add to "Copy Properties". - "Open with Editor" should open Movieclips too. - Add documentation to wiki. - Remember to keep Tracker version updated to svn version%%%
Author
Member

%%%added operator to load exifdata from strip to scene['metadata'] property

works only with image and movie strips

added a panel in sequencer>ui to view exif data

added arguments "-u" and "-a" in exiftool execution command line to make it able to see unknown data (MakerNotes) and repeated info.

USAGE:
select a strip and press 'Read EXIF data'

DEPENDENCIES:
you need exiftool installed in your system
(in linux try apt-get install exiftool)
%%%

%%%added operator to load exifdata from strip to scene['metadata'] property works only with image and movie strips added a panel in sequencer>ui to view exif data added arguments "-u" and "-a" in exiftool execution command line to make it able to see unknown data (MakerNotes) and repeated info. USAGE: select a strip and press 'Read EXIF data' DEPENDENCIES: you need exiftool installed in your system (in linux try apt-get install exiftool) %%%
Member

%%%v3.5
Added Operator 'Extend to Fill'.
Added minimal error handling for Carlos' ReadExifData.
Restored pep-80 compliance.%%%

%%%v3.5 Added Operator 'Extend to Fill'. Added minimal error handling for Carlos' ReadExifData. Restored pep-80 compliance.%%%
Author
Member

%%%recursive loader is fixed and now manages uppercased extensions (like .MXF)
this operator is no longer a panel, it has been added as operator in the sequencer add menu

working in 2.66 r54697

TODO
ripple delete, ripple cut,
filename to strip name,
open with image editor
and distribute operators are not working
%%%

%%%recursive loader is fixed and now manages uppercased extensions (like .MXF) this operator is no longer a panel, it has been added as operator in the sequencer add menu working in 2.66 r54697 TODO ripple delete, ripple cut, filename to strip name, open with image editor and distribute operators are not working %%%

%%%Maybe I am doing something wrong, but when I try to load any of the script files included in the zip into Blender via the "Install Add-on" button, I get an error message in the console saying "Fake_module: addon missing 'bl_info' gives bad performance..."

Blender:


version 2.66 (sub 1), revision b'55075:55077'. b'Release'
build date: b'2013-03-06', b'17:41:59'
platform: b'Windows:64bit'
binary path: 'C:\Program Files\Blender Foundation\Blender\blender.exe'
build cflags: b'/nologo /Ob1 /J /W1 /Gd /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /we4013 /openmp -O2 -DNDEBUG -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_BOOL_COMPAT'
build cxxflags: b'/nologo /Ob1 /J /W1 /Gd /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /we4013 /openmp /EHsc -O2 -DNDEBUG -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_BOOL_COMPAT'
build linkflags: b'/SUBSYSTEM:CONSOLE /MACHINE:IX86 /STACK:2097152 /INCREMENTAL:NO /LARGEADDRESSAWARE /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib'
build system: b'SCons'%%%

%%%Maybe I am doing something wrong, but when I try to load any of the script files included in the zip into Blender via the "Install Add-on" button, I get an error message in the console saying "Fake_module: addon missing 'bl_info' gives bad performance..." Blender: **** version 2.66 (sub 1), revision b'55075:55077'. b'Release' build date: b'2013-03-06', b'17:41:59' platform: b'Windows:64bit' binary path: 'C:\\Program Files\\Blender Foundation\\Blender\\blender.exe' build cflags: b'/nologo /Ob1 /J /W1 /Gd /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /we4013 /openmp -O2 -DNDEBUG -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_BOOL_COMPAT' build cxxflags: b'/nologo /Ob1 /J /W1 /Gd /wd4018 /wd4244 /wd4305 /wd4800 /wd4065 /wd4267 /we4013 /openmp /EHsc -O2 -DNDEBUG -DWIN32 -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_DEPRECATE -DOPJ_STATIC -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -DWITH_BOOL_COMPAT' build linkflags: b'/SUBSYSTEM:CONSOLE /MACHINE:IX86 /STACK:2097152 /INCREMENTAL:NO /LARGEADDRESSAWARE /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib' build system: b'SCons'%%%
Member

%%%A Saurus1: you're not supposed to unpack the zip. Just select the zip file from the installation panel.%%%

%%%A Saurus1: you're not supposed to unpack the zip. Just select the zip file from the installation panel.%%%

%%%Okay. I did not know that. Thanks!%%%

%%%Okay. I did not know that. Thanks!%%%

%%%I have tried installing the entire zip file from the User Pref. window but Blender still spits out the same error.%%%

%%%I have tried installing the entire zip file from the User Pref. window but Blender still spits out the same error.%%%
Member

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
CodeManX reopened this issue 2014-02-21 18:17:45 +01:00

Added subscriber: @anybid

Added subscriber: @anybid

I just found this script so the first thing was to (TRY) to install it.

After reading through many posts I finally found out, that when trying to install the script as described:

Download the script via svn or from the bug tracker linked above (most recent zip file under "Attachments" tab at the bottom of the page).
In Blender, open User Preferences Addons and click Install from File...
Select the script file and install it.
Display "Testing" level Addons and finally enable the Addon from the Sequencer section.

that this only creates a folder "sequencer_extra_actions" in the addons folder with one file in it: "operators_extra_actions".

So I unpacked the zip and copied the remaining files into this folder and then it worked (but it shows up in the Addons section of the blender User Preferences under "Community" and not under "Testing".

I'm not sure, where the problem lies, or if there is a newer version of the script that I did not find, but it seems like a little tweaking of what seem to be a GREAT addon would make it possible to install it without spending hours to figure out how.....

Thank you very much!

P.S.: Im using blender 2.70 on Windows and Linux.

I just found this script so the first thing was to (TRY) to install it. After reading through many posts I finally found out, that when trying to install the script as described: Download the script via svn or from the bug tracker linked above (most recent zip file under "Attachments" tab at the bottom of the page). In Blender, open User Preferences Addons and click Install from File... Select the script file and install it. Display "Testing" level Addons and finally enable the Addon from the Sequencer section. that this only creates a folder "sequencer_extra_actions" in the addons folder with one file in it: "operators_extra_actions". So I unpacked the zip and copied the remaining files into this folder and then it worked (but it shows up in the Addons section of the blender User Preferences under "Community" and not under "Testing". I'm not sure, where the problem lies, or if there is a newer version of the script that I did not find, but it seems like a little tweaking of what seem to be a GREAT addon would make it possible to install it without spending hours to figure out how..... Thank you very much! P.S.: Im using blender 2.70 on Windows and Linux.

Added subscriber: @fasoric.vj

Added subscriber: @fasoric.vj

error installing the addon in blender 2.74
win 7 64 bit
error.png

error installing the addon in blender 2.74 win 7 64 bit ![error.png](https://archive.blender.org/developer/F161866/error.png)
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brendon Murphy self-assigned this 2015-09-17 11:08:20 +02:00
Member

Closing as resolved, addon is in Blender addons_contrib.,

Closing as resolved, addon is in Blender addons_contrib.,
Sign in to join this conversation.
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#32532
No description provided.