The invention provides a real-time video code rate self-adaptation method based on mobile edge calculation. The method comprises the following steps: S1, acquiring parameters such as video playing, network connection and equipment performance of a user in real time; S2, selecting a task scheduling strategy with the optimal performance for the user according to the parameters in S1; S3, automatically switching working modes according to the selected task scheduling strategy; S4, calculating the QoE of the current scheduling strategy according to the parameters such as video playing condition inthe next iteration period, the equipment energy consumption and the like, and feeding back the QoE to the edge server; S5, by the edge server, updating a scheduling strategy state transition matrix according to the feedback QoE; and S6, repeating the above steps, and continuously performing iterating and updating, so that the performance of the final edge scheduling strategy tends to be optimal.According to the invention, on the basis of relatively low cost, relatively high energy consumption can be reduced for mobile multimedia equipment, and continuous growth and optimization of a complexvideo code rate adaptive algorithm learning system are helped.