alignment with libav