CN114095668A - Video playing method, device, equipment and computer storage medium - Google Patents

Video playing method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN114095668A
CN114095668A CN202111173636.2A CN202111173636A CN114095668A CN 114095668 A CN114095668 A CN 114095668A CN 202111173636 A CN202111173636 A CN 202111173636A CN 114095668 A CN114095668 A CN 114095668A
Authority
CN
China
Prior art keywords
video
playing
comparison
windows
target video
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
CN202111173636.2A
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.)
Sunell Technology Corp
Original Assignee
Sunell Technology Corp
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 Sunell Technology Corp filed Critical Sunell Technology Corp
Priority to CN202111173636.2A priority Critical patent/CN114095668A/en
Publication of CN114095668A publication Critical patent/CN114095668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2624Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects for obtaining an image which is composed of whole input images, e.g. splitscreen
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Abstract

The application is applicable to the technical field of video playing and provides a video playing method, a device, equipment and a computer storage medium, wherein the video playing method comprises the following steps: determining a target video and a play mode; determining M comparison videos corresponding to the target video according to the play mode, dividing the target video and each comparison video into N video segments, and dividing a display area into M × N play windows, wherein N is an integer greater than or equal to 1, M is an integer greater than or equal to 2, M-1 is greater than or equal to M and greater than or equal to 1, and M is an integer; and respectively playing the (M +1) × N video clips in corresponding playing windows of the M × N playing windows. The video playing method enables an observer to view the comparison video while viewing the target video, speeds up video playing, improves the efficiency of observation and analysis of the observer, and effectively solves the problem of low video viewing efficiency.

Description

Video playing method, device, equipment and computer storage medium
Technical Field
The present application belongs to the field of video playing technologies, and in particular, to a video playing method, apparatus, device, and computer storage medium.
Background
The monitoring video playing enables an observer to observe the change of a target object in a monitoring scene by viewing the played video monitoring picture, and the observer is helped to demonstrate illegal activities and the like by analyzing the summary rule. A conventional video playing method is to select a time point from which a video is played, and then observe a change condition of a target object from the played video. However, the method can only view the video monitoring picture at about one time point, and if the number of the viewed videos is large and the time of each video is long, each video needs to be viewed in sequence, so that the viewing efficiency is low, and the viewing analysis efficiency of the observer on the target object is affected.
Disclosure of Invention
An embodiment of the present application aims to provide a video playing method, device, equipment and computer storage medium, and aims to solve the problem of low video viewing efficiency.
The embodiments of the present application are implemented as follows, and in a first aspect, an embodiment of the present application provides a video playing method, where the method includes: determining a target video and a play mode; determining M contrast videos corresponding to the target video according to the play mode, dividing the target video and each contrast video into N video segments, and dividing a display area into M × N play windows, wherein N is an integer greater than or equal to 1, M is an integer greater than or equal to 2, M-1 is greater than or equal to M and is greater than or equal to 1, and M is an integer; and respectively playing the (M +1) × N video clips in corresponding playing windows of the M × N playing windows.
In the video playing method provided by the application, comparison videos corresponding to a target video and a playing mode are determined according to the target video and the playing mode, then the target video and the comparison videos are respectively divided into corresponding video segments, and finally the video segments are played in a plurality of playing windows corresponding to the video segments. This kind is through the mode of broadcast a plurality of videos simultaneously to broadcast the different video clips of every video simultaneously, not only can accelerate the broadcast speed of video, but also be convenient for the observer directly observe and contrast the change rule of target object in contrast video and target video, thereby high-efficient quick accurate judgement that obtains has effectively solved the video and has looked over the inefficiency problem.
In one embodiment, determining m comparison videos corresponding to the target video according to the play mode includes: determining a label of a target video; and inquiring m comparison videos corresponding to the labels according to the playing mode and the labels.
In one embodiment, the tags are date tags, and the date tags of the m comparison videos are different from the date tag of the target video.
In one embodiment, the method further comprises: and based on the time sequence of the date labels, the time labels of the target video and two adjacent videos in the m comparison videos are different by P periods, wherein P is an integer greater than or equal to 1.
In one embodiment, the tag further comprises an event tag.
In one embodiment, dividing the target video and each of the comparison videos into N video segments respectively comprises: determining an initial playing time point of a target video; and dividing the target video and each comparison video into N video segments respectively by taking the initial playing time point as a starting point according to a preset division rule.
In one embodiment, playing the (M +1) × N video clips in corresponding ones of the mxn playing windows respectively comprises:
in the M × N playing windows, the N video segments played in the N playing windows located in the same row are video segments in the same video, and the playing time intervals of the M +1 video segments played in the M playing windows located in the same column are the same.
In a second aspect, an embodiment of the present application provides a video playing apparatus, where the apparatus includes: a determining unit for determining a target video and a play mode;
the dividing unit is used for determining M comparison videos corresponding to the target video according to the playing mode, dividing the target video and each comparison video into N video segments respectively, and dividing the display area into M multiplied by N playing windows, wherein N is an integer greater than or equal to 1, M is an integer greater than or equal to 2, M-1 is greater than or equal to M and greater than or equal to 1, and M is an integer;
and the playing unit is used for playing the (M +1) multiplied by N video clips in corresponding playing windows of the M multiplied by N playing windows respectively.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes: a processor and a memory, the memory for storing a computer program, the processor for calling and running the computer program from the memory, causing the apparatus to perform the method of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the method of any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes: computer program code which, when executed by a computer, causes the computer to perform the method of any of the first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
Fig. 1 is a schematic diagram of a terminal device of a video playing method provided in an embodiment of the present application;
fig. 2 is a flowchart of a video playing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a play mode in a video playing method provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a target video division in a video playing method according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating division and comparison of videos in a video playing method provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an example of a video playing method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a video playback device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The monitoring video playing enables an observer to observe the change of a target object in a monitoring scene by viewing the played video monitoring picture, and analyzes and summarizes rules to help the observer to demonstrate illegal activities and the like. A conventional video playing method is to select a time point, start playing a video from the time point, and observe a change condition of a target object from the played video. However, the method can only view the video monitoring pictures at about one time point, and if the number of the viewed videos is large and the time of each video is long, each video needs to be viewed in sequence, so that the viewing efficiency is low, and an observer cannot efficiently observe and analyze the change rule of the target object in the video scene.
In order to solve the problem of low video viewing efficiency, the application provides a video playing method, so that an observer can view a target video and a contrast video at the same time, the video playing speed is increased, and meanwhile, the observer can conveniently and efficiently and quickly obtain accurate judgment by observing the change rule of a contrast target object in the target video and the contrast video. Therefore, the problem of low video viewing efficiency can be effectively solved.
The following describes application scenarios related to embodiments of the present application.
Fig. 1 is a schematic view of an application scenario architecture of a video playing method according to an embodiment of the present application. Referring to fig. 1, the application scenario includes two parts, namely, a user and a terminal device, a video picture played on the terminal device may be a plurality of videos recorded by a monitoring device, and the user can obtain required information by viewing the played video picture. The terminal device may be a mobile terminal device such as a smart phone, a tablet computer, a camera, or the like, or a terminal device capable of playing video such as a desktop computer, a robot, a server, or the like.
The video playing method provided by the application can be suitable for a user to check the video played on the terminal equipment to obtain the application scene of the character change process in the video picture. The video playing method provided by the application can also be suitable for a user to observe scenes with obvious periodic characteristics, such as water level monitoring scenes. Of course, the video playing method provided by the present application may also be used in other scenes of video playing, for example, when a real-time monitoring video of a certain location is played on a terminal device, a historical video of a corresponding time point is played at the same time, so that a user can determine the front-back change condition of the location in the historical video and the real-time video by observing the played video picture. The application of the video playing method is not limited at all.
The technical solution of the present application will be described in detail below with specific examples. The embodiments described below with reference to the accompanying drawings are illustrative and intended to be used for explaining the present application and should not be construed as limiting the present application.
Fig. 2 is a flowchart illustrating a video playing method according to an embodiment of the present application, and referring to fig. 2, the method includes the following steps.
S101, determining a target video and a play mode.
Wherein the target video is a reference video in the videos viewed by the user. For example, in an application scenario in which a user views a video played on a terminal device to obtain a character change process in a video picture, a target video may be a main observation video for observing character change in the video viewed by the user. For another example, in a water level monitoring scenario, the target video may be a video of a user viewing real-time water level change. The embodiment of the present application does not limit the determination manner or number of target videos.
The playing mode is a layout mode of a plurality of video playing windows on a display screen of the terminal device during video playing, namely, the corresponding division number of the plurality of video playing windows on the display screen. Illustratively, the play mode may be a2 × 2 mode, a4 × 4 mode, a3 × 2 mode, a2 × 4 mode, or the like. For example, fig. 3 is a schematic diagram of the 2 × 2 mode and the 4 × 4 mode according to the present embodiment. The play mode may also be another mode customized by the user according to the actual application requirement, which is not limited in this application.
It should be understood that, when the play mode is 4 × 4 mode, it indicates that on the display screen of the terminal device during video playing, 4 video play windows are arranged in each row, and 4 video play windows are arranged in each column, so that 16 video play windows are divided on the display screen; when the playing mode is a3 × 2 mode, the method indicates that 2 video playing windows are arranged in each line and 3 video playing windows are arranged in each column on a display screen of the terminal equipment during video playing, and 6 video playing windows are divided on the display screen; when the play mode is a2 × 4 mode, it indicates that 4 video play windows in each row and 2 video play windows in each column on the display screen of the terminal device during video playing, and the display screen is divided into 8 video play windows.
It should be noted that, in the actual playing process, different playing modes divide the display screen of the video playing terminal device into a plurality of corresponding video playing windows, and when the number of videos to be played in the plurality of video playing windows divided by the playing mode is insufficient, the function of the video playing window in an idle state in the plurality of video playing windows can be flexibly changed. For example, when the play mode is 4 × 4, the display screen of the video play terminal device is divided into 16 video play windows by the 4 × 4 play mode, and when 12 video play windows are actually occupied in the 16 video play windows, the remaining 4 video play windows are in an idle state, and the 4 video play windows in the idle state can be fully utilized according to different application scenes, that is, other videos (for example, videos acquired in real time at the current time) can be played by utilizing the 4 video play windows in the idle state; of course, it is also possible to use 12 video playing windows of the 16 video playing windows to play video, and the remaining 4 video playing windows do not play any video.
S102, M comparison videos corresponding to a target video are determined according to a play mode, the target video and each comparison video are divided into N video segments, a display area is divided into M multiplied by N play windows, N is an integer larger than or equal to 1, M is an integer larger than or equal to 2, M-1 is larger than or equal to M and larger than or equal to 1, and M is an integer.
In the embodiment of the present application, the comparison video refers to a video in which a target object change process in a video picture can be compared with a target object change process in a target video. Under the condition of simultaneously playing the comparison video and the target video, a user can directly observe and compare the change rules of the target object in the comparison video and the target video, so that the user can conveniently analyze and summarize the target object according to the change rules of the target object in the comparison video and the target video.
It is worth noting that when the number of target videos is different, the number of determined comparison videos may also be different. In the embodiment of the present application, a target video may be determined, and then a plurality of comparison videos corresponding to the target video may be determined according to the target video. In some complex application scenes, a plurality of target videos can be determined, then a plurality of comparison videos are determined according to the plurality of target videos, and the number of the comparison videos corresponding to the target videos can be determined according to actual conditions.
For example, in the embodiment of the present application, when the play mode is the 2 × 2 mode, at most one comparison video corresponding to the target video may be determined, and at most 2 videos may be played in the display area; when the video playing mode is a3 × 2 mode, 2 comparison videos corresponding to the target video can be determined according to the 3 × 2 playing mode, and at most 3 videos can be played in the display area; when the video playing mode is the 2 × 4 mode, 1 contrast video corresponding to the target video can be determined according to the 2 × 4 playing mode, and at most 2 videos can be played in the display area.
It should be understood that, for example, when the video playing mode is 3 × 2 mode, 2 contrast videos corresponding to the target video may be determined according to the above 3 × 2 playing mode, and at most 3 videos may be played in the display area; if there are more than 2 comparison videos, then 2 comparison videos may be determined, and if there are no more than 2 comparison videos, then 1 or 2 comparison videos may be determined.
In order to speed up video playing, after a plurality of comparison videos corresponding to a target video are determined, the target video may be divided into N first video segments according to a playing mode, for example, referring to fig. 4, the target video is divided into a1, a2, a3 and a4 for a total of 4 first video segments. Likewise, each of the plurality of comparison videos is divided into N second video segments, for example, referring to fig. 5, a first comparison video corresponding to the target video may be divided into 4 second video segments of b1, b2, b3 and b4, a second comparison video corresponding to the target video may be divided into 4 second video segments of c1, c2, c3 and c4, and a third comparison video corresponding to the target video may be divided into 4 second video segments of d1, d2, d3 and d 4.
Referring to fig. 5, it can be seen that the number of the second video segments of each comparison video partition is equal to the number of the first video segments of the target video partition, that is, the number of the video segments displayed on the display area of the terminal device is equal, and in the actual application process, the number of the video segments of the target video partition and the number of the video segments of the comparison video partition may be divided correspondingly according to different actual application situations.
Dividing the display area into M × N play windows means dividing the display area into M rows and N columns, i.e., dividing each row of the display area into N windows and each column into M windows. In practical application, the number of videos played in the mxn playing windows and the playing position corresponding to each played video may be determined according to practical situations, which is not limited in this application.
It should be understood that the video played in the display area may include at least two videos (i.e., a target video and at least one contrast video), and the two videos are divided into at least one video segment, respectively, and the display area is divided into at least 2 × 1 playing windows, where N is an integer greater than or equal to 1, and M is an integer greater than or equal to 2.
And S103, respectively playing the (M +1) multiplied by N video clips in the corresponding playing windows in the corresponding M multiplied by N playing windows.
Because m comparison videos corresponding to the target video can be determined according to the playing mode, the videos to be played in the display area include the target video and the m comparison videos, and the total number of the videos is m + 1; in the case where the target video and each of the contrast videos are respectively divided into N video segments according to the play mode, then (m +1) × N video segments may be formed, i.e., m +1 videos are divided into (m +1) × N video segments. After the M +1 videos are divided into (M +1) × N video clips, the divided (M +1) × N video clips are respectively played in corresponding playing windows of the M × N playing windows. It will be appreciated that the number of playing windows and/or the number of video segments played in a plurality of playing windows may be determined according to the actual situation.
Based on the above example, in the embodiment of the present application, comparison videos corresponding to a target video and a play mode are determined according to the play mode, then the target video and the comparison videos are respectively divided into corresponding video segments, and finally the video segments are played in a plurality of play windows corresponding to the video segments. Therefore, the mode of simultaneously playing a plurality of videos and simultaneously playing different video clips of each video not only accelerates the playing speed of the videos, but also facilitates the direct observation and comparison of the change rule of the target object in the comparison video and the target video by the observer, thereby efficiently and quickly obtaining accurate judgment and effectively solving the problem of low video viewing efficiency.
In one embodiment, determining m comparison videos corresponding to the target video according to the play mode may include: determining a label of a target video; and inquiring m comparison videos corresponding to the labels according to the playing mode and the labels.
In different application scenarios, the label of the target video may be different. For example, in a surveillance video, the tag of the target video may be a date or a specific time; in a scene where a person is observed in various behaviors or poses on a field, the tag of the target video may be a name corresponding to the person or an event related to the person.
For example, assume that the label of the target video is a date label, and the date label is 2021 year, 9 month, 1 day; according to the playing mode and the date label, a plurality of comparison videos corresponding to the date label can be inquired, for example, a comparison video of 8, 31 and 2021 can be inquired.
In one possible embodiment, the tags are date tags, and the date tags of the m comparison videos are different from the date tag of the target video according to practical applications.
Illustratively, referring to fig. 6, the play mode is defined as a4 × 4 mode, the horizontal axis represents the time interval T for playing the video, the vertical axis represents the date label D for playing the video, and assuming that the target video is the video with the date of 2021-05-10 in fig. 6, the comparison videos may be videos with the date labels of 2021-05-11, 2021-05-12 and 2021-05-13 respectively, and the date labels of the 3 comparison videos are different from the date label of the target video, and the date label of each line of video is the same.
In another possible embodiment, the method further comprises: based on the time sequence of the date labels, the time labels of the target video and two adjacent videos in the m comparison videos are different by P periods, wherein P is an integer greater than or equal to 1.
Based on the above example, when the target video is a video with a date of 2021-05-10 in fig. 6, the comparison video may also be a video with a date tag of 2021-05-15, 2021-05-20, and 2021-05-25, respectively, that is, the difference between the two adjacent videos is fixed, i.e., P is 5 days, that is, the date tag of the comparison video of 2021-05-15 is different from the date tag of the target video by one period, the date tag of the comparison video of 2021-05-20 is different from the date tag of the target video by 2 periods, and the date tag of the comparison video of 2021-05-25 is different from the date tag of the target video by 3 periods.
In one embodiment, the tag further comprises an event tag.
For example, if the method is applied to a scenario in which the athletic performance of the athlete a is analyzed, the tag of the target video may be a video of the athlete a playing in a first athletic meeting, and the m comparison videos corresponding to the target video may include a video of the athlete a playing in a second athletic meeting, a third athletic meeting, … …, or an mth athletic meeting, where the m comparison videos and the target video are videos of the athlete a playing in the athletic meeting, and therefore, the event tags of the m comparison videos may be defined as a2, A3, … … Am, and the event tag of the target video is defined as a 1; or, the event labels of the m comparison videos and the event label of the target video may be defined as a. That is, the event labels of the m comparison videos and the event label of the target video may not be the same; the m event tags of the comparison video and the event tag of the target video may be the same.
Based on the above example, assuming that the play mode is 4 × 4, the target video and each comparison video may be divided into 4 video segments, that is, the video of the athlete a participating in the game at different sports meetings is divided into 4 video segments, and then the 4 × 4 video segments are played in corresponding 16 play windows, so that the observer analyzes the movement postures of the athlete a by observing various postures of the athlete a participating in the game in the target video and each comparison video, and obtains the relevant conclusion.
In one embodiment, dividing the target video and each of the comparison videos into N video segments respectively comprises: determining an initial playing time point of a target video; and dividing the target video and each comparison video into N video segments respectively by taking the initial playing time point as a starting point according to a preset division rule.
Based on the above example, assuming that the play mode is defined as a4 × 4 mode, the target video is a video of dates 2021-05-10 in fig. 6, the comparison videos are videos with date labels of 2021-05-11, 2021-05-12 and 2021-05-13 respectively, the starting playing time point of the target video is determined to be 12:00:00, if the preset division rule is to divide the target video with a total time length of 4 hours into 4 video segments on average, the video time length corresponding to the target video can be divided into 4 video segments of 12:00:00-13:00, 13: 00-14:00, 14: 00-15:00:00 and 15: 00-16:00, taking 12:00:00 as the starting point, and each comparison video can be divided into 4 video segments as shown in fig. 6 based on the division of the target video.
It should be noted that, according to practical applications, the playing time interval of the target video may be determined first, and then each comparison video is divided into N video segments corresponding to the playing time interval of the target video.
Based on the above example, the division of the target video and the comparison video can be completed, the target video and the comparison video are divided into 16 video segments as shown in fig. 6, and then the 16 video segments are respectively played in 16 corresponding playing windows, and if the 16 video segments are played simultaneously, an observer can quickly observe the change rule of the target object in the video picture from the played video segments.
In one embodiment, (M +1) × N video segments are played in corresponding mxn play windows, respectively, including: in the M × N playing windows, the N video clips played in the N playing windows located in the same row are video clips in the same video, and the playing time intervals of the M +1 video clips played in the M playing windows located in the same column are the same.
It is not difficult to find out from the division into 16 video clips as shown in fig. 6 that, in the 16 playing windows, 4 video clips played in 4 playing windows located in the same row are video clips in the same video, and the playing time intervals of 4 video clips played in 4 playing windows located in the same column are the same.
Therefore, the target video and the comparison video are set by utilizing the label and the time point, so that the observer can more clearly and more quickly compare the small difference of the target object in the target video and the comparison video, the video viewing efficiency is improved, the observer is helped to view more characteristics about the slight change condition of the target object, and the accurate judgment rate of the observer is further improved.
As shown in fig. 7, an embodiment of the present application further provides a video playing apparatus, where the video playing apparatus 200 includes a determining unit 201, a dividing unit 202, and a playing unit 203.
A determination unit 201, configured to determine a target video and a play mode;
a dividing unit 202, configured to determine M comparison videos corresponding to a target video according to a play mode, divide the target video and each comparison video into N video segments, and divide a display area into M × N play windows, where N is an integer greater than or equal to 1, M is an integer greater than or equal to 2, M-1 is greater than or equal to M and greater than or equal to 1, and M is an integer;
the playing unit 203 is configured to play the (M +1) × N video segments in corresponding playing windows of the M × N playing windows, respectively.
In one embodiment, the dividing unit 202 is configured to: determining a label of a target video; and inquiring m comparison videos corresponding to the labels according to the playing mode and the labels.
In one embodiment, the tag is a date tag, and the date tags of the m comparison videos are different from the date tag of the target video.
In one embodiment, the method further comprises: and based on the time sequence of the date labels, the time labels of the target video and two adjacent videos in the m comparison videos are different by P periods, wherein P is an integer greater than or equal to 1.
In one embodiment, the tag is an event tag.
In one embodiment, the dividing unit 202 is further configured to determine a starting playing time point of the target video; and respectively dividing the target video and each comparison video into N video segments by taking the initial playing time point as a starting point according to a preset division rule.
In one embodiment, the playing unit 203 is further configured to, in the M × N playing windows, the N video clips played in the N playing windows located in the same row are video clips in the same video, and the playing time intervals of the M +1 video clips played in the M playing windows located in the same column are the same.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned functional units and modules are illustrated as being divided, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in the form of a hardware or a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
Based on the same inventive concept, the embodiment of the present application further provides a terminal device, which includes the terminal device 300 shown in fig. 8.
As shown in fig. 8, the terminal device 300 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and operable on the processor 301. The computer program 303 may be executed by the processor 301 to generate instructions, and the processor 301 may implement the steps in the embodiments of the authority authentication method according to the instructions. Alternatively, the processor 301, when executing the computer program 303, implements the functions of the modules/units in the above-described apparatus embodiments.
Illustratively, the computer program 303 may be divided into one or more modules/units, which are stored in the memory 302 and executed by the processor 301 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 303 in the terminal device 300.
Those skilled in the art will appreciate that fig. 8 is merely an example of the terminal device 300 and is not intended to limit the terminal device 300 and may include more or less components than those shown, or some components may be combined, or different components, for example, the terminal device 300 may also include input and output devices, network access devices, buses, etc.
The Processor 301 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 302 may be an internal storage unit of the terminal device 300, such as a hard disk or a memory of the terminal device 300. The memory 302 may also be an external storage device of the terminal device 300, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device 300. Further, the memory 302 may also include both an internal storage unit of the terminal device 300 and an external storage device. The memory 302 is used to store computer programs and other programs and data required by the terminal device 300. The memory 302 may also be used to temporarily store data that has been output or is to be output.
The terminal device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effect are similar, and are not described herein again.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of the above-mentioned method embodiments.
The embodiment of the present application further provides a computer program product, which when running on a terminal device, enables the terminal device to implement the method of the above method embodiment when executed.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunication signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc.
Reference throughout this application to "one embodiment" or "some embodiments," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more, but not all embodiments," unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
In addition, in the present application, unless otherwise explicitly specified or limited, the terms "connected," "connected," and the like are to be construed broadly, e.g., as meaning both mechanically and electrically; the terms may be directly connected or indirectly connected through an intermediate medium, and may be used for communicating between two elements or for interacting between two elements, unless otherwise specifically defined, and the specific meaning of the terms in the present application may be understood by those skilled in the art according to specific situations.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A video playback method, the method comprising:
determining a target video and a play mode;
determining M comparison videos corresponding to the target video according to the play mode, dividing the target video and each comparison video into N video segments, and dividing a display area into M × N play windows, wherein N is an integer greater than or equal to 1, M is an integer greater than or equal to 2, M-1 is greater than or equal to M and greater than or equal to 1, and M is an integer;
and respectively playing the (M +1) × N video clips in corresponding playing windows of the M × N playing windows.
2. The method of claim 1, wherein the determining m contrast videos corresponding to the target video according to the play mode comprises:
determining a label of the target video;
and inquiring m comparison videos corresponding to the labels according to the playing mode and the labels.
3. The method of claim 2, wherein the tags are date tags, and wherein the date tags of the m comparison videos are different from the date tag of the target video.
4. The method according to claim 3, wherein the time labels of the target video and the adjacent two videos in the m comparison videos are different by P periods based on the time sequence of the date labels, and P is an integer greater than or equal to 1.
5. The method of claim 2, wherein the tag further comprises an event tag.
6. The method of claim 1, wherein the dividing the target video and each of the comparison videos into N video segments comprises:
determining an initial playing time point of the target video;
and dividing the target video and each comparison video into N video segments respectively by taking the initial playing time point as a starting point according to a preset dividing rule.
7. The method of claim 6, wherein the playing (M +1) xn video clips in corresponding ones of the mxn playing windows respectively comprises:
in the M × N playing windows, the N video clips played in the N playing windows located in the same row are video clips in the same video, and the playing time intervals of the (M +1) video clips played in the M playing windows located in the same column are the same.
8. A video playback apparatus, comprising:
a determining unit for determining a target video and a play mode;
the dividing unit is used for determining M comparison videos corresponding to the target video according to the playing mode, dividing the target video and each comparison video into N video segments respectively, and dividing a display area into M multiplied by N playing windows, wherein N and M are integers which are larger than or equal to 2 respectively, M-1 is larger than or equal to M and larger than or equal to 1, and M is an integer;
and the playing unit is used for playing the (M +1) multiplied by N video clips in corresponding playing windows of the M multiplied by N playing windows respectively.
9. A terminal device, characterized in that the device comprises: a processor and a memory for storing a computer program, the processor for invoking and running the computer program from the memory, causing the apparatus to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 7.
CN202111173636.2A 2021-10-08 2021-10-08 Video playing method, device, equipment and computer storage medium Pending CN114095668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111173636.2A CN114095668A (en) 2021-10-08 2021-10-08 Video playing method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111173636.2A CN114095668A (en) 2021-10-08 2021-10-08 Video playing method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114095668A true CN114095668A (en) 2022-02-25

Family

ID=80296557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111173636.2A Pending CN114095668A (en) 2021-10-08 2021-10-08 Video playing method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114095668A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859582A (en) * 2010-04-29 2010-10-13 北京中星微电子有限公司 Method and device for playing audio and video in multi-window
CN103873819A (en) * 2012-12-13 2014-06-18 杭州海康威视数字技术股份有限公司 Method and system for rapid playback of video files in video monitoring
CN109936762A (en) * 2019-01-12 2019-06-25 河南图灵实验室信息技术有限公司 The method and electronic equipment that similar audio or video file are played simultaneously
CN110719519A (en) * 2019-09-27 2020-01-21 视联动力信息技术股份有限公司 Video data processing method and device, electronic equipment and storage medium
CN111447461A (en) * 2020-05-20 2020-07-24 上海科技大学 Synchronous switching method, device, equipment and medium for multi-view live video
CN112188267A (en) * 2020-09-24 2021-01-05 腾讯科技(深圳)有限公司 Video playing method, device and equipment and computer storage medium
CN112565825A (en) * 2020-12-02 2021-03-26 腾讯科技(深圳)有限公司 Video data processing method, device, equipment and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859582A (en) * 2010-04-29 2010-10-13 北京中星微电子有限公司 Method and device for playing audio and video in multi-window
CN103873819A (en) * 2012-12-13 2014-06-18 杭州海康威视数字技术股份有限公司 Method and system for rapid playback of video files in video monitoring
CN109936762A (en) * 2019-01-12 2019-06-25 河南图灵实验室信息技术有限公司 The method and electronic equipment that similar audio or video file are played simultaneously
CN110719519A (en) * 2019-09-27 2020-01-21 视联动力信息技术股份有限公司 Video data processing method and device, electronic equipment and storage medium
CN111447461A (en) * 2020-05-20 2020-07-24 上海科技大学 Synchronous switching method, device, equipment and medium for multi-view live video
CN112188267A (en) * 2020-09-24 2021-01-05 腾讯科技(深圳)有限公司 Video playing method, device and equipment and computer storage medium
CN112565825A (en) * 2020-12-02 2021-03-26 腾讯科技(深圳)有限公司 Video data processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN105872837B (en) User's recommended method and device
CN108521588B (en) Anchor ranking method and system based on time slicing, server and storage medium
CN105100886B (en) Distribution control method and device, the server and system of network media information
US20100232644A1 (en) System and method for counting the number of people
CN110120087B (en) Label marking method and device for three-dimensional virtual sand table and terminal equipment
CN107846629A (en) Recommend the method, apparatus and server of video to user
CN110472154A (en) A kind of resource supplying method, apparatus, electronic equipment and readable storage medium storing program for executing
CN111935453A (en) Learning supervision method and device, electronic equipment and storage medium
CN113194349A (en) Video playing method, commenting method, device, equipment and storage medium
CN105635667B (en) Method and apparatus for visualization digital Video stream information
CN111523920B (en) Information pushing method and device and terminal equipment
CN110264497B (en) Method and device for determining tracking duration, storage medium and electronic device
CN114095668A (en) Video playing method, device, equipment and computer storage medium
CN112162888A (en) Method and device for determining reason of black screen of display and computer storage medium
CN113296666A (en) Anchor exposure data reporting method and device, terminal equipment and storage medium
CN106488295A (en) A kind of method for information display and device
Ovwigho et al. The availability and use of information communication technologies by extension agents in Delta agricultural development project, Delta State Nigeria
CN113709565B (en) Method and device for recording facial expression of watching video
CN109544205A (en) Statistical method, server and the computer readable storage medium of advertisement exposure amount
WO2018171234A1 (en) Video processing method and apparatus
CN114241596A (en) Behavior analysis method, device and equipment
CN110321517B (en) Method and device for detecting playing proportion of browsing resources and readable storage medium
CN112040249A (en) Recording and broadcasting method and device and single camera
CN108156529B (en) Data display method, device and system
CN114201031A (en) Time counting method and device for eye movement tracking

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