Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system

A playback method and picture-in-picture technology, applied in electrical components, image communication, selective content distribution, etc., can solve problems such as stuttering, and achieve the effect of ensuring smooth playback

Active Publication Date: 2020-05-05
青橙数科集团股份有限公司
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional picture-in-picture playback, when the picture-in-picture player is turned on and off, there is a certain lag effect on the video playback of the live room and the picture-in-picture player;

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 broadcast room picture-in-picture playing method, storage medium, electronic equipment and system
  • Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system
  • Live broadcast room picture-in-picture playing method, storage medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] see figure 1 As shown, the embodiment of the present invention provides a method for playing picture-in-picture in a live broadcast, including the following steps:

[0075] S1. Create a MediaPlayer manager, which is used to control the MediaPlayer;

[0076] S2. Obtain the address of the live video data stream, create a MediaPlayer to load the live video data stream for analysis, and initialize the Activity component;

[0077] S3, create the first Surface window based on the Activity component, and the first Surface window is used to display the live video data analyzed by the MediaPlayer;

[0078] S4, when opening the picture-in-picture playback work, close the first Surface window, and utilize WindowManager to create the second Surface window, the second Surface window is used to display the live video data analyzed by MediaPlayer in the form of picture-in-picture;

[0079] S5, when stopping the picture-in-picture playback operation, close the second Surface window, ...

Embodiment 2

[0111] Such as figure 2 As shown, the second embodiment of the present invention also provides a method for playing picture-in-picture in a live broadcast, which includes the following steps:

[0112] S1. Create a MediaPlayer manager, which is used to control the MediaPlayer;

[0113] S2. Obtain the address of the live video data stream, create a MediaPlayer to load the live video data stream for analysis, and initialize the Activity component;

[0114] S3, create the first Surface window based on the Activity component, and the first Surface window is used to display the live video data analyzed by the MediaPlayer;

[0115] S4, when opening the picture-in-picture playback work, close the first Surface window, and utilize WindowManager to create the second Surface window, the second Surface window is used to display the live video data analyzed by MediaPlayer in the form of picture-in-picture;

[0116] S5, when stopping the picture-in-picture playback operation, close the s...

Embodiment 3

[0124] Such as image 3 As shown, the third embodiment of the present invention also provides another method for playing picture-in-picture in a live broadcast, which includes the following steps:

[0125] Q1. Create a first unit, which is used to control the first player;

[0126] Q2. Obtain the first video data, create the first player for background analysis;

[0127] Q3. Create a first display window based on the first component, and the first display window is used to display the first video data parsed by the first player;

[0128] Q4. When opening the picture-in-picture playback work, close the first display window, and use the second unit to create a second display window, and the second display window is used to display the first video data in the form of picture-in-picture;

[0129] Q5. When stopping the picture-in-picture playback operation, close the second display window, recreate the first display window based on the first component, and display the first video...

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 invention discloses a live broadcast room picture-in-picture playing method, a storage medium, electronic equipment and a system, and relates to the technical field of live broadcast room video playing, and the method comprises the following steps: creating a MediaPlayer manager; acquiring a live video data stream address, creating a MediaPlayer to load a live video data stream for analysis, and initializing an Activity component; creating a first Surface window; when picture-in-picture playing is started, closing the first Surface window, creating a second Surface window, and using the second Surface window for displaying live video data in a picture-in-picture mode; and when the picture-in-picture playing operation is stopped, closing the second Surface window, recreating the first Surface window, and displaying the live video data. According to the invention, the video playing and the video display of the live video are independent, when the live video playing needs picture-in-picture playing, the playing fluency during picture-in-picture playing can be ensured, and a guarantee is provided for the video watching of a user.

Description

technical field [0001] The present invention relates to the technical field of video playback in a live broadcast room, in particular to a picture-in-picture playback method, a storage medium, electronic equipment and a system in a live broadcast room. Background technique [0002] With the development of live broadcast, the content involved in live broadcast is more and more extensive, and more and more people watch the live broadcast. During the live broadcast, users often need to open another small window to play another video when watching the live broadcast room , such as the playback of other video images in the live room, the playback of other live room videos, or the playback of related videos on the webpage, it needs to open a small window to play simultaneously on the basis of not closing the main video in the live room. This playback method Become a picture-in-picture playback; [0003] In the traditional picture-in-picture playback, when the picture-in-picture p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/431H04N21/44
CPCH04N21/4316H04N21/44004Y02D10/00
Inventor 李星
Owner 青橙数科集团股份有限公司
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