/
transcodeVideo

transcodeVideo

Description

This command performs conversion of raw video captured from Vicon Vue video cameras if needed and compresses the video.

Videos captured in Shogun Live can be compressed to JPEG-based MOV files.

Functional area

Data editing

Command syntax

Syntax

transcodeVideo "sourceFile" "destinationFile" [-videoPayload string] [-quality integer] [-timecodeOverlay] [-timecodeOverlayPosition string] [-timecodeOverlaySize string] [-overrideSaturation float] [-overrideGammaCorrection float] [-correctForLensDistortion] [-backupOriginalFile] [-removeAudio]

Arguments

NameTypeRequiredComments
sourceFilestringYesThe full path and filename of the raw video file that is to be converted.
destinationFilestringYesThe full path and filename of the converted file.

Flags

NameFlag argsTypeExclComments
videoPayload1stringVideo payload (ImageJPEG)
quality1integerSpecifies compression quality, from 1 to 100, with 100 being the highest quality.
timecodeOverlay0Specifies that timecode overlay occurs during transcoding
timecodeOverlayPosition1stringSpecifies the location for timecode overlay. Options match those in the Batching panel.
timecodeOverlaySize1stringSpecifies the text size for the timecode overlay. Options are x-small, small, medium, large and x-large.
overrideSaturation1floatSpecifies an alternative value for the color saturation to be applied during conversion. If this option is omitted, the value set at capture time is used.
overrideGammaCorrection1floatSpecifies an alternative value for the gamma correction to be applied during conversion. If this option is omitted, the value set at capture time is used.
correctForLensDistortion0If the source file contains a camera lens calibration, use this to distort the output video to correct for lens distortion.
backupOriginalFile



removeAudio


Removes the audio

Return value

void

Examples

// The following command converts a raw video file called
// Take_001.vvid, and saves the output .mov to a location
// different from that of the original file
transcodeVideo "F:/Video/Take_001.vvid" "D:/Transcoded_Data/Take_001.mov" -videoPayload ImageJPEG -quality 90 -timecodeOverlay -timecodeOverlayPosition TopLeft -overrideSaturation 1.1 -overrideGammaCorrection 2.0;

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks