View Single Post
Old 30th July 2005, 05:04   #3  |  Link
Prodater64
Registered User
 
Join Date: Mar 2004
Posts: 266
Quote:
Originally Posted by esso
would someone be able to give me a small tutorial on how to do batch encoding with HCbatch?
i've tried a bunch of ways including using a start /wait command to no avail. and i have no knowledge of .bat files. i tried to make one using the cli and when i save it its not in the folder i save it to.
if anyone can help that would be great, if not i'll be content doing them one at a time
1 - Create a text file and rename it to Batchlist.bat or any name with bat extension. It is better if you save it in HCBatch.exe folder where it should be the ini files for conversions.
2 - For each encoding you want to do add a line like:

start "HC-Batch" /wait HCBatch_015.exe "-ini" "path_to_your.ini" "-i" "path_to_input_file(avs or whatelse)" "-o" "path to your.m2v" "-log" "path to your.log" "-b" "avgbtr" "-maxbitrate" "maxbtr"

i.e.:
start "HC-Batch" /wait HCBatch_015.exe "-ini" "C:\movies\matrix.ini" "-i" "C:\movies\matrix.avs" "-o" "C:\movies\matrix.m2v" "-log" "C:\movies\matrix.log" "-b" "2500" "-maxbitrate" "8500"

All other settings are defined in ini files. Read pdf that comes with HC Encoder pack and also template.ini
A space before * inactivates function. If you delete the space before * it activates the function.

Quote:
+-------------------------------
HC.ini template
These commands are required
Use full pathnames and just use the bitrate you want
-------------------------------
*infile d:\....\test.avs
*outfile d:\....\test.m2v
*bitrate 4000
*maxbitrate 9000
-------------------------------
Next commands are optional
putting a space for it disables a command
Not all commands are shown here,
see the manual for a complete list and default values
-------------------------------
*wait 0
*logfile d:\....\test.log
*matrix qlb
*profile best
*aspect 4:3
*gop 15 2
*interlaced
*tff
*closedgops
*cq 6.3
*cq_maxbitrate 5.000
*dc_prec 9
*frames 100 200

-------------------------------
BDVD Matrix
-------------------------------
*custommatrix
16 18 20 22 26 28 32 39
18 20 22 24 28 32 39 44
20 22 26 28 32 39 44 48
22 22 26 32 39 44 48 54
22 26 32 39 44 48 54 64
26 32 39 44 48 54 64 74
32 39 44 48 54 64 74 84
39 44 48 54 64 74 84 94

20 24 26 28 38 42 46 53
24 26 28 38 42 46 53 58
26 28 38 42 46 53 58 62
28 38 42 46 53 58 62 68
38 42 46 53 58 62 68 78
42 46 53 58 62 68 78 88
46 53 58 62 68 78 88 99
53 58 62 68 78 88 99 99
If you want to do a 3 movies encode:

Code:
@echo off
color 17
title My Batchlist

start "HC-Batch" /wait HCBatch_015.exe "-ini" "C:\movies\matrix.ini" "-i" "C:\movies\matrix.avs" "-o" "C:\movies\matrix.m2v" "-log" "C:\movies\matrix.log" "-b" "2500" "-maxbitrate" "8500"

start "HC-Batch" /wait HCBatch_015.exe "-ini" "C:\movies\matrix.ini" "-i" "C:\movies\matrix.avs" "-o" "C:\movies\matrix.m2v" "-log" "C:\movies\matrix.log" "-b" "2500" "-maxbitrate" "8500"

start "HC-Batch" /wait HCBatch_015.exe "-ini" "C:\movies\matrix.ini" "-i" "C:\movies\matrix.avs" "-o" "C:\movies\matrix.m2v" "-log" "C:\movies\matrix.log" "-b" "2500" "-maxbitrate" "8500"
__________________
Prodater64

Last edited by Prodater64; 17th October 2005 at 00:30.
Prodater64 is offline   Reply With Quote