This page is available in
AVS Video Converter XML Formatting
<?xml version="1.0" encoding="utf-8"?>
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<inputFiles>
<file>.\Examples\videofile1.avi</file>
<file>D:\Video\videofile2.avi</file>
</inputFiles>
<inputFolders>
<folder></folder>
<filter>*.*</filter>
<includeSubfolders>false</includeSubfolders>
</inputFolders>
<outputPath>%MYDOCUMENTS%\AVS4YOU\AVSVideoConverter\</outputPath>
<split>
<makeSplit>true</makeSplit>
<mode>1</mode>
<size>0</size>
</split>
<inputAspectCorrection>
<mode>1</mode>
<wValue>0</wValue>
<hValue>0</hValue>
</inputAspectCorrection>
<outputAspectCorrection>
<mode>1</mode>
<cropScale>0</cropScale>
</outputAspectCorrection>
<flashPlayerFLV>
<createPlayer>false</createPlayer>
<template>Wood</template>
<autostartPlayback>false</autostartPlayback>
<loopPlayback>false</loopPlayback>
</flashPlayerFLV>
<saveFileDateTime>false</saveFileDateTime>
<autostartConversion>true</autostartConversion>
<minimizeForm>false</minimizeForm>
<showAdvanced>true</showAdvanced>
<replaceFileAndDir>true</replaceFileAndDir>
<priority>3</priority>
<finalAction>3</finalAction>
<openOutputFolder>true</openOutputFolder>
</conversion>
The following tags and their parameters are available for AVS Video Converter XML syntax:
conversion
The main output file parameters:
- profiles - name of the XML file without extension with video profiles which can be found in the %%Program Files%\AVSVideoConverterPro\profiles folder.
- GUID - GUID of the needed profile taken from the profiles XML file.
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
</conversion>
[Back to Top]
conversion > inputFiles > file
The path to the input file(s).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<inputFiles>
<file>D:\Video\videofile1.avi</file>
<file>D:\Video\videofile2.avi</file>
</inputFiles>
</conversion>
[Back to Top]
The path to the folder for the input file(s). The following subcategories are available here:
- inputFolders > folder - the path to the folder where the input files are placed.
- inputFolders > filter - the mask of the input files to be converted separated with semicolon.
- inputFolders > includeSubfolders - either include the subfolders or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<inputFolders>
<folder>D:\Video\</folder>
<filter>*.*</filter>
<includeSubfolders>false</includeSubfolders>
</inputFolders>
</conversion>
[Back to Top]
conversion > outputPath
The path to the folder for the output file(s).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<outputPath>D:\Video\</outputPath>
</conversion>
[Back to Top]
conversion > split
Either split the output files into several ones or merge them in one. The following subcategories are available here:
- split > makeSplit - either split the output file into several ones or not (possible values: true/false or 1/0).
- split > mode - split mode (possible values: 1 - batch mode, 2 - split by chapters (currently is not supported), 3 - limit by size).
- split > size - file size in MB in case mode 3 is set.
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<split>
<makeSplit>true</makeSplit>
<mode>1</mode>
<size>0</size>
</split>
</conversion>
[Back to Top]
Aspect correction parameters in case you want it to be applied to the input file. The following subcategories are available here:
- inputAspectCorrection > mode - mode for the input video aspect correction (possible values: 1 - original, 2 - 4:3, 3 - 16:9, 4 - width:height, 5 - custom).
- inputAspectCorrection > wValue - file aspect width value in pixels (possible values: 1 - 3840).
- inputAspectCorrection > hValue - file aspect height value in pixels (possible values: 1 - 3840).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<inputAspectCorrection>
<mode>1</mode>
<wValue>0</wValue>
<hValue>0</hValue>
</inputAspectCorrection>
</conversion>
[Back to Top]
conversion > outputAspectCorrection
Aspect correction parameters in case you want it to be applied to the output file. The following subcategories are available here:
- outputAspectCorrection > mode - mode for the input video aspect correction (possible values: 1 - original, 2 - no correction).
Note: for DVD the
1 value will mean
4:3 aspect, the
2 value -
16:9; for Blu-Ray files
1 will mean
16:9 aspect.
- outputAspectCorrection > cropScale - crop scale value for mode 1 (possible values: 1 - 100).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<outputAspectCorrection>
<mode>1</mode>
<cropScale>0</cropScale>
</outputAspectCorrection>
</conversion>
[Back to Top]
conversion > flashPlayerFLV
Either split the output files into several ones or merge them in one. The following subcategories are available here:
- split > createPlayer - either create the flash video player or not (possible values: true/false or 1/0).
- split > template - flash player template name (possible values: Glass, Wood, Mech, Plastic, Platinum, YouTube).
- split > autostartPlayback - either automatically start playback of the video or not (possible values: true/false or 1/0).
- split > loopPlayback - either loop the video playback or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<flashPlayerFLV>
<createPlayer>false</createPlayer>
<template>Wood</template>
<autostartPlayback>false</autostartPlayback>
<loopPlayback>false</loopPlayback>
</flashPlayerFLV>
</conversion>
[Back to Top]
conversion > saveFileDateTime
Either save the file modification date and time or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<saveFileDateTime>false</saveFileDateTime>
</conversion>
[Back to Top]
conversion > autostartConversion
Either automatically start the conversion at the program startup or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<autostartConversion>true</autostartConversion>
</conversion>
[Back to Top]
Either minimize the application window to taskbar at the program startup or not (possible values: true/false or 1/0).
Note: this parameter is ignored if the
autostartConversion is set to
false.
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<minimizeForm>false</minimizeForm>
</conversion>
[Back to Top]
conversion > showAdvanced
Either show the panel with the advanced options or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<showAdvanced>true</showAdvanced>
</conversion>
[Back to Top]
conversion > replaceFileAndDir
Either automatically permit the program to replace files and folders in the output folder without the warning dialog or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<replaceFileAndDir>true</replaceFileAndDir>
</conversion>
[Back to Top]
conversion > priority
Priority of threads in process (possible values: 1 - highest, 2 - above normal, 3 - normal, 4 - below normal).
Note: this option is actual for the current application work session only and does not change the
Priority option in
Settings.
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<priority>3</priority>
</conversion>
[Back to Top]
conversion > finalAction
The application behavior after the conversion is finished (possible values: 1 - do nothing, 2 - play sound, 3 - close application, 4 - shutdown PC).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<finalAction>2</finalAction>
</conversion>
[Back to Top]
conversion > openOutputFolder
Either automatically open the folder containing output files upon the conversion end or not (possible values: true/false or 1/0).
<conversion profiles="mp4profiles" name="PC - Normal Quality" GUID="DAC093C7-87A8-4574-A439-95168CED8AE4">
<openOutputFolder>true</openOutputFolder>
</conversion>
[Back to Top]