Home > encode, x264, x264-bin > x264 rev2164+649 tMod v2 ( Yet Another AutoVAQ mod )

x264 rev2164+649 tMod v2 ( Yet Another AutoVAQ mod )

7th February 2012, Tuesday Leave a comment Go to comments

Sources on GitHub: https://github.com/astrataro/x264_tMod.

Use win32thread and fprofiled:

x264_rev2164+643_tMod-v2.7z: MediaFireGitHubnmm-hd
x264_rev2164+643_tMod-v2-Special_offer.7z: MediaFireGitHubnmm-hd

Latest updates:
– Updated BugMaster’s new aq-mode patch. AQ-mode=3 was untouched, and added AQ-mode=4 as another AutoVAQ experimental mod.
– See other changes of rev2164+649 tMod here.
– Stopped using –enable-lto any more. lto should make binaries faster in most cases, but not for x264.
– (Old change) Added a “Special-offer” build which disabled interlaced/lavf/swscale/ffms/audio-encode, should be faster according to some test.

—– How to load subtitles internally –—
These builds ported subtitles video-filter from direct264, and are able to render subtitles internally.
To render subtitles in this way, demuxer must be libav/ffms. Raw/avs demuxer is not supported for now. And VSFilter.dll(for 32-bit builds) or VSFilter64.dll(for 64-bit builds) must be placed together with the x264 binary or in the system path. Do NOT change filenames of them.
Rendering multiple subtitles is possible. Now you can render at most 16 subtitles simultaneously by calling –sub for each subtitles. Note that the later calling of –sub overlays the subtitles after previous calling of –sub, so if several subtitles are in the same position, the last one should overlays on all those rendered before.
The VSFilters are modified to add custom csri API. Patches can be found in svn of direct264 project. Therefore do NOT replace them with other builds. BT.709/BT.601 is auto detected according to video resolution. For HD videos BT.709 is used and for SD videos BT.601 is used.
Both 8-bit and 10-bit builds can use subtitles rendering, but rendering always takes place in 8-bit colorspaces.
The commandline example to render subtitles:
x264_32_tMod-8bit-420.exe –sub “subtitles-1.ass” –sub “subtitles-2.ass” –sub “subtitles-3.ass” –video-filter subtitles[/Other video filters] [Other x264 options] –output “output.mp4″ “input.mkv”


–—––—–Download(L-Smash not included): patches-rev2164-v2.7z, nmm-hd-Mirror

00:L-Smash(including audio encoding);
01:More detailed version head
02:Add back “touhou” tune
03:Film Grain Optimization
04:Fade Compensation
05:Remove stats before renaming
06:Add a parameter to set level of writing options in User Data Unregistered SEI
07:Utilize internal threading in lavf/ffms
08:Auto VBV settings
09:AVI output
10:filters hqdn3d pad vflip yadif patch
11:Log file
12:Encoding time
13:Level force
14:Profile force
16:New experimental AQ mode (modification of Auto-variance AQ) (Update!!)
17:Print video info with lavf/ffms demuxer
18:lto & Ofast
19:AviSynth 16bit hack
20:Skip bit depth filter when possible
21:Video filter: subtitles
22:Detect color matrix with lavf/ffms demuxer
23:Fix AviSynth color space converting matrix
24:High-precision fps
25:Unofficial –device
26:More detailed “zones” help
27-1:MixAQ-core;(only in tMod+MixAQ version, remove AQDebug)
27-2:OreAQ-core.(only in tMod+OreAQ version, remove AQDebug)

mingw-gcc 4.6.2

Libpack info:
ffms svn-r643
VSFilter svn-r3698 (MPC-HC)
lame 3.99-4
libvorbis-aotuv_b6.03 (libvorbis-1.3.2)
opencore-amr-0.1.2 r178 git-08d6986
faac 1.28
qtsdk 7.3

My other tools list ( including some of the x264 builds ) : MediaFire

Categories: encode, x264, x264-bin
  1. Mark
    10th February 2012, Friday at 07,15am UTC

    hi 06_taro
    Can you help me encoding a DVD.
    I have a DVD (anime)….. i encode(@crf 14) it with megui but it shows some blocks in video but when i play the dvd in MPC it don’t show anything….can tell how to remove it or which filter should i use. .

    Source analyses by MeGUI:


  2. Mark
    10th February 2012, Friday at 07,27am UTC

    here i use this avs script,
    Script i use:
    LoadPlugin(“C:\Program Files\megui\tools\dgindex\DGDecode.dll”)
    DGDecode_mpeg2source(“C:\Documents and Settings\M\Desktop\VTS_01_1.d2v”, info=3)
    LoadPlugin(“C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll”)
    ColorMatrix(hints=true, interlaced=true, threads=0)
    LoadPlugin(“C:\Program Files\megui\tools\avisynth_plugin\TIVTC.dll”)

    • 6th March 2012, Tuesday at 06,21pm UTC

      Sorry for not being online for a long time. I’m busy with my coursework 😛

      That blocks are weird. DGDecode should be stable enough for DVD streams, and if those were really blockings, MPC-HC would not hide them, unless you used some dct filter with FFDShow. Deblock_QED might be helpful to remove them. Some FFT based denoisers like FFT3DGPU may be also useful.

  3. Mark
    10th March 2012, Saturday at 12,32am UTC

    np ..thanks for help 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: