Hello, in libx264.c line 147 ffmpeg sets b_stat_write to write stats when CODEC_FLAG_PASS1 is given, but nowhere psz_stat_out is used. So x264's 2-pass info is neither read on first pass nor set for second pass. Was this ever tried and abandoned for some problems? If it just needs to be done i would try it... -- Greetings, Thorsten