Welcome, Guest
Username Password: Remember me

TOPIC: Helpful macros to speed your editing.

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106939

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years, 6 months ago
jwrl wrote:
... If I can describe it I can post it.

The preview was just an example.
This macro is not intended for post # 1.
(it only works with a specific music audio)

lghtwrks wrote:
... editing instruction in a macro ".txt" file - so lightworks will automatically produce the final cut.

Yes, but the program analyzes nothing.
It works with cue, a bin with Subclips etc.

lghtwrks wrote:
sound editing - time consuming ...

A good example of what should make the macro.

The sub clips are cut in different ways exactly the music beat (if the audio was previously analyzed manually)
If the beat is 20.3 frames long, then the 0.3 frames are buffered, and automatically corrected regularly.
... And many other options ...

lghtwrks wrote:
(hopefully not excel, but open office ,)

That is the problem.
My StarOffice 5.1 is 15-20 years old.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years, 6 months ago by schrauber.

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106952

  • lghtwrks
  • OFFLINE
  • Platinum Boarder
  • Posts: 3329
  • 4 years, 6 months ago


sounds interesting.

LibreOffice 4 dropped staroffice support - afaik openoffice has support

greets
s

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106960

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years, 6 months ago
Thanks Simon

Something else:
lghtwrks wrote:
Name=Add last video transition, jump to the next cut
Description=Creates a video transition, jumps to the next cut to do it again
Commands=Add video transition,Right,Right


Doubtful? Google translation:
In Macro name I never use commas.
Otherwise nested macros do not work.
If later on wants to access another macro in this macro (as Submacro), then it is interpreted as a command separator.

Original German:
Im Makro-Namen verwende ich niemals Kommas.
Andernfalls funktionieren verschachtelte Makros nicht.
Wenn später einmal ein anderes Makro auf dieses Makro zugreifen möchte (als Submacro), dann wird es als Trennkommando interpretiert.


greets
Schrauber
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years, 6 months ago by schrauber.

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106962

  • lghtwrks
  • OFFLINE
  • Platinum Boarder
  • Posts: 3329
  • 4 years, 6 months ago
ah, ok - good to know.
normally lwks should just parse the "commands" line (?), probably lwks dev could fix that.
thx
s

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106965

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years, 6 months ago
Example of a faulty nested macros (not for post # 1):

Makro: "test"
only one Submacro: "Add last video transition, jump to the next cut"
Name=test
Commands=Add last video transition, jump to the next cut(2)


LIGHTWORKS sees it this way:
This image is hidden for guests. Please log in or register to see it.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years, 6 months ago by schrauber.

Re: Helpful macros to speed your editing. 4 years, 6 months ago #106967

  • lghtwrks
  • OFFLINE
  • Platinum Boarder
  • Posts: 3329
  • 4 years, 6 months ago
ah, ok, i c
probably the parser will be fixed ...
(could be there are also probs with other chars + other languages)
s
Last Edit: 4 years, 6 months ago by lghtwrks.

Re: Helpful macros to speed your editing. 4 years, 6 months ago #107026

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12783
  • 4 years, 6 months ago
I have amended your macro, lghtwrks, because it may be problematic to "fix" the parser. If you use a character that's used as a macro delimiter in a macro name that delimiter must always be parsed before the macro name.

A possible fix could be to modify the parser to use an old technique from computer programming. This would allow people writing macros to add an escape character prior to the delimiter, for example, like this.

Name=test
Commands=Add last video transition/, jump to the next cut(2)

That could then be interpreted to display normally. But that approach could probably cause more problems than it would fix.
Last Edit: 2 years, 9 months ago by jwrl.

Re: Helpful macros to speed your editing. 4 years, 5 months ago #108999

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years, 5 months ago
schrauber wrote:

I have macros for semi-automatic creation of music clips, etc....
But very need of explanation, and in German.
Perhaps I produce a video tutorial on occasion? ....

www.lwks.com/index.php?option=com_kunena&func=view&catid=26&id=108998&Itemid=81
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years, 4 months ago by schrauber.

Re: Helpful macros to speed your editing. 4 years ago #119098

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years ago
jwrl wrote:
[b]schrauber's macros
Reset thumbnails in bin (short version)
.....
Reset thumbnails in bin (long version)
.....

Sometimes it did not work.
My test results:
The bin must be without scrollbars.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years ago by schrauber.

Re: Helpful macros to speed your editing. 4 years ago #119105

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12783
  • 4 years ago
Thanks. I'll add a note to the original post.

Re: Helpful macros to speed your editing. 4 years ago #120282

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25433
  • 4 years ago
I'm working on some macros to apply speed changes to a clip or a marked section:

I need a method to put an empty cut exactly in the middle of a marked section or a clip to provide exact values for time lapse (e.g. 200%, 400%,800%)

An even better alternative would be to set clip speed values directly from within a macro.

Any idea truly appreciated.
It's better to travel well than to arrive...
Last Edit: 4 years ago by hugly.

Re: Helpful macros to speed your editing. 4 years ago #120291

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4397
  • 4 years ago
So you want to work with "Vario-edit".
(Apparently identical to "fit to fill"?)

I also have the problem that macros do not notice how many frames have been marked. If a predefined speed was the goal, I had to calculate itself the necessary mark length.

Except complex macros that define himself the Mark & Park length.
But these are not universally applicable (OpenOffice created the macro, and that creates the edit).
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 4 years ago by schrauber.

Re: Helpful macros to speed your editing. 4 years ago #120299

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25433
  • 4 years ago
I saw your Projekt Cold_Rise above.

My work is much simpler than this but it seems I've already reached the limits.

As I understand from the Create/Edit Macro views a LW macro is a sequence of command(repeat).

Are there hidden commands, variables, other conrtol structures?
It's better to travel well than to arrive...

Re: Helpful macros to speed your editing. 4 years ago #120300

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12783
  • 4 years ago
No, what you see in the keyboard assignments is what you get. I would absolutely kill for conditional execution in macros, for example. There's no flow control whatsoever.

There's no timed execution either. The ability to call other macros would be handy too. I could go on.
Last Edit: 4 years ago by jwrl.

Re: Helpful macros to speed your editing. 4 years ago #120302

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25433
  • 4 years ago
Please don't kill for that

.. and thanks for your answer.

A script language interface (Perl?) with access to edit related internal variables and functions would be something nice to have, but ok that's a big one, let's keep it simple and straight forward.

I think you can call other macros because they show up in the commands list.
It's better to travel well than to arrive...
Time to create page: 0.41 seconds
Scroll To Top