CN111355990A - Video acquisition method and device, computer readable storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN111355990A
CN111355990A CN202010185202.3A CN202010185202A CN111355990A CN 111355990 A CN111355990 A CN 111355990A CN 202010185202 A CN202010185202 A CN 202010185202A CN 111355990 A CN111355990 A CN 111355990A
Authority
CN
China
Prior art keywords
time
video
determining
event
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010185202.3A
Other languages
Chinese (zh)
Inventor
陈泽宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010185202.3A priority Critical patent/CN111355990A/en
Publication of CN111355990A publication Critical patent/CN111355990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present disclosure relates to the technical field of video processing, and provides a video acquisition method, an apparatus, a computer-readable storage medium, and an electronic device, wherein the video acquisition method comprises: responding to a shooting request sent by a client, wherein the shooting request comprises shooting starting time; determining the video starting time according to the shooting starting time; and acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client. According to the method and the device, the target video is intelligently identified in the real-time event video, the delay effect of field shooting is avoided, and the use experience of a user is improved.

Description

Video acquisition method and device, computer readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video acquisition method, a video acquisition apparatus, a computer-readable storage medium, and an electronic device.
Background
When a user watches a match or a concert on line, the user usually sees a wonderful scene and takes up a mobile phone video for sharing, but on one hand, the shot video is not clear due to the problems of more field lights, poor mobile phone cameras and the like; on the other hand, when the user sees a highlight scene, the user takes out the mobile phone video, so that the highlight is missed, and the highlight cannot be shot completely.
In view of the above, there is a need in the art to develop a new video capturing method and apparatus.
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, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a video acquisition method, a video acquisition apparatus, a computer-readable storage medium, and an electronic device, so that a clear and complete video can be acquired at least to a certain extent.
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.
According to an aspect of the present disclosure, there is provided a video acquisition method including: responding to a shooting request sent by a client, wherein the shooting request comprises shooting starting time; determining the video starting time according to the shooting starting time; and acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
In one exemplary embodiment of the present disclosure, determining a video start time from the photographing start time includes: and determining the occurrence time of a specific event in the real-time event video according to the shooting start time, and determining the video start time based on the occurrence time.
In an exemplary embodiment of the present disclosure, the method further comprises: and determining a specific event in the real-time event video according to a first preset rule.
In an exemplary embodiment of the present disclosure, determining an occurrence time of a specific event in the real-time event recording according to the shooting start time includes: determining the current system time corresponding to the shooting starting time in the real-time event video according to the shooting starting time; acquiring the specific event in the real-time event video within a preset time range away from the current system time; and acquiring the occurrence time of the specific event in the real-time event video, and taking the occurrence time as the occurrence time of the specific event.
In an exemplary embodiment of the present disclosure, determining the video start time based on the occurrence time includes: taking the occurrence time as the video starting time; or taking a time point which is a first preset time away from the occurrence time as the video starting time.
In one exemplary embodiment of the present disclosure, determining a video start time from the photographing start time includes: and determining the current system time corresponding to the shooting start time in the real-time event video according to the shooting start time, and determining the video start time based on the current system time.
In an exemplary embodiment of the present disclosure, determining the video start time based on the current system time includes: and determining a time point which is a second preset time away from the current system time as the video starting time.
In one exemplary embodiment of the present disclosure, determining a video start time from the photographing start time includes: determining the current system time corresponding to the shooting starting time in the real-time event video according to the shooting starting time; and determining a target image frame in the real-time event video according to the current system time and a second preset rule, and determining the video starting time according to the target time corresponding to the target image frame.
In one exemplary embodiment of the present disclosure, the photographing request further includes a photographing end time; determining a target video from the real-time event video according to the video start time, including: determining the video end time according to the shooting end time; and determining the target video from the real-time event video according to the video starting time and the video ending time.
In one exemplary embodiment of the present disclosure, determining a video end time according to the photographing end time includes: and determining the end time of a specific event in the real-time event video according to the shooting end time, and determining the end time of the video based on the end time.
In an exemplary embodiment of the present disclosure, determining a target video from the real-time event video according to the video start time includes: and determining a target video from the real-time event video according to the video starting time and the preset duration.
In an exemplary embodiment of the present disclosure, obtaining a real-time event video includes: acquiring ticket buying information of the client, and determining event information according to the ticket buying information; and acquiring the real-time event video corresponding to the event information according to the event information.
In an exemplary embodiment of the present disclosure, the event information is game event information, and the obtaining the real-time event record corresponding to the event information according to the event information includes: and acquiring a real-time game video corresponding to the game event information according to the game event information.
In an exemplary embodiment of the present disclosure, the method further comprises: and calling a data interface of a target social application, and sending the target video to the target social application through the data interface.
According to an aspect of the present disclosure, there is provided a video acquisition apparatus including: the response request module is used for responding to a shooting request sent by a client, and the shooting request comprises shooting starting time; the starting determining module is used for determining the starting time of the video according to the shooting starting time; and the video acquisition module is used for acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
According to an aspect of the present disclosure, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the video acquisition method as described in the above embodiments.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the video acquisition method as described in the above embodiments.
As can be seen from the foregoing technical solutions, the video obtaining method and apparatus, the computer-readable storage medium, and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
the video acquisition method of the exemplary embodiment of the present disclosure first responds to a shooting request sent by a client to acquire shooting start time; and finally, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client. According to the video acquisition method, on one hand, the shooting time point of the user can be corresponded to the time point in the game, so that the target video segment in the game can be acquired, the user cannot miss a wonderful segment due to actions such as holding a mobile phone, the delay effect of field shooting is avoided, the user can obtain the target video segment, and the use experience of the user is improved; on the other hand, the user intelligently identifies the target video through the shooting request, so that the target video is automatically intercepted, the operation of the user is reduced, and a more convenient mode is provided for the user to share the game video.
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. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically shows a flow diagram of a video acquisition method according to an embodiment of the present disclosure;
fig. 2 schematically illustrates a flow diagram for determining a video start time according to an embodiment of the present disclosure;
fig. 3 schematically illustrates another flow chart for determining a video start time according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates another flow chart for determining a video start time according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates another flow chart for determining a video start time according to an embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of a video acquisition device according to an embodiment of the present disclosure;
FIG. 7 schematically shows a block schematic of an electronic device according to an embodiment of the disclosure;
fig. 8 schematically shows a program product schematic according to an embodiment of the present disclosure.
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 examples 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.
Furthermore, the described features, structures, or characteristics 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 so forth. 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 block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. 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 means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In an embodiment of the present disclosure, a video obtaining method is provided, where the video obtaining method may be applied to obtaining a video scene of a game match, a video scene of a concert, a video scene of an public class, and the like. Fig. 1 shows a flow diagram of a video acquisition method, as shown in fig. 1, the video acquisition method at least comprising the following steps:
step S110: responding to a shooting request sent by a client, wherein the shooting request comprises shooting starting time;
step S120: determining the video starting time according to the shooting starting time;
step S130: and acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
According to the video acquiring method, on one hand, the shooting time point of the user can be adjusted to the time point in the game, so that the target video segment in the game can be acquired, the user cannot miss a wonderful segment due to actions such as holding a mobile phone, the delay effect of field shooting is avoided, the user can obtain the target video segment, and the use experience of the user is improved; on the other hand, the user intelligently identifies the target video through the shooting request, so that the target video is automatically intercepted, the operation of the user is reduced, and a more convenient mode is provided for the user to share the game video.
It should be noted that the video obtaining method provided by the embodiment of the present disclosure is generally executed by a server, and accordingly, the video obtaining apparatus is generally disposed in the server. However, in other embodiments of the present disclosure, the terminal device may also have similar functions as the server, so as to execute the video acquisition scheme provided by the embodiments of the present disclosure.
In order to make the technical scheme of the present disclosure clearer, taking the example of obtaining a video scene of a game match as an example, the video obtaining method in the embodiment of the present disclosure is applied to a game match system, where the game match system includes a game client, a game server, and a ticketing system, where the game client is a client for recording a process of a contestant performing a game match, the game client may automatically record a corresponding game video along with the game match, and the ticketing system is a ticketing system corresponding to the game or a ticketing system entering at a game interface during the game. And after receiving the time code sent by the ticketing system, the game server acquires the game video at the game client, determines a game competition segment in the game video according to the time code, and sends the game competition segment to the ticketing system. Certainly, the game client can be in butt joint with the ticketing system, the game server initiates an inquiry request to the game client after acquiring the time code sent by the ticketing system, and the game client intercepts the game competition segment corresponding to the time code according to the time code and uploads the game competition segment to the ticketing system. The game client can automatically distinguish the game scene in the time period corresponding to the time code sent by the ticket system and judge whether the game scene is in battle. The game server can correspond the shooting time of the user in the ticket system with the time in the game to obtain the corresponding time in the game.
The video acquisition method in the present exemplary embodiment is explained in detail:
in step S110: and responding to a shooting request sent by the client, wherein the shooting request comprises a shooting starting time.
In an exemplary embodiment of the present disclosure, the client refers to a ticketing system in a game tournament system. The shooting request is a request formed by triggering a shooting button on the ticketing system by a viewer, and the shooting request may include a shooting start time, where the shooting start time is a time when the viewer triggers the shooting button, and the shooting request may also include a shooting end time, and may also include a viewer ticket purchasing ID, a viewer ticket purchasing number, and game match information, specifically, the game match information includes a game match ticket number, a game match time, and the like, which is not specifically limited by this disclosure.
In step S120, a video start time is determined from the shooting start time.
In an exemplary embodiment of the present disclosure, the game server corresponds a shooting start time with a time within the game, obtains a game time corresponding to the shooting start time, and the game client determines whether or not a battle occurs at the game time, and if the battle occurs, sets a time point spaced apart from the game time by a certain time as a time point of preparing for a battle, and sets the time point of preparing for a battle as a video start time.
In an exemplary embodiment of the present disclosure, ticket purchasing information of a ticketing system is first acquired, where the ticket purchasing information includes ticket purchasing time, ticket number, ticket purchaser information, and event information, where the event information includes performance information, event information, and the like; the game events are used for illustration, and the game event information comprises information such as game names, game match time, game match times and numbers; and acquiring a real-time event video corresponding to the event information according to the event information, wherein the real-time event video comprises a real-time game video, and acquiring the real-time game video corresponding to the game event information according to the game event information, wherein the real-time game video is acquired by recording the game client in real time during the game match, and the real-time game video can be stored in the game client or uploaded to a game server and stored in the game server.
In an exemplary embodiment of the present disclosure, fig. 2 shows a schematic flowchart of determining a video start time, and as shown in fig. 2, the process of determining a video start time according to a shooting start time specifically includes the following steps S210 to S220, which are described in detail as follows:
in step S210, the occurrence time of a specific event in the real-time event recording is determined according to the shooting start time.
In an exemplary embodiment of the present disclosure, the photographing start time is transmitted to the game server, and the game server determines a current system time within the game tournament system according to the photographing start time and transmits the current system time to the game client, so that the game client determines the occurrence time of the specific event according to the current system time.
In an exemplary embodiment of the present disclosure, based on the current system time, the game client identifies a corresponding specific event in the real-time game video according to a first preset rule, and the specific event may include a highlight game event. For example, in an moba (multiplayer online game) game, the first preset rule may be that the number of virtual characters of the game character that hit or kill an enemy in the game satisfies a preset number, that the game character performs a specific action in the game (for example, hits or kills a virtual character of an enemy, or kills an ancient creature, or that the action performed by the game character in the game satisfies a specific condition (for example, three skills hit or kill a virtual character of an enemy), or the like. For another example, in a mmorpg (mass multiplayer online Role Playing game), the first rule may be that a game character enters a copy or successfully passes through the copy in the game, rare equipment is dropped during the game, or the game character synthesizes a high-level item in the game. That is, the first preset rule may be set according to the difference of game kinds and the difference of actual events, which is not particularly limited by the present disclosure.
In an exemplary embodiment of the present disclosure, after determining a specific event, a time when the specific event occurs is acquired. For example, if the specified event is a game character hitting a killer virtual character in the MOBA game, the start time of the game character hitting the killer virtual character is determined based on the game data, and the start time of the killer virtual character is set as the occurrence time of the specified event.
In step S220, a video start time is determined based on the occurrence time.
In an exemplary embodiment of the present disclosure, the occurrence time of the highlight game event is taken as the video start time.
In an exemplary embodiment of the present disclosure, a time point distant from the occurrence time of the highlight game event by a first preset time, which is defined on a case-by-case basis, is taken as the video start time. For example, the first preset time may be 1 second, and if the occurrence time of the highlight game event is 14:06, the video start time is set to be 1 second forward or backward, that is, 14:05 or 14: 07. Of course, the first preset time may also be 2 seconds, and other first preset times may also be used, which is not specifically limited by the present disclosure.
In an exemplary embodiment of the present disclosure, the first preset time may also be related to an event type of a specific event. For example, in an MOBA game, since the time taken to kill the virtual character of the enemy is short, a first preset time may be set short; in the MMORPG game, the time for playing the copy is longer, and a longer first preset time can be set correspondingly, which is not specifically limited by the present disclosure.
In an exemplary embodiment of the present disclosure, fig. 3 shows another schematic flowchart for determining a video start time, as shown in fig. 3, specifically including the following steps S310 to S340, which are described in detail as follows:
in step S310, a current system time corresponding to the shooting start time in the real-time event record is determined according to the shooting start time.
In an exemplary embodiment of the present disclosure, a photographing start time transmitted by a ticketing system is received, and a game server corresponds the photographing start time to a current system time within a game tournament system. For example, in an MOBA game, time in the game system is usually expressed by a game duration, such as a time when a player starts a game match at a real time of 10:00, a time in the game system is counted from 0, and a time in the game system is 25 minutes assuming that the player ends the game at 10: 25. When the shooting start time is 10:05, the time corresponding to the game system is 5 minutes after game play, so that the current system time corresponding to the shooting start time in the real-time event video is determined to be 5 minutes according to the shooting start time. In addition, in an MMORPG game, if a game time system different from the real time system exists in the game, it is necessary to determine the current system time from the shooting start time by the game time system in the game. In yet another MMORPG game, the game time within the game coincides with the real time. Therefore, when the shooting start time is 10:05, the current system time corresponding to the inside of the game is also 10: 05. Of course, the present disclosure is not limited in particular to the manner in which the current system time is determined, which may vary from event type to event type.
In step S320, a specific event in the real-time event record within a preset time range from the current system time is obtained.
In an exemplary embodiment of the present disclosure, after determining a current system time, a specific event within a preset time range from the current system time is identified in the real-time event record. For example, if the current system time is 5min and the preset time range is 0s to 3s, the specific event is acquired within 4min57s to 5min of the system time in the real-time event video. The preset time range is set according to actual conditions, and the preset time range is not particularly limited in the present disclosure.
In step S330, the occurrence time of the specific event in the real-time event record is obtained, and the occurrence time is taken as the occurrence time of the specific event.
In the exemplary embodiment of the present disclosure, after a specific event is acquired, the occurrence time of the specific event is determined in the real-time event record, and the occurrence time is taken as the occurrence time of the specific event.
In step S340, a video start time is determined based on the occurrence time.
In an exemplary embodiment of the present disclosure, fig. 4 is a schematic flowchart illustrating another process for determining a video start time, and as shown in fig. 4, in step S410, a current system time corresponding to a shooting start time in a real-time event recording is determined according to the shooting start time; in step S420, a video start time is determined based on the current system time. Specifically, a time point which is a second preset time away from the current system time is determined as the video start time, wherein the second preset time is defined according to the actual situation, which is not specifically limited by the present disclosure.
In an exemplary embodiment of the present disclosure, fig. 5 shows another schematic flowchart for determining a video start time, as shown in fig. 5, specifically including the following steps S510 to S520, which are described in detail as follows:
in step 510, the current system time corresponding to the shooting start time in the real-time event record is determined according to the shooting start time.
In an exemplary embodiment of the present disclosure, the current system time in the real-time event video is the current game time in the game match, the current game time corresponds to the shooting start time, and the current system time is determined, that is, the game scene in the real-time event video corresponding to the shooting start time can be determined.
In step 520, based on the current system time, a target image frame is searched for in the real-time event video according to a second preset rule, and the video start time is determined according to the time corresponding to the target image frame.
In an exemplary embodiment of the present disclosure, the target image frame is searched at the current system time or at the real-time event recording at a time point distant from the current system time by a third preset time, where the third preset time is defined according to the actual situation, and the present disclosure is not particularly limited thereto. The target image frame includes a battle scene including a killing skill, a launching skill and the like in the game scene, the second preset rule includes determining whether the virtual object in the game is killed, the launching skill or blood volume reduction of the virtual object, and the target image frame and the second preset rule may be defined according to different games, which is not specifically limited by the present disclosure.
Continuing to refer to fig. 1, in step S130, a real-time event video is obtained, a target video is determined from the real-time event video according to the video start time, and the target video is sent to the client.
In an exemplary embodiment of the present disclosure, the video end time is determined according to a photographing end time included in the photographing request; and intercepting the target video from the real-time event video according to the video starting time and the video ending time. Specifically, there are several methods for determining the video end time according to the shooting end time:
first, the shooting end time is taken as the video end time.
And secondly, determining the end time of a specific event in the real-time event video according to the shooting end time, and determining the video end time based on the end time.
And thirdly, determining a system end time corresponding to the shooting end time in the real-time event video according to the shooting end time, and determining a time point which is away from the system end time by a fourth preset time as the video end time, wherein the fourth preset time is limited according to the actual situation, which is not specifically limited by the present disclosure.
In an exemplary embodiment of the present disclosure, a specific event is determined in a real-time event recording according to a video start time, and an end time of the specific event is automatically identified according to game data, and a target video is intercepted in the real-time event recording according to the video start time and the end time of the specific event.
In an exemplary embodiment of the present disclosure, a target video is determined from a real-time event video according to a video start time and a preset time length, specifically, a start time point of the target video is located in the real-time event video according to the video start time, and a video with the preset time length is intercepted from the real-time event video according to the start time point as the target video. The preset duration may be set by the audience in the ticketing system, or may be set by the game client according to the content of the real-time event video, or may be initially set by the ticketing system, which is not specifically limited by the present disclosure.
In an exemplary embodiment of the disclosure, the ticketing system establishes a data connection with the social application, so that the ticketing system can communicate with a data interface between the social application and the social application, an audience triggers a sharing request at the ticketing system and selects a target social application, the ticketing system receives the sharing request of the audience, and sends a target video to the target social application through data reception.
The video acquisition method disclosed by the exemplary embodiment can acquire the wonderful game segment of the game match according to the shooting request triggered by the audience, so that the situation that the audience misses the wonderful game segment due to field shooting is avoided, and the use experience of a user is improved.
The following describes embodiments of the apparatus of the present disclosure, which may be used to perform the above-mentioned video capturing method of the present disclosure. For details that are not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the video capturing method described above in the present disclosure.
Fig. 6 schematically shows a block diagram of a video acquisition device according to one embodiment of the present disclosure.
Referring to fig. 6, a video capture apparatus 600 according to an embodiment of the present disclosure, the video capture apparatus 600 includes: a response request module 601, a determine start module 602, and a get video module 603. Specifically, the method comprises the following steps:
a response request module 601, configured to respond to a shooting request sent by a client, where the shooting request includes a shooting start time;
a start determining module 602, configured to determine a video start time according to the shooting start time;
the video obtaining module 603 is configured to obtain a real-time event video, determine a target video from the real-time event video according to the video start time, and send the target video to the client.
The details of each of the above-mentioned video capturing devices have been described in detail in the corresponding video capturing method, and therefore, the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of the apparatus for performing are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to this embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, a bus 730 connecting different system components (including the memory unit 720 and the processing unit 710), and a display unit 740.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 710 may execute step S110 shown in fig. 1, in response to a shooting request sent by a client, the shooting request including a shooting start time; step S120, determining the video starting time according to the shooting starting time; step S130, acquiring the real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The storage unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a viewer to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
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 according to the embodiments 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.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 8, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with 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 readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, 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 application 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (17)

1. A video acquisition method, comprising:
responding to a shooting request sent by a client, wherein the shooting request comprises shooting starting time;
determining the video starting time according to the shooting starting time;
and acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
2. The video acquisition method according to claim 1, wherein determining a video start time from the shooting start time comprises:
and determining the occurrence time of a specific event in the real-time event video according to the shooting start time, and determining the video start time based on the occurrence time.
3. The video acquisition method according to claim 2, characterized in that the method further comprises:
and determining a specific event in the real-time event video according to a first preset rule.
4. The video acquisition method of claim 2, wherein determining the occurrence time of a specific event in the real-time event video according to the shooting start time comprises:
determining the current system time corresponding to the shooting starting time in the real-time event video according to the shooting starting time;
acquiring the specific event in the real-time event video within a preset time range away from the current system time;
and acquiring the occurrence time of the specific event in the real-time event video, and taking the occurrence time as the occurrence time of the specific event.
5. The video acquisition method of claim 2, wherein determining the video start time based on the occurrence time comprises:
taking the occurrence time as the video starting time; or
And taking a time point which is away from the occurrence time by a first preset time as the video starting time.
6. The video acquisition method according to claim 1, wherein determining a video start time from the shooting start time comprises:
and determining the current system time corresponding to the shooting start time in the real-time event video according to the shooting start time, and determining the video start time based on the current system time.
7. The video acquisition method of claim 6, wherein determining the video start time based on the current system time comprises:
and determining a time point which is a second preset time away from the current system time as the video starting time.
8. The video acquisition method according to claim 1, wherein determining a video start time from the shooting start time comprises:
determining the current system time corresponding to the shooting starting time in the real-time event video according to the shooting starting time;
and determining a target image frame in the real-time event video according to the current system time and a second preset rule, and determining the video starting time according to the target time corresponding to the target image frame.
9. The video acquisition method according to claim 1, wherein the shooting request further includes a shooting end time;
determining a target video from the real-time event video according to the video start time, including:
determining the video end time according to the shooting end time;
and determining the target video from the real-time event video according to the video starting time and the video ending time.
10. The video acquisition method according to claim 9, wherein determining a video end time based on the shooting end time comprises:
and determining the end time of a specific event in the real-time event video according to the shooting end time, and determining the end time of the video based on the end time.
11. The video acquisition method of claim 1, wherein determining a target video from the real-time event video recording according to the video start time comprises:
and determining a target video from the real-time event video according to the video starting time and the preset duration.
12. The video acquisition method of claim 1, wherein acquiring a real-time event video comprises:
acquiring ticket buying information of the client, and determining event information according to the ticket buying information;
and acquiring the real-time event video corresponding to the event information according to the event information.
13. The video obtaining method according to claim 12, wherein the event information is game event information, and the obtaining the real-time event record corresponding to the event information according to the event information includes:
and acquiring a real-time game video corresponding to the game event information according to the game event information.
14. The video acquisition method according to claim 1, characterized in that it further comprises:
and calling a data interface of a target social application, and sending the target video to the target social application through the data interface.
15. A video acquisition apparatus, comprising:
the response request module is used for responding to a shooting request sent by a client, and the shooting request comprises shooting starting time;
the starting determining module is used for determining the starting time of the video according to the shooting starting time;
and the video acquisition module is used for acquiring a real-time event video, determining a target video from the real-time event video according to the video starting time, and sending the target video to the client.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the video acquisition method according to any one of claims 1 to 14.
17. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a video acquisition method as claimed in any one of claims 1 to 14.
CN202010185202.3A 2020-03-17 2020-03-17 Video acquisition method and device, computer readable storage medium and electronic equipment Pending CN111355990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010185202.3A CN111355990A (en) 2020-03-17 2020-03-17 Video acquisition method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010185202.3A CN111355990A (en) 2020-03-17 2020-03-17 Video acquisition method and device, computer readable storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111355990A true CN111355990A (en) 2020-06-30

Family

ID=71197474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010185202.3A Pending CN111355990A (en) 2020-03-17 2020-03-17 Video acquisition method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111355990A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112843710A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN114827713A (en) * 2021-01-21 2022-07-29 Oppo广东移动通信有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN115134631A (en) * 2022-07-25 2022-09-30 北京达佳互联信息技术有限公司 Video processing method and video processing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160314355A1 (en) * 2014-07-07 2016-10-27 Google Inc. Method and System for Detecting and Presenting a New Event in a Video Feed
CN107659825A (en) * 2017-09-12 2018-02-02 武汉斗鱼网络科技有限公司 Method, apparatus, server, main broadcaster end and the medium that a kind of live video is retained
CN108295468A (en) * 2018-02-28 2018-07-20 网易(杭州)网络有限公司 Information processing method, equipment and the storage medium of game
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium
CN110769305A (en) * 2019-09-12 2020-02-07 腾讯科技(深圳)有限公司 Video display method and device, block chain system and storage medium
CN110830735A (en) * 2019-10-30 2020-02-21 腾讯科技(深圳)有限公司 Video generation method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160314355A1 (en) * 2014-07-07 2016-10-27 Google Inc. Method and System for Detecting and Presenting a New Event in a Video Feed
CN107659825A (en) * 2017-09-12 2018-02-02 武汉斗鱼网络科技有限公司 Method, apparatus, server, main broadcaster end and the medium that a kind of live video is retained
CN108295468A (en) * 2018-02-28 2018-07-20 网易(杭州)网络有限公司 Information processing method, equipment and the storage medium of game
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium
CN110769305A (en) * 2019-09-12 2020-02-07 腾讯科技(深圳)有限公司 Video display method and device, block chain system and storage medium
CN110830735A (en) * 2019-10-30 2020-02-21 腾讯科技(深圳)有限公司 Video generation method and device, computer equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112843710A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN114827713A (en) * 2021-01-21 2022-07-29 Oppo广东移动通信有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN114827713B (en) * 2021-01-21 2023-08-08 Oppo广东移动通信有限公司 Video processing method and device, computer readable storage medium and electronic equipment
CN115134631A (en) * 2022-07-25 2022-09-30 北京达佳互联信息技术有限公司 Video processing method and video processing device
CN115134631B (en) * 2022-07-25 2024-01-30 北京达佳互联信息技术有限公司 Video processing method and video processing device

Similar Documents

Publication Publication Date Title
JP6928107B2 (en) Personalized user interface based on behavior within the application
CN108295468B (en) Information processing method, device and storage medium for game
CN106303331B (en) Video recording method, terminal, system and storage medium
US9278288B2 (en) Automatic generation of a game replay video
KR101943771B1 (en) Spawning new timelines during game session replay
CN111355990A (en) Video acquisition method and device, computer readable storage medium and electronic equipment
CN109246441B (en) Method, storage medium, device and system for automatically generating wonderful moment video
CN109091861B (en) Interactive control method in game, electronic device and storage medium
CN110496391B (en) Information synchronization method and device
CN111298430A (en) Virtual item control method and device, storage medium and electronic device
CN113384879A (en) Game data display method and device
US20210081985A1 (en) Advertisement interaction methods and apparatuses, electronic devices and storage media
CN111582924B (en) Advertisement putting system, method and device for cloud game
JP6317705B2 (en) GAME SERVICE METHOD, COMPUTER-READABLE RECORDING MEDIUM CONTAINING PROGRAM FOR EXECUTING GAME SERVICE METHOD, AND GAME SERVICE SYSTEM
JP2017113174A (en) Video game processing program and video game processing system
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
CN112843733A (en) Method and device for shooting image, electronic equipment and storage medium
US20230124685A1 (en) Video modification and transmission using tokens
CN111249723A (en) Method and device for display control in game, electronic equipment and storage medium
EP4206886A1 (en) Method and apparatus for displaying an interface for emoji input
CN111954041A (en) Video loading method, computer equipment and readable storage medium
CN114470784A (en) Game interaction method, game interaction device, readable storage medium and electronic equipment
CN112957739B (en) Game live broadcast processing method, device and system
CN116966557A (en) Game video stream sharing method and device, storage medium and electronic equipment
CN108452528B (en) Data display method and device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630