Live video processing method and device, terminal and storage medium
A technology of live video and processing method, applied in the field of live broadcast, can solve problems such as difficulty in providing users, slow switching process, and freezing.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flow chart of a live video processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where live video streams are processed during live video playback window switching. This method can be implemented by a live video processing device To execute, the device can be composed of hardware and / or software, and is generally integrated in the terminal, specifically including the following steps:
[0030] S110. In response to the live video play instruction, start an operation of creating a video play view corresponding to the first window, and render the live video stream on the off-screen surface in real time.
[0031] Wherein, the live video playback instruction is an instruction to instruct the live video processing device to play the video, and the instruction may be generated in response to the user's trigger operation on the live room icon displayed on the terminal or the live video information, or...
Embodiment 2
[0046] figure 2 It is a flow chart of a live video processing method provided by Embodiment 2 of the present invention. This embodiment further optimizes the optional implementation modes of the above embodiments, and specifically limits the real-time rendering of live video streams to off-screen superficial process. Specifically include the following steps:
[0047] S210. In response to a live video play instruction, start an operation of creating a video play view corresponding to the first window, pull a live video stream, create an off-screen surface, and initialize a target decoder.
[0048] The live video playback instruction includes the video information to be broadcasted, for example, the anchor's room number, the anchor's name, and the like. The live video processing device responds to the live video play instruction, pulls the corresponding live video stream according to the video information in the live video play instruction, and creates an off-screen surface. ...
Embodiment 3
[0062] image 3 It is a flow chart of a live video processing method provided in Embodiment 3 of the present invention, which is further optimized on the basis of the optional implementation modes of the foregoing embodiments, and specifically adds a step of switching target decoders. Such as image 3 As shown, it specifically includes the following steps:
[0063] S310. In response to the live video play instruction, start an operation of creating a video play view corresponding to the first window, pull a live video stream, create an off-screen surface, and initialize a target decoder.
[0064] S320. Decode the video stream by using the target decoder.
[0065] S330. Render the decoded video onto an off-screen surface in real time.
[0066] S340. Create a video playback view corresponding to the second window in response to the request information for switching the live video playback window from the first window to the second window.
[0067] S350. Destroy the video pla...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com