Text this: Research on adaptive rate control algorithm for H.264 based on R-Q model