Method and device for playing video
AssigneesLe Holdings (Beijing) Co., Ltd., Le Shi Zhi Xin Electronic Technology (Tianjin) Limited
InventorJijian ZHENG
Life of this patent
Estimating the term…
Loading patent…
AssigneesLe Holdings (Beijing) Co., Ltd., Le Shi Zhi Xin Electronic Technology (Tianjin) Limited
InventorJijian ZHENG
Estimating the term…
An embodiment of the present disclosure discloses a method for playing a video. The method comprises: parsing a file to be played to obtain one video stream and at least two audio streams by a player and saving the video and audio streams into a buffer; selecting a certain audio stream as a first audio stream, and obtaining the stream and the first audio stream from the buffer for decoding and playing; receiving an audio switching instruction, and determining one other channel of audio as a second audio stream according to the audio switching instruction; stopping decoding the first audio stream, and obtaining the video stream and the second audio stream from the buffer for decoding and playing. By using the method for playing a video, reparsing and readdressing are avoided; therefore, the time of addressing is saved, and the efficiency of switching is improved.
A method for playing a video, comprising:
An electronic device, comprising:
A non-transitory computer-readable medium, storing executable instructions that, when executed by an electronic device, cause the electronic device to:
Dependencies are inferred from the claim text.