Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd November 2005, 23:49 | #1 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
Tools for HC: GetCQ 0.17.0.1 + HIG 0.17.0.1 - now gpl
GetCQ for HCEnc by Amnon82
This program uses HCEnc by Hank. Use this program to predict your movies using a HC.ini-file. 0.17.0.1 <11.04.06> * updated for HC 0.17 * added new features of HC 0.17 0.16.1.2 <12.12.05> * Fixed prediction engine * Same size/%-value is fixed now (C) 2005 - 2007 by Amnon82 Download Build 0.17.0.1 + HIG 0.17.0.1 Well, I decided to release the source code of this two apps under gpl. When somebody wants, you can update it to the newest HCenc version. Since I'm on linux now I don't have time for my win32 apps. Sorry. Source code of HIG 0.17.0.1 (md5sum: d7e5ff4b0b0f22042d0c47e44dfeac9e) Source code of getCQ 0.17.0.1 (md5sum: de63a842fb2152f0a5f120f8d4203c34)
__________________
Paldo GNU/Linux Homepage Paldo GNU/Linux Wiki Download of Installer-LiveCD Installation guide for the Installer-LiveCD Need fast help? Talk with me Last edited by Amnon82; 6th June 2007 at 11:03. |
23rd November 2005, 11:47 | #2 | Link |
Registered User
Join Date: Aug 2004
Posts: 55
|
Nice idea, but the archive contains multiplex, the mpeg (de)multiplexer.
Any chance of the GetCQ, to try? Thanks. Probably I'm a little early.. But why have multiplex in the archive? Oh well, I can wait.. LOL
__________________
| Meeow! |
23rd November 2005, 13:18 | #3 | Link |
Registered User
Join Date: Mar 2004
Posts: 266
|
If the program calculates with CQ and not CQ_maxbitrate parameter, final result could be not DVD compliant.
If you use CQ parameter to calculate and later CQ calculated with CQ_maxbitrate parameter, result could be messed up. Could you explain this a little bit, how the program works?
__________________
Prodater64 |
23rd November 2005, 20:37 | #4 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
@Prodater64: It calculates with both. Check 'Force Max.Bit.' for CQ_maxbitrate.
@Fluffbutt: Try 0.16.0.1 Code:
20:59:42 >> GetCQ for HC 0.16.0.1 started ... 21:00:36 >> AVS loaded from: C:\TEST.AVS 21:00:36 >> Desired target: SVCD 352x288 21:00:36 >> Entered wanted size in MB: 450 21:00:36 >> Entered audio size(s) in MB: 66 21:00:36 >> Authoring and ISO overhead in MB: 12 21:00:36 >> % of movie will be used: 2 21:00:36 >> Your desired final encoded sample in MB: 7 21:00:36 >> Your desired final encoded file in MB: 350 21:00:36 >> Encode after prediction enabled 21:00:36 >> _________________________________________ 21:00:36 >> 21:00:36 >> _________________________________________ 21:00:36 >> Start prediction run #1 21:00:36 >> First CQ-value: 4.8 21:01:39 >> Results of prediction run #1 21:01:39 >> Encoded sample in MB: 6 21:01:39 >> Encoded sample in %: 85,71 21:01:39 >> Wanted samplesize in MB: 7 21:01:39 >> Precalculated finalsize in MB: 300 21:01:39 >> Wanted finalsize in MB: 350 21:01:39 >> _________________________________________ 21:01:39 >> Start prediction run #2 21:01:39 >> CQ-value of this pass: 4.0 21:02:45 >> Results of prediction run #2 21:02:45 >> Encoded sample in MB: 7 21:02:45 >> Encoded sample in %: 100,00 21:02:45 >> Wanted samplesize in MB: 7 21:02:45 >> Precalculated finalsize in MB: 350 21:02:45 >> Wanted finalsize in MB: 350 21:02:45 >> _________________________________________ 21:02:45 >> Encoding final sample [E = W] 21:03:50 >> Encoded final sample in MB: 7 21:03:50 >> Wanted samplesize in MB: 7 21:03:50 >> Precalculated finalsize in MB: 350 21:03:50 >> Wanted finalsize in MB: 350 21:03:50 >> Calculated finalsize in MB: 350 21:03:50 >> _________________________________________ 21:03:50 >> AVS loaded from: C:\TEST.AVS 21:03:50 >> Desired target: SVCD 352x288 21:03:50 >> Entered wanted size in MB: 450 21:03:50 >> Entered audio size(s) in MB: 66 21:03:50 >> Authoring and ISO overhead in MB: 12 21:03:50 >> % of movie will be used: 2 21:03:50 >> Your desired final encoded sample in MB: 7 21:03:50 >> Your desired final encoded file in MB: 350 21:03:50 >> _________________________________________ 21:03:50 >> Start fullencode 21:03:50 >> Final Q-value: 4.0 21:04:01 >> Results of prediction run #2 21:04:01 >> Encoded final encode in MB: 3 21:04:01 >> Encoded final encode in %: 42,86 21:04:01 >> Wanted samplesize in MB: 7 21:04:01 >> Precalculated finalsize in MB: 150 21:04:01 >> Wanted finalsize in MB: 350
__________________
Paldo GNU/Linux Homepage Paldo GNU/Linux Wiki Download of Installer-LiveCD Installation guide for the Installer-LiveCD Need fast help? Talk with me Last edited by Amnon82; 23rd November 2005 at 21:05. |
24th November 2005, 00:13 | #5 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
What features do you need?
Planed features: *Save last settings *Save batchlist *Rename final encodes in batchmode Code:
00:53:25 >> GetCQ for HC 0.16.0.2 started ... 00:53:48 >> AVS loaded from: AVI_SAMPLE.AVI.AVS 00:53:48 >> Desired target: SVCD 352x288 00:53:48 >> Entered wanted size in MB: 400 00:53:48 >> Entered audio size(s) in MB: 60 00:53:48 >> Authoring and ISO overhead in MB: 12 00:53:48 >> % of movie will be used: 2 00:53:48 >> Your desired final encoded sample in MB: 7 00:53:48 >> Your desired final encoded file in MB: 350 00:53:48 >> Encode after prediction disabled 00:53:48 >> _______________________________________ 00:53:48 >> 00:53:48 >> _______________________________________ 00:53:48 >> Start prediction run #1 00:53:48 >> First CQ-value: 4.2 00:54:56 >> Results of prediction run #1 00:54:56 >> Encoded sample in MB: 6 00:54:56 >> Encoded sample in %: 85,71 00:54:56 >> Wanted samplesize in MB: 7 00:54:56 >> Precalculated finalsize in MB: 300 00:54:56 >> Wanted finalsize in MB: 350 00:54:56 >> _______________________________________ 00:54:56 >> Start prediction run #2 00:54:56 >> CQ-value of this pass: 3.8 00:56:03 >> Results of prediction run #2 00:56:03 >> Encoded sample in MB: 7 00:56:03 >> Encoded sample in %: 100,00 00:56:03 >> Wanted samplesize in MB: 7 00:56:03 >> Precalculated finalsize in MB: 350 00:56:03 >> Wanted finalsize in MB: 350 00:56:03 >> _______________________________________ 00:56:03 >> Encoding final sample 00:57:09 >> Encoded final sample in MB: 7 00:57:09 >> Wanted samplesize in MB: 7 00:57:09 >> Precalculated finalsize in MB: 350 00:57:09 >> Wanted finalsize in MB: 350 00:57:09 >> Calculated finalsize in MB: 350 00:57:09 >> Sample renamed to AVI._005709.sample 00:57:09 >> _______________________________________ 00:57:09 >>
__________________
Paldo GNU/Linux Homepage Paldo GNU/Linux Wiki Download of Installer-LiveCD Installation guide for the Installer-LiveCD Need fast help? Talk with me Last edited by Amnon82; 24th November 2005 at 00:58. |
24th November 2005, 09:46 | #6 | Link |
Registered User
Join Date: Aug 2004
Posts: 55
|
Thanks man!
is this anything like your "AutoCQ 052 For HC Encoder.rar" (my rename) from a while ago? Whatever happened to that, it was pretty good. I seem to recall it didn't like new HC versions - does this new GetCQ allow for newer HC's to come?
__________________
| Meeow! |
24th November 2005, 12:16 | #7 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
AutoCQ was with a GUI. It created the HC.ini-s. I added the HCBatch.exe into the main-program. I'll think about release a new version of AutoCQ. GetCQ has the new AutoQ2 prediction mode I've enhanced to work better with HC. HC gaves me a 0.0 CQ value format. CCE has only 0. So I can create better CQ values using HC. This tool reaches always 100% It has a much better prediction tech than AutoCQ. Maybe I'll join AutoCQ with GetCQ using a special form to create a HC.ini. Also I added the batchmode to it. Do you have the exit error after using an AVISource?
|
24th November 2005, 14:04 | #8 | Link |
Straight to video
Join Date: Jun 2005
Posts: 637
|
Wow, very cool, I'm going to test this as soon as possible.
Unfortunately it won't run: HC complains about "input not complete", then GetCQ throws up an error MessageBox: '4,8' ist kein gültiger Gleitkommawert. Problem with the decimal symbol? (I'm using Windows XP SP1, USA settings, period decimal symbol) |
25th November 2005, 00:11 | #11 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
Code:
00:04:36 >> GetCQ for HC 0.16.0.3b started ... 00:05:02 >> AVS loaded from: SAMPLE.D2V.AVS 00:05:02 >> Desired target: SVCD 480x576 00:05:02 >> Entered wanted size in MB: 30 00:05:02 >> Entered audio size(s) in MB: 3 00:05:02 >> Authoring and ISO overhead in MB: 0 00:05:02 >> % of movie will be used: 2 00:05:02 >> Your desired final encoded sample in MB: 1 00:05:02 >> Your desired final encoded file in MB: 50 00:05:02 >> Encode after prediction enabled 00:05:02 >> _______________________________________ 00:05:02 >> 00:05:02 >> _______________________________________ 00:05:02 >> Start prediction run #1 00:05:02 >> First CQ-value: 5 00:05:10 >> Results of prediction run #1 00:05:10 >> Encoded sample in MB: 0 00:05:10 >> Error 21: 0 MB! Can't go on. 00:05:10 >> GetCQ brakes the prediction mode. 00:05:10 >> AVS loaded from: SAMPLE.D2V.AVS 00:05:10 >> Desired target: SVCD 480x576 00:05:10 >> Entered wanted size in MB: 30 00:05:10 >> Entered audio size(s) in MB: 3 00:05:10 >> Authoring and ISO overhead in MB: 0 00:05:10 >> % of movie will be used: 16 00:05:10 >> Your desired final encoded sample in MB: 4 00:05:10 >> Your desired final encoded file in MB: 25 00:05:10 >> Encode after prediction enabled 00:05:10 >> _______________________________________ 00:05:10 >> 00:05:10 >> _______________________________________ 00:05:10 >> Start prediction run #1 00:05:10 >> First CQ-value: 5 00:05:30 >> Results of prediction run #1 00:05:30 >> Encoded sample in MB: 3 00:05:30 >> Encoded sample in %: 75.00 00:05:30 >> Wanted samplesize in MB: 4 00:05:30 >> Precalculated finalsize in MB: 19 00:05:30 >> Wanted finalsize in MB: 25 00:05:30 >> _______________________________________ 00:05:30 >> Start prediction run #2 00:05:30 >> CQ-value of this pass: 4.2 00:05:53 >> Results of prediction run #2 00:05:53 >> Encoded sample in MB: 3 00:05:53 >> Encoded sample in %: 75.00 00:05:53 >> Wanted samplesize in MB: 4 00:05:53 >> Precalculated finalsize in MB: 19 00:05:53 >> Wanted finalsize in MB: 25 00:05:53 >> _______________________________________ 00:05:53 >> Start prediction run #3 00:05:53 >> CQ-value of this pass: 3.5 00:06:17 >> Results of prediction run #3 00:06:17 >> Encoded sample in MB: 3 00:06:17 >> Encoded sample in %: 75.00 00:06:17 >> Wanted samplesize in MB: 4 00:06:17 >> Precalculated finalsize in MB: 19 00:06:17 >> Wanted finalsize in MB: 25 00:06:17 >> _______________________________________ 00:06:17 >> Start prediction run #4 00:06:17 >> CQ-value of this pass: 2.9 00:06:43 >> Results of prediction run #4 00:06:43 >> Encoded sample in MB: 4 00:06:43 >> Encoded sample in %: 100.00 00:06:43 >> Wanted samplesize in MB: 4 00:06:43 >> Precalculated finalsize in MB: 25 00:06:43 >> Wanted finalsize in MB: 25 00:06:43 >> Sample renamed to SAMPLE.000643.sample 00:06:43 >> _______________________________________ 00:06:43 >> 00:06:43 >> _______________________________________ 00:06:43 >> AVS loaded from: SAMPLE.D2V.AVS 00:06:43 >> Desired target: SVCD 480x576 00:06:43 >> Entered wanted size in MB: 30 00:06:43 >> Entered audio size(s) in MB: 3 00:06:43 >> Authoring and ISO overhead in MB: 0 00:06:43 >> % of movie will be used: 16 00:06:43 >> Your desired final encoded file in MB: 25 00:06:43 >> _______________________________________ 00:06:43 >> Start fullencode 00:06:43 >> Final Q-value: 2.9 00:07:53 >> Results of final encode: 00:07:53 >> Encoded final encode in MB: 19 00:07:53 >> Wanted final encode in MB: 25 00:07:53 >> Final encode renamed to SAMPLE.000753.m2v 00:07:53 >> _______________________________________ 00:07:53 >> 00:07:53 >> AVS loaded from: SAMPLE.D2V.AVS 00:07:53 >> Desired target: SVCD 480x576 00:07:53 >> Entered wanted size in MB: 30 00:07:53 >> Entered audio size(s) in MB: 3 00:07:53 >> Authoring and ISO overhead in MB: 0 00:07:53 >> % of movie will be used: 16 00:07:53 >> Your desired final encoded sample in MB: 4 00:07:53 >> Your desired final encoded file in MB: 25 00:07:53 >> Encode after prediction enabled 00:07:53 >> _______________________________________ 00:07:53 >> 00:07:53 >> _______________________________________ 00:07:53 >> Start prediction run #1 00:07:53 >> First CQ-value: 5 00:08:13 >> Results of prediction run #1 00:08:13 >> Encoded sample in MB: 3 00:08:13 >> Encoded sample in %: 75.00 00:08:13 >> Wanted samplesize in MB: 4 00:08:13 >> Precalculated finalsize in MB: 19 00:08:13 >> Wanted finalsize in MB: 25 00:08:13 >> _______________________________________ 00:08:13 >> Start prediction run #2 00:08:13 >> CQ-value of this pass: 4.2 00:08:36 >> Results of prediction run #2 00:08:36 >> Encoded sample in MB: 3 00:08:36 >> Encoded sample in %: 75.00 00:08:36 >> Wanted samplesize in MB: 4 00:08:36 >> Precalculated finalsize in MB: 19 00:08:36 >> Wanted finalsize in MB: 25 00:08:36 >> _______________________________________ 00:08:36 >> Start prediction run #3 00:08:36 >> CQ-value of this pass: 3.5 00:09:00 >> Results of prediction run #3 00:09:00 >> Encoded sample in MB: 3 00:09:00 >> Encoded sample in %: 75.00 00:09:00 >> Wanted samplesize in MB: 4 00:09:00 >> Precalculated finalsize in MB: 19 00:09:00 >> Wanted finalsize in MB: 25 00:09:00 >> _______________________________________ 00:09:00 >> Start prediction run #4 00:09:00 >> CQ-value of this pass: 2.9 00:09:26 >> Results of prediction run #4 00:09:26 >> Encoded sample in MB: 4 00:09:26 >> Encoded sample in %: 100.00 00:09:26 >> Wanted samplesize in MB: 4 00:09:26 >> Precalculated finalsize in MB: 25 00:09:26 >> Wanted finalsize in MB: 25 00:09:26 >> Sample renamed to SAMPLE.000926.sample 00:09:26 >> _______________________________________ 00:09:26 >> 00:09:26 >> _______________________________________ 00:09:26 >> AVS loaded from: SAMPLE.D2V.AVS 00:09:26 >> Desired target: SVCD 480x576 00:09:26 >> Entered wanted size in MB: 30 00:09:26 >> Entered audio size(s) in MB: 3 00:09:26 >> Authoring and ISO overhead in MB: 0 00:09:26 >> % of movie will be used: 16 00:09:26 >> Your desired final encoded file in MB: 25 00:09:26 >> _______________________________________ 00:09:26 >> Start fullencode 00:09:26 >> Final Q-value: 2.9 00:10:35 >> Results of final encode: 00:10:35 >> Encoded final encode in MB: 19 00:10:35 >> Wanted final encode in MB: 25 00:10:35 >> Final encode renamed to SAMPLE.001035.m2v 00:10:35 >> _______________________________________ 00:10:35 >> |
29th November 2005, 20:05 | #15 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
What kind of error? Post me your HC.ini and your AVS-Script.
You can try my sample HC.ini in the INI-Folder. I tested it with an avi and it worked for me. Download the last build 0.16.0.5. This one shows you an english error message. Under the version 0.16.0.5 they are all german...
__________________
Paldo GNU/Linux Homepage Paldo GNU/Linux Wiki Download of Installer-LiveCD Installation guide for the Installer-LiveCD Need fast help? Talk with me Last edited by Amnon82; 29th November 2005 at 20:10. |
2nd December 2005, 12:43 | #19 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
A little Guide to write a HC.ini
GetCQ searches for the HC.ini which is placed in the INI folder. When You start GetCQ a new file HC.bak is created which is a backup of the HC.ini. You have to edit the HC.ini before starting GetCQ or search for an other INI using the '...'-button in the INI-Line. So GetCQ uses the INI path which is written in the edit.
Here is the full sample HC.ini updated for HC 016: Code:
------------------------------- HC.ini template These commands are required Use full pathnames and just use the bitrate you want ------------------------------- *infile G:\MOVIE\MOVIE.avs *outfile G:\MOVIE\MOVIE.m2v *bitrate 550 *maxbitrate 850 ------------------------------- Next commands are optional, putting a space for it disables a command ------------------------------- Aspect ratio has the options 1:1,4:3,16:9,2.21:1 ------------------------------- *aspect 1:1 *aspect 4:3 *aspect 16:9 *aspect 2.21:1 ------------------------------- This command specifies bottom field first, only used for interlaced encoding. Use TFF to set top field first ------------------------------- *bff *tff ------------------------------- This command tweaks the compression curve, 0 means VBR, 100 tends to CBR ------------------------------- *bias 30 ------------------------------- This command closes all gops ------------------------------- *closegops ------------------------------- This command can be used to force the cpu to use specific extensions ------------------------------- *CPU AUTO *CPU MMX *CPU SSE2 *CPU SSE3 ------------------------------- This commands orders the encoder to do a 1-pass with a constant quantization factor. Use cq_maxbitrate to be DVD-compliant. If the actual bitrate overshoots the maximum bitrate set by the MAXBITRATE command the quantizer is temporally raised. ------------------------------- *cq 4.0 *cq_maxbitrate 4.2 ------------------------------- This command defines custom intra and intermatrices to be used and supersedes the default matrix and the MATRIX command. The matrices must be supplied as given in the example, 8 values per line. ------------------------------- *custommatrix 8 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 ------------------------------- This command defines the intra and intermatrix to use. ------------------------------- *matrix HC *matrix NOTCH *matrix QLB *matrix BATCH1 *matrix JAWOR1CD *matrix HVSGOOD *matrix HVSBETTER *matrix HVSBEST *matrix AVAMAT6 *matrix AVAMAT7 ------------------------------- This command defines the DC-precision to be used, range 8 - 10 ------------------------------- *dc_prec 10 ------------------------------- This command specifies the frames to be encoded, if this command is not pressent all frames will be encoded. In case of avisynth imput don't use this command but use the trim option in the avisynth file. ------------------------------- *frames 1001 2500 ------------------------------- This command defines the GOP structure. Max GOP lenght is 36, max B-frames is 2. If this command is omitted, HC will run in AUTOGOP mode. ------------------------------- *gop 12 2 ------------------------------- Use this command if your source is interlaced, it might improve quality. If this command is used also the alternate scanmethod is set. ------------------------------- *interlaced ------------------------------- This command disables output of the sequence endcode (00 00 01 B7) *noseq_endcode ------------------------------- This command disables the scene change detection. Scene change detection is enabled by default, at each scene change an I-frame is inserted and the GOP is closed. ------------------------------- *noscd ------------------------------- This command disables the VBV checking. ------------------------------- *novbv ------------------------------- This command defines the encoding quality. ------------------------------- *profile fast *profile normal *profile best ------------------------------- This command defines the scanning method to be used. If interlaced is flagged it defaults to ALT but can be set to ZIGZAG with this command. ------------------------------- *scanmethod ZIGZAG *scanmethod ALT ------------------------------- This command will shutdown the system in 300 seconds after finishing encoding ------------------------------- *shutdown ------------------------------- This command sets the timecode ------------------------------- *timecode 0 0 0 0 ------------------------------- this command sets the waiting time before HC exits after an encoding session, range 0 - 99 ------------------------------- *wait 4 ------------------------------- This command defines the log filename, if omitted no logfile will be written. If the logfile already exits the logs will be appended. ------------------------------- *logfile G:\MOVIE\MOVIE.log ------------------------------- HC.ini by Amnon82 ------------------------------- |
Thread Tools | Search this Thread |
Display Modes | |
|
|