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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th January 2006, 17:48   #1  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,373
HC batch encoding multiple files?

so i have 10 input avi files and i expect 10 output mpeg2/DVD files ready for dvdlab.

what i did so far is:
make an avisynth thingy for each like:
AviSource("film.avi")

i open this in hcgui and set all the parameters then encode...

---

so the question, how to encode 10 avisynth files to 10 mpeg2/DVD files in batch?

tia
smok3 is offline   Reply With Quote
Old 5th January 2006, 19:09   #2  |  Link
Prodater64
Registered User
 
Join Date: Mar 2004
Posts: 266
Check http://forum.doom9.org/showpost.php?...91&postcount=3
__________________
Prodater64
Prodater64 is offline   Reply With Quote
Old 5th January 2006, 19:15   #3  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,373
k, ty, so i can delete this part from ini file:

*infile d:\....\test.avs
*outfile d:\....\test.m2v

?
smok3 is offline   Reply With Quote
Old 5th January 2006, 21:04   #4  |  Link
Prodater64
Registered User
 
Join Date: Mar 2004
Posts: 266
Quote:
Originally Posted by smok3
k, ty, so i can delete this part from ini file:

*infile d:\....\test.avs
*outfile d:\....\test.m2v

?

If you define they in the command line or batch file, you can delete them.
__________________
Prodater64
Prodater64 is offline   Reply With Quote
Old 6th January 2006, 07:39   #5  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,547
here's one i made for QuEnc. most of the HC CLI settings are the same, so it should be dead easy to port to HC

Code:
@ECHO OFF
ECHO Sally's batch encoder
ECHO.
ECHO.
ECHO.
ECHO Encoding all avs's in %~p1...
ECHO.
SET /P bitrate=   please enter average bitrate: 
ECHO.
SET /P max=   enter max bitrate: 
ECHO.
SET /P passes=   enter number of passes (1 or 2): 
ECHO.
SET /P ratio=   enter aspect ratio (enter 4:3 or 16:9): 

for %%A in (*.avs) do ECHO "C:\Program Files\QuEnc\QuEnc.exe" -i "%%~dA%%~pA%%~nA.avs" -o "%%~dA%%~pA%%~nA.reenc.m2v" -b %bitrate% -maxbitrate %max% -dc 10 -%passes% -mpeg2 -hq -vbr -scene -notrell -nocgop -interlaced -tff -noextreme -gopsize 12 -maxbframes 2 -aspectratio %ratio% -mpeg2mux noaudio -priority 5 -auto -close >> %%~dA%%~pAencode.bat
either put it in the directory you want to use (no network paths please - only mapped drive letters work in these batch files unfortunately) and run it, or make a shell extension for it for file folders, so you can right-click a folder in explorer and hit "encode all avs files" or whatever.

enjoy.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 6th January 2006, 21:04   #6  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,373
Mug Funky, looks good, so i can skip making ini files in hc case as well and do all with such batch oneliner?
smok3 is offline   Reply With Quote
Old 14th January 2006, 14:45   #7  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,547
yep. you can even make your own ini file with ECHO blahblahblah 12>>HC.ini if you like.

any parameters you use all the time, keep in the ini, and everything else you can set at encode time with CLI options. it's a pretty good mix.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.