Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
en:vegas_python_download2 [2019/06/02 13:35] hlinke [Readme.txt] |
en:vegas_python_download2 [2019/06/10 13:44] hlinke [VEGASPython for Deveopers] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | VEGASPython | + | ====== |
- | new version including VEGASScenedetect | + | ====== Download ====== |
- | {{ :en: | + | Version: 0.9 |
- | ====== Readme.txt ====== | + | Release Date: June 10th, 2019 |
- | Version 0.9 - June 2nd , 2019 | + | New Features: VEGASSceneDetect |
- | Author: Harold Linke | + | |
- | This is a Vegas pro Custom Command Extension adding a Python Scripting Interpreter to VEGAS | + | Downloadfile: |
- | All files and directories in the zip file must be must be copied | + | ====== VEGASPYTHON for Users ====== |
+ | Please find details for users on the following page: | ||
+ | [[en: | ||
+ | |||
+ | |||
+ | ====== VEGASPython for Deveopers ====== | ||
+ | Please find details for developers on the following page: | ||
+ | [[en: | ||
+ | |||
+ | ====== Installation ====== | ||
+ | |||
+ | All files and directories in the zip file must be must be copied | ||
* C: | * C: | ||
Zeile 26: | Zeile 36: | ||
If the ' | If the ' | ||
+ | |||
+ | ====== Background ====== | ||
VEGASPython is based on PYTHONNet and Python 3.7. | VEGASPython is based on PYTHONNet and Python 3.7. | ||
I tested with Python 3.7.3. | I tested with Python 3.7.3. | ||
+ | ====== Extensions included ====== | ||
VEGASPython extends VEGAS with following functions: | VEGASPython extends VEGAS with following functions: | ||
Zeile 43: | Zeile 56: | ||
* - Import_PinnacleStudio_SceneDetectFile | * - Import_PinnacleStudio_SceneDetectFile | ||
+ | The commands can be found in VEGAS under the menu point: Extra / Extensions | ||
- | VEGASSceneDetect creates subclips of e mediaclip | + | ====== VEGASSceneDetect ====== |
+ | |||
+ | VEGASSceneDetect creates subclips of mediaclips | ||
Usage: Select the clip in the mediapool | Usage: Select the clip in the mediapool | ||
Zeile 54: | Zeile 70: | ||
VEGASScenedetect is based on PyScenedetect by Brandon Castellano | VEGASScenedetect is based on PyScenedetect by Brandon Castellano | ||
- | Import_PinnacleStudio_SceneDetectFile: | + | ====== |
Imports a Pinnacle Studio Scene Detection File that was create by Pinnacle Studio for a clip. | Imports a Pinnacle Studio Scene Detection File that was create by Pinnacle Studio for a clip. | ||
The file must have the same name as the clip and has to be located in the same directory. The only difference is the extension .scn.xml for the scene detection file. | The file must have the same name as the clip and has to be located in the same directory. The only difference is the extension .scn.xml for the scene detection file. | ||
When importing, VEGAS automatically adds the clips and all its scenes as subclips to the media pool. | When importing, VEGAS automatically adds the clips and all its scenes as subclips to the media pool. | ||
- | The commands can be found in VEGAS underthe menu point: Extra / Extensions | ||
+ | ====== VEGASPython Interactive Window ====== | ||
In addition VEGASPython includes an interactive window. | In addition VEGASPython includes an interactive window. | ||
Zeile 83: | Zeile 99: | ||
The VEGAS API can be accessed directly by using the build-in variable " | The VEGAS API can be accessed directly by using the build-in variable " | ||
All VEGAS API items are available. | All VEGAS API items are available. | ||
+ | |||
+ | ====== Examples ====== | ||
---- | ---- | ||
Zeile 113: | Zeile 131: | ||
import ScriptPortal.Vegas | import ScriptPortal.Vegas | ||
from ScriptPortal.Vegas import * | from ScriptPortal.Vegas import * | ||
- | |||
def FromVegas(pyVEGAS): | def FromVegas(pyVEGAS): | ||
- | |||
# adapt this value to your needs | # adapt this value to your needs | ||
- | |||
maxLength = Timecode.FromString(" | maxLength = Timecode.FromString(" | ||
- | + | | |
- | # Go through the list of Tracks | + | for track in pyVEGAS.Project.Tracks: |
- | + | ||
- | for track in pyVEGAS.Project.Tracks: | + | |
for evnt in track.Events: | for evnt in track.Events: | ||
if (evnt.Selected): | if (evnt.Selected): |