Controlling videoQC

videoqc logo 3smallvideoQC can be called by external applications with command line parameters, keyboard/mouse, cut/paste and via a full REST/HTML command set. If there is already an instance of the application running, the parameters will be transferred to the running instance, and the called one will exit.  This is especially useful where the workflow requires the system to display particular aspects of a clip in an automated fashion.

Command Line Parameters

videoQC -t <timecode> -c <framestart> -f -o -h -m -a -x <id> -v -d -p -g -b -s <source-filename> [filename]

filename - the file to play or compare

-t 01:00:00:00 - Seek point in time code, based on the time code track in the file

-c 1800 - Seek point in frames, based on the absolute position in the file

-f - Start in full screen mode

-F - Flags:  timeconversion, compareconversion, comparewrap

-o - Disable time code overlay in full screen mode

-h - Disable hardware (AJA/Bluefish444/Blackmagic) output.

-m - Do a file full reference comparison between this original and the -s file

-a - Do a file analysis against this original file and the -s file

-x <id> - Reserved for running under Net-X-Code

-v - Enable validation - validate a file against a profile

-d - Type to check for validation - IMF, DCP, XDCam, iTunes, etc

-p - User validation profile name - "videoQC Demo"

-g - Target directory for files that pass validation - "E:\good files"

-b - Target directory for files that fail validation - "E:\bad files"

-s - Source file for validation/analysis - "E:\Record\Media\qc\bars1080\proxyfile.mp4

-i <srcfile> <trgfile> - Compare two file for basic 'sameness' (original and proxy, for example)

Examples:

Do a quick parameter check between a converted file and its source:

videoqc -v -s d:\source\orignal.mxf d:\record\proxy.mp4

Create a single ended analysis database, with video and audio analysis:

videoqc -a d:\record\amberfin_0000572516.mxf

Create a full reference analysis database:

videoqc -m -s d:\source\orignal.mxf d:\record\proxy.mp4

Compare basic information about two files

videoqc -i d:\source\orignal.mxf d:\record\proxy.mp4

Opening From A Browser

videoQC can be opened via a web link on the user's machine.  The videoQC installer registers videoQC as a reg helper so you can use a link to open it up with a specific file:

  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Launch Custom URL </title>
    <script type="text/javascript">
       function LaunchURLScriptWeb(){ var url = "videoQC://D:/t3media/WIN/Folder/clipcanvas_14348_Avid_DNxHD.mov";window.open(url);self.focus();}
    </script>
  </head>
  <body style= "background-color:#D7D7D7">
  <input type="submit" name="Launch" id="Launch" value="Launch Custom Web URL" onClick="LaunchURLScriptWeb()" />
  </body>
  </html>

Configuration Files 

For selected time code source, display page (metadata, time code, etc.), audio meter type, and other settings, they will be remembered between runs from the last selection.  To modify these settings programmatically, the registry (Windows) or prefs (macOS) must be changed.  The basic settings are:

 

Windows (registry)

HKEY_CURRENT_USER\Software\Drastic\videoQC

macOS (~\Library\Preferences\)

com.drastic.videoQC.plist

Linux (~\.config\)

videoQC.conf

 

Settings:

actionsafe - what overlays, if any, are shown on the video

filter - the default file filter

filtercc - the default closed caption file filter

fullscreen - set for full screen mode

loadpath - last path a file was loaded from

loadpathcc - last path a closed caption file was loaded from

metertype - which audio meter type is displayed

scopemode - what video scope is displayed, if any

sdoutersafe - show the SD action safe

sdsafe - show the SD title safe

show_mini - show the mini transport controls, instead of the full set

show_tips - enable tip display while idle

titlesafe - show HD title safe

viewmode - information panel to display

SDAspectRation16by9 - if 0 then 4:3

last_altaudiopath - last alternate loaded audio path

last_ccpath - last alternate loaded closed caption path

net_source  - list of recent network a/v sources (RTP, HTTP, RTSP, SMPTE2110, tr01)

settings/Color Space - color space to use for 4K and greater playback (Rec 709, BT2020)

settings/Color Transfer - color transfer to use for 4K and greater playback (HD, 2084/HDR, HLG)

 

Keyboard/Clipboard Commands

videoQC has a full set of keyboard commands available.  Key press events can be sent to control playback like:

c = play
v = pause
b = reverse play
z = fast reverse
x = fast forward

<CTRL>+C = copy the current time code to the clipboard

<CTRL>+V = seek to the time code in the clipboard 

A full set of keyboard commands is available here:

videoQC Keyboard Layout PDF 

videoQC also supports using the system clipboard.  A cut/copy on the application (via keyboard or programmatically) will pull the current time code in a ##:##:##:## format.  Pasting a time code into the application will cause it to seek to that absolute (0 based) point in the file.  If the pasted buffer contains a file URL, then that file will be loaded into that application.

 

Mouse Control

videoQC also features extended mouse controls.  These include:

  • <MouseWheel> - zoom in and out
  • <LeftClick>Drag - pan and scan the video image in the app
  • <RightClick> - reset zoom to view all
  • <MiddleClick> - zoom 1:1
  • <CTRL><MouseWheel> - volume up and down (0..200%)
  • <CTRL><LeftClick> - volume to 100% (unity)
  • <CTRL><SHIFT><MouseWheel> - change background luminance
  • <LeftClick>Drag - pan and scan the video image in the app
  • <ALT><LeftClick> - view magnifying window
    • <LeftClick> - bring up color selector with color under cursor
    • <RightClick> - exit magnify mode
  • <DoubleLeftClick> - enter and exit full screen mode
  • <T> - enable or disable time code display in full screen

MarksLinesBoxOnVectorscope

Making Marks/Guides (cross, line and box)

  • <SHIFT><LeftClick> - Make a point/cross
  • <SHIFT><ALT><LeftClick> - Undo last
  • <SHIFT><CTRL><LeftClick> - Drag to make a line
  • <SHIFT><CTRL><ALT><LeftClick> - Drag to make a box
  • <CTRL><ALT><LeftClick> - Drag to make a circle
  • <SHIFT><RightClick> - Clear all markers/guides

 Launching videoQC from a Web/HTTP Address

videoQC supports running from a browser request when the client is running windows.  The form the URL should take is videoqc:// followed by the path.  For instance, for a local file:

videoqc://J:\t3media\AMA-HEVC-NoSample\DSCF1100.MOV

This can also be network, http, s3, or supported IP stream like rtp://, udp:// or srt://.  For more details on streaming URLs, please see:

Streaming URLs in videoQC

 RESTful HTML AJAX API

videoQC supports a full set of control and status requests via a built in HTML REST/AJAX command set.  This powerful API allows full control over a videoQC instance from anywhere on your network.  Commands include:  transport control, time code and play status, audio metering, video preview retrieval and an optional full set of disk contents display and loading commands.  There is an HTML page sample included in the install that uses the most common commands and can be used as a  base for custom UIs.

videoQC HTML remote UI

The documentation for the REST API is available here:

VVW REST Command API

 

More great products from Drastic

GPI Configuration
GPI Configuration Most Drastic DDR and video I/O products (like MediaNXS, DTReplay, SyncControl Pro) support a variety of GPI interfaces. Because of the variety of hardware and u... Tips, Tricks and Technical Information
Blackmagic DeckLink And Intensity Cards
Blackmagic DeckLink And Intensity Cards Some Drastic software now supports the Blackmagic series of DeckLink and Intensity cards. Blackmagic has a wide range of current and legacy cards. This article ... Tips, Tricks and Technical Information
Using IP Video Streaming
Using IP Video Streaming Drastic software supports a number of IP video standards in videoQC, Net-X-Code, FlowCaster and other products.  To access these streams, a URL style strin... Tips, Tricks and Technical Information
Net-X-Copy - Metadata Extraction
Net-X-Copy - Metadata Extraction Net-X-Copy is part of the Net-X-Convert/Net-X-Proxy workstation and Net-X-Code server software. It supports, among other things, extracting an XMP XML of the ... Tips, Tricks and Technical Information
Sequence of Images Options (DPX, TGA, etc)
Sequence of Images Options (DPX, TGA, etc) Drastic software supports a wide range of still image formats including TIFF, TGA, DPX, CINEON, PSD, SGI, VPB, ARI, RAW and others.  They are processed as ... Tips, Tricks and Technical Information