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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#42 | Link |
|
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
confirm the solution given by squid_80, reinstall xvid (koepi build) fix it
BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
|
|
|
|
|
#47 | Link |
|
Registered User
Join Date: Nov 2003
Location: Russia, Novosibirsk
Posts: 58
|
what's wrong in such usage?
Code:
D:\avs2qxvid>avs2qxvid_25e.bat COMPTEST 700MB zxxxz91.avs
Usage:
avs2qxvid_25e.bat {TGHQ/TGFAST/MTK}-{30/45/58/90/CT} <value>{bppx/kbps/KB/MB/G
B} {PAR} {FOD} {input1.avs} {input2.avs} ...
avs2qxvid_25e.bat {COMPTEST} <value>{bppx/kbps/KB/MB/GB} {PAR} {FOD} {input1.a
vs} {input2.avs} ...
Taking input1.avs, input2.avs ... and producing input1.avi, input2.avi ...
in the corresponding directories.
TGHQ and TGFAST are original Teegedeck's 2-pass XviD quality presets. MTK
is quick and dirty adaptation of TGFAST (hopefully) to work with mpeg4
standalones players.
If the AVS has audio, it will be compressed into CBR/ABR MP3 or OGG at about
128kbps (MP3 is for MTK). If an audio file inputN.mp3 or inputN.ogg
is present, it will also be used. In both cases, if you specify the target
size, the audio size will be taken into account into size prediction. An AVI
or MKV (for its chapter support) will be muxed.
-30, 45, 58 and 90 are the Teegedeck's preset levels. It governs many
critical settings of XviD encodes, such as quantizer ranges and matrices.
Target size can be specified in bit per pixel, kbit per sec, kilobytes,
or gigabytes. Beware that _Quality_ takes precedence over the size and
bitrate and so it is possible to have oversize or undersize.
You can also use "-CT" and let the compressibility test to pick a right level
according to your desired target size or bitrate. 3 of the input will be
used for the comp test if there are more than 500 frames. It works well most
of the time unless you enter extreme values, e.g. 650MB for a 10s clip (too
big) or 100MB for a 1080p movie (too small). Note: If the AVS ends with a
"return" statement, 3 sampling won't work and the full clip will be tested.
Anamorphic encode is also supported. You can specify a pixel aspect ratio
(PAR) of 1:1 (default), PAL_4:3, PAL_16:9, NTSC_4:3, NTSC_16:9 or anything lik
e
xxx:yyy. Your player (software/standalone) will perform the resize.
In case you need a comp test only, use COMPTEST. After the test, a file named
input.enc.txt will be generated in the source directory. And then, when you
specify only input.avs in the command line, the script will try to look for
input.enc.txt for the compression options. If not found, it will assume
"TGFAST-CT 0.15bppx VGA_1:1".
In case you want to force key-frames for, e.g., chapter points, create a text
input.zones.txt listing all the frame numbers there. If audio (separate file
or audio in AVS) is also present, the program will mux them into a MKV
container with these chapter points.
All credits go to Teegedeck for his great quality presets and squid_80 for his
wonderful xvid_encraws.exe and avsutil.exe.
Examples:
Compress input.avs using TGHQ-58 preset at a reference size of 700MB.
> avs2qxvid_25e.bat TGHQ-58 700MB 1:1 PRO input.avs
Compress input1.avs and input2.avs as PAL 16:9 and TFF using TGFAST preset at
a preference bitrate of 1300kbps. The preset level of indivdual avs will be
selected according to each comp test result.
> avs2qxvid_25e.bat TGFAST-CT 1300kbps PAL_4:3 TFF PAL_16:9 input1.avs input2.
avs
Compress input.avs using the default of TGFAST-CT and 0.15bppx, or according
to the settings in input.enc.txt in the same directory. This is also what
got executed when you drag and drop a AVS (or a number of AVS) onto this
script.
> avs2qxvid_25e.bat input.avs
Test the compressibility of input.avs for the target size of 0.5GB.
> avs2qxvid_25e.bat COMPTEST 0.5GB input.avs
Press any key to continue . . .
Code:
DirectShowSource("D:\capture\video\gen.mkv",fps=25,audio=false)
|
|
|
|
|
|
#48 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
New AVSUtil, as promised. (I can make a build that isn't dependent on the VS2005 runtime library if you like, but it will blow up in size to be 80k instead of 7.5k.)
|
|
|
|
|
|
#49 | Link |
|
Registered User
Join Date: Mar 2004
Posts: 889
|
Do you mean this runtime library?
http://download.microsoft.com/downlo...redist_x86.exe |
|
|
|
|
|
#52 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
FYI I found a bug today in AVSUtil that causes it to incorrectly report the number of frames in AVI files larger than 2GB. I'll try and get another new version uploaded soon.
EDIT: New version is available now, same url as above. Last edited by squid_80; 14th February 2007 at 12:26. |
|
|
|
|
|
#57 | Link | |
|
Registered User
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 145
|
Quote:
|
|
|
|
|
|
|
#59 | Link |
|
Registered User
Join Date: Nov 2005
Posts: 14
|
Why preset: MTK-CT xxMB won't do second pass? TGHQ-CT xxMB was OK.
__ Installing that XViD included in this package solved the problem and now 2 pass in MKT is working. avs2qxvid_25e_full_\xvid_celticdruid\xvid.inf Last edited by kastiauto; 4th September 2011 at 07:57. |
|
|
|
|
|
#60 | Link | |
|
Registered User
Join Date: Mar 2004
Posts: 889
|
Quote:
1) Pick a target reasonable bitrate, say 1600kbps for 640x480x29.97fps, and do a COMPTEST-CT pass. 2) Assuming that you obtain a comp test result of 42, you can project for the desired target: 1600*95/42 = 3620kbps 3) Do a TGFAST-90 at a target bitrate 3620kbps. It would be quite likely that the average quantizer is around 2 with the 6of9 matrix. Last edited by henryho_hk; 17th February 2007 at 05:49. |
|
|
|
|
![]() |
|
|