CN114286115A - Control method and system for picture display of multi-channel video - Google Patents

Control method and system for picture display of multi-channel video Download PDF

Info

Publication number
CN114286115A
CN114286115A CN202111399524.9A CN202111399524A CN114286115A CN 114286115 A CN114286115 A CN 114286115A CN 202111399524 A CN202111399524 A CN 202111399524A CN 114286115 A CN114286115 A CN 114286115A
Authority
CN
China
Prior art keywords
display
area
interface
determining
display interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111399524.9A
Other languages
Chinese (zh)
Other versions
CN114286115B (en
Inventor
程景
尹洪福
张�林
孟环宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xingxi Technology Co ltd
Original Assignee
Hangzhou Xingxi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Xingxi Technology Co ltd filed Critical Hangzhou Xingxi Technology Co ltd
Priority to CN202111399524.9A priority Critical patent/CN114286115B/en
Publication of CN114286115A publication Critical patent/CN114286115A/en
Application granted granted Critical
Publication of CN114286115B publication Critical patent/CN114286115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a control method and a system for picture display of multi-channel videos, wherein the control method for picture display of the multi-channel videos comprises the following steps: for each display area, determining position coordinates of the display area on the display interface, and associating the position coordinates with a path of video source to generate a first association item; calling an open graphic library, traversing all the first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item; the open graphic library transmits the second associated item to the Surface corresponding to the display interface so as to display the picture texture in the corresponding display area of the display interface, thereby reducing the number of created surfaces.

Description

Control method and system for picture display of multi-channel video
Technical Field
The application relates to the technical field of live broadcast equipment, in particular to a control method and a system for picture display of multi-channel videos.
Background
In a live broadcast device supporting multi-channel picture input, such as a mobile phone and a live broadcast machine, a broadcast director function is usually available, and the broadcast director function can preview each channel of picture in real time and can switch the live broadcast picture. However, in the related art, the consumption ratio of the director function to the memory resource is large, which brings a large amount of performance occupation and power consumption to the system.
Aiming at the problem that the function of the director station brings a large amount of performance occupation and electric quantity loss to the system when displaying multi-channel videos in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the application provides a method and a system for controlling picture display of multi-channel videos, so as to at least solve the problems that the function of a director station in the related art brings a large amount of performance occupation and electric quantity loss to the system.
In a first aspect, an embodiment of the present application provides a method for controlling picture display of multiple channels of videos, where the method is applied to a display interface, where the display interface includes multiple display areas, and the method includes:
for each display area, determining position coordinates of the display area on the display interface, and associating the position coordinates with a path of video source to generate a first association item;
calling an open graphic library, traversing all first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item;
and the open graphic library transmits the second associated item to the Surface corresponding to the display interface so as to display the picture texture in a corresponding display area of the display interface.
In some of these embodiments, the location coordinates include:
the horizontal axis coordinate and the vertical axis coordinate of the central point of the display area, and the height and the width of the display area; alternatively, the abscissa and ordinate axes of the four vertices of the display area.
In some embodiments, the determining the position coordinates of the display area on the display interface comprises:
determining the number of display areas according to the number of paths of video sources accessed to a system where the display interface is located;
determining a numerical value interval in which the number is positioned, and determining the interface layout of the display areas according to the numerical value interval and the relation between a preset numerical value interval and the interface layout;
and determining the position coordinates of each display area on the display interface according to the interface layout.
In some embodiments, the display interface includes a preview area and a director area, and after obtaining the second associated item, the method includes:
under the condition that the preview area and the director area are respectively provided with surfaces, the open graphic library transmits the second associated item to the Surface corresponding to the director area;
and under the condition that the preview area and the director area share the Surface, the open graphic library transmits the second associated item to the Surface.
In some embodiments, in the case that the number of the display areas of the display interface exceeds a set value, all the display areas are displayed in a page turning or sliding manner.
In a second aspect, an embodiment of the present application provides a control system for picture display of multiple channels of videos, where the control system is applied to a display interface, where the display interface includes multiple display areas, and the system includes:
the determining module is used for determining the position coordinates of the display areas on the display interface for each display area and associating the position coordinates with a path of video source to generate a first association item;
the adding module is used for calling an open graphic library, traversing all the first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item;
and the transmission module is used for transmitting the second associated item to the Surface corresponding to the display interface by the open graphic library so as to display the picture texture in a corresponding display area of the display interface.
In some embodiments, the determining the position coordinates of the display area on the display interface comprises:
determining the number of display areas according to the number of paths of video sources accessed to a system where the display interface is located;
determining a numerical value interval in which the number is positioned, and determining the interface layout of the display areas according to the numerical value interval and the relation between a preset numerical value interval and the interface layout;
and determining the position coordinates of each display area on the display interface according to the interface layout.
In some embodiments, the display interface includes a preview area and a director area, and the delivery module includes:
under the condition that the preview area and the director area are respectively provided with surfaces, the open graphic library transmits the second associated item to the Surface corresponding to the director area;
and under the condition that the preview area and the director area share the Surface, the open graphic library transmits the second associated item to the Surface.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform a control method for screen display of multiple videos.
In a fourth aspect, the present application provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute a control method of screen display of the multiple videos when running.
Compared with the related art, the control method for picture display of multiple paths of videos, provided by the embodiment of the application, determines the position coordinates of the display area on the display interface for each display area, and associates the position coordinates with one path of video sources to generate a first associated item; calling an open graphic library, traversing all the first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item; the open graphic library transmits the second associated item to the Surface corresponding to the display interface so as to display the picture texture in the corresponding display area of the display interface, thereby reducing the number of created surfaces, solving the problems of large performance occupation and electric quantity loss brought to the system by the function of the director in the related technology, and greatly saving the memory resource of the equipment and the electric quantity of the equipment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is an application environment diagram of a control method for picture display of multi-channel video according to an embodiment of the present application;
fig. 2 is a flowchart of a control method of screen display of multi-channel video according to a first embodiment of the present application;
FIG. 3 is a flow chart for determining location coordinates of a display area on a display interface according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of an interface layout according to a second embodiment of the present application as a four-grid layout;
FIG. 5 is a schematic diagram of an interface layout according to a second embodiment of the present application as a six-grid layout;
fig. 6 is a flowchart of a control method of screen display of multi-channel video according to a third embodiment of the present application;
fig. 7 is a block diagram showing a configuration of a control system for screen display of multi-channel video according to a fourth embodiment of the present application;
fig. 8 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The application provides a control method for picture display of multi-channel video, can be applied to the application environment as shown in fig. 1, fig. 1 is an application environment schematic diagram of the control method for picture display of multi-channel video according to the embodiment of the application, as shown in fig. 1, video source equipment 101 can be one or more of video acquisition equipment such as a mobile phone, an unmanned aerial vehicle and a professional camera, live broadcast equipment 102 can be a mobile phone, a live broadcast machine and the like, the live broadcast equipment 102 is accessed into multi-channel video sources and integrates multi-machine-position video signals to a display interface, and a director can switch the playing pictures in real time according to the field requirements, thereby realizing the seamless layout of video playing streams.
Aiming at the problem that the function of the director station in the related technology brings a large amount of performance occupation and electric quantity loss to the system, the invention analyzes the reasons causing the problem: in the related art, the director function in the android mobile device is usually implemented by using a list image component, that is, each path picture is taken as a unit of a list, and in each unit, the rendering process of a video picture is implemented by using the Surface of the android, so that how many surfaces are created for how many pictures; the consumption of memory resources in the system of the Surface is larger, and more performance occupation and power consumption can be brought to the system when one Surface is created.
Therefore, the present embodiment provides a control method for picture display of multiple videos, which is applied to a display interface, where the display interface includes multiple display areas, and fig. 2 is a flowchart of the control method for picture display of multiple videos according to the first embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, for each display area, determining a position coordinate (namely Rect information) of the display area on a display interface, and associating the Rect information with a path of video source to generate a first associated item, wherein the first associated item comprises the Rect information and the video source information;
step S202, calling an Open Graphics Library (OpenGL), wherein the OpenGL traverses all first associated items, and adds a picture Texture (Texture) to each first associated item to obtain a second associated item, where the second associated item includes Rect information, video source information, a Texture ID, and Texture data;
in step S203, OpenGL transmits the second associated item to the Surface corresponding to the display interface, so as to display the picture texture in the corresponding display area of the display interface, so as to implement multi-channel preview and picture switching of the director, where the transmission operation may be implemented by unbinding the buffer object.
Through steps S201 to S203, compared to the problem that the director function in the related art brings a large amount of performance occupation and power consumption to the system, in this embodiment, by means of OpenGL, the OpenGL can map the picture texture of each video source to the position of each display area through Rect information, and since each display area only fixes views such as a region frame, a video source title, and the like, and is not responsible for rendering of video pictures, it is not necessary to create a Surface for each display area separately, and through a Surface corresponding to an outer display interface, it is possible to perform picture rendering of each display area, so that under the condition of using only one Surface, the functions of multi-path preview and picture switching of the director are realized, the number of created surfaces is reduced, and the problem that the director function in the related art brings a large amount of performance occupation and power consumption to the system is solved, the memory resource and the electric quantity of the equipment are greatly saved. Meanwhile, all the display areas share the Surface corresponding to the display interface, so that the smoothness of system operation is improved.
In addition, in other related technologies, the moving picture is played in a manner of refreshing pictures on the Graphic layer, and in this embodiment, the moving picture is played through the Surface, so that the frame rate for refreshing the picture is higher, and a user can obtain better visual experience.
Further, in some of these embodiments, the process of visually arriving that each video source happens to have its corresponding ui control graphical interface is as follows:
determining a Rect data list of all display areas according to Rect information of the display area of each video source on the surface; creating a container component (container) with the same size and position as the surface, and displaying the container component (container) above the surface;
creating a corresponding user interaction view control for each video source, wherein the user interaction view control may specifically include: 1. 2, setting a configuration button at the upper right corner of a video source display area, and 3, displaying an editing and deleting button when a user presses a video source area for a long time;
arranging the user interactive view control of each video source to the corresponding position in the container according to the Rect information of the display area of each video source on the surface in the Rect data list;
the arrangement of the user interactive view controls of each video source and the display of the picture textures of the video source are all according to the Rect information of the display area of the video source, wherein the user interactive view controls are arranged in a container, the picture textures are displayed on a surface, the container and the surface are the same in size and position, and the container is displayed above the surface, so that each user interactive view control can be accurately arranged at the position above the display picture of the corresponding video source, and visually, each user interactive view control is just overlapped with the display picture of the corresponding video source.
It should be noted that the Rect information is any content that can accurately represent the position of the display area, for example, in some embodiments, the Rect information includes the horizontal axis coordinate and the vertical axis coordinate of the center point of the display area, and the height and the width of the display area; in other embodiments, the Rect information includes the abscissa and ordinate axes of the four vertices of the display area.
In some embodiments, fig. 3 is a flowchart for determining the position coordinates of the display area on the display interface according to the second embodiment of the present application, and as shown in fig. 3, the flowchart includes the following steps:
step S301, determining the number of display areas according to the number of paths of video sources accessed by a system where the display interface is located, for example, if the system is accessed to 2 paths of video sources, the number of the display areas is set to 2, and if the system is accessed to 4 paths of video sources, the number of the display areas is set to 4;
step S302, determining the number intervals in which the number is located, and determining the interface layout of the plurality of display areas according to the number intervals and the preset relationship between the number intervals and the interface layout, where the relationship between the number intervals and the interface layout may be arbitrarily set according to the requirement, for example, fig. 4 is a schematic diagram of a four-grid layout of the interface layout according to the second embodiment of the present application, and fig. 5 is a schematic diagram of a six-grid layout of the interface layout according to the second embodiment of the present application, and as shown in fig. 4 and fig. 5, the relationship between the number intervals and the interface layout may be preset as follows: under the condition that the numerical interval is [1,4], the interface layout is the four-grid layout, and under the condition that the numerical interval is [5,6], the interface layout is the six-grid layout;
step S303, determining the position coordinates of each display area on the display interface according to the interface layout.
Through steps S301 to S303, in this embodiment, the number of the display areas is determined according to the number of paths of the video source accessed to the system where the display interface is located, then the value interval where the number is located is determined, the interface layout of the plurality of display areas is determined according to the value interval and the relationship between the preset value interval and the interface layout, and finally the position coordinates of each display area on the display interface are determined according to the interface layout, so that not only can the Rect information of each display area be obtained, but also the dynamic layout of the interface is realized, and thus the video source of the current number of paths can obtain the display effect that is more adaptive to the number of paths.
Optionally, considering that the number of the display areas of the display interface is sometimes large, when the number of the display areas of the display interface exceeds a preset value, all the display areas may be displayed in a page-turning or sliding manner, for example, the preset value may be set to 6; therefore, the size of the display area is ensured, and the centralized display of a large number of video sources on the display interface is realized.
It should be noted that, in general, as shown in fig. 4, the display interface includes a preview area and a director area, and if compatibility problems may occur in the common Surface in consideration of different functions of the preview area and the director area, in some embodiments, after the compatibility problems that may occur in the common Surface of the preview area and the director area are eliminated, the preview area and the director area may share the common Surface, so as to save memory resources of the device and power of the device to the greatest extent.
Of course, in some other embodiments, instead of eliminating the compatibility problem that the preview area and the director area share a Surface, one Surface may be respectively set for the preview area and the director area, so that the multi-channel preview and screen switching function of the director station is completed in the case of using two surfaces, fig. 6 is a flowchart of a control method for screen display of a multi-channel video according to a third embodiment of the present application, as shown in fig. 6, in the case of respectively setting one Surface for the preview area and the director area, after obtaining a second associated item, the flowchart includes the following steps:
in step S601, OpenGL transmits the second associated item to the Surface corresponding to the director area, so as to display the frame texture in the corresponding display area of the display interface.
Because the number of the surfaces is reduced, the memory resource and the electric quantity of the equipment can be saved to a certain extent.
An embodiment of the present application further provides a control system for picture display of multiple videos, fig. 7 is a block diagram of a control system for picture display of multiple videos according to a fourth embodiment of the present application, and as shown in fig. 7, the system includes a determining module 701, an adding module 702, and a transferring module 703, where:
the determining module 701 is configured to determine, for each display area, a position coordinate of the display area on the display interface, and associate the position coordinate with a path of video source to generate a first association item;
the adding module 702 is configured to invoke an open graphics library, where the open graphics library traverses all the first associated items and adds a picture texture to each first associated item to obtain a second associated item;
the transmitting module 703 is configured to transmit the second associated item to the Surface corresponding to the display interface by the open graphics library, so as to display the picture texture in the corresponding display area of the display interface.
In some of these embodiments, the location coordinates include: the horizontal axis coordinate and the vertical axis coordinate of the center point of the display area, and the height and the width of the display area; alternatively, the position coordinates include: the abscissa and ordinate axes of the four vertices of the display area.
In some embodiments, in the determining module 701, the process of determining the position coordinates of the display area on the display interface includes: determining the number of display areas according to the number of paths of video sources accessed to a system where a display interface is located; determining the numerical value intervals in which the number is positioned, and determining the interface layout of the plurality of display areas according to the numerical value intervals and the relation between the preset numerical value intervals and the interface layout; and determining the position coordinates of each display area on the display interface according to the interface layout.
In some embodiments, the display interface includes a preview area and a director area, and after obtaining the second associated item, in the transfer module 703: under the condition that the preview area and the director area are respectively provided with the surfaces, the open graphic library transmits a second associated item to the Surface corresponding to the director area; and under the condition that the preview area and the director area share the Surface, the open graphic library transmits a second associated item to the Surface.
In some embodiments, in the case that the number of the display areas of the display interface is large, all the display areas may be displayed in a page-turning or sliding manner.
In addition, in combination with the control method for picture display of multiple videos in the above embodiments, the embodiments of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements the method for controlling the screen display of the multi-channel video in any of the above embodiments.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling picture display of multi-channel video. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment, fig. 8 is a schematic internal structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 8, there is provided an electronic device, which may be a live broadcast machine, and its internal structural diagram may be as shown in fig. 8. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing an environment for an operating system and the running of a computer program, the computer program is executed by the processor to realize a control method for the picture display of the multi-channel video, and the database is used for storing data.
Those skilled in the art will appreciate that the structure shown in fig. 8 is a block diagram of only a portion of the structure relevant to the present disclosure, and does not constitute a limitation on the electronic device to which the present disclosure may be applied, and that a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A control method for picture display of multi-channel videos is applied to a display interface, and is characterized in that the display interface comprises a plurality of display areas, and the method comprises the following steps:
for each display area, determining position coordinates of the display area on the display interface, and associating the position coordinates with a path of video source to generate a first association item;
calling an open graphic library, traversing all first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item;
and the open graphic library transmits the second associated item to the Surface corresponding to the display interface so as to display the picture texture in a corresponding display area of the display interface.
2. The method of claim 1, wherein determining the location coordinates of the display area on the display interface comprises:
determining the number of display areas according to the number of paths of video sources accessed to a system where the display interface is located;
determining a numerical value interval in which the number is positioned, and determining the interface layout of the display areas according to the numerical value interval and the relation between a preset numerical value interval and the interface layout;
and determining the position coordinates of each display area on the display interface according to the interface layout.
3. The method of claim 1, wherein the display interface comprises a preview area and a director area, and wherein after obtaining the second associated item, the method comprises:
under the condition that the preview area and the director area are respectively provided with surfaces, the open graphic library transmits the second associated item to the Surface corresponding to the director area;
and under the condition that the preview area and the director area share the Surface, the open graphic library transmits the second associated item to the Surface.
4. The method of claim 1, wherein the location coordinates comprise:
the horizontal axis coordinate and the vertical axis coordinate of the central point of the display area, and the height and the width of the display area; alternatively, the abscissa and ordinate axes of the four vertices of the display area.
5. The method according to any one of claims 1 to 4, wherein all display areas are displayed in a page-turning or sliding manner when the number of display areas of the display interface exceeds a set value.
6. A control system for picture display of multi-channel videos is applied to a display interface, and is characterized in that the display interface comprises a plurality of display areas, and the system comprises:
the determining module is used for determining the position coordinates of the display areas on the display interface for each display area and associating the position coordinates with a path of video source to generate a first association item;
the adding module is used for calling an open graphic library, traversing all the first associated items by the open graphic library, and adding picture textures to each first associated item to obtain a second associated item;
and the transmission module is used for transmitting the second associated item to the Surface corresponding to the display interface by the open graphic library so as to display the picture texture in a corresponding display area of the display interface.
7. The system of claim 6, wherein the process of determining the location coordinates of the display area on the display interface comprises:
determining the number of display areas according to the number of paths of video sources accessed to a system where the display interface is located;
determining a numerical value interval in which the number is positioned, and determining the interface layout of the display areas according to the numerical value interval and the relation between a preset numerical value interval and the interface layout;
and determining the position coordinates of each display area on the display interface according to the interface layout.
8. The system of claim 6, wherein the display interface comprises a preview area and a director area, and wherein the delivery module comprises:
under the condition that the preview area and the director area are respectively provided with surfaces, the open graphic library transmits the second associated item to the Surface corresponding to the director area;
and under the condition that the preview area and the director area share the Surface, the open graphic library transmits the second associated item to the Surface.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for controlling screen display of multi-channel video according to any one of claims 1 to 5.
10. A storage medium having stored thereon a computer program, wherein the computer program is configured to execute the method of controlling screen display of multi-channel video according to any one of claims 1 to 5 when executed.
CN202111399524.9A 2021-11-24 2021-11-24 Control method and system for picture display of multi-channel video Active CN114286115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111399524.9A CN114286115B (en) 2021-11-24 2021-11-24 Control method and system for picture display of multi-channel video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111399524.9A CN114286115B (en) 2021-11-24 2021-11-24 Control method and system for picture display of multi-channel video

Publications (2)

Publication Number Publication Date
CN114286115A true CN114286115A (en) 2022-04-05
CN114286115B CN114286115B (en) 2024-04-16

Family

ID=80869885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111399524.9A Active CN114286115B (en) 2021-11-24 2021-11-24 Control method and system for picture display of multi-channel video

Country Status (1)

Country Link
CN (1) CN114286115B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030117528A1 (en) * 2001-12-13 2003-06-26 Lin Liang Interactive water effects using texture coordinate shifting
KR20140010708A (en) * 2012-07-16 2014-01-27 한국과학기술연구원 Apparatus and method for generating texture for three dimensional mesh model of target object
AU2017100534A4 (en) * 2016-06-12 2017-06-15 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN109068166A (en) * 2018-08-17 2018-12-21 北京达佳互联信息技术有限公司 A kind of image synthesizing method, device, equipment and storage medium
CN111258519A (en) * 2018-11-30 2020-06-09 北京字节跳动网络技术有限公司 Screen split implementation method, device, terminal and medium
CN111835972A (en) * 2020-07-21 2020-10-27 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN112019820A (en) * 2020-10-19 2020-12-01 武汉中科通达高新技术股份有限公司 Interface generation method and device
CN112235626A (en) * 2020-10-15 2021-01-15 Oppo广东移动通信有限公司 Video rendering method and device, electronic equipment and storage medium
CN112767523A (en) * 2021-01-20 2021-05-07 四川湖山电器股份有限公司 Image rendering and roaming method
CN112950757A (en) * 2021-03-30 2021-06-11 上海哔哩哔哩科技有限公司 Image rendering method and device
CN113132799A (en) * 2021-03-30 2021-07-16 腾讯科技(深圳)有限公司 Video playing processing method and device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030117528A1 (en) * 2001-12-13 2003-06-26 Lin Liang Interactive water effects using texture coordinate shifting
KR20140010708A (en) * 2012-07-16 2014-01-27 한국과학기술연구원 Apparatus and method for generating texture for three dimensional mesh model of target object
AU2017100534A4 (en) * 2016-06-12 2017-06-15 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN109068166A (en) * 2018-08-17 2018-12-21 北京达佳互联信息技术有限公司 A kind of image synthesizing method, device, equipment and storage medium
CN111258519A (en) * 2018-11-30 2020-06-09 北京字节跳动网络技术有限公司 Screen split implementation method, device, terminal and medium
CN111835972A (en) * 2020-07-21 2020-10-27 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN112235626A (en) * 2020-10-15 2021-01-15 Oppo广东移动通信有限公司 Video rendering method and device, electronic equipment and storage medium
CN112019820A (en) * 2020-10-19 2020-12-01 武汉中科通达高新技术股份有限公司 Interface generation method and device
CN112767523A (en) * 2021-01-20 2021-05-07 四川湖山电器股份有限公司 Image rendering and roaming method
CN112950757A (en) * 2021-03-30 2021-06-11 上海哔哩哔哩科技有限公司 Image rendering method and device
CN113132799A (en) * 2021-03-30 2021-07-16 腾讯科技(深圳)有限公司 Video playing processing method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张志芳;刘玉明;张璐;: "多通道AVI视频播放***的设计与实现", ***仿真学报, no. 1, 23 September 2008 (2008-09-23) *

Also Published As

Publication number Publication date
CN114286115B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN110111279B (en) Image processing method and device and terminal equipment
CN108108140B (en) Multi-screen cooperative display method, storage device and equipment supporting 3D display
WO2019218384A1 (en) Display processing method and device, storage medium and electronic terminal
CN109460233A (en) Primary interface display update method, device, terminal device and the medium of the page
CN112181342B (en) Display method, display device, electronic equipment and storage medium
US9665247B2 (en) Method and device for applying a new skin to a display environment
CN110286899B (en) Editing method and device for application display interface and storage medium
US11812188B2 (en) Method and device for displaying a screen shot
US20230297222A1 (en) Page display switching method, apparatus, storage medium, and electronic device
CN111258519B (en) Screen split implementation method, device, terminal and medium
CN104281426A (en) Image display method and device
CN112153459A (en) Method and device for screen projection display
CN114286115A (en) Control method and system for picture display of multi-channel video
CN110264543B (en) Frame drawing method and device of spliced picture and storage medium
CN112995401A (en) Control display method, device, equipment and medium
US20220078524A1 (en) Method, system, and non-transitory computer-readable recording medium for providing content comprising augmented reality object by using plurality of devices
CN112068758B (en) Picture display method and related device
CN116996727A (en) Processing method, processing device, terminal equipment and medium
KR102164315B1 (en) Method for controlling display of panorama content and content providing server
US20240177371A1 (en) Display method and apparatus for virtual desktop
CN108965975A (en) A kind of method for drafting and device
CN106559663B (en) Image display device and method
CN106331834A (en) Multimedia data processing method and equipment
CN114710643A (en) Video rendering method, device and equipment in video conference and readable storage medium
CN116382548A (en) Picture processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant