public static void main(String[] args) throws JSAPException, IOException { YoVariableLoggerOptions options = YoVariableLoggerOptions.parse(args); new YoVariableLoggerDispatcher(options); }
public BlackmagicVideoDataLogger(File logPath, LogProperties logProperties, int decklinkID, YoVariableLoggerOptions options) throws IOException { super(logPath, logProperties, "Camera" + decklinkID); decklink = decklinkID; quality = options.getVideoQuality(); createCaptureInterface(); }
@Override public void restart() throws IOException { close(); removeLogFiles(); createCaptureInterface(); }
public void restart() { for(YoVariableSummarizerData data : variables) { data.clear(); } }
public BlackmagicVideoDataLogger(String name, File logPath, LogProperties logProperties, int decklinkID, YoVariableLoggerOptions options) throws IOException { super(logPath, logProperties, name); this.decklink = decklinkID; this.options = options; createCaptureInterface(); }
public void addVideoFile(String description) { if (getProperty("videoStreams") != null) { setProperty("videoStreams", getProperty("videoStreams") + "," + description); } else { setProperty("videoStreams", description); } }
public void setRobotname(String robotName) { setProperty("general.robotName", robotName); }
public String getModelName() { return getProperty("model.name"); } public void setModelResourceBundlePath(String path)
@Override public void restart() throws IOException { close(); removeLogFiles(); createCaptureInterface(); }
public static void main(String[] args) throws JSAPException, IOException { YoVariableLoggerOptions options = YoVariableLoggerOptions.parse(args); new YoVariableLoggerDispatcher(options); }
public YoVariableSummarizerData(int variableOffset, YoVariable<?> variable) { this.variableOffset = variableOffset; this.variable = variable; clear(); }
public void setHandshakeFile(String filename) { setProperty("variables.handshake", filename); }
public boolean hasTimebase() { if (getProperty("video.hasTimebase") != null) { return true; } else { return false; } }
public YoVariableSummarizerData(int variableOffset, YoVariable<?> variable) { this.variableOffset = variableOffset; this.variable = variable; clear(); }
public void setVariableDataFile(String filename) { setProperty("variables.data", filename); }
public String getHandshakeFile() { return getProperty("variables.handshake"); }
public void restart() { for(YoVariableSummarizerData data : variables) { data.clear(); } }
public void setVideoFile(String description, String filename) { setProperty(description + ".video", filename); }
public String getTimestamp() { return getProperty("timestamp"); }
public void setInterlaced(String description, boolean interlaced) { setProperty(description + ".interlaced", interlaced ? "true" : "false"); }