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. |
16th December 2006, 18:11 | #1 | Link |
Registered User
Join Date: Mar 2004
Posts: 889
|
avs2qxvid.bat [AVS to Quality XviD]
You wrote an AVS. You wanna encode it to a good quality XviD file. But you don't like GUI. This batch script is for you.
Download the full package (version 2.5h) here: http://www.sendspace.com/file/ni08oz (7zip compressed twice with password XviD_presets) The main purpose of my batch script is to implement Teegedeck's XviD presets using squid_80's version of xvid_encraw. The main features are:
This is how you use this batch script: Say, you have abcdef.avs ready in certain directory. Now make a plain text file abcdef.enc.txt in the same directory with one single line reading "TGHQ-CT 1.45GB". NTSC 16:9 footage? Make it "TGHQ-CT 1.45GB NTSC_16:9" Interlaced encoding? Append "TFF" or "BFF" at the end of the line. Audio track? Put it inside the AVS or make a separate mp3 or ogg in the same directory. OGM chapters? Create another plain text files abcdef.zones.txt listing the frame numbers (The default zone weight is 1.0 and you can put something like 0.1 next to the frame number for credit zones). When all is ready, drop abcdef.avs onto avs2qxvid.bat and then wait for your CPU load to drop to zero. ^_^ You can at most drop 9 AVS files onto the batch at a time. The following Teegedeck presets are supported: TGHQ-CT, TGFAST-CT, TGEDIT-00 and TGANIME-00. I have hacked a MTK-CT for standalones. If you know your source's compressibility, you can specify the levels directly (-30, -45, -58 or -90), e.g. TGHQ-58, MTK-45, etc. Note that if the target size or bitrate is too high or too low, it may not be respected, especially if you skip the compressibility test and levels directly. To activate Kopernikus's HVS mods in your own presets, name them with prefix "HVS" and then specify the HVS params in the last column of bin\xvid_presets.csv, substituting the required double-quotes with single quotes. Giving your own presets a suffix of "MTK" will enforce some standalone friendly parameters such as VBV and -alt2pass. Other options like QPel and b-frames are still at your own discretion. BTW, If you use the MTK presets, the batch script will always split your movies into AVI file(s) of 2000MB@ unless an OGG audio file or a zone list file is found in the same directory (in such cases a MKV file will be muxed.) Last edited by henryho_hk; 2nd August 2011 at 17:10. |
Thread Tools | Search this Thread |
Display Modes | |
|
|