compat pixfmt and funcs. support libav>=0.8(tested 0.8.8) & ffmpeg>= 0.9