avs4x264mod ( support non 8-bit avs input & customized x264_64 path )
Piping faked 16-bit avs output ( MSB and LSB field interleaved clip ) to x264_64.exe using original avs4x264 results in wrong resolution and video. So I modified it to behave in a correct way.
Download links ( source codes included) :
— When x264’s parameter “input-depth” is set and is not equal to 8, divide “width” by 2. This make faked 16-bit avs output, i.e., MSB and LSB field interleaved clip, be treated correctly by x264. If “input-depth” is not defined or equals to 8, avs4x264mod acts in the same way as original avs4x264.
— Print full command-line piped to x264_64.exe to screen, prefixed by “avs4x264 [info]:”.
— Make x264_64.exe path changeable. The path of x264 binary can be set by –x264-binary “x264_path”. If custome path is not set, default path “x264_64.exe” will be used. Example: avs4x264mod.exe –x264-binary “C:\x264_64-abc.exe” -o out.264 in.avs