The invention discloses a video playing method and a related device, and the method comprises the steps: a
client obtains a video playing address corresponding to the resolution of a to-be-played video from a
server, and the coding information of the resolution, creates a decoder based on the coding information, activates a rendering environment, creates a data reading thread, and transmits the data reading thread to a
server; the to-be-played video is read from the
server by using the video playing address, the to-be-played video is decoded by using the created decoder to obtain a target playing video, and the target playing video is played in the activated rendering environment. According to the invention, the coding information of different resolutions is stored in the server, the
client can obtain the coding information of the video playing address and the resolution from the server at the same time, and in the process of reading the video to be played by using the video playing address, the decoder can be created and the rendering environment can be activated by using the coding information at the same time; the
waiting time consumption caused by the fact that the decoder can be established and the rendering environment can be activated only after waiting to open the video
stream and analyze the video
stream is effectively avoided, and the playing starting speed of the video is improved.