Batch Processing
The tools that appear in the Tools menu can only be used to process the file that is currently open in
DVMP Pro. But the Batch Processing facility allows you to process several files in one go.
Most of the Batch Processing operations are the same as the tools found in the
Tools menu.
Some batch operations are only supported for specific file types. Below is a summary
of the currently available batch operations and supported file types. Click on
the name of the batch operation in the table for a description of each
operation.
The final 4 operations in this table are only to be found in the Batch
Processing module. They are not found in the Tools menu. A description
of them follows.
Batch Only Operations
The following operations are found only in the Batch Processing facility.
They do not exist on the Tools menu.
Set "Date created" to Start Date/Time
The Set "Date created" to Start Date/Time operation sets the
"Date created" file property of the input files to the start date and time
when they were recorded. The date and time are extracted from the metadata in the
file. Note that for a MOD file its partner MOI file must also
exist in the same folder.
This operation does not have any output files as such, and therefore the only
file that is created in the output folder is the log file.
The "Date created" file property is displayed in Windows Explorer
and in the file property window of many NLEs, so it provides an easy way of
seeing when files were actually recorded, and sorting them by recording
date.
Set "Date modified" to Start Date/Time
The Set "Date modified" to Start Date/Time operation is
effectively the same as the Set "Date created" to Start Date/Time operation
described above, except that the
"Date modified" file property is set.
Append Start Date/Time to file name
The Append Start Date/Time to file name operation renames the input files
by appending the start date and time of recording to the filename in the format
yyyy-mm-dd hh.mm.ss. The date and time are extracted from the metadata in the
file. Note that for a MOD file its partner MOI file must also
exist in the same folder.
For example, the HDV file
myfile.m2t
would be renamed to
myfile 2008-12-19 15.23.58.m2t
This operation does not have any output files as such, and therefore the only
file that is created in the output folder is the log file.
Fix Premiere Start Timecode in DV AVI
The Fix Premiere Start Timecode in DV AVI operation adds an Adobe Premiere
Start Timecode header to existing DV AVI input files. If the Start
Timecode header is already present then it is corrected using the DV
metadata timecode of the first frame in the file.
This requires some explanation.
When a DV camera is recording to tape it stores a timecode in the DV metadata areas of
each video frame. When a clip is captured to a DV AVI file, the start
timecode for the file will therefore be found in the metadata area of the first
frame in the DV AVI file.
However, Adobe Premiere reads the start timecode of a DV AVI file from a special
Premiere AVI header instead of reading the timecode from the DV metadata of the
first video frame. If this Premiere header does not exist (which usually happens
if the AVI file was captured in another application) then Premiere will assume
a start timecode of 00:00:00:00 for the file regardless of the true start timecode in the DV
metadata. In such cases this operation can be used to add the Premiere header so
that it contains the correct start timecode (copied from the DV metadata of the
first frame in the file). This means that the start timecode in the Premiere header will be
in agreement with the timecode in the first frame's metadata.
Also, sometimes the Premiere header's start timecode value may have been set
incorrectly. If the file already contains a Premiere start timecode header,
this operation will correct it by setting it equal to the DV metadata timecode of
the first frame.
Note that this operation adds/corrects the Premiere header of the input
files. This is because it is not necessary for the files to be copied just to
add the header - the operation is therefore extremely fast even for large
files. There are no output files as such, and therefore the only
file that is created in the output folder is the batch processing log file.
How to Use the Batch Processing facility
Click the File>Batch Processing menu and the Batch Processing window appears. This is independent of the main DVMP
Pro window, so you can
still play files or change Tools>Options settings while the Batch
Processing window is open.
You give Batch Processing a list of input files and it processes each file in turn. The output files are all stored in a single output folder, and are given the same filename as the input files but with a suitable suffix that identifies the operation that has been performed.
You add files to the input file list by clicking the Add button. This opens a file selection dialog where you can select one or more files (using SHIFT-click or CTRL-click to select multiple files). Click
OK and the files are added to the list-box headed Files to be
processed. If any files are not recognised as supported file-types a warning message box appears and those files are not added to the list.
You can add more files to the list simply by using the Add button again. The extra files are added to the end of the list-box.
You can also add files to the list by dragging the files from another program such as Windows Explorer and
dropping them onto the list-box. This is often more convenient than using the
Add button.
When files are added to the list-box they have a check mark against them. This tells
the Batch Processor to process that file. If you want a file to not be processed (but you'd prefer to leave it in the list) just
un-check the file.
You can remove files from the list-box by clicking the file to highlight it and then clicking the
Remove button. Multiple files can be removed by SHIFT or CTRL-clicking files to highlight them - for example you can remove all files from the list by clicking the first file, scrolling to the bottom and SHIFT-clicking the last file, then clicking the
Remove button. (Alternatively, you can press CTRL-A to select all files
then click the Remove button.)
Files are processed in the order that they appear in the list box. However you can easily change the order simply by clicking
a file in the list box and then dragging and dropping it at the new position. You can also use SHIFT and CTRL-click to drag multiple files.
Now choose a folder where the output files will be created. You do this by clicking the
Browse button. A Browse Folders dialog box appears where you select the output folder.
Now select the operation that is to be performed from the Operation drop-down list. You will find
some of the operations here that you've seen under
DVMP Pro's Tools menu.
Note that some batch operations are only supported for specific file types. See
the table above for a list of operations and their supported file types.
Having selected the operation, you can now run the Batch Processor by clicking the START button.
If the operation you chose has some associated settings then a Confirm
Settings dialog box will appear which allows you to check that these are all correct, and change them if necessary.
(These are the same settings that you can see in the Tools>Options
menu.) When you are satisfied
with the settings just click the OK button and the batch processor will start processing the
files.
If the operation you chose does not have any associated settings (e.g. file conversion) then the batch processor will run immediately when you press the
START button.
As each file is processed, the two progress bars at the bottom of the window show the progress through the current file and an estimation of the progress through the entire batch run.
Also, progress messages will appear in the Output Log pane. These messages are also written to a
log file in the output folder.
The batch processor will never overwrite existing files. If the output folder already contains a file with the same name as a new file which needs to be created, the new file will have a
(n) suffix added to it, where "n" is a number that will guarantee a unique file name.
You can abort batch processing by clicking the Abort button. All output files created so far will be left intact, but if a file is currently being written-to then it will be deleted - it's probably of no use as it will be incomplete anyway. If you abort frequently then keep an eye on the contents of the output folder as it can fill up quickly with files from previous aborted runs.
When the Batch processing run is complete, a Finished message will appear in the
Output Log pane. You can then scroll back through the messages in the pane or examine the
log file in the output folder to check whether each file was successfully processed.
When you are finished batch processing, you can close the window by clicking the
Close button.
Note that you can not Exit from DVMP
Pro while the Batch Processing window is open.
|