VAMP client

A Java VAMP client is available in order to upload local MPEG-7 documents to the VAMP server. The client includes a batch processing functionality as well. Therefore a validation report will be created to get an quick overview about the validation results.

Download

Usage

To start the Java VAMP Client just execute the jar file "java -jar VAMPClient.jar" including the parameters below. Alternatively the bath file can be used as well. A validation summary report will be created when the valdation has been done.

Parameters

Parameter Short notation Description Value restriction Default value
vampURL vu VAMP service URL NA http://vamp.joanneum.at:8080/vamp/vamp
inputFile if MPEG-7 document to be validated NA NA
inputFileList ifl Textfile containing a list of MPEG-7 documents to be validated NA NA
version v MPEG-7 version {v1, v2} v1
profileType pt MPEG-7 profile type {DAVP, AVDP, TRECVID} DAVP
semanticValidationType svt Semantic validation type {profile, temporal, both} profile
reportValidationTiming rvt Report validation timing {on, off} off

Remarks

  • all parameter values are case-insensitive
  • either one single file or a list of input files (batch processing) can be validated
  • when referencing directories only absolute paths are allowed - cf. example below
  • for AVDP validation MPEG-7 V2 documents are supported only
  • for every MPEG-7 document to be validated a HTML validation report stored in the same directory will be created
  • an additional validation summary report (vamp_summary.html) will be generated as well

Usage Examples

Example 1: single file validation

Validation of "vamp_test_1.xml" including following paramters:
File name vamp_test_1.xml
MPEG-7 version v1
MPEG-7 profile DAVP
Semantic validation profile validation
report validation timing off
  • java -jar VAMPClient.jar -if vamp_test_1.xml
  • java -jar VAMPClient.jar -vu http://vamp.joanneum.at:8080/vamp/vamp -if vamp_test_1.xml -v v1 -pt davp -svt profile -rvt off (detailed call ignoring all default parameter values)

Example 2: single file validation

Validation of "vamp_test_2.xml" including following paramters:
File name vamp_test_2.xml
MPEG-7 version v2
MPEG-7 profile AVDP
Semantic validation profile validation
report validation timing off
  • java -jar VAMPClient.jar -if vamp_test_2.xml -v v2 -pt avdp
  • java -jar VAMPClient.jar -vu http://vamp.joanneum.at:8080/vamp/vamp -if vamp_test.xml -v v2 -pt avdp -svt profile -rvt off (detailed call ignoring all default parameter values)

Example for multiple file validation (batch processing)

For batch processing a text file containing a list of all MPEG-7 documents to be validated is required. When referencing multiple directories only absolute path assertions are allowed (cf. example of a MPEG-7 list).
List of MPEG-7 documents vamp_list.txt
MPEG-7 version v2
MPEG-7 profile AVDP
Semantic validation profile validation
report validation timing off
  • java -jar VAMPClient.jar -ifl vamp_list.txt -v v2 -pt avdp
  • java -jar VAMPClient.jar -vu http://vamp.joanneum.at:8080/vamp/vamp -ifl vamp_list.txt -v v2 -pt avdp -svt profile -rvt off (detailed call ignoring all default parameter values)