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.

Active Publication Date: 2020-03-17
GUANGZHOU HUYA INFORMATION TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found in the process of window switching that the switching process is slow, and there are blurred s

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Live video processing method and device, terminal and storage medium
  • Live video processing method and device, terminal and storage medium
  • Live video processing method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a live video processing method and device, a terminal and a storage medium. The method comprises the following steps: in response to a live video playing instruction, starting an operation of creating a video playing view corresponding to a first window, and rendering a live video stream to an off-screen surface in real time; in response to request information of switching the live video playing window from the first window to the second window, creating a video playing view corresponding to the second window; destroying a video playing view corresponding to the first window; and after the video playing view corresponding to the second window is created, shunting and displaying the video on the off-screen surface in the video playing view corresponding to the second window. The video on the off-screen surface is directly shunted and displayed in the video playing view, so that the live video is quickly displayed after the video playing view iscreated, and the phenomena of screen blurring and jamming are avoided.

Description

technical field [0001] Embodiments of the present invention relate to live broadcast technology, and in particular to a live video processing method, device, terminal and storage medium. Background technique [0002] At present, many live video applications have a small window playback function. After the application exits the large window, the small window continues to play the subsequent video, or, after the application exits the small window, the large window continues to play the subsequent video. , so as to give users a coherent live broadcast experience. [0003] In the process of window switching, the inventor found that the switching process is slow, and blurred screens and freezes appear in the switched windows, making it difficult to provide users with a better live broadcast experience. Contents of the invention [0004] Embodiments of the present invention provide a live video processing method, device, terminal, and storage medium, so as to display the live v...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N21/431H04N21/2187
CPCH04N21/431H04N21/4312H04N21/2187
Inventor 李武军
Owner GUANGZHOU HUYA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products