Home
Download
Purchase
Forum
Arcticles
Map
F.A.Q.
Support
About Us
 
 
Set destination folder and filename

Setting Destination Folder and Filename Pattern

To set the produced files' names and destination folder, you need to edit the profile. Open the "Profile Settings" dialog window and go to the Output section.

 

Here you can set:

 

  • Destination folder - the path to the folder all generated files will be saved to. By default its value is not defined; in this case the generated files will be saved to the same folder in which the source files are stored. Click ? button to select the destination folder.

 

Relative paths can be used here as well. For example, let's assume the source file is in the

 

С:\MOVIES\

 

folder. Now if you set Destination Folder to "WORK", all generated files will be put into the

 

С:\MOVIES\WORK

 

 folder. And if you set it to "../WORK", then all files will be will be saved in the

 

С:\WORK

 

folder. "../" means you go up one step in the directory tree. This value can be used any desired number of times.

 

  • Filename pattern - the pattern that defines the rules of generation of the produced files' names. By default it is equal to "*.*" which means the produced file's name will coincide with the name of the source file. Dynamic variables are allowed to be used here.

 

  • Index format for the duplicate names - the format of the postfix that is added to a filename when a file with the same name already exists in the destination folder. It can take the following values:

 

  1. %d - [filename]_1, [filename]_2, ..., [filename]_9, [filename]_10

  2. %02d - [filename]_01, [filename]_02, ..., [filename]_99, [filename]_100

  3. %03d - [filename]_001, [filename]_002, ..., [filename]_999, [filename]_1000

  4. %X - [filename]_1, [filename]_2, ..., [filename]_F, [filename]_10

  5. %02X - [filename]_01, [filename]_02, ..., [filename]_FF, [filename]_100

  6. %03X - [filename]_001, [filename]_002, ..., [filename]_FFF, [filename]_1000

 

Besides, any numeric format supported by such functions as sprint in PHP or С++ can be used here.

 

  • Remove original files - if enabled, the source files will be removed from your hard disk on the process completion. Be careful to use this option!

 

  • Overwrite existing files - if enabled, the existing files in the destination folder will be overwritten with the produced ones.

 

Also some of these options are available for editing in the "Properties" window, outside the "Profile Settings" dialog window. To access them, click the profile in the "Profiles" window.

 

Filename Pattern Builder.

 

The Filename Pattern Builder enables to set the generated files' names using dynamic variables. To access it, open the "Profile Settings" dialog window (press "F4"), go to the Output section and click "..." button on the right of the Filename pattern field. The following dynamic variables are available here:

 

  • %i - Source File Index - if you process more than one file, takes the value equal to the source file's order number.

  • %a - Absolute File Index - takes the value equal to the generated file's absolute order number.

  • %r - Relative File Index - if generated files are distributed among different folders, takes the value equal to the generated file's order number, where the order number calculation starts anew for each single folder.

 

Example 1:

Let's us have two source files:

 

C:\clips\clip.wmv

C:\clips\video.wmv

 

And let us want to convert them into AVI format and use Filename Pattern equal to

 

%i.avi

 

for that purpose. At the output we'll get

 

01.avi

02.avi

 

Example 2:

Let's us have two source files:

 

C:\clips\clip.wmv

C:\clips\video.wmv

 

And let us want to create 2 JPEG thumbnails for each source file and use Filename Pattern equal to

 

%a.jpg

 

for that purpose. At the output we'll get

 

01.jpg

02.jpg

03.jpg

04.jpg

 

Example 3:

Let's us have two source files:

 

C:\clips\clip.wmv

C:\clips\video.wmv

 

And let us want to create 2 JPEG thumbnails for each source file, distribute the produced thumbnails among different folders as provided by their source files and use Filename Pattern equal to

 

%i\%r.jpg

 

for that purpose. At the output we'll get

 

01\01.jpg

01\02.jpg (two thumbnails for the first source file)

 

02\01.jpg

02\02.jpg (two thumbnails for the second source file)

 

As it was shown in the Example 3, the filename pattern can be used to set relative paths. All that enables to create complex logic of generation of files names and paths when processing a great number of files.

 

  • %s - Source File Name - the value equal to the source file's name.

  • %e - Source File Extension - the value equal to the source file's extension.

  • %d - Source File Parent Directory - the value equal to the name of the folder in which the source files are stored.

  • %p - Source DVD Provider - the value equal to the source DVD provider. This variable can be used when editing DVD disks or IFO files only.

 

You can set the format of any dynamic variable in the same way as described above for the "Index format for the duplicate names" parameter. Besides, you can set the start value and increment for any dynamic variable. By default they both are equal to 1.

 

The following additional parameters are available in the Filename Pattern Builder:

 

  • Web safe - if enabled, all names of the produced files will be converted into web-safe ones (all spaces, if any, will be replaced with "_" symbols).

  • Name case - the value of the case of the produced file name. It can take the following values:

 

    1. As is - leaves the case as is.

    2. Upper - converts all letters to upper case.

    3. Lower - converts all letters to lower case.

 

  • Extension case - the value of the case of the produced file extension. It can take the following values:

 

    1. As is - leaves the case as is.

    2. Upper - converts all letters to upper case.

    3. Lower - converts all letters to lower case.

 

  • Always use format-dependent extension - if enabled, the produced file extension will always depend on the selected output format.


© 2007-2008. www.videocharge.com.  All rights reserved.

My Best Casinos | Best online casinos in Brazil | The Hot Casinos | Crypto Coin Casinos | Slotzix - Best online slots with free play | 3 Lucky Rainbows
 


Video Editing Software!


Software for video galleries creating


What is watermark?


VideoCharge Studio: help for beginners!


VideoCharge Studio: features!


How to add watermark to video or graphic file?


How to split a video file?


MKV to FLV without re-Encoding!


How to join video files?
Home
Download
Purchase
Forum
Article
Map
F.A.Q.
Support
About Us
Menu