CN113891144A - Video display method and device - Google Patents

Video display method and device Download PDF

Info

Publication number
CN113891144A
CN113891144A CN202111331252.9A CN202111331252A CN113891144A CN 113891144 A CN113891144 A CN 113891144A CN 202111331252 A CN202111331252 A CN 202111331252A CN 113891144 A CN113891144 A CN 113891144A
Authority
CN
China
Prior art keywords
split
video
screen
player
target
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.)
Pending
Application number
CN202111331252.9A
Other languages
Chinese (zh)
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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202111331252.9A priority Critical patent/CN113891144A/en
Publication of CN113891144A publication Critical patent/CN113891144A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a video display method and a video display device, wherein the video display method comprises the following steps: receiving a video split-screen instruction, and determining at least one split-screen video according to the video split-screen instruction; creating a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one; displaying the split-screen player; and playing the corresponding split screen video in each split screen player according to the corresponding relation between the split screen player and the split screen video. According to the video display method, the videos can be displayed in the page at the same time, and therefore the watching experience of a user is improved.

Description

Video display method and device
Technical Field
The application relates to the technical field of computers, in particular to a video display method. The application also relates to a video presentation apparatus, a computing device, and a computer-readable storage medium.
Background
With the continuous development of computer technology, more and more users watch network videos as a way of knowing information and entertainment. At present, most video platforms provide a function of playing videos on a single screen, that is, a user can only watch one video on one page; however, if a user wants to watch multiple videos at the same time, the user needs to open multiple playing pages at the same time, or open multiple devices (such as a mobile phone, a computer, etc.) at the same time.
Therefore, how to enable a user to view multiple videos on the same page at the same time becomes a technical problem to be solved urgently by related technical personnel.
Disclosure of Invention
In view of this, the present application provides a video display method. The application also relates to a video display device, a computing device and a computer readable storage medium, which are used for solving the problems that the single-screen video watching efficiency is low and the watching experience of a user is influenced in the prior art.
According to a first aspect of the embodiments of the present application, there is provided a video presentation method, including:
receiving a video split-screen instruction, and determining at least one split-screen video according to the video split-screen instruction;
creating a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one;
displaying the split-screen player;
and playing the corresponding split screen video in each split screen player according to the corresponding relation between the split screen player and the split screen video.
According to a second aspect of embodiments of the present application, there is provided a video presentation apparatus, comprising:
the receiving module is configured to receive a video split-screen instruction and determine at least one split-screen video according to the video split-screen instruction;
the creating module is configured to create a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one;
a presentation module configured to present the split screen player;
and the playing module is configured to play the corresponding split-screen video in each split-screen player according to the corresponding relation between the split-screen player and the split-screen video.
According to a third aspect of embodiments of the present application, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the video presentation method when executing the computer instructions.
According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the video presentation method.
The video display method comprises the steps of receiving a video split-screen instruction, and determining at least one split-screen video according to the video split-screen instruction; creating a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one; displaying the split-screen player; and playing the corresponding split screen video in each split screen player according to the corresponding relation between the split screen player and the split screen video.
According to the embodiment of the application, a video split-screen instruction is received, and a split-screen video is determined according to the video split-screen instruction; creating split-screen players of the split-screen videos, and enabling each split-screen video to have a corresponding split-screen player; and displaying the created split-screen player, so that the split-screen video can be played in the corresponding split-screen player, and a plurality of split-screen videos can be displayed in the page at the same time.
Drawings
Fig. 1 is a flowchart of a video display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a set of recommended videos provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a split-screen video player and a master video player according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a split-screen player displayed by using a split-screen template according to an embodiment of the present application;
FIG. 5a is a schematic diagram of an unadjusted player according to an embodiment of the present application;
fig. 5b is a schematic diagram of an adjusted player according to an embodiment of the present application:
fig. 6 is a flowchart illustrating a video presentation method applied to movie video according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a video display apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the present application. As used in one or more embodiments of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application is intended to encompass any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, many video platforms provide a single-screen playing function, a user can only watch one video on one page, if the user wants to watch multiple videos at the same time, the user needs to manually open multiple pages and manually adjust the size of a window or multiple devices (a tablet, a mobile phone and the like), the operation efficiency is low, and the requirements of multi-screen playing and on-demand live broadcast mixed watching of the user cannot be met.
According to the scheme, when a user watches a first video, if another video is needed to watch, the user only needs to determine the video to be played from the recommended videos provided in the current page, and can play the new video and the video being watched in the same playing page by clicking, wherein the video type is not limited, and the video can be an on-demand video or a live video; the user can also adjust the layout and the size of each player in the multi-screen playing area, and can control the playing information of the volume, the definition and the like of a single video.
In the present application, a video presentation method is provided, and the present application relates to a video presentation apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a video display method according to an embodiment of the present application, which specifically includes the following steps:
step 102: and receiving a video split screen instruction, and determining at least one split screen video according to the video split screen instruction.
At least one split screen video can comprise a split screen video of a split screen video type and a split screen video of a main video type; the main video refers to a video played as a split-screen video of a main video type in a page, in practical application, a split-screen video can be determined as the main video from videos displayed on a current page, the main video can be a video mainly watched by a user at present, for example, an animation video and a news video are played simultaneously on the same page, and if the user pays attention to related contents (video comments, video bullets and the like) of the news video and the news video, the news video can be set as the main video; the split screen video refers to a video which is played in a page as a non-main video; the video split-screen instruction refers to an instruction for performing split-screen display on the determined video to be displayed in the page.
Specifically, a video split-screen instruction can be received under the condition of playing a main video, that is, an instruction for playing other videos except the video being played in the current page on the current page is received, and a plurality of videos which need to be displayed simultaneously can be determined on the current page according to the video split-screen instruction, that is, at least one split-screen video is determined; or under the condition that the video is not displayed in the current page, directly receiving a video split-screen instruction, determining at least one split-screen video according to the video split-screen instruction, and determining one split-screen video in the at least one split-screen video to be displayed as a main video, wherein the specific method for determining the main video can be selected by a user or default by a system, and the like, and if only one split-screen video is determined based on the video split-screen instruction, directly displaying the split-screen video as the main video.
In practical application, the specific method for determining at least one split-screen video according to the video split-screen instruction comprises the following steps:
and determining at least one split screen video according to the split screen video identification in the video split screen instruction.
Specifically, the video split-screen instruction includes a split-screen video identifier, for example, the video split-screen instruction I includes a split-screen video identifier: video identification 1, video identification 2 and video identification 3; the split-screen video corresponding to the split-screen video identification can be determined in the video data table based on the split-screen video identification in the video split-screen instruction, so that the determined split-screen videos can be displayed on the current page at the same time.
In a specific embodiment of the application, taking a video split-screen instruction I as an example, receiving the video split-screen instruction I and acquiring split-screen video identifiers { video 3, video 2, and video 7} included in the video split-screen instruction I under the condition that a master video player in a page plays video 2; and determining videos 3, 2 and 7 corresponding to the split-screen video identifications { video 3, 2 and 7} in the split-screen video database as split-screen videos according to the split-screen video identifications.
In practical application, the video splitting instruction may also be received under the condition that the main video and the split-screen video are being played, and the split-screen video being played and the split-screen video not in the playing state included in the video instruction are determined according to the video splitting instruction.
In a specific embodiment of the application, taking an animation video as an example, the animation video is displayed as a main video and a news video is displayed as a split screen video on a playing page; and receiving a video split-screen instruction M, wherein the video split-screen instruction M comprises split-screen video identification { news video, movie video, food video and animation video }, and determining the split-screen video to be the news video, the animation video in playing, the movie video to be played and the food video.
In another specific embodiment of the present application, taking an animation video as an example, the animation video is displayed as a main video on a playing page; receiving a video split-screen instruction Q, wherein the video split-screen instruction Q comprises split-screen video marks { news video, television drama video and animation video }; and determining that the split screen video is a news video, an animation video and a television play video respectively according to the split screen video identifier.
In another specific embodiment of the present application, taking an animation video as an example, in a case that no video is played in a page, a video split-screen instruction N is received, where the video split-screen instruction N includes a split-screen video identifier { a movie video, an animation video, and a food video }, the movie video, the food video, and the animation video are determined according to the split-screen video identifier, and the animation video is determined as a main video type based on a selection of a user.
In order to enhance the viewing experience of the user and simplify the viewing operation of the user, the user may select a video in the recommendation area as a video that can be played simultaneously in the page.
Specifically, before receiving the video split instruction, the method for generating the video split instruction may include:
determining a recommended video list in a recommended information set displayed in a recommended area;
and triggering a video split screen instruction based on the recommended video list.
The recommendation area refers to an area for displaying a recommendation information set, for example, an area on the right side of the player is used as the recommendation area for displaying the recommendation information set; the recommendation information set is an information set determined according to one or more information such as a video tag of a main video, a user history viewing record, a user viewing preference and the like, for example, the main video of a current page is a food video, and other food videos related to the food video are acquired to form the recommendation information set; the recommended video list refers to a video list configured based on recommended videos selected by the user in the recommended information set. In practical application, a page can be further provided with a function control containing a search function, the function control containing the search function can be triggered in a playing page, a video split-screen instruction can be generated by triggering a video obtained by searching according to the function control, and the video obtained by searching can be added to a playing area of the playing page for split-screen display.
In a specific embodiment of the present application, taking a news video as an example, as shown in fig. 2, fig. 2 is a schematic diagram of a recommended video set provided in an embodiment of the present application, and a user displays the news video as a main video in a video playing area and displays news video comments in a video interaction area; acquiring related news videos according to the news videos to form a recommended video set, and displaying the recommended video set in a recommended area on the right side of a video playing area; and the user selects the recommended video from the recommended video set as a split-screen video to display, and the split-screen video command is triggered.
Step 104: and creating a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one.
The split-screen player is a player for playing split-screen videos and comprises a main video player and a split-screen video player, wherein the video player for playing the split-screen videos of the main video type is the main video player, and the video player for playing the split-screen videos of the split-screen video type is the split-screen video player; the one-to-one correspondence between the split-screen players and the split-screen videos means that each split-screen player correspondingly plays one split-screen video.
In practical application, a specific method for creating a split-screen player of at least one split-screen video includes:
counting the number of the split-screen videos to obtain the total number of the split-screen videos;
and creating a split-screen player corresponding to the total number of the split-screen videos according to the total number of the split-screen videos.
Specifically, the total number of split-screen videos, namely the total number of split-screen videos is determined based on a video split-screen instruction, wherein the total number of split-screen videos may include the number of split-screen videos being played; according to the total number of the split-screen videos and the number of the split-screen videos being displayed, the number of the split-screen players needing to be created can be determined, and the total number of the split-screen videos can be consistent with the total number of the split-screen players.
In a specific embodiment of the application, taking the total number of split-screen videos 3 as an example, the number of videos currently played on a page is 1, and determining that the total number of split-screen videos is 3 based on a video split-screen instruction, that is, determining that two videos to be displayed lack corresponding split-screen players, and then determining that 2 split-screen players need to be created to achieve that the number of split-screen videos is consistent with the number of split-screen players.
After the total number of the split-screen videos is determined, split-screen players are created based on the total number of the split-screen videos until the number of the split-screen players is consistent with the number of the split-screen videos, so that all the split-screen videos determined based on the video split-screen instruction have corresponding split-screen players, and at least one split-screen video can be displayed simultaneously based on the split-screen players.
In a specific embodiment of the present application, taking the total number of split-screen videos 5 as an example, the number of videos played on a currently played page is 2; determining split screen videos according to the video split screen instruction, and determining that the total number of the split screen videos is 5 by counting the number of the split screen videos, wherein the split screen videos comprise two split screen videos which are being played; and determining that 3 split-screen players need to be created according to the total number of the split-screen videos 5 and the number of the videos of the current page, namely realizing the one-to-one correspondence between the split-screen players and the split-screen videos.
Step 106: and displaying the split-screen player.
Specifically, after the target split-screen template is determined based on the number of videos of the split-screen video, the display mode of the split-screen player in the playing area can be determined according to the target split-screen template.
In practical application, the specific method for displaying the split-screen player comprises the following steps:
determining a target split screen template based on the total number of the split screen videos;
and arranging and displaying the split-screen players according to the template information of the target split-screen template.
The target split-screen template is a split-screen template corresponding to the number of videos of the split-screen video; the split screen template is a template for determining the layout of the player; the template information of the target split screen template refers to information for layout of the player; the split-screen video players can be distributed according to the template information of the target split-screen video, and the split-screen video players are displayed based on the player distribution.
Specifically, in order to enable at least one split-screen video to be displayed in order on a playing page, a split-screen template may be preset based on a display requirement, for example, when the number of videos to be displayed at the same time is 2, a split-screen template with a left layout and a right layout may be preset for displaying two videos at the same time; after the split-screen template is created, a split-screen template corresponding to the split-screen video can be subsequently determined based on the number of the split-screen videos as a target split-screen template for displaying the split-screen player based on the template information of the split-screen template, for example, the number of the split-screen videos is 5, and the split-screen template corresponding to the number of the split-screen videos is determined according to the number of the split-screen videos, that is, the split-screen template for layout display of 5 players can be obtained.
In a specific embodiment of the present application, taking the total number of the split-screen videos as an example, a target split-screen template capable of displaying 2 split-screen videos simultaneously is determined according to the total number of the split-screen videos, and template information of the target split-screen template is: taking one half of the length of the playing area as the length of a main video player, taking the width of the playing area as the width of the main video player, enabling the main video player to display on the left side of the playing area, taking one half of the length of the playing area as the length of a split-screen video player, taking the width of the playing area as the width of the split-screen video player, and enabling the split-screen video player to display on the right side of the playing area; a main video player and a split-screen video player which are displayed based on template information are shown in fig. 3, and fig. 3 is a schematic diagram of a split-screen video player and a main video player provided in an embodiment of the present application.
In another specific embodiment of the present application, taking a target split-screen template selected by a user as an example, based on a split-screen template selected by the user in a split-screen template list, the main video player 1, the split-screen video player 2, the split-screen video player 3, and the split-screen video player 4 are displayed in a playing area according to the split-screen template selected by the user, as shown in fig. 4, fig. 4 is a schematic diagram of displaying the split-screen player by using the split-screen template according to an embodiment of the present application.
Step 108: and playing the corresponding split screen video in each split screen player according to the corresponding relation between the split screen player and the split screen video.
The correspondence between the split-screen player and the split-screen video means that there is a corresponding identifier between the split-screen player and the split-screen video, for example, there is an identifier "1" between the split-screen player and the split-screen video. The corresponding relation between the split-screen player and the split-screen video can be determined based on the sequence of the split-screen video, for example, if the user selects the split-screen video with the sequence of the split-screen video 1, the split-screen video 2 and the split-screen video 3, the split-screen player 1, the split-screen player 2 and the split-screen player 3 can be created according to the sequence of the split-screen video, wherein the split-screen video 1 corresponds to the split-screen player 1, the split-screen video 2 corresponds to the split-screen player 2 and the split-screen video 3 corresponds to the split-screen player 3.
In practical application, the method for playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video comprises the following steps:
determining a target split screen video and a target split screen player corresponding to the target split screen video in the at least one split screen video;
and playing the target split-screen video based on the target split-screen player.
The target split-screen video refers to any one of the split-screen videos; each target split-screen video is provided with a corresponding split-screen player, namely the target split-screen video is also provided with a corresponding split-screen player, namely the target split-screen player; the target split-screen player can play the target split-screen video.
In a specific embodiment of the application, taking a movie video as an example, taking the movie video in a split-screen video as a target split-screen video, and determining that a player of the movie video is a movie player; movie video is played based on a movie player.
The corresponding split-screen video is played in each split-screen player according to the corresponding relation between the split-screen players and the split-screen videos, so that each split-screen video can be played in the page at the same time, and therefore the multiple videos in the same page can be played at the same time.
The method for playing the target split-screen video based on the target split-screen player specifically comprises the following steps:
determining the video type of the target split-screen video;
if the video type of the target split-screen video is an on-demand type video, acquiring a video file of the target split-screen video, and playing the video file of the target split-screen video through the target split-screen player;
if the video type of the target split-screen video is a live type video, acquiring a video stream of the target split-screen video, and playing the video stream of the target split-screen video through the target split-screen player.
The video type refers to a type of video to be played in a page, the video type may be an on-demand video, for example, a dance video uploaded by user a, and the video type may also be a live video, for example, a live stream of a live room created by user B. If the video type is the video of the on-demand type, the target player is used for playing a video file corresponding to the on-demand video; and if the video type is the live video, the target player is used for displaying the video stream of the live video.
In a specific embodiment of the application, taking a live broadcast type video as an example, according to an operation of clicking an adding button on the right side of the live broadcast video by a user, a live broadcast address of the live broadcast type video is transmitted to a split-screen player for playing the live broadcast type video, the split-screen player sends a video stream pull request to a server, and the split-screen player plays a video stream returned based on the video stream pull request; in the process of playing the live broadcast type video on the playing page, the video file of the on-demand video is determined according to the operation of clicking the adding button on the right side of the on-demand video by the user, and the on-demand type video is played by the split-screen player of the on-demand type video, so that the on-demand type video and the live broadcast type video are played on the same screen.
The live video and the on-demand video are played on the same screen in the same page, so that mixed playing of the live video and the on-demand video is realized, namely, on the basis of meeting the requirement of playing a plurality of videos on the same screen of a user, the on-page playing of the live video and the on-demand video is also realized, and the watching experience of the user is enhanced.
In practical application, in order to meet layout requirements of different users on the player, the user can adjust layout, size and other information of the player by himself, specifically, after playing a corresponding split-screen video in each split-screen player according to a corresponding relationship between the split-screen player and the split-screen video, the method further includes:
receiving a player adjustment instruction, and determining a target player based on the player adjustment instruction;
and adjusting the size information and/or the position information of the target player.
The player adjusting instruction refers to an instruction for adjusting a main video player and a frequency division player in the same page; the target player is a player determined according to a player adjusting instruction, and can be a main video player or a split screen player; the size information refers to the size information of a main video player or a split-screen player; the position information refers to the position information of the main video player or the split screen player in the playing area.
Specifically, a player adjustment instruction is generated based on adjustment operation of a user on a player, the generated player adjustment instruction includes a player identifier, a target player can be determined based on the player identifier, and size information and position information of the target player are adjusted based on adjustment information in the player adjustment instruction. When the target player is adjusted, other players shown in the playing area in the page are adaptively adjusted, so that the layout of all players can occupy the whole playing area.
In a specific embodiment of the present application, taking adjustment of a player a as an example, as shown in fig. 5a, fig. 5a is a schematic view of an unadjusted player provided in an embodiment of the present application, where the embodiment includes a player a, a player b, and a player c; receiving a player adjusting instruction, determining a target player as a player a based on the player adjusting instruction, and according to adjusting information in the player adjusting instruction: the length of the player a is increased by 2 cm, the size information of the player a is adjusted, and meanwhile, the player b and the player c are adaptively adjusted, the adjusted playing area is shown in fig. 5b, and fig. 5b is a schematic view of the adjusted player provided in an embodiment of the present application.
By receiving the player adjusting instruction and adjusting the size and the position information of the players based on the player adjusting instruction, the user can adjust the size and the position of each player based on the requirement of the user, so that the watching experience of the user is enhanced.
After simultaneously displaying a plurality of players in the playing area of the page, the user may also close the players that are no longer watched based on the requirement, specifically, further including after playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video:
receiving a player closing instruction, and closing a target player in a player set based on the player closing instruction;
determining the total number of players in the player set, and determining a current split screen template according to the total number of the players;
and displaying the main video player and the split screen player based on the current split screen template.
The player closing instruction refers to an instruction for closing a target player; determining a target player in the players displayed on the page based on the player identification in the player closing instruction; the player set refers to a set formed by players playing videos in the same page; the total number of players refers to the total number of players in the player set after the target player is closed; the current split screen template is determined according to the total number of players after the target player is closed.
Specifically, after a player closing instruction is received and a target player is closed based on the player closing instruction, a current split screen template is determined based on the total number of players which are not closed currently, for example, 4 players are shown in a current page, and 3 players remain after the target player is closed, so that a split screen template capable of simultaneously playing 3 videos can be determined as the current split screen template according to the total number 3 of the remaining players.
In a specific embodiment of the application, taking a news video as an example, receiving a player closing instruction, and closing a news player playing the news video according to the player closing instruction; if the total number of players in the player set is 3 after the news player is closed, the split screen template for simultaneously playing 3 videos can be used as the current split screen template; and displaying the 3 players based on the current split screen template.
By receiving the player closing instruction and closing the target playing according to the player closing instruction, the user can change the number of videos played in the same page at any time, and the flexibility of displaying the videos on the same page is improved.
In practical application, the user can adjust the information when playing video for each player in the same page, that is, can adjust the information such as volume, definition, etc. of playing video for each player, and the method further comprises the following steps after playing corresponding split screen video in each split screen player according to the corresponding relationship between the split screen player and the split screen video:
receiving a video playing information adjusting instruction, and determining a target video according to the video playing information adjusting instruction;
and adjusting the video playing information of the target video based on the video playing information adjusting instruction.
The video playing information adjusting instruction refers to an instruction for adjusting video playing information; the target video is a video determined by video playing information adjustment, and may be a main video or a split-screen video, for example, the volume of the main video is adjusted based on a video playing information adjustment instruction.
In a specific embodiment of the application, taking a news video as an example, receiving a video playing information adjusting instruction, and determining a news player playing the news video according to the video playing information adjusting instruction; and adjusting the playing information in the video playing information adjusting instruction to 1080p, and adjusting the playing definition of the news video to 1080p according to the video playing information adjusting instruction.
According to the video display method, the split-screen video is determined based on the received video split-screen instruction, so that the determined split-screen video can be displayed conveniently in the follow-up process; creating at least one split-screen player of the split-screen videos, wherein each split-screen video has a corresponding split-screen player, so that the subsequent split-screen videos can be displayed simultaneously; the corresponding split-screen video is played in each split-screen player according to the corresponding relation between the split-screen player and the split-screen video, so that each split-screen video can be played in the same page simultaneously based on the corresponding player, the complex operation that a user opens multiple pages simultaneously is avoided, and the watching experience of the user is improved.
The following description will further describe the video presentation method with reference to fig. 6 by taking an application of the video presentation method provided by the present application to movie videos as an example. Fig. 6 shows a processing flow chart of a video presentation method applied to a movie video according to an embodiment of the present application, which specifically includes the following steps:
step 602: and under the condition that the main video player plays the main video, determining a recommended video list based on a recommended video selection instruction sent by the user.
In a specific embodiment of the application, taking the main video as a movie video as an example, a main video player in a current page plays the movie video, a recommended video set generated based on an individualized recommendation algorithm and video information of the movie video is displayed in a recommended area on the right side of the main video player, and specifically, movie related videos related to lead information are obtained to form the recommended video set according to attributes of the movie video which is favored by a user to watch and the video lead information of the current main video; and adding the recommended video to be displayed in a split screen manner, which is selected by the user in the recommended video set, to a recommended video list.
Step 604: and obtaining a video split screen instruction based on the recommended video list.
In a specific embodiment of the application, following the above example, after a split-screen display instruction sent by a user is received, a video split-screen instruction is generated according to a video identifier of a recommended video in a recommended video list and a video identifier of a movie video played on a currently playing page, specifically, a video split-screen instruction is generated according to video identifiers "video 1, video 2, and video 3" of a movie related video 1, a movie related video 2, and a movie related video 3 in the recommended video list and a video identifier "i" of the movie video.
Step 606: and determining at least one split screen video according to the split screen video identification in the video split screen instruction.
In a specific embodiment of the present application, following the above example, according to the video identifier "video 1, video 2, video 3" in the video split-screen instruction, it is determined that the movie related video 1 and the movie related video 2 in the recommended video set and the video identifier "i" according to the movie video are taken as split-screen videos.
Step 608: counting the total number of the split screen videos, determining a target split screen template according to the total number of the split screen videos, and creating a split screen player corresponding to the total number of the split screen videos.
In a specific embodiment of the application, the above example is used, after all split-screen videos are determined according to the video identifiers, the number of the split-screen videos is counted to obtain the total number of the split-screen videos to be 4; determining a target split-screen template capable of simultaneously displaying 4 videos based on the total number of the split-screen videos 4, namely simultaneously displaying the split-screen videos of the main video type and the split-screen videos of the 3 split-screen types based on the target split-screen template; and 3 split-screen video players are created according to the total number 3 of the split-screen videos of the split-screen type, and each split-screen video player can correspondingly play one split-screen video, namely, a split-screen video player 1 for playing the movie related video 1, a split-screen video player 2 for playing the movie related video 2 and a split-screen video player 3 for playing the movie related video 3 are created.
Step 610: and arranging and displaying the main video player and the split-screen video player based on the template information of the target split-screen template.
In a specific embodiment of the present application, along with the above example, template information of a target split-screen template is determined, where the template information includes display position information of a main video player, a split-screen video player 1, a split-screen video player 2, a split-screen video player 3, and the main video player and each split-screen video player are arranged and displayed based on the display position information of each player.
Step 612: determining a target split-screen video and a target split-screen player corresponding to the target split-screen video in at least one split-screen video.
In a specific embodiment of the present application, following the above example, a target split-screen video movie-related video 1 and a split-screen video player 1 of the movie-related video 1 are determined in a split-screen video; similarly, the split-screen video player 2 corresponding to the movie-related video 2 and the movie-related video 2 in the split-screen videos, and the split-screen video player 3 corresponding to the movie-related video 3 and the movie-related video 3 can be determined.
Step 614: and displaying the target split-screen video based on the video type of the split-screen video and a target split-screen player.
In a specific embodiment of the application, the above example is used, and after a target split-screen video is determined, the video type of the target split-screen video is judged; determining that the video types of the movie related video 1 and the movie related video 2 are on demand, acquiring a video file 1 of the movie related video 1 and a video file 2 of the movie related video 2, displaying the video file 1 by a split-screen video player 1, and displaying the video file 2 by the split-screen video player 2; and if the video type of the movie related video 3 is determined to be the live type, acquiring the video stream of the movie related video 3, and displaying the video stream by the split-screen video player 3.
After the main video and the 3 split-screen videos of the split-screen type are played on the same screen in the playing page, a user can adjust video playing information of each video, specifically, the definition of a movie related video 1 is adjusted to 480p, and the volume of a movie related video 2 is adjusted to 50% and the like; the user can close the split-screen video player playing the movie related video 2, that is, only the main video, the movie related video 1 and the movie related video 3 are displayed on the page; the user may make adjustments to each split-screen player, such as by dragging the player edge of the primary video player to increase the area occupied by the primary video player in the page.
According to the video display method in the embodiment, the video split-screen instruction is generated according to the recommended video selected by the user in the recommended area, so that the user can conveniently select the video needing to be split-screen watched under the condition that the watching of the main video is not influenced; determining a split screen template according to the determined number of the split screen videos, so that the videos to be displayed can be displayed simultaneously based on the split screen template; establishing split-screen players according to the total number of the split-screen videos, so that each split-screen video has a corresponding split-screen player; and displaying the split-screen video according to the corresponding relation between the split-screen video and the split-screen player, so that all the split-screen videos, namely the main video and the split-screen video can be displayed in the page at the same time.
Corresponding to the above method embodiment, the present application further provides an embodiment of a video display apparatus, and fig. 7 shows a schematic structural diagram of a video display apparatus provided in an embodiment of the present application. As shown in fig. 7, the apparatus includes:
a receiving module 702 configured to receive a video split-screen instruction, and determine at least one split-screen video according to the video split-screen instruction;
a creating module 704 configured to create a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one;
a presentation module 706 configured to present the split screen player;
a playing module 708 configured to play the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video.
In a specific embodiment of the present application, the receiving module 702 is further configured to:
and determining at least one split screen video according to the split screen video identification in the video split screen instruction.
Optionally, the creating module 704 is further configured to:
counting the number of the split-screen videos to obtain the total number of the split-screen videos;
and creating a split-screen player corresponding to the split-screen video according to the total number of the split-screen videos.
Optionally, the presentation module 706 is further configured to:
determining a target split screen template based on the total number of the split screen videos;
and arranging and displaying the split-screen players according to the template information of the target split-screen template.
Optionally, the apparatus further comprises a triggering module configured to:
determining a recommended video list in a recommended information set displayed in a recommended area;
and triggering a video split screen instruction based on the recommended video list.
Optionally, the playing module 708 is further configured to:
determining a target split screen video and a target split screen player corresponding to the target split screen video in the at least one split screen video;
and playing the target split-screen video based on the target split-screen player.
Optionally, the playing module 708 is further configured to:
determining the video type of the target split-screen video;
if the video type of the target split-screen video is an on-demand type video, acquiring a video file of the target split-screen video, and playing the video file of the target split-screen video through the target split-screen player;
if the video type of the target split-screen video is a live type video, acquiring a video stream of the target split-screen video, and playing the video stream of the target split-screen video through the target split-screen player.
Optionally, the apparatus further comprises an adjustment module configured to:
receiving a player adjustment instruction, and determining a target player based on the player adjustment instruction;
and adjusting the size information and/or the position information of the target player.
Optionally, the apparatus further comprises a shutdown module configured to:
receiving a player closing instruction, and closing a target player in a player set based on the player closing instruction;
determining the total number of players in the player set, and determining a current split screen template according to the total number of the players;
and displaying the main video player and the split screen player based on the current split screen template.
Optionally, the apparatus further comprises a player adjustment module configured to:
receiving a video playing information adjusting instruction, and determining a target video according to the video playing information adjusting instruction;
and adjusting the video playing information of the target video based on the video playing information adjusting instruction.
The video display device comprises a receiving module, a display module and a display module, wherein the receiving module is configured to receive a video split-screen instruction and determine at least one split-screen video according to the video split-screen instruction; the creating module is configured to create a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one; a presentation module configured to present the split screen player; and the playing module is configured to play the corresponding split-screen video in each split-screen player according to the corresponding relation between the split-screen player and the split-screen video.
The video display device receives the video split-screen instruction and determines the split-screen video according to the video split-screen instruction; determining a target split screen template based on the determined total number of the split screen videos, and creating split screen players according to the total number of the split screen videos to enable each split screen video to have a corresponding split screen player; and displaying the main video player and each split-screen player according to the target split-screen template, so that each split-screen video can be played in different players of the page at the same time.
The above is a schematic scheme of a video display apparatus of the present embodiment. It should be noted that the technical solution of the video display apparatus and the technical solution of the video display method belong to the same concept, and details that are not described in detail in the technical solution of the video display apparatus can be referred to the description of the technical solution of the video display method.
Fig. 8 illustrates a block diagram of a computing device 800 provided according to an embodiment of the present application. The components of the computing device 800 include, but are not limited to, memory 810 and a processor 820. The processor 820 is coupled to the memory 810 via a bus 830, and the database 850 is used to store data.
Computing device 800 also includes access device 840, access device 840 enabling computing device 800 to communicate via one or more networks 860. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 840 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the application, the above-described components of the computing device 800 and other components not shown in fig. 8 may also be connected to each other, for example, by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 8 is for purposes of example only and is not limiting as to the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 800 may also be a mobile or stationary server.
Wherein the steps of the video presentation method are implemented by processor 820 when executing the computer instructions.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the video presentation method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the video presentation method.
An embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, and the computer instructions, when executed by a processor, implement the steps of the video presentation method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned video presentation method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned video presentation method.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (13)

1. A method for video presentation, comprising:
receiving a video split-screen instruction, and determining at least one split-screen video according to the video split-screen instruction;
creating a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one;
displaying the split-screen player;
and playing the corresponding split screen video in each split screen player according to the corresponding relation between the split screen player and the split screen video.
2. The video presentation method of claim 1, wherein determining at least one split-screen video according to the video split-screen instruction comprises:
and determining at least one split screen video according to the split screen video identification in the video split screen instruction.
3. The video presentation method of claim 1, wherein creating a split-screen player of the at least one split-screen video comprises:
counting the number of the split-screen videos to obtain the total number of the split-screen videos;
and creating a split-screen player corresponding to the split-screen video according to the total number of the split-screen videos.
4. The video presentation method of claim 3, wherein presenting the split-screen player comprises:
determining a target split screen template based on the total number of the split screen videos;
and arranging and displaying the split-screen players according to the template information of the target split-screen template.
5. The video presentation method of claim 1, wherein prior to receiving the video split command, further comprising:
determining a recommended video list in a recommended information set displayed in a recommended area;
and triggering a video split screen instruction based on the recommended video list.
6. The video display method of claim 1, wherein playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video comprises:
determining a target split screen video and a target split screen player corresponding to the target split screen video in the at least one split screen video;
and playing the target split-screen video based on the target split-screen player.
7. The video presentation method of claim 6, wherein playing the target split-screen video based on the target split-screen player comprises:
determining the video type of the target split-screen video;
if the video type of the target split-screen video is an on-demand type video, acquiring a video file of the target split-screen video, and playing the video file of the target split-screen video through the target split-screen player;
if the video type of the target split-screen video is a live type video, acquiring a video stream of the target split-screen video, and playing the video stream of the target split-screen video through the target split-screen player.
8. The video presentation method of any one of claims 1 to 7, wherein after playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video, further comprising:
receiving a player adjustment instruction, and determining a target player based on the player adjustment instruction;
and adjusting the size information and/or the position information of the target player.
9. The video presentation method of any one of claims 1 to 7, wherein after playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video, further comprising:
receiving a player closing instruction, and closing a target player in a player set based on the player closing instruction;
determining the total number of players in the player set, and determining a current split screen template according to the total number of the players;
and displaying the split-screen player based on the current split-screen template.
10. The video presentation method of any one of claims 1 to 7, wherein after playing the corresponding split-screen video in each split-screen player according to the corresponding relationship between the split-screen player and the split-screen video, further comprising:
receiving a video playing information adjusting instruction, and determining a target video according to the video playing information adjusting instruction;
and adjusting the video playing information of the target video based on the video playing information adjusting instruction.
11. A video presentation apparatus, comprising:
the receiving module is configured to receive a video split-screen instruction and determine at least one split-screen video according to the video split-screen instruction;
the creating module is configured to create a split-screen player of the at least one split-screen video, wherein the split-screen player corresponds to the split-screen video one to one;
a presentation module configured to present the split screen player;
and the playing module is configured to play the corresponding split-screen video in each split-screen player according to the corresponding relation between the split-screen player and the split-screen video.
12. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-10 when executing the computer instructions.
13. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 10.
CN202111331252.9A 2021-11-11 2021-11-11 Video display method and device Pending CN113891144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111331252.9A CN113891144A (en) 2021-11-11 2021-11-11 Video display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111331252.9A CN113891144A (en) 2021-11-11 2021-11-11 Video display method and device

Publications (1)

Publication Number Publication Date
CN113891144A true CN113891144A (en) 2022-01-04

Family

ID=79017929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111331252.9A Pending CN113891144A (en) 2021-11-11 2021-11-11 Video display method and device

Country Status (1)

Country Link
CN (1) CN113891144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237299A (en) * 2022-06-29 2022-10-25 北京优酷科技有限公司 Playing page switching method and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150748A1 (en) * 2003-01-31 2004-08-05 Qwest Communications International Inc. Systems and methods for providing and displaying picture-in-picture signals
CN108668159A (en) * 2017-03-28 2018-10-16 宇龙计算机通信科技(深圳)有限公司 A kind of split screen plays the method and terminal of video and advertisement
CN109819214A (en) * 2019-01-25 2019-05-28 视联动力信息技术股份有限公司 A kind of method and apparatus of video separated screen
CN111885351A (en) * 2020-06-12 2020-11-03 视联动力信息技术股份有限公司 Screen display method and device, terminal equipment and storage medium
CN112135057A (en) * 2020-09-28 2020-12-25 北海天下为星科技有限公司 Video image processing method
CN112492398A (en) * 2020-10-22 2021-03-12 北京奇艺世纪科技有限公司 Video playing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150748A1 (en) * 2003-01-31 2004-08-05 Qwest Communications International Inc. Systems and methods for providing and displaying picture-in-picture signals
CN108668159A (en) * 2017-03-28 2018-10-16 宇龙计算机通信科技(深圳)有限公司 A kind of split screen plays the method and terminal of video and advertisement
CN109819214A (en) * 2019-01-25 2019-05-28 视联动力信息技术股份有限公司 A kind of method and apparatus of video separated screen
CN111885351A (en) * 2020-06-12 2020-11-03 视联动力信息技术股份有限公司 Screen display method and device, terminal equipment and storage medium
CN112135057A (en) * 2020-09-28 2020-12-25 北海天下为星科技有限公司 Video image processing method
CN112492398A (en) * 2020-10-22 2021-03-12 北京奇艺世纪科技有限公司 Video playing method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237299A (en) * 2022-06-29 2022-10-25 北京优酷科技有限公司 Playing page switching method and terminal equipment

Similar Documents

Publication Publication Date Title
US10068364B2 (en) Method and apparatus for making personalized dynamic emoticon
US20130246530A1 (en) System and method for providing playlists for social television
US20150172787A1 (en) Customized movie trailers
US9224156B2 (en) Personalizing video content for Internet video streaming
EP2939132A1 (en) Creating and sharing inline media commentary within a network
US10628677B2 (en) Partner matching method in costarring video, terminal, and computer readable storage medium
CN102244812A (en) Video content recommendation
WO2018227860A1 (en) Data processing method, smart terminal, vr device, and storage medium
CN114466216A (en) Live broadcast room display method, server and live broadcast client
JP2021535656A (en) Video processing methods, equipment, devices and computer programs
CN114727143A (en) Multimedia resource display method and device
CN114051160B (en) Video display method and device
CN112528052A (en) Multimedia content output method, device, electronic equipment and storage medium
CN113891144A (en) Video display method and device
CN114520924A (en) Bullet screen display method and device
WO2024022473A1 (en) Method for sending comment in live-streaming room, method for receiving comment in live-streaming room, and related device
CN114979748A (en) Video processing method and device
JP2019097173A (en) Content provision server, content provision program, content provision system, and user program
US20230105417A1 (en) Bullet-screen comment processing method and apparatus
CN114501100B (en) Live page jump method and system
KR102615377B1 (en) Method of providing a service to experience broadcasting
US20240179355A1 (en) Virtual gift display
CN113849247B (en) Live broadcasting room page element display method, device and system
CN114071214A (en) Video display method and device
CN115942026A (en) Comment display method and device

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