Setting Up Watch Folder Actions

verifycc icon

Many of the tools in ccConvert, videoQC and Net-X-Code can be run as command line tools, as well as via REST API.  With command line tools, there are ways to set up automated processes, from interpreted languages (such as PHP and PERL), from full programming environments, and from batch files and watch folder utilities. This article describes setting up one such watch folder utility as a template for setting up your own workflows.

Watch 4 Folder

There is a free/low cost watch folder utility called 'watch 4 folder' for Windows.  If can be downloaded from:

http://leelusoft.blogspot.com/2013/07/watch-4-folder-25-free-version.html

This utility allows you to set up one or more watch folders to call batch files or executables. This example will set up a watch folder to convert SCC to AAF files.  Once the Watch 4 Folder is downloaded, run it and select Watch List and then Edit to get the Watch Settings for the first watch folder

Watch4FolderInterface

Select the folder to watch, and click the 'Execute a program' and 'Add changed object name' check boxes.  You will need to make a small batch file to pass the other (non file name) arguments to the batch file. In this case, the batch file is converttoaaf.bat and consists of the line

ccExtract -c 1 -i %1 -t d:\record\

The ccExtract is the command line program ccConvert calls to do the conversion.  The '-c 1' indicates an output to AAF.  The '-i %1' means take the passed in file and use it as input.  And the '-t' indicates the target directory for the output.  Clicking "Apply" will take you back to the Watch List where you can click "Start" to start monitoring.

 While this app is running, any file dropped into the source folder will be converted to an AAF file in output folder.  Other applications that can be run this way include:

ccExtract

ccEmbed

MrAnalyze

Net-X-Copy

videoQC

 

More great products from Drastic

Web Server Setup for DrasticDDR
Web Server Setup for DrasticDDR All Drastic server digital disk recorder (DDR) products have a built in web server for local use. If you have a VVW Series, Titan Series, ClipRecorder, or Inges... Tips, Tricks and Technical Information
Drastic DT3D Stereo File
Drastic DT3D Stereo File The Drastic DT3D stereo file is an XML based re-director file that can merge two separate 'eye' files into a stereo pair, as well as adding audio and optional c... Tips, Tricks and Technical Information
Simple Quality Measurement (MRAnalyze)
Simple Quality Measurement (MRAnalyze) MediaReactor includes tools it uses to automatically check QA translations using industry standard metrics.  This tool, called MRAnalyze, can be used ... Tips, Tricks and Technical Information
FlowCaster Live Event Review
FlowCaster Live Event Review FlowCaster Live Event Review captures SDI or IP signals simultaneously as high quality MXF files and as time code matched proxy MP4s. This way the creative team... Tips, Tricks and Technical Information
Tutorials
Tutorials This article contains video tutorials on various Drastic Products including videoQC, 4KScope/Network Video Analyzer, Net-X-Code, MediaNXS and DrasticPreview.&nb... Tips, Tricks and Technical Information