Archive

Archive for November, 2011

avs4x264mod v0.6 ( do not use *BUGGY* v0.4 & v0.5 )

30th November 2011, Wednesday Leave a comment

I have created a git repo here: https://github.com/astrataro/avs4x264mod/

Download links :

GitHub: avs4x264mod_v0.6.7z
MediaFire: avs4x264mod_v0.6.7z
Mirror: avs4x264mod_v0.6.7z

v0.1:
– Fix capability with high bit depth avs.
– Add parameter to customize x264 binary.
– Print full command line used by x264.

v0.2:
– Delete ugly blank space in command line, which was generated in v0.1 if “–x264-binary” specified.

v0.3:
– Fix invalid x264 binary path when both avs4x264 and x264 binary is given by full path
– Add switch -L as a short name of –x264-binary, e.g., -L C:\x264.exe is equal to –x264-binary C:\x264.exe.

v0.4:
– Directly output i422/i444 with AviSynth 2.6 new csp YV16/YV24. No forced ConvertToYV12 for these two csp any more. Thanks to SAPikachu.
– Display version and help info when run with no options.

v0.5:
– Improve capability with more styles of parameters in x264.
E.g., –tcfile-in=”timecode.txt”, –input-depth=16, –x264-binary=”x264″, -L=x264 and -Lx264.

v0.5.1:
– Fix pipe error with YV12. This bug was introduced in v0.4.

v0.6:
– Do not add –input-res/–fps/–frames/–input-csp if already defined.
– Correct number of frames to be handled when –frames is defined. Now you can specify frame numbers to be encoded without getting errors.
Categories: avs4x26x, encode, x264

avs4x264mod v0.5 ( Improve capability with more parameter styles in x264 )

30th November 2011, Wednesday Leave a comment

v0.1: http://wp.me/p1uEFP-21

v0.2:
– Delete ugly blank space in command line, which was generated in v0.1 if “–x264-binary” specified.

v0.3:
– Fix invalid x264 binary path when both avs4x264 and x264 binary is given by full path
– Add switch -L as a short name of –x264-binary, e.g., -L C:\x264.exe is equal to –x264-binary C:\x264.exe.

v0.4:
– Directly output i422/i444 with AviSynth 2.6 new csp YV16/YV24. No forced ConvertToYV12 for these two csp any more. Thanks to SAPikachu.
– Display version and help info when run with no options.

v0.5:
– Improve capability with more styles of parameters in x264.
E.g., –tcfile-in=”timecode.txt”, –input-depth=16, –x264-binary=”x264″, -L=x264 and -Lx264.

Download links ( source codes included) :

MediaFire: avs4x264mod_v0.5.7z
Mirror: avs4x264mod_v0.5.7z

Categories: avs4x26x, encode, x264

avs4x264mod v0.4, don’t convert YV16/YV24 to YV12 any more

30th November 2011, Wednesday Leave a comment

v0.1: http://wp.me/p1uEFP-21

v0.2:
– Delete ugly blank space in command line, which was generated in v0.1 if “–x264-binary” specified.

v0.3:
– Fix invalid x264 binary path when both avs4x264 and x264 binary is given by full path
– Add switch -L as a short name of –x264-binary, e.g., -L C:\x264.exe is equal to –x264-binary C:\x264.exe.

v0.4:
– Directly output i422/i444 with AviSynth 2.6 new csp YV16/YV24. No forced ConvertToYV12 for these two csp any more. Thanks to SAPikachu.
– Display version and help info when run with no options.

Download links ( source codes included) :

MediaFire: avs4x264mod_v0.4.7z
Mirror: avs4x264mod_v0.4.7z

Categories: avs4x26x, encode, x264

avs4x264mod v0.3

29th November 2011, Tuesday 3 comments

v0.1: http://wp.me/p1uEFP-21

v0.2:
– Delete ugly blank space in command line, which was generated in v0.1 if “–x264-binary” specified

v0.3:
– Fix invalid x264 binary path when both avs4x264 and x264 binary is given by full path.
– Add switch -L as a short name of –x264-binary, e.g., -L C:\x264.exe is equal to –x264-binary C:\x264.exe

Download links ( source codes included) :

MediaFire: avs4x264mod_v0.3.7z
Mirror: avs4x264mod_v0.3.7z

I would like to work on directly piping original csp to x264 instead of converting to YV12 when using avs 2.6, if I could finish my coursework at school….

Categories: avs4x26x, encode, x264

x264 rev2106+629 tMod v2

3rd November 2011, Thursday 3 comments

Latest updates:
– Fix bugs in decoding lossless 4:2:2/4:4:4 AVC streams via lavf/ffms;
– Remove –no-opts and use –opts <integer> instead. –opts 2 (default) generates x264 info and options as the official builds; –opts 1 writes only x264 info as formal –no-opts; and –opts 0 writes nothing in SEI.

——– Attention on high bit depth usage ——–

Several days before madshi pointed out that x264′s internal low bit depth to high bit depth conversion and high bit depth to low bit depth dithering is incorrect. The present converting and dithering algorithms seem to work correctly on full range sources of RGB and Y plane of YUV. Till now neither x264 nor swscale has a correct chroma upscaling algorithm for full range sources, and I didn’t make one. Anyway, the converting algorithm of x264 is absolutely wrong on limited range sources, according to ITU-R 601/709′s standard, in which the conversion should be done by simply appending LSBs of zero to the source. The dithering algorithm may also causes overflow on limited range source. So I hacked on my tMod builds to solve this issue.

When the input and output bit depth are the same, no conversion or dithering will be apllied. Otherwise when used with “–fullrange on”, the conversion and dithering will be exactly the same with x264′s original algorithm, which is still not reliable for YUV sources, so it is recommanded to use your own reliable approaches to convert those sources by yourself before passing them to my x264 builds; if used without “–fullrange on”, the conversion will be done by shifting according to the standard, and the dithering algorithm is fixed as well, so that the result should be absolutely right.

astrataro@gmail.com

——————–

Use win32thread and fprofiled:

plain-core/tMod/tMod-10bit/tMod+MixAQ/tMod+OreAQ/tMod+OreAQ-10bit:
x264_rev2106+629_tMod-v2.7zMediaFire Mirror

My other tools list ( including some of the x264 builds ) : MediaFirenmm-hd

Patches:
–—––—–Download(L-Smash not included): patches-rev2106-v3.7z
00-L-Smash(including qtaac in x86 build);
01-Re-enable –tune “touhou” in fullhelp;
02-Film Grain Optimization;
03-Fade Compensation;
04-Remove stats before renaming;
05-Set level of writing options in SEI;(new!!)
06-Demuxer Thread;
07-Auto VBV Settings;
08-Avi output;
09-Filter: hqdn3d/pad/vflip/yadif;
10-Logger;
11-Encode Time;
12-Force level;
13-Cosmetic;
14-BugMaster’s new aq-mode 3;
15-Detect color range in lavf/ffms demuxer;
16-Fix bit depth conversion and dithering;
17-Print video info lavf ffms;
18-Enable lto Ofast;
19-AviSynth 16bit hack;
20-Skip bit depth filter;
21-1-MixAQ-core(only in tMod+MixAQ version, remove AQDebug)
21-2-OreAQ-core(only in tMod+OreAQ version, remove AQDebug)

Compiler:
mingw-gcc 4.6.1

Libpack info:
libav r30764 git-594b54b
ffms svn-r582
lame 3.99
libvorbis-aotuv_b6.03 (libvorbis-1.3.2)
opencore-amr-0.1.2 r178 git-08d6986
vo-aacenc-0.1.1 r59 git-075d122
vo-amrwbenc-0.1.1 r38 git-b7fcee9
aacplus 2.0.2
faac 1.28
qtsdk 7.3

MixAQ’s diff(AQDebug removed, also included in the patch package above):
MixAQ-core-Taro.diff
OreAQ’s diff(AQDebug removed, also included in the patch package above):
OreAQ-core-Taro.diff

Categories: encode, x264, x264-bin