CN111988670A - Video playing method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN111988670A
CN111988670A CN202010830915.0A CN202010830915A CN111988670A CN 111988670 A CN111988670 A CN 111988670A CN 202010830915 A CN202010830915 A CN 202010830915A CN 111988670 A CN111988670 A CN 111988670A
Authority
CN
China
Prior art keywords
current
target
video
score
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010830915.0A
Other languages
Chinese (zh)
Other versions
CN111988670B (en
Inventor
卢鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010830915.0A priority Critical patent/CN111988670B/en
Publication of CN111988670A publication Critical patent/CN111988670A/en
Application granted granted Critical
Publication of CN111988670B publication Critical patent/CN111988670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content

Abstract

The present disclosure provides a video playing method, a video playing device, an electronic device and a computer-readable storage medium, wherein the method comprises the following steps: acquiring a current match video, wherein the current match video comprises a current match image, the current match image comprises a current scoring area, and the current scoring area is used for displaying current match scoring data; determining a target image with changed current competition score data from the current competition image; acquiring a current score time point corresponding to current match score data in the target image; determining a target scoring time period comprising the current scoring time point according to the current scoring time point, wherein videos corresponding to the target scoring time period are scoring videos; and responding to a video playing control request, and controlling the playing of the scoring video. The technical scheme provided by the disclosure can be used for screening the score video from the current match video so as to play the score segments according to the score video.

Description

Video playing method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video processing device, an electronic device, and a computer-readable storage medium.
Background
During the viewing of the game video, the highlight moment is the most interesting part of the target object.
However, in the existing video playing process, the target object often misses the wonderful scoring segment due to operations such as fast forward and fast backward; or due to the fact that the match video is too long, the target object cannot be patiently and completely watched at all the match moments, and therefore the user experience is too low.
In this case, a video playing method that can satisfy the requirement of the target object to watch the score segment in the game video will improve the user experience of the target object.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure.
Disclosure of Invention
The embodiment of the disclosure provides a video playing method and device, electronic equipment and a computer readable storage medium, which can automatically screen out a score video from a current match video, so that the score video can be accurately positioned to a target score video when the video is played according to a video playing control request, and a target object is prevented from missing a wonderful score segment.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
The embodiment of the disclosure provides a video playing method, which includes: acquiring a current match video, wherein the current match video comprises a current match image, the current match image comprises a current scoring area, and the current scoring area is used for displaying current match scoring data; determining a target image with changed current competition score data from the current competition image; acquiring a current score time point corresponding to current match score data in the target image; determining a target scoring time period comprising the current scoring time point according to the current scoring time point, wherein videos corresponding to the target scoring time period are scoring videos; and responding to a video playing control request, and controlling the playing of the scoring video.
The disclosed embodiment provides a video playing device, which comprises: the system comprises a match video acquisition module, a target image acquisition module, a current score time point acquisition module, a target score time period determination module and a playing module.
The match video obtaining module may be configured to obtain a current match video, where the current match video includes a current match image, the current match image includes a current scoring area, and the current scoring area is used to display current match scoring data. The target image acquisition module may be configured to determine a target image in which current match score data is changed from the current match image. The current score time point obtaining module may be configured to obtain a current score time point corresponding to current match score data in the target image. The target score time period determination module may be configured to determine a video corresponding to the target score time period as a scored video. The playback module may be configured to control playback of the scored video in response to a video playback control request.
In some embodiments, the video playback control request is a highlight moment playback request.
In some embodiments, the playing module may include: a highlight moment menu submodule, a highlight moment playing request obtaining submodule and a score video automatic playing submodule.
The highlight moment menu submodule can be configured to display a highlight moment menu, and the highlight moment menu comprises a highlight moment opening button, so that a target object sends a highlight moment playing request according to the highlight moment opening button. The highlight moment play request obtaining sub-module may be configured to obtain the highlight moment play request. The score video automatic playing sub-module may be configured to automatically play the score videos in chronological order in response to the highlight moment play request.
In some embodiments, the video playing control request is a race-spot fast-forward request or a race-spot fast-backward request.
In some embodiments, the playing module may include: a racing point fast forward/fast backward request acquisition sub-module and a score preview display sub-module.
The racing point fast forward/fast backward request obtaining sub-module may be configured to play the next scored video in response to the racing point fast forward request, or play the previous scored video in response to the racing point fast backward request. The score preview picture display sub-module may be configured to display a target progress bar of the current game video and a score preview picture of the score video while playing the next score video or the previous score video, the target progress bar displaying target prompt information at the current score time point position so that a target object controls playing of the current game video according to the target prompt information and the score preview picture.
In some embodiments, the video playback control request is a normal fast forward request or a normal fast reverse request.
In some embodiments, the playing module may include: a common fast forward/fast backward request obtaining submodule, a common fast forward/fast backward stop request obtaining submodule, a target competition preview obtaining submodule and a target time on demand playing submodule.
The ordinary fast forward/fast backward request obtaining sub-module may be configured to, in response to the ordinary fast forward request or the ordinary fast backward request, display a target progress bar and a game preview image in the current game video, where the target progress bar displays target prompt information at the current scoring time point position, so that a target object controls sending of an ordinary fast forward stop request or an ordinary fast backward stop request according to the target prompt information and the game preview image. The normal fast forward/fast reverse stop request obtaining sub-module may be configured to receive the normal fast forward stop request or the normal fast reverse stop request, where the normal fast forward stop request or the normal fast reverse stop request is sent at a target time point. The target game preview image obtaining sub-module may be configured to, in response to the normal fast forward stop request or the normal fast reverse stop request, display a target game preview image corresponding to the target time point, and display that the target progress bar is dragged to the target time point position. The target point in time playing sub-module may be configured to play the current game video from the target point in time.
In some embodiments, the video playback control request is a double speed playback request.
In some embodiments, the playing module may include: the device comprises a multiple speed playing request acquisition submodule, a non-scoring video acquisition submodule and a multiple speed playing submodule.
The multiple speed playing request obtaining submodule may be configured to obtain the multiple speed playing request, where the multiple speed playing request includes a target multiple speed. The non-score video acquisition sub-module may be configured to acquire a non-score video of the current game video. The multiple speed playing sub-module may be configured to play the non-scored video at a target multiple speed and play the scored video at a normal speed.
In some embodiments, the target image acquisition module may include: a current match score data acquisition submodule and a target image acquisition submodule.
The current game score obtaining sub-module may be configured to obtain current game score data in the current game image, where the current game image includes a first game image and a second game image, and the first game image is a next frame image of the second game image. The target image obtaining sub-module may be configured to determine that the first match image is the target image if the current match score data of the first match image is different from the current match score data of the second match image.
In some embodiments, the current game score acquisition sub-module may include: a current score area obtaining unit and a current match score obtaining unit.
The current scoring area obtaining unit may be configured to process the current game image through a scoring area extraction model to obtain a current scoring area in the current game image. The current match score obtaining unit may be configured to process a current score region in the current match image through a score data extraction model, and obtain current match score data in the current match image.
In some embodiments, the current scoring area obtaining unit may include: the device comprises a historical competition video obtaining subunit, a target position information obtaining subunit, a historical scoring area obtaining subunit and a scoring area extraction model training subunit.
Wherein the historical competition video acquiring subunit may be configured to acquire a historical competition video, the historical competition video including a historical competition image, the historical competition image including a historical scoring area, the historical scoring area displaying historical scoring data. The target position information acquiring subunit may be configured to acquire target position information of the history scoring area in the history match image. The history scoring area obtaining subunit may be configured to intercept the history scoring area in the history game image from the history game image according to the target position information. The scoring region extraction model training subunit may be configured to train the scoring region extraction model according to the historical match image and the historical scoring region.
In some embodiments, the historical game images include a target historical game image.
In some embodiments, the history scoring region obtaining subunit may include: the target area intercepts the grandchild unit, the target area pixel average value obtains the grandchild unit, and the history scoring area obtains the grandchild unit.
Wherein the target area intercepting grandchild unit may be configured to intercept a target area from each of the historical game images according to the target location information. The target area pixel average value obtaining grandchild unit may be configured to determine a target area pixel average value from pixels of each target area. The history scoring area obtaining grandchild unit may be configured to determine that the target area in the target history match image is the history scoring area in the target history match image if a mean square error between a pixel of the target area in the target history match image and an average value of pixels of the target area is greater than a target threshold value.
In some embodiments, the current tournament score obtaining unit may include: the method comprises a historical score time point obtaining grandchild unit, a historical score data obtaining grandchild unit and a score data extraction model training grandchild unit.
Wherein the history score time point acquiring grandchild unit may be configured to acquire the history score time point of the history game video. The history score data acquiring grandchild unit may be configured to determine history score data in the history game image according to the history score time point. The score data extraction model training grandchild unit may be configured to train the score data extraction model according to the historical score region and the historical score data.
An embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement any of the video playing methods described above.
The present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the video playing method according to any one of the above items.
Embodiments of the present disclosure provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the video playing method.
The video playing method and device, the electronic device and the computer readable storage medium provided by the embodiment of the disclosure can screen the target image with the changed competition score data from the current competition video, and determine the target score time period according to the current score time point corresponding to the target image. The current match video is played to the target object according to the score video corresponding to the target score time period, so that the target object can be prevented from missing wonderful segments at the score moment, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 shows a preview of an exemplary system architecture of a video playback method or a video playback apparatus applied to an embodiment of the present disclosure.
Fig. 2 is a block diagram illustrating a computer system applied to a video playback device according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a video playback method according to an example embodiment.
FIG. 4 is a diagram illustrating a change in current score data according to an exemplary embodiment.
Fig. 5 is a flowchart of step S2 in fig. 3 in an exemplary embodiment.
Fig. 6 is a flowchart of step S21 in fig. 5 in an exemplary embodiment.
FIG. 7 is a diagram illustrating a game image according to an exemplary embodiment.
FIG. 8 is a diagram illustrating a game image according to an exemplary embodiment.
Fig. 9 is a flowchart of step S213 in fig. 6 in an exemplary embodiment.
Fig. 10 is a flowchart of step S21 in fig. 5 in an exemplary embodiment.
FIG. 11 is a flowchart of step S5 of FIG. 3 in an exemplary embodiment.
FIG. 12 is a diagram illustrating a highlight moment menu according to an exemplary embodiment.
Fig. 13 is a flowchart of step S5 in fig. 3 in an exemplary embodiment.
FIG. 14 is a diagram illustrating a fast forward/fast reverse display of a race track, according to an exemplary embodiment.
Fig. 15 is a flowchart of step S5 in fig. 3 in an exemplary embodiment.
FIG. 16 is a diagram illustrating a normal fast forward/fast reverse display in accordance with an exemplary embodiment.
FIG. 17 is a schematic illustration of a pause display in accordance with an exemplary embodiment.
FIG. 18 is a flowchart of step S5 of FIG. 3 in an exemplary embodiment.
Fig. 19 is a diagram illustrating a double-speed playback display according to an exemplary embodiment.
Fig. 20 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and steps, nor do they necessarily have to be performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of one or more elements/components/etc.; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first," "second," and "third," etc. are used merely as labels, and are not limiting on the number of their objects.
The following detailed description of exemplary embodiments of the disclosure refers to the accompanying drawings.
Fig. 1 shows a preview of an exemplary system architecture of a video playback method or a video playback apparatus to which an embodiment of the present disclosure can be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Among them, the terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, and in addition, the terminal devices may be provided with clients such as a video client, a browser client, and an education client, etc. The terminal devices may include, but are not limited to, smart phones, tablets, laptop portable computers, desktop computers, wearable devices, virtual reality devices, smart homes, and the like.
The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal apparatuses 101, 102, 103. The background management server can analyze and process the received data such as the request and feed back the processing result to the terminal equipment.
The server 105 may, for example, obtain a current game video including a current game image including a current scoring area for displaying current game scoring data; the server 105 may determine, for example, from the current game image, a target image in which the current game score data has changed; the server 105 may, for example, obtain a current score time point corresponding to the current match score data in the target image; the server 105 may determine, for example, according to the current scoring time point, a target scoring time period including the current scoring time point, where a video corresponding to the target scoring time period is a scored video; the server 105 may control the playing of the scored video, for example, in response to a video play control request. It is to be understood that the above-mentioned video playing may be performed not only by the server, but also by the terminal device, and the disclosure is not limited thereto.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is only illustrative, and the server 105 may be a physical server or may be composed of a plurality of servers, and there may be any number of terminal devices, networks and servers according to actual needs.
Referring now to FIG. 2, a pictorial representation of a structural preview of a computer system 200 suitable for use in implementing the terminal device of the present embodiment is shown. The terminal device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for the operation of the system 200 are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 201.
It should be noted that the computer readable storage medium shown in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or sub-modules and/or units and/or sub-units described in the embodiments of the present application may be implemented by software or hardware. The described modules and/or sub-modules and/or units and/or sub-units may also be provided in a processor, which may be described as: a processor includes a transmitting unit, an obtaining unit, a determining unit, and a first processing unit. Wherein the names of these modules and/or sub-modules and/or units and/or sub-units in some cases do not constitute a limitation of the modules and/or sub-modules and/or units and/or sub-units themselves.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable storage medium carries one or more programs which, when executed by a device, cause the device to perform functions including: acquiring a current match video, wherein the current match video comprises a current match image, the current match image comprises a current scoring area, and the current scoring area is used for displaying current match scoring data; determining a target image with changed current competition score data from the current competition image; acquiring a current score time point corresponding to current match score data in the target image; determining a target scoring time period comprising the current scoring time point according to the current scoring time point, wherein videos corresponding to the target scoring time period are scoring videos; and responding to a video playing control request, and controlling the playing of the scoring video.
Fig. 3 is a flow chart illustrating a video playback method according to an example embodiment. The method provided by the embodiment of the present disclosure may be executed by any electronic device with computing processing capability, for example, the method may be executed by the server or the terminal device in the embodiment of fig. 1, or may be executed by both the server and the terminal device.
Referring to fig. 3, a video playing method provided by an embodiment of the present disclosure may include the following steps.
In step S1, a current game video is obtained, where the current game video includes a current game image, the current game image includes a current scoring area, and the current scoring area is used to display current game scoring data.
In some embodiments, the current game video may refer to a game video to be played (e.g., a basketball game video, a football game video, a badminton game video, etc.) and may include a current game image (401 or 402 shown in fig. 4) of one frame, and the current game image includes a current score area (4011 or 4021 shown in fig. 4), wherein the current score area is used to display score data of the current game (e.g., score data 23:35 displayed in area 4011 and score data 24: 35 displayed in area 4021 in fig. 4).
In step S2, a target image in which the current game score data is changed is determined from the current game image.
In some embodiments, if a score event occurs in the current game video at the target time, the current game score data in the current game image corresponding to the target time will change. The embodiment finds out the target image with the changed current score data from each current game image of the current game video, and the specific process may include:
acquiring current match score data displayed in each current match image in a current match video; and comparing the current match score data in the two continuous current match images to determine whether the current match score data changes.
For example, if the current game image includes a first game image and a second game image, the first game image is a next frame image of the second game image, and if the current game score data of the first game image is different from the current game score data in the second game image, the first game image may be considered as a target image in which the current game score data is changed.
As shown in fig. 4, the current game image 401 may be an image of a previous frame of the current game image 402, the current score data in the current score area 4011 of the current game image 401 is 23:35, the current score data in the current score area 4021 of the current game image 402 is 24: 35, the current score data in the current game image 402 is changed from the current score data in the previous frame image 401, and thus the current game image 402 may be used as the target image.
Generally, a game may include multiple games (for example, the game system of badminton may be win-win, and the badminton game may require at least 3 games), so the score data of the current game may include both the large score (i.e., the number of games won) and the small score (i.e., the score of the current game) of the current game. It can be understood that if the big score of the current match changes, the small score of the current match necessarily changes. Thus, a change in the current game score data of the present disclosure may refer to a change in the small score of the current game.
In step S3, a current score time point corresponding to the current match score data in the target image is obtained.
In some embodiments, the time corresponding to the target image may be used as the current score time point corresponding to the current match score data.
In step S4, according to the current scoring time point, a target scoring time period including the current scoring time point is determined, and a video corresponding to the target scoring time period is a scored video.
In some embodiments, a target scoring time period including the current scoring time point may be determined based on the current scoring time point, for example, the target scoring time period may be generated by tracing back and forth each target time period (e.g., 10 seconds) with the current scoring time point as a center time. In some embodiments, a binary representation (T) may be used1,T2) To represent a target score period, where T1Represents the start time, T, of the target score period2Indicating the end time of the target scoring time period.
It is understood that the target time duration may be determined according to the type of game in the current game video. For example, since a score may be obtained for a basketball within a minimum of ten seconds, the target duration for a game of basketball may be set to 10 seconds; since the scoring period of the football game is long (for example, it may be possible to take a ball more than half an hour apart), the target duration corresponding to the football game may be relatively long (for example, 15 seconds).
In some embodiments, a score video may be determined in the current game video according to the target time period, for example, a video corresponding to the target time period (e.g., 00:30:15 to 00:30:30) in the current game video is used as the score video.
In step S5, in response to a video playback control request, playback of the scored video is controlled.
In some embodiments, the playing of the scored video may be controlled according to a video playing request of the target object.
For example, if a highlight moment play request given by a user is received at a target moment, the score videos after the target moment may be played in time sequence, or all the score videos may be played in time sequence; if the user gives a double-speed playing request, the score video of the current match video can be controlled to play at normal speed while the non-score video of the current match video is controlled to play at the double speed.
According to the technical scheme provided by the embodiment, the target image with the changed game score data can be screened from the current game video, the target score time period is determined according to the current score time point corresponding to the target image, the current game video is played to the target object according to the score video corresponding to the target score time period, the target object can be prevented from missing wonderful segments at the score moment, and the user experience is improved.
Artificial Intelligence (AI) is a theory, method, technique and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human Intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Machine Learning (ML) is a multi-domain cross subject, and relates to multiple subjects such as probability theory, statistics, approximation theory, convex analysis and algorithm complexity theory. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine learning and deep learning generally include techniques such as artificial neural network models, belief networks, reinforcement learning, transfer learning, inductive learning, and formal education learning.
The embodiment of the disclosure trains the score region extraction model and the score data extraction model through the neural network model in the artificial intelligence technology, so that the score extraction model can identify the current score region from the image, and the score data extraction model extracts the current score data from the score region.
Fig. 5 is a flowchart of step S2 in fig. 3 in an exemplary embodiment.
In some embodiments, the current game score data in each current game image may be obtained first, and then the game score data in two consecutive current game images may be compared to determine whether the current game score data has changed. Wherein obtaining the current game score data in each current game image may comprise the following steps.
In step S21, the current game image is processed by the scoring area extraction model to obtain a current scoring area in the current game image.
In some embodiments, the first network model may be trained in advance to obtain a partitioned region extraction model, such that the partitioned region extraction model extracts a current scoring region from a current game image.
The first network model may refer to a neural network model (for example, VGG19 (a neural network model proposed by the visual geometry group of oxford university)), or may refer to a network model that can implement a classification function, such as a machine learning model, which is not limited in this disclosure.
In step S22, the score data extraction model processes the current score area in the current game image, and obtains the current game score data in the current game image.
In some embodiments, the second network model may be trained in advance to obtain the fractional data extraction model in order to extract the current scoring data from the current scoring area.
The second network model may refer to a neural network model (e.g., a convolutional neural network model), or may refer to a network model that can implement a classification function, such as a machine learning model, which is not limited in this disclosure.
According to the technical scheme provided by the embodiment of the disclosure, on one hand, the current scoring area is conveniently and accurately extracted from the current competition image through the pre-trained scoring area extraction model; on the other hand, the trained score data extraction model is extracted to conveniently and accurately extract the current match score data corresponding to the current match image from the current score area.
The embodiment can accurately extract the current score data from the current match image, and the target image with the changed current match score data and the current score time point can be accurately determined by comparing the current match score data in the current match image of two continuous frames.
In other embodiments, the target image with changed score data and the current score time point corresponding to the target image may be determined through the following steps.
Processing the current competition image through a scoring area extraction model to obtain a current scoring area in the current competition image; confirming the target score position of the current score data relative to the historical score area (the target score position of the current score data in the current match video is basically not changed); calculating whether the mean square error of pixels at the target score positions between adjacent key frames is greater than a target pixel threshold value or not; the time point t corresponding to the key frame with the mean square error of the pixels of the previous key frame larger than the target pixel threshold valueiAnd marking as a current scoring time point, and taking the current scoring image corresponding to the current scoring time point as a target image.
According to the technical scheme, the target image with the changed current score data can be simply and conveniently determined in each current match image in the current match video.
Fig. 6 is a flowchart of step S21 in fig. 5 in an exemplary embodiment.
Referring to fig. 6, the scoring region extraction model may be trained by the following steps.
In step S211, a historical match video is acquired, the historical match video including a historical match image, the historical match image including a historical scoring area, the historical scoring area displaying historical scoring data.
In some embodiments, historical game videos may refer to various types of game videos held by various entities or institutions, as the present disclosure is not limited in this respect. For example, the historical game video may include a 2019 NBA (National Basketball Association) game video (fig. 7 shows a schematic diagram of a certain frame of Basketball game image in a Basketball game video), a 2018 australian tennis tournament video (fig. 8 shows a schematic diagram of a certain frame of tennis game image in a tennis game video), and the like. It can be understood that the time, type, host side, and the like of the historical game video are not limited by the present disclosure, and any game video on which the score data can be displayed may be the historical game video in the embodiment of the present disclosure.
Wherein the historical game video may be generated from a frame of historical game images, each of which may in turn include a historical scoring area. For example, a historical game image 701 as shown in fig. 7 may be included in a certain basketball game video, the historical game image 701 may in turn include a historical scoring area 7011, and the historical scoring area 7011 may display historical scoring data 4: 4; as another example, a video of a tennis match may include a historical match image 801 as shown in FIG. 8, where the historical match image 801 may include a historical scoring area 8011, and the historical scoring area 8011 may display the scoring data 68: 80.
In step S212, target position information of the history scoring area in the history match image is acquired.
Generally, in the same historical game video, the position of the historical scoring area in the historical game image is fixed. For example, in the historical match video corresponding to the historical match image 701 shown in fig. 7, the scoring areas of the respective historical match images may be all displayed at the upper left corner position (the position of the historical scoring area 7011 in the historical match image 701).
In step S213, a history scoring area in the history match image is intercepted from the history match image according to the target position information.
In some embodiments, the target position information of the historical scoring area in the historical game images may be obtained in advance, and then the corresponding historical scoring area may be intercepted from each historical game image according to the target position information.
In step S214, the scoring area extraction model is trained according to the historical game image and the historical scoring area.
In some embodiments, the historical competition image may be used as a training sample, and the historical scoring area corresponding to the historical competition image may be used as a training sample to train the first network model to obtain the scoring area extraction model.
According to the technical scheme provided by the embodiment, the scoring area extraction model can be trained in advance through the historical competition video, so that the scoring area can be accurately extracted from the historical competition image.
Fig. 9 is a flowchart of step S213 in fig. 6 in an exemplary embodiment.
When the target competition is in a transition at the target time, the scoring area and scoring data in the scoring area may not be displayed in a historical competition image corresponding to the target time; when the target game video has advertisements at the target time, the scoring area in the historical game image corresponding to the target time may be covered or the display position may be shifted.
Then, some of the historical game images in the historical game video may not have a scoring area or the scoring area may not be displayed at the target location. Therefore, in order to accurately extract scoring areas corresponding to the historical game images in the historical game video, the following scheme is provided in the embodiment.
In step S2131, a target area is cut out from each of the historical game images based on the target position information.
It will be appreciated that the target area of the process cut from each historical game image will be mostly a historical scoring area, and only a small portion may be an advertising area or other non-scoring area.
In step S2132, a target area pixel average value is determined from the pixels of the respective target areas.
In step S2133, if a mean square error between pixels of a target area in the target historical match image and an average value of the pixels of the target area is greater than a target threshold, the target area in the target historical match image is a historical score area in the target historical match image.
In order to accurately identify the historical scoring area from the target area, a pixel average value of the target area may be obtained first, and the pixel average value of the target area may roughly reflect the pixel characteristics of the scoring area.
In some embodiments, after the pixel average value of the target area is obtained, the mean square deviation between the pixels of each target area and the average value can be obtained, the target area with the mean square deviation larger than the target threshold value is used as a historical scoring area, the historical competition image corresponding to the target area with the mean square deviation smaller than or equal to the target threshold value is used as an image to be marked, and then the image to be marked is manually marked in the scoring area.
In some embodiments, the annotation result for the historical game video may be stored as { t }i,ti+1,Si,bii ∈ (1, 2, 3.) } and the like, wherein (t ∈ is higher than the otheri,ti+1) Representing historical scoring region SiEffective time, biIndicating whether there is a score region, when biIs a proportion-existing region when b is 1iA score of 0 indicates that no score region exists.
According to the technical scheme provided by the embodiment, the target area can be extracted from the historical scoring image according to the target position information, the pixel average value of all the target areas is obtained, then the pixels of all the target areas are compared with the pixel average value so as to accurately determine the historical scoring area and the non-historical scoring area to be re-labeled from the target areas, and finally, the historical competition image corresponding to the non-historical competition area to be re-labeled is manually labeled in the scoring area so as to realize the correct labeling of the scoring areas of all the historical competition images.
Fig. 10 is a flowchart of step S21 in fig. 5 in an exemplary embodiment.
Referring to fig. 10, the scoring region extraction model may be trained by the following steps.
In step S221, a history score time point of the history game video is acquired.
Since the historical score data in the historical score video is changed only at the historical score time point, the change of the historical score data can be accurately determined only by acquiring the historical score time point in the historical game video and the historical game image corresponding to the historical score time point.
In some embodiments, the historical score time point in the historical game video may be determined by: manually confirming the target scoring position of the historical scoring data relative to the historical scoring area; calculating whether the mean square error of the pixels at the target score positions between the adjacent key frames is greater than a target pixel threshold; the time point t corresponding to the current key frame with the mean square error of the pixels of the previous key frame larger than the target pixel threshold valueiLabeled as historical score time points.
In step S222, history score data in the history game image is determined according to the history score time point.
In some embodiments, the historical score data corresponding to the historical score time point may be manually labeled, and then the historical score data in all the historical game images between two consecutive historical score time points is labeled as the historical score data corresponding to the previous historical score time point. For example, if the first scoring time point is the previous scoring time point of the second scoring time point, where the historical scoring data corresponding to the first scoring time point is manually labeled as a, and the historical scoring data corresponding to the second scoring time point is manually labeled as B, the historical scoring data in all the historical play charts between the first scoring time point and the second scoring time point may be labeled as a.
In some embodiments, the historical score data in each historical game image may also be annotated by the following steps.
Time series t can be obtained according to historical score time pointsiI ∈ (1, 2, 3.) }, at (t)i,ti+1) Randomly extracting a historical match image to obtain a key frame sequence { PiI ∈ (1, 2, 3.) }; artificial annotation PiTo obtain a score marking result CiAnd labeling the scores with a result CiStored as ti,ti+1,Ci,i∈(1,2,3,...)},(ti,ti+1) Is CiEffective video timestamp (i.e. at (t)i,ti+1) All the historical match score data of all the historical match score images in the time are Ci)。
In step S223, the score data extraction model is trained according to the historical score region and the historical score data.
According to the technical scheme provided by the embodiment, the scoring area extraction model can be trained by the historical scoring area in the historical scoring image and the historical scoring data in the historical scoring area, so that the historical scoring data can be accurately extracted from the historical scoring area.
FIG. 11 is a flowchart of step S5 of FIG. 3 in an exemplary embodiment.
Referring to fig. 11, if the video playback control request in fig. 3 refers to a highlight moment playback request, the above step S5 may include the following steps.
In step S511, a highlight time menu is displayed, where the highlight time menu includes an open button of highlight time, so that the target object sends a highlight time play request according to the open button of highlight time.
As shown in fig. 12, the target object may transmit a menu display request to the target device through a menu option (or a designated button) in viewing the current game video. When the target device receives the menu display, a menu interface as shown in fig. 12 may be displayed to the target object, and the target object may determine whether to turn on the highlight timing through the menu interface.
In step S512, the highlight moment playing request is obtained.
In some embodiments, if the "highlight moment" and the "open" button corresponding to the "highlight moment" are selected by the target object in the menu display interface of the target device, a highlight moment playing request may be sent to the target device, so that the target device plays the highlight moment of the current game video after receiving the highlight moment playing request.
In step S513, in response to the highlight moment play request, the score video is automatically played in chronological order.
In some embodiments, after the target device receives the highlight moment play request at the target time, the score videos after the target device may be played in sequence, or all the score videos may be played directly.
The technical scheme provided by the embodiment can directly and automatically play all the scoring videos in the current match video to the target object, not only can accelerate the playing of the current match video, but also can ensure that the target object does not miss any wonderful scoring time.
Fig. 13 is a flowchart of step S5 in fig. 3 in an exemplary embodiment.
Referring to fig. 13, if the video playback control request in fig. 3 refers to a race track fast forward request or a race track fast backward request, the step S5 may include the following steps.
In step S521, a next scored video is played in response to the race point fast forward request, or a last scored video is played in response to the race point fast backward request.
In some embodiments, if the target device receives the race-spot fast-forward request or the race-spot fast-backward request for the first time at the target time, the target device may directly play the next score video after the target time or the last score video before the target time.
In step S522, while playing the next or last score video, displaying a target progress bar of the current game video and a score preview of the score video, where the target progress bar displays target prompt information at the current score time point position, so that a target object controls playing of the current game video according to the target prompt information and the score preview.
In some embodiments, the target device displays the target progress bar and the score preview images of the respective score videos as shown in fig. 14 while playing the next score video after the target time or the last score video before the target time, so that the target object determines whether to continue the fast forward or fast backward of the race spot according to the target prompt information on the target progress bar and the score preview image information. The score data corresponding to the current score time point can be displayed on the left lower side of the currently selected score preview picture, and the current score time point can be displayed on the right lower side of the currently selected score preview picture.
In some embodiments, the target object may clearly know the current video viewing progress through the target prompt information on the target progress bar, and may clearly understand the main content and the score condition of the corresponding score video through the score preview image of each score video, so as to avoid missing a wonderful score segment.
In some embodiments, if the target object does not adjust the current playing progress or press the return key any more in the target time period (e.g. 5 seconds), the target progress bar and the score preview image are hidden; if the target object carries out the race-spot fast forward or fast backward operation again in the target time period, the score preview image and the target progress bar will keep the hovering state, but the playing progress is not switched immediately. And at the moment, clicking or long-pressing a left key and a right key to drag the progress bar to a previous score time point or a next score time point, simultaneously scrolling the upper preview image to a corresponding score time position, and if no operation exists for a period of time or a confirmation key is pressed, fast forwarding or fast rewinding to a corresponding position to hide the preview image and the progress bar.
Fig. 15 is a flowchart of step S5 in fig. 3 in an exemplary embodiment.
Referring to fig. 15, if the video playback control request in fig. 3 refers to a normal fast forward request or a normal fast reverse request, the above step S5 may include the following steps.
In step S531, in response to the normal fast forward request or the normal fast backward request, displaying a target progress bar and a game preview image in the current game video, where the target progress bar displays target prompt information at the current scoring time point position, so that a target object controls transmission of a normal fast forward stop request or a normal fast backward stop request according to the target prompt information and the game preview image.
It is understood that the game preview image may refer to a preview image of the current game image, that is, any time point may correspond to the game preview image in which one current game image exists.
In some embodiments, if the target device receives a normal fast-forward request or a normal fast-reverse request at a target time, the target device performs fast-forward or fast-reverse in real time and displays a target progress bar and a game preview as shown in fig. 16, and a time point corresponding to the game preview is displayed on the lower right of the currently selected game preview.
In some embodiments, the target object may determine the progress of normal fast forward or normal fast reverse according to a target progress bar displayed by the target device, target prompt information displayed on the target progress bar, and a game preview image, so as to avoid missing a highlight segment.
The target device can drag and display the target progress bar and scroll and display the game preview image according to the common fast forward request or the common fast backward request sent by the target object.
In some embodiments, if the target object does not operate any operation for a period of time or the target object presses a return key, the hovering state is exited, the current playing progress is not adjusted, and the preview image and the progress bar are hidden.
In step S532, the normal fast forward stop request or the normal fast backward stop request is received, and the normal fast forward stop request or the normal fast backward stop request is sent at a target time point.
In step S533, in response to the normal fast forward stop request or the normal fast backward stop request, displaying a target race preview image corresponding to the target time point, and displaying that the target progress bar is dragged to the target time point position.
In some embodiments, after the target object stops sending the normal fast forward request or the normal fast rewind request at the target time point and presses the enter key, the target device displays a game preview image corresponding to the target time point and displays that the target progress bar is dragged to the target time point position in response to the normal fast forward request or the normal fast rewind request.
In step S534, the current game video is played from the target time point position.
In some embodiments, the target device plays the current game video from the target point in time while playing the preview image of the game and the target progress bar accordingly.
In addition, after the target object presses the pause key while watching the current game video, the target object may enter a pause interface as shown in fig. 17, in which a target progress bar is displayed, and the target progress bar displays target prompt information at the current scoring time point position to prompt the target object that the position corresponds to the scoring event, so that the target object knows the current watching progress in time, and avoids missing a wonderful scoring segment.
FIG. 18 is a flowchart of step S5 of FIG. 3 in an exemplary embodiment.
Referring to fig. 18, if the video playback control request in fig. 3 refers to a double-speed playback request, the above step S5 may include the following steps.
In step S541, the multiple speed playing request is obtained, where the multiple speed playing request includes a target multiple speed.
In step S542, a non-score video in the current game video is acquired.
In step S543, the non-score video is played at a target double speed, and the score video is played at a normal speed.
In some embodiments, the target device may display a double-speed play prompt as shown in fig. 19 when playing the non-score video at double speed, such as "currently playing at XX double speed".
According to the technical scheme provided by the embodiment, in the process of playing the non-score video at the double speed, the score video is played at the normal speed, so that the target object can be prevented from unconsciously missing a wonderful score segment, the target object can be prevented from performing rewinding operation after realizing that the score segment is missed, and the user experience is improved.
Fig. 20 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment. Referring to fig. 20, a video playing apparatus 2000 provided in an embodiment of the present disclosure may include: a race video acquisition module 2001, a target image acquisition module 2002, a current score time point acquisition module 2003, a target score time period determination module 2004, and a play module 2005.
The match video acquiring module 2001 may be configured to acquire a current match video, where the current match video includes a current match image, the current match image includes a current scoring area, and the current scoring area is used to display current match scoring data. The target image acquisition module 2002 may be configured to determine a target image from the current game image in which the current game score data is changed. The current score time point obtaining module 2003 may be configured to obtain a current score time point corresponding to current match score data in the target image. The target score time period determination module 2004 may be configured to determine, according to the current score time point, a target score time period including the current score time point, where a video corresponding to the target score time period is a scored video. The playing module 2005 may be configured to control playing of the scored video in response to a video play control request.
The device provided by the embodiment can screen the target image with the changed game score data from the current game video, determine the target score time period according to the current score time point corresponding to the target image, and play the current game video to the target object according to the score video corresponding to the target score time period, so that the target object can be prevented from missing wonderful segments at the score moment, and the user experience is improved.
In some embodiments, the video playback control request is a highlight moment playback request.
In some embodiments, the play module 2005 may include: a highlight moment menu submodule, a highlight moment playing request obtaining submodule and a score video automatic playing submodule.
The highlight moment menu submodule can be configured to display a highlight moment menu, and the highlight moment menu comprises a highlight moment opening button, so that a target object sends a highlight moment playing request according to the highlight moment opening button. The highlight moment play request obtaining sub-module may be configured to obtain the highlight moment play request. The score video automatic playing sub-module may be configured to automatically play the score videos in chronological order in response to the highlight moment play request.
In some embodiments, the video playing control request is a race-spot fast-forward request or a race-spot fast-backward request.
In some embodiments, the play module 2005 may include: a racing point fast forward/fast backward request acquisition sub-module and a score preview display sub-module.
The racing point fast forward/fast backward request obtaining sub-module may be configured to play the next scored video in response to the racing point fast forward request, or play the previous scored video in response to the racing point fast backward request. The score preview picture display sub-module may be configured to display a target progress bar of the current game video and a score preview picture of the score video while playing the next score video or playing the last score video, the target progress bar displaying target prompt information at the current score time point position, so that a target object controls playing of the current game video according to the target prompt information and the score preview picture.
In some embodiments, the video playback control request is a normal fast forward request or a normal fast reverse request.
In some embodiments, the play module 2005 may include: a common fast forward/fast backward request obtaining submodule, a common fast forward/fast backward stop request obtaining submodule, a target competition preview obtaining submodule and a target time on demand playing submodule.
The ordinary fast forward/fast backward request obtaining sub-module may be configured to, in response to the ordinary fast forward request or the ordinary fast backward request, display a target progress bar and a game preview image in the current game video, where the target progress bar displays target prompt information at the current scoring time point position, so that a target object controls sending of an ordinary fast forward stop request or an ordinary fast backward stop request according to the target prompt information and the game preview image. The normal fast forward/fast reverse stop request obtaining sub-module may be configured to receive the normal fast forward stop request or the normal fast reverse stop request, where the normal fast forward stop request or the normal fast reverse stop request is sent at a target time point. The target game preview image obtaining sub-module may be configured to, in response to the normal fast forward stop request or the normal fast reverse stop request, display a target game preview image corresponding to the target time point, and display that the target progress bar is dragged to the target time point position. The target point in time playing sub-module may be configured to play the current game video from the target point in time.
In some embodiments, the video playback control request is a double speed playback request.
In some embodiments, the play module 2005 may include: the device comprises a multiple speed playing request acquisition submodule, a non-scoring video acquisition submodule and a multiple speed playing submodule.
The multiple speed playing request obtaining submodule may be configured to obtain the multiple speed playing request, where the multiple speed playing request includes a target multiple speed. The non-score video acquisition sub-module may be configured to acquire a non-score video of the current game video. The multiple speed playing sub-module may be configured to play the non-scored video at a target multiple speed and play the scored video at a normal speed.
In some embodiments, the target image acquisition module 2002 may include: a current match score data acquisition submodule and a target image acquisition submodule.
The current game score obtaining sub-module may be configured to obtain current game score data in the current game image, where the current game image includes a first game image and a second game image, and the first game image is a next frame image of the second game image. The target image obtaining sub-module may be configured to determine that the first match image is the target image if the current match score data of the first match image is different from the current match score data of the second match image.
In some embodiments, the current game score acquisition sub-module may include: a current score area obtaining unit and a current match score obtaining unit.
The current scoring area obtaining unit may be configured to process the current game image through a scoring area extraction model to obtain a current scoring area in the current game image. The current match score obtaining unit may be configured to process a current score region in the current match image through a score data extraction model, and obtain current match score data in the current match image.
In some embodiments, the current scoring area obtaining unit may include: the device comprises a historical competition video obtaining subunit, a target position information obtaining subunit, a historical scoring area obtaining subunit and a scoring area extraction model training subunit.
Wherein the historical competition video acquiring subunit may be configured to acquire a historical competition video, the historical competition video including a historical competition image, the historical competition image including a historical scoring area, the historical scoring area displaying historical scoring data. The target position information acquiring subunit may be configured to acquire target position information of the history scoring area in the history match image. The history scoring area obtaining subunit may be configured to intercept the history scoring area in the history game image from the history game image according to the target position information. The scoring region extraction model training subunit may be configured to train the scoring region extraction model according to the historical match image and the historical scoring region.
In some embodiments, the historical game images include a target historical game image.
In some embodiments, the history scoring region obtaining subunit may include: the target area intercepts the grandchild unit, the target area pixel average value obtains the grandchild unit, and the history scoring area obtains the grandchild unit.
Wherein the target area intercepting grandchild unit may be configured to intercept a target area from each of the historical game images according to the target location information. The target area pixel average value obtaining grandchild unit may be configured to determine a target area pixel average value from pixels of each target area. The history scoring area obtaining grandchild unit may be configured to determine that the target area in the target history match image is the history scoring area in the target history match image if a mean square error between a pixel of the target area in the target history match image and an average value of pixels of the target area is greater than a target threshold value.
In some embodiments, the current tournament score obtaining unit may include: the method comprises a historical score time point obtaining grandchild unit, a historical score data obtaining grandchild unit and a score data extraction model training grandchild unit.
Wherein the history score time point acquiring grandchild unit may be configured to acquire the history score time point of the history game video. The history score data acquiring grandchild unit may be configured to determine history score data in the history game image according to the history score time point. The score data extraction model training grandchild unit may be configured to train the score data extraction model according to the historical score region and the historical score data.
Since each functional module of the video playing apparatus 2000 according to the exemplary embodiment of the present disclosure corresponds to the steps of the exemplary embodiment of the video playing method, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, such as one or more of the steps shown in fig. 3.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the disclosure is not limited to the details of construction, the arrangements of the drawings, or the manner of implementation that have been set forth herein, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (13)

1. A video playback method, comprising:
acquiring a current match video, wherein the current match video comprises a current match image, the current match image comprises a current scoring area, and the current scoring area is used for displaying current match scoring data;
determining a target image with changed current competition score data from the current competition image;
acquiring a current score time point corresponding to current match score data in the target image;
determining a target scoring time period comprising the current scoring time point according to the current scoring time point, wherein videos corresponding to the target scoring time period are scoring videos;
and responding to a video playing control request, and controlling the playing of the scoring video.
2. The method according to claim 1, wherein the video playing control request is a highlight moment playing request; wherein, responding to a video playing control request, controlling the playing of the score video comprises:
displaying a highlight moment menu, wherein the highlight moment menu comprises a highlight moment opening button, so that a target object sends a highlight moment playing request according to the highlight moment opening button;
acquiring the highlight moment playing request;
and responding to the highlight moment playing request, and automatically playing the score video according to the time sequence.
3. The method according to claim 1, wherein the video playing control request is a race-spot fast-forward request or a race-spot fast-backward request; wherein, responding to a video playing control request, controlling the playing of the score video comprises:
responding to the racing point fast forward request to play the next scoring video, or responding to the racing point fast backward request to play the last scoring video;
and displaying a target progress bar of the current game video and a score preview image of the score video while playing the next score video or the last score video, wherein the target progress bar displays target prompt information at the current score time point position, so that a target object controls the playing of the current game video according to the target prompt information and the score preview image.
4. The method according to claim 1, wherein the video playing control request is a normal fast forward request or a normal fast backward request; wherein, responding to a video playing control request, controlling the playing of the score video comprises:
in response to the ordinary fast forward request or the ordinary fast backward request, displaying a target progress bar and a game preview image in the current game video, wherein the target progress bar displays target prompt information at the current scoring time point position, so that a target object controls the sending of an ordinary fast forward stop request or an ordinary fast backward stop request according to the target prompt information and the game preview image;
receiving the common fast forward stop request or the common fast backward stop request, wherein the common fast forward stop request or the common fast backward stop request is sent at a target time point;
responding to the common fast forward stop request or the common fast backward stop request, displaying a target competition preview corresponding to the target time point, and displaying that a target progress bar is dragged to the target time point;
and playing the current game video from the target time point position.
5. The method of claim 1, wherein the video playback control request is a double-speed playback request; wherein, responding to a video playing control request, controlling the playing of the score video comprises:
acquiring the speed-multiplying playing request, wherein the speed-multiplying playing request comprises a target speed-multiplying;
acquiring a non-score video in the current match video;
and playing the non-scoring video at a target double speed, and playing the scoring video at a normal speed.
6. The method of claim 1, wherein determining from the current game image a target image for which current game score data has changed comprises:
acquiring current competition score data in the current competition image, wherein the current competition image comprises a first competition image and a second competition image, and the first competition image is the next frame image of the second competition image;
and if the current competition score data of the first competition image is different from the current competition score data in the second competition image, the first competition image is the target image.
7. The method of claim 6, wherein obtaining current game score data in the current game image comprises:
processing the current competition image through a scoring area extraction model to obtain a current scoring area in the current competition image;
and processing the current score area in the current match image through a score data extraction model to obtain the current match score data in the current match image.
8. The method of claim 7, further comprising:
acquiring a historical competition video, wherein the historical competition video comprises a historical competition image, the historical competition image comprises a historical scoring area, and the historical scoring area displays historical scoring data;
acquiring target position information of the historical scoring area in the historical competition image;
intercepting a history scoring area in the history match image from the history match image according to the target position information;
and training the scoring area extraction model according to the historical competition image and the historical scoring area.
9. The method of claim 8, wherein the historical game images include target historical game images; wherein intercepting the historical scoring area from the historical game image according to the target position information comprises:
intercepting a target area from each historical competition image according to the target position information;
determining the average value of the pixels of the target area according to the pixels of each target area;
and if the mean square error between the pixel of the target area in the target historical competition image and the average value of the pixel of the target area is greater than a target threshold value, the target area in the target historical competition image is the historical scoring area in the target historical competition image.
10. The method of claim 8, further comprising:
acquiring historical score time points of the historical game video;
determining historical score data in the historical game image according to the historical score time point;
and training the score data extraction model according to the historical score area and the historical score data.
11. A video playback apparatus, comprising:
a match video acquisition module configured to acquire a current match video, wherein the current match video includes a current match image, the current match image includes a current scoring area, and the current scoring area is used for displaying current match scoring data;
the target image acquisition module is configured to determine a target image with changed current competition score data from the current competition image;
a current score time point obtaining module configured to obtain a current score time point corresponding to current match score data in the target image;
a target score time period determination module configured to determine a target score time period including the current score time point according to the current score time point, where a video corresponding to the target score time period is a score video;
and the playing module is configured to respond to a video playing control request and control the playing of the scored video.
12. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
13. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202010830915.0A 2020-08-18 2020-08-18 Video playing method and device, electronic equipment and computer readable storage medium Active CN111988670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010830915.0A CN111988670B (en) 2020-08-18 2020-08-18 Video playing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010830915.0A CN111988670B (en) 2020-08-18 2020-08-18 Video playing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111988670A true CN111988670A (en) 2020-11-24
CN111988670B CN111988670B (en) 2021-10-22

Family

ID=73435762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010830915.0A Active CN111988670B (en) 2020-08-18 2020-08-18 Video playing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111988670B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342439A (en) * 2021-06-11 2021-09-03 北京字节跳动网络技术有限公司 Display method, display device, electronic equipment and storage medium
CN113507630A (en) * 2021-07-08 2021-10-15 北京百度网讯科技有限公司 Strip splitting method and device for game video
CN113537052A (en) * 2021-07-14 2021-10-22 北京百度网讯科技有限公司 Video clip extraction method, device, equipment and storage medium
CN114157897A (en) * 2022-01-25 2022-03-08 阿里巴巴(中国)有限公司 Virtual live broadcast control method and device
CN115474086A (en) * 2022-09-14 2022-12-13 北京字跳网络技术有限公司 Play control method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377852A (en) * 2007-08-29 2009-03-04 讯连科技股份有限公司 Apparatus for determining highlight segments of sport video
EP2133846A1 (en) * 2008-06-11 2009-12-16 d-Media System Co., Ltd. Interactive live sports game watching system and game watching device therefor
CN102263907A (en) * 2011-08-04 2011-11-30 央视国际网络有限公司 Play control method of competition video, and generation method and device for clip information of competition video
CN102595206A (en) * 2012-02-24 2012-07-18 央视国际网络有限公司 Data synchronization method and device based on sport event video
US20160086347A1 (en) * 2014-09-22 2016-03-24 Casio Computer Co., Ltd. Image processing apparatus which identifies characteristic time points from variations of pixel values in images, image processing method, and recording medium
CN107241645A (en) * 2017-06-09 2017-10-10 成都索贝数码科技股份有限公司 A kind of method that splendid moment of scoring is automatically extracted by the subtitle recognition to video
CN109145784A (en) * 2018-08-03 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for handling video
CN110309753A (en) * 2019-06-24 2019-10-08 广州虎牙科技有限公司 A kind of race process method of discrimination, device and computer equipment
CN110557683A (en) * 2019-09-19 2019-12-10 维沃移动通信有限公司 Video playing control method and electronic equipment
US20200020167A1 (en) * 2016-03-14 2020-01-16 The Directv Group, Inc. Method And System For Viewing Sports Content Within A Virtual Reality Environment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377852A (en) * 2007-08-29 2009-03-04 讯连科技股份有限公司 Apparatus for determining highlight segments of sport video
EP2133846A1 (en) * 2008-06-11 2009-12-16 d-Media System Co., Ltd. Interactive live sports game watching system and game watching device therefor
CN102263907A (en) * 2011-08-04 2011-11-30 央视国际网络有限公司 Play control method of competition video, and generation method and device for clip information of competition video
CN102595206A (en) * 2012-02-24 2012-07-18 央视国际网络有限公司 Data synchronization method and device based on sport event video
US20160086347A1 (en) * 2014-09-22 2016-03-24 Casio Computer Co., Ltd. Image processing apparatus which identifies characteristic time points from variations of pixel values in images, image processing method, and recording medium
US20200020167A1 (en) * 2016-03-14 2020-01-16 The Directv Group, Inc. Method And System For Viewing Sports Content Within A Virtual Reality Environment
CN107241645A (en) * 2017-06-09 2017-10-10 成都索贝数码科技股份有限公司 A kind of method that splendid moment of scoring is automatically extracted by the subtitle recognition to video
CN109145784A (en) * 2018-08-03 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for handling video
CN110309753A (en) * 2019-06-24 2019-10-08 广州虎牙科技有限公司 A kind of race process method of discrimination, device and computer equipment
CN110557683A (en) * 2019-09-19 2019-12-10 维沃移动通信有限公司 Video playing control method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙铭等: "基于内容的足球视频进球检索系统设计", 《信息与电脑(理论版)》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342439A (en) * 2021-06-11 2021-09-03 北京字节跳动网络技术有限公司 Display method, display device, electronic equipment and storage medium
CN113507630A (en) * 2021-07-08 2021-10-15 北京百度网讯科技有限公司 Strip splitting method and device for game video
CN113507630B (en) * 2021-07-08 2023-06-20 北京百度网讯科技有限公司 Method and device for stripping game video
CN113537052A (en) * 2021-07-14 2021-10-22 北京百度网讯科技有限公司 Video clip extraction method, device, equipment and storage medium
CN114157897A (en) * 2022-01-25 2022-03-08 阿里巴巴(中国)有限公司 Virtual live broadcast control method and device
CN115474086A (en) * 2022-09-14 2022-12-13 北京字跳网络技术有限公司 Play control method and device, electronic equipment and storage medium
CN115474086B (en) * 2022-09-14 2023-07-18 北京字跳网络技术有限公司 Play control method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111988670B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN111988670B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN110784759B (en) Bullet screen information processing method and device, electronic equipment and storage medium
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
US20110001758A1 (en) Apparatus and method for manipulating an object inserted to video content
CN107995535A (en) A kind of method, apparatus, equipment and computer-readable storage medium for showing video
CN110812845B (en) Plug-in detection method, plug-in recognition model training method and related device
CN111228821B (en) Method, device and equipment for intelligently detecting wall-penetrating plug-in and storage medium thereof
CN113194349B (en) Video playing method, comment device, equipment and storage medium
CN113347498A (en) Video playing method and device and computer readable storage medium
US20200020146A1 (en) Mitigation of bias in digital reality sessions
WO2018157329A1 (en) Providing content
CN112287848A (en) Live broadcast-based image processing method and device, electronic equipment and storage medium
CN111097168A (en) Display control method and device in game live broadcast, storage medium and electronic equipment
CN114938459A (en) Virtual live broadcast interaction method and device based on barrage, storage medium and equipment
CN112672219A (en) Comment information interaction method and device and electronic equipment
CN110309753A (en) A kind of race process method of discrimination, device and computer equipment
CN116963809A (en) In-game dynamic camera angle adjustment
CN111954022B (en) Video playing method and device, electronic equipment and readable storage medium
CN112989112A (en) Online classroom content acquisition method and device
CN112131426B (en) Game teaching video recommendation method and device, electronic equipment and storage medium
CN115516544A (en) Support system, support method, and support program
CN113411625A (en) Processing method and processing device for live broadcast message and electronic equipment
CN113497946A (en) Video processing method and device, electronic equipment and storage medium
JP2022550856A (en) video game overlay
CN114866849B (en) Video playing method, device, equipment and computer readable storage medium

Legal Events

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

Effective date of registration: 20221115

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right