Do you have to use an ini file or can you actually pass the hcenc.exe the arguments similar to FFMPeg or Quenc?
I looked in the HCenc folder but there was no documentation about this. If anyone knows where documentation can be found for the HCenc CLI, I would greatly appreciate it if you could post it here.
Thanks
+ Reply to Thread
Results 1 to 7 of 7
-
-
Check the "misc" folder under your HC install for the documentation (HC[version number].pdf)that explains the command options. Personally I find it easier to use an ini, but the command line options are there.
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
Originally Posted by hc23 pdfDonadagohvi (Cherokee for "Until we meet again")
-
Here's a couple of batch files where everything is specced on the command line:
Two pass: the AVS files and rate are set in the file
Code:set rate=3221 set ar=16:9 ::set ar=4:3 set choice= set /p choice=Run encode? y/n if not '%choice%'=='y' exit set hc=P:\HCenc\HCenc_023 set mpgd=s:\mpg\ for %%A in ( 408.avs 409.avs 410.avs ) do ( %hc% -i %%~fA -o %mpgd%%%~nA.m2v -b %rate% -aspectratio %ar% -pulldown -profile best -matrix qlb -frames all -noini -2pass -maxbitrate 8000 -log %%~dpAhenc.log call avsaften %%~fA move %%~dpnA.ac3 %mpgd% )
Code:@echo off echo: input AVS files echo: output m2v at constant Q and AC3 set CQrate=4.5 set ar=16:9 ::set ar=4:3 set choice= set /p choice=Run encode on %1 %2 %3? y/n if not '%choice%'=='y' exit set hc=P:\HCenc\HCenc_023 set mpgd=s:\mpg\ :LOOP for %%A in ( %1 ) do ( %hc% -i %%~fA -o %mpgd%%%~nA.m2v -aspectratio %ar% -pulldown -profile best -matrix qlb -frames all -cq_maxbitrate %CQrate% -maxbitrate 8000 call avsaften %%~fA move %%~dpnA.ac3 %mpgd% ) SHIFT @if %1X==X goto END @goto LOOP :END
Code:@echo avsaften avsfile.avs @echo audio from avs files and convert to AC3 @echo uses wavi and aften @if %1X==X goto ALL :LOOP for %%I in (%1) do ( wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3 ) SHIFT @if %1X==X goto END @goto LOOP :ALL for %%I in (*.avs) do ( wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3 ) :END
-
Originally Posted by freebird73717
And a couple of other things could not be set at all on the command line in earlier version, but now it's got all the features.
So now I can just use or amend one batch file for each job and not have to keep track of INI files.
Similar Threads
-
Problem with HCenc 0.24.
By HolyFries in forum Video ConversionReplies: 2Last Post: 17th Jun 2010, 18:03 -
Problem with HCenc 0.24.
By HolyFries in forum Newbie / General discussionsReplies: 0Last Post: 17th Jun 2010, 13:18 -
HCEnc vs MVBR
By awesomer in forum Video ConversionReplies: 7Last Post: 31st Jul 2008, 18:12 -
HCEnc
By Belfour in forum DVD RippingReplies: 1Last Post: 28th Jun 2007, 09:57 -
Question about HCEnc's Fox Matrices
By CubDukat in forum Video ConversionReplies: 0Last Post: 31st May 2007, 13:57