Live video display method and device, terminal and storage medium

A technology of live video and display method, applied in the field of live broadcast, can solve the problems of long time consumption, poor user experience, delayed decoding and rendering of the first frame of image, etc. longer effect

Active Publication Date: 2019-11-01
GUANGZHOU HUYA INFORMATION TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the creation process of SurfaceView takes a long time, which leads to a long time-consuming creation process of the main interface.
In turn, it takes too long to initialize the hardware decoder, which will delay the decoding and rendering of the first frame of image; in the user's view, the image does not appear after entering the live broadcast room, resulting in poor user experience

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 display method and device, terminal and storage medium
  • Live video display method and device, terminal and storage medium
  • Live video display method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 2 It is a flow chart of the live video display method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the live video is displayed on the main interface of the live room in the Android system. This method can be implemented by the display device of the live video Execution, the device can be composed of hardware and / or software, and generally can be integrated in the terminal, specifically including the following steps:

[0030] S110. Start an operation of creating a main interface, where the main interface is used to play live video streams.

[0031] After the live broadcast application is started, the interactive interface will display thumbnails of multiple live broadcast rooms, anchor avatars or input boxes for live broadcast room numbers. Users can click the thumbnail of the desired live broadcast room, the head portrait of the host, or enter the live broadcast room number in the input box to enter the...

Embodiment 2

[0046] This embodiment further optimizes the foregoing embodiments, image 3 It is a flow chart of the live video display method provided by Embodiment 2 of the present invention, such as image 3 As shown, the method for displaying live video provided in this embodiment includes the following steps:

[0047] S210. Start an operation of creating a main interface, where the main interface is used to play live video streams. Continue to execute S260.

[0048] S220. Acquire video parameters set by the user or preconfigured; or, acquire video parameters from live video streams; the video parameters include encoding format and resolution. Continue to execute S230.

[0049] Optionally, the encoding format and resolution can be obtained through the following two implementation methods:

[0050] The first implementation mode: obtain the video source information set by the user or pre-configured, the video source information includes the video stream line and picture quality; accor...

Embodiment 3

[0080] Figure 4 It is a module structure diagram of a live video display device provided in Embodiment 3 of the present invention. Such as Figure 4 As shown, the device includes: a startup module 31 , an initialization module 32 , a decoding and rendering module 33 and a display module 34 .

[0081] The starting module 31 is used to start the operation of creating the main interface, and the main interface is used to play the live video stream.

[0082] The initialization module 32 is configured to reference the off-screen surface to initialize the hardware decoder.

[0083] The decoding and rendering module 33 is configured to use a hardware decoder to decode the live video stream after receiving the live video stream, and render the live video stream on an off-screen surface.

[0084] The display module 34 is configured to display the rendered video on the off-screen surface on the main interface.

[0085] In the embodiment of the present invention, by starting the ope...

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 display method and device, a terminal and a storage medium. The method comprises: starting an operation of creating a main interface, and the main interface being used for playing a live video stream; quoting an off-screen surface initialization hardware decoder; after receiving a live video stream, decoding the live video stream by using thehardware decoder, and rendering the live video stream to the off-screen surface; and displaying the video rendered on the off-screen surface on the main interface. According to the embodiment of the invention, the display time of the video can be advanced, and the effect of quickly displaying the video is achieved.

Description

technical field [0001] Embodiments of the present invention relate to live broadcast technology, and in particular, to a method, device, terminal and storage medium for displaying live video. Background technique [0002] Hard decoding means that it does not depend on the CPU, and completes video decoding independently through a dedicated device (subcard), and can decode videos of various encoding formats and resolutions. [0003] At present, in the field of live broadcast technology, such as figure 1 As shown, the video hard decoding adopts the method of directly uploading the screen, that is: after the user enters the live broadcast room, first create the main interface, and after the main interface is created, refer to the main interface to initialize the hardware decoder; then, through the hardware decoder Decode the live video stream, and render the decoded content to the main interface. [0004] Currently, the creation of the main interface depends on the creation of...

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/44
CPCH04N21/431H04N21/44012H04N21/44
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