Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:vegas_python_download2 [2019/06/02 13:52]
hlinke [VEGASSceneDetect]
en:vegas_python_download2 [2019/06/10 14:11] (aktuell)
hlinke
Zeile 1: Zeile 1:
-====== VEGASPython Test Downloadpage ======+====== VEGASPython Downloadpage ======
  
 +====== Download ======
  
-new version including VEGASScenedetect+Version: 0.9
  
-{{ :en:vegaspython_install_20190602a.zip |}}+Release DateJune 10th, 2019
  
-====== Readme.txt ======+New Features: VEGASSceneDetect
  
-Version 0.9 - June 2nd , 2019 +Downloadfile: {{ :en:vegaspython_0.90.zip |:en:vvegaspython_0.90.zip}}
-AuthorHarold Linke+
  
-This is a Vegas Pro Custom Command Extension adding a Python Scripting Interpreter to VEGAS+====== VEGASPYTHON for Users ====== 
 +Please find details for users on the following page: 
 +[[en:vegas_python_users|VEGASPython for Users]] 
 + 
 + 
 +====== VEGASPython for Deveopers ====== 
 +Please find details for developers on the following page:  
 +[[en:vegas_python_dev|VEGASPython for Developers]]
  
 ====== Installation ====== ====== Installation ======
Zeile 29: Zeile 36:
  
 If the 'Application Extensions' folder does not jet exist, it must be allocated with exact this name. If the 'Application Extensions' folder does not jet exist, it must be allocated with exact this name.
- 
-====== Background ====== 
- 
-VEGASPython is based on PYTHONNet and Python 3.7.  
-I tested with Python 3.7.3. 
- 
-====== Extensions included ====== 
- 
-VEGASPython extends VEGAS with following functions: 
- 
-Simple functions to demonstrate the principle: 
-  * - Add2SecondGap 
-  * - Chopoff_BeginandEndofEvent_PN 
-  * - DeleteEmptySpaceBetweenEvents 
-  * - LimitSelectedEventLengthto4Seconds 
- 
-New functions only available with VEGASPython 
-  * - VegasSceneDetect 
-  * - Import_PinnacleStudio_SceneDetectFile 
- 
-The commands can be found in VEGAS under the menu point: Extra / Extensions 
- 
-====== VEGASSceneDetect ====== 
-  
-VEGASSceneDetect creates subclips of mediaclips from the Mediapool based on scene changes. 
- 
-Usage: Select the clip in the mediapool 
-Call the VEGAS Extension: VEGASScenedetect 
- 
-A window with the preview of the clip will open. The grey bar at the top of the screen shows the progress of the scene detection. 
-Pressing ESC when the preview window is active aborts the scenedetection process. 
- 
-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. 
-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. 
- 
- 
-====== VEGASPython Interactive Window ====== 
- 
-In addition VEGASPython includes an interactive window. 
-VEGASPython interactive window is activated via the 'View' / 'Extensions' tab.  
- 
-A VEGAS dockable window opens. The window can float over VEGAS or can be integrated into the VEGAS layout as any other VEGAS window. 
- 
-The VEGASPython window shows two textboxes: 
- 
-- Input PYTHON Comands 
-- Output 
-  
-and a menu with two items "File" and "Execute VEGASPython Script". 
- 
-Python comands are entered in the textbox "Input". Several lines can be entered one after each other. It is possible to copy a complete PYTHON Script from another editor via CTRL+C and CTRL+V. 
-The PYTHON commands will be executed by clicking on the menu "Execute VEGASPython Script". 
- 
-All output from PYTHON print statements and all error messages will be shown in the "Output" textbox. 
- 
-VEGASPython is based on Python 3.7.3 and PythonNet. 
- 
-The VEGAS API can be accessed directly by using the build-in variable "pyVEGAS". 
-All VEGAS API items are available. 
- 
-====== Examples ====== 
- 
----- 
- 
-Example for a simple script that can be used in the interactive window: 
- 
-    import clr 
-    clr.AddReference('ScriptPortal.Vegas') 
-    import ScriptPortal.Vegas 
-    from ScriptPortal.Vegas import * 
-    # adapt this value to your needs 
-    maxLength = Timecode.FromString("00:00:04:00") 
-    # Go through the list of Tracks 
-    for track in pyVEGAS.Project.Tracks: 
-        for evnt in track.Events: 
-            if (evnt.Selected): 
-                dLength = evnt.Length 
-                if dLength > maxLength: 
-                    dLength = maxLength 
-                dStart = evnt.Start 
-                evnt.AdjustStartLength(dStart, dLength, True) 
- 
- 
----- 
- 
-A script that is used as an extension needs to be included in a function FromVegas. See example below. 
- 
-    import clr 
-    clr.AddReference('ScriptPortal.Vegas') 
-    import ScriptPortal.Vegas 
-    from ScriptPortal.Vegas import * 
-    def FromVegas(pyVEGAS): 
-        # adapt this value to your needs 
-        maxLength = Timecode.FromString("00:00:04:00") 
-        # Go through the list of Tracks 
-        for track in pyVEGAS.Project.Tracks: 
-            for evnt in track.Events: 
-                if (evnt.Selected): 
-                    dLength = evnt.Length 
-                    if dLength > maxLength: 
-                        dLength = maxLength 
-                    dStart = evnt.Start 
-                    evnt.AdjustStartLength(dStart, dLength, True) 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  

Andere Sprachen
QR-Code
QR-Code en:vegas_python_download2 (erstellt für aktuelle Seite)