Home > avs4x26x, encode, x264 > avs4x264mod ( support non 8-bit avs input & customized x264_64 path )

avs4x264mod ( support non 8-bit avs input & customized x264_64 path )

29th September 2011, Thursday Leave a comment Go to comments

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) :

MediaFire: avs4x264mod.7z
Mirror: avs4x264mod.7z

Modifications:
— 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

Categories: avs4x26x, encode, x264
  1. No comments yet.
  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: