CN111093093B - Method, device and system for generating special effect video and computer equipment - Google Patents

Method, device and system for generating special effect video and computer equipment Download PDF

Info

Publication number
CN111093093B
CN111093093B CN201811241273.XA CN201811241273A CN111093093B CN 111093093 B CN111093093 B CN 111093093B CN 201811241273 A CN201811241273 A CN 201811241273A CN 111093093 B CN111093093 B CN 111093093B
Authority
CN
China
Prior art keywords
video
service
special effect
result data
data segment
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.)
Active
Application number
CN201811241273.XA
Other languages
Chinese (zh)
Other versions
CN111093093A (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.)
Tencent Technology Shenzhen 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 CN201811241273.XA priority Critical patent/CN111093093B/en
Publication of CN111093093A publication Critical patent/CN111093093A/en
Application granted granted Critical
Publication of CN111093093B publication Critical patent/CN111093093B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The application relates to a method, a device, a system, a computer device and a readable storage medium for generating a special effect video, wherein the method comprises the following steps: acquiring service result data of a service processing service; determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment; and sending special effect indication information to the video processing service, wherein the special effect indication information comprises data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video. By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved.

Description

Method, device and system for generating special effect video and computer equipment
Technical Field
The present application relates to the field of video processing technologies, and in particular, to a method, an apparatus, a system, a computer device, and a readable storage medium for generating a special effect video.
Background
With the development of internet and computer technology, there are more and more service products running on the basis of a background, and particularly for a service capable of deriving a service video during service running, there is more and more need to record the service video to retain specific content in the video. For example, in the rapid development of the network game industry, the demands of users on network games are increasing, and the games are recorded to be shared by recording stories reserved in the games, especially when the users complete wonderful operations in the games.
However, conventional service video recording methods include automatically recording the entire service process or recording particular video segments based on user selection. The game video recorded by the traditional business video recording method is a single original business video, so that the recorded business video is monotonous in effect.
Disclosure of Invention
Based on this, it is necessary to provide a method, an apparatus, a system, a computer device and a readable storage medium for generating a special effect video for the technical problem of monotonous effect of a service video recorded by a conventional service video recording method.
A method of generating a special effects video, the method comprising:
acquiring service result data of a service processing service;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
sending special effect indication information to a video processing service, wherein the special effect indication information comprises the data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
A method of generating a special effects video, the method comprising:
acquiring service result data;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
and adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
An apparatus to generate a special effects video, the apparatus comprising:
the data acquisition module is used for acquiring service result data of the service processing service;
the data segment determining module is used for determining the service result data segment which meets the special effect adding condition in the service result data and determining the data start and stop point information of the service result data segment;
and the sending module is used for sending special effect indicating information to a video processing service, wherein the special effect indicating information comprises the data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
A system for generating a special-effect video comprises a special-effect processing platform, wherein the special-effect processing platform is used for acquiring service result data, determining a service result data section which meets a special-effect adding condition in the service result data, determining data start and stop point information of the service result data section, and adding a special effect to the video determined according to the data start and stop point information to obtain the special-effect video.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring service result data of a service processing service;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
sending special effect indication information to a video processing service, wherein the special effect indication information comprises the data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring service result data of a service processing service;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
sending special effect indication information to a video processing service, wherein the special effect indication information comprises the data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring service result data;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
and adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring service result data;
determining a service result data segment which meets special effect adding conditions in the service result data, and determining data start and stop point information of the service result data segment;
and adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
According to the method, the device, the system, the computer equipment and the readable storage medium for generating the special effect video, the special effect indicating information comprising the data start and stop point information is sent to the video processing service by acquiring the service result data of the service processing service, determining the service result data segment meeting the special effect adding condition in the service result data and the data start and stop point information of the service result data segment, so that the video processing service adds the special effect to the video determined according to the data start and stop point information, and the special effect video is obtained. By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved.
Drawings
FIG. 1 is a block diagram of a system for generating special effects video, according to one embodiment;
FIG. 2 is a flow diagram that illustrates a method for generating a special effects video, according to one embodiment;
FIG. 3 is a flow diagram that illustrates a method for generating a special effects video, according to one embodiment;
FIG. 4 is a diagram illustrating a frame of an image of a special effects video in one embodiment;
FIG. 5 is a diagram illustrating a frame of an image of a special effects video, according to one embodiment;
FIG. 6 is a diagram illustrating a frame of an image of a special effects video, according to one embodiment;
FIG. 7 is a diagram illustrating a frame of an image of a special effects video, according to one embodiment;
FIG. 8 is a flowchart illustrating the step of generating a special effects video in one embodiment;
FIG. 9 is a flowchart illustrating the step of generating a special effects video in one embodiment;
FIG. 10 is a block diagram of a system that generates special effects video, according to one embodiment;
FIG. 11 is a timing diagram for a system that generates a special effects video in one embodiment;
FIG. 12 is a block diagram of an apparatus for generating a special effects video according to one embodiment;
FIG. 13 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram of an application environment of a method for generating a special effect video in one embodiment. Referring to fig. 1, the method of generating a special effect video is applied to a system of generating a special effect video. The system for generating the special effect video includes a terminal 110, a service processing server 120, and a special effect processing platform 130. The terminal 110 is connected to the service processing server 120 through a network, and the service processing server 120 is connected to the effect processing platform 130 through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like, and may also be another intelligent terminal capable of performing video playing or game operation. The business processing server 120 and the special effects processing platform 130 may be independent servers or a server cluster composed of a plurality of servers.
The business process server 120 is used to perform business process services. The service processing service specifically includes: receiving the service operation data sent by the terminal 110, generating service result data according to the service operation data, and sending the service result data to the special effect processing platform 130.
The service refers to running a corresponding program on a background server through data interaction between the terminal and the background server, and presenting an affair of the whole running process in a video image mode on the terminal, for example, presenting a network game on the terminal. Business operations data refers to data generated based on user behavior. The service result data refers to result data generated according to the service operation data and the service operation rule. Taking a currently running service as an example of a game, the service operation data can be game operation data such as release skill, average attack, blood return and the like, and the service result data is game result data such as damage points and the like caused by hitting a certain role with the released skill in the game process to cause death of the certain role or continuously attacking the certain role. The service operation rule refers to a configured service operation program.
The special effect processing platform 130 is configured to obtain the service result data, determine a service result data segment that meets a special effect adding condition in the service result data, determine data start and stop point information of the service result data segment, and add a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
The service result data segment is a data segment composed of a plurality of continuous service result data. The data start and stop point information includes data start point information and data end point information of the traffic result data segment. It can be understood that, in a service result data segment satisfying the special effect adding condition, the data start point information is information of the first service result data in the service result data segment, and the data end point information is information of the last service result data in the service result data segment. More specifically, the data start point information is a start time of the service result data segment, and the data end point information is an end time of the service result data segment. It can be understood that the start time of the service result data segment is the time of the first service result data (data start point) in the service result data segment, and the end time of the service result data segment is the time of the last service result data (data end point) in the service result data segment, so the start time and the end time of the service result data segment can be determined by the timestamps carried by the corresponding first service result data and last service result data.
The special effect adding condition refers to a standard which needs to be met by service result data for video recording and special effect adding, and the condition can be configured as required. Specifically, the special effect addition condition may be a criterion for defining a highlight segment or other specific segments. Still taking the game business as an example, the special effect adding conditions include but are not limited to wonderful segments such as "three-killing", "four-killing", "silk blood escaping", "strong killing under tower", and the like, and specific segments such as players being killed, players being stolen, and the like. Wherein, the three killing is defined as that "the player continuously kills three characters, the interval between each killing is less than 10 seconds", then "the player continuously kills three characters, the interval between each killing is less than 10 seconds" is one of the special effect adding conditions; the four killing is defined as that the player continuously kills four characters, the interval between each killing is less than 10 seconds, and the player continuously kills the four characters, the interval between each killing is less than 10 seconds, which is another special effect adding condition; the silk blood escape is defined as "the player successfully escapes from more than 40% to 10% in 2 seconds and is not killed", and "the player successfully escapes from 40% to 10% in 2 seconds and is not killed" is another special effect addition condition.
The special effect video is a video to which a special effect is added. The special effects include picture materials, audio materials, video dynamic effects, and the like. By adding the pushed special effect into the video, the special effect video with stronger interestingness and richer content is generated.
In one embodiment, the special effects processing platform 130 includes a business analysis service, a video processing service. The service analysis service and the video processing service may be service processes or corresponding servers.
The service analysis service is used for acquiring service result data of the service processing server, determining a service result data segment meeting special effect adding conditions in the service result data, determining data start and stop point information of the service result data segment, and sending special effect indicating information to the video processing service, wherein the special effect indicating information comprises the data start and stop point information. The special effect indication information is used for indicating the video processing service to record the video and add the special effect.
In another embodiment, the business analysis service is further configured to determine a combination pattern of the business result data segments according to a combination rule.
The combination rule comprises a combination condition and a splicing rule. The combination condition refers to a condition that needs to be satisfied when video segments corresponding to a plurality of service result data segments are combined into one video. In particular, the combination condition may be that the same event type or other customized condition is satisfied. For example, the wonderful segments of 'three killers', 'four killers', 'five killers', etc. which are continuously killed can be combined into a combined video according to the same event type; the specific segments of players "hit for the first time", "hit for the second time" … until "counterhit success" are combined into one combined video. The splicing rule refers to a splicing sequence rule of a plurality of video clips in a combined video when the plurality of video clips are combined into the combined video. The stitching rules may include, but are not limited to, chronological order, defined highlights, and the like. It is understood that the time sequence refers to the time sequence of the occurrence of each video clip; the wonderful degree can be in an order of increasingly high wonderful degree, for example, combining the wonderful segments continuously hit and killed in the game into a combined video, the splicing order can be spliced in an order of increasingly high wonderful degree, such as 'three-killing', 'four-killing', 'five-killing'. The combination rules can be configured according to specific requirements. The combination mode comprises the step of determining the data segments of the service results combined and spliced into a video and the splicing sequence of the data segments.
Further, the business analysis service is further configured to send the combination mode to the video processing service, and the video processing service is further configured to combine the special-effect videos according to the combination mode to obtain a combined video.
Specifically, the video processing service determines the special effect videos combined into the same group according to the combination mode, and splices the special effect videos of the same group according to the determined splicing sequence in the combination mode to obtain a combined video.
It can be understood that each special effect video obtained after recording and adding a special effect is a video clip in the service operation process, and a video clip is obtained by selectively combining and splicing the video clips, so that a video clip can be fused with a plurality of related video clips, and the combined video can be watched to simultaneously know the plurality of related video clips and the story development trend in the service operation process.
And after receiving the special effect indication information, the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
Specifically, a start point and a stop point for video recording are determined according to the data start point and stop point information, video recording is carried out according to the start point and the stop point for video recording, and the recorded video is subjected to special effect processing according to a special effect adding rule to obtain a special effect video.
The special effect adding rule is a special effect adding rule configured for different event types, for example, for a continuous killing event, the special effect adding rule is as follows: when killing for the first time, adding a first killing gif image of a high-performance laugh version 2 seconds before killing and 1 second before killing, adding 3 times of slow release and amplification special effect 1 second before killing and 1 second after killing, and adding the high-performance laugh gif image 1 second after killing and killing; and in the second killing, adding a double killing gif image of the match image 2 seconds before killing and 1 second before killing, adding 3 times of slow release and amplification special effect 1 second before killing and 1 second after killing, and adding the match image 1 second after killing. As shown in fig. 4 to 7 again, in the event of success of the multiple hit-and-fight reaction, images of "being hit for x 1 time", "being hit for x 2 times", and "being hit for x 3 times" are added to the video from the first hit to the third hit by the player, respectively, and an image of "when the player actually performed the real technique" is added to the video in which the player completed the fight reaction with the opponent character.
In addition, the special effect adding rule also comprises the step of adding an event theme image at the forefront of the video, for example, theme images such as 'super-Van-Quercide', 'crazy kill', and the like can be added for a continuous killing event.
In an embodiment, the related materials of each special effect can be further classified according to different styles, so that the special effects of different styles can be selected to be added to the video in the process of adding the special effects by the video processing service. For example, the first-level classification is performed according to the type of the special effect, and the special effect is divided into rhythm audio, an expression package, a gif picture and the like. Furthermore, the special effect types obtained by the first-stage classification can be classified in a second stage, for example, the facial expression bag can be further classified into a smile version, a humorous version, a sweet version and the like. The video dynamic effect includes, but is not limited to, video effects such as slow-playing, zooming, and gray-scale image, and further, specifications of special effects such as slow-playing and zooming may be configured, for example, 3 times slow-playing, 1.5 times zooming, and the like.
In one embodiment, the special effects processing platform 130 further includes an authentication service. The authentication service may be a service process or a corresponding server.
In this embodiment, the service processing server is configured to generate an authority authentication request carrying an account identifier when receiving a service operation request carrying the account identifier, and send the authority authentication request to the authentication service. The authentication service is used for judging whether the account identification has the video recording authority or not, obtaining an authentication result and returning the authentication result to the service processing server. When receiving the authentication result including the account identifier having the video recording right sent by the authentication service, the service processing server establishes a connection with the service analysis service, so that the service analysis service receives the service result data sent by the service processing server 120, performs analysis processing, and further performs video processing according to the analysis processing result by the video processing service 1302.
Further, the special effects processing platform 130 further includes: an upload service, a data caching service, and a push service. The upload service, the data caching service and the push service may be service processes or corresponding servers.
The uploading service is used for receiving the special effect video and/or the combined video sent by the video processing service and uploading the special effect video and/or the combined video to the data caching service. The data caching service receives and stores the special effect video and/or the combined video sent by the uploading service, generates a corresponding link address according to the storage address, and sends the link address to the pushing service. The push service is used for pushing the received link address to the corresponding user side. The user terminal may be a terminal where the current service operates, or may be a user terminal corresponding to an account identifier of the current service, where the account identifier is a login ID, a login user name, and the like of the current service. For example, if the login ID of the current service is an account of a user logging in a certain social software, the corresponding push service is a push service of the social software, and the push service of the social software pushes the link address to the user terminal corresponding to the account.
In one embodiment, as shown in FIG. 2, a method of generating a special effects video is provided. The embodiment is mainly exemplified by the method applied to the business analysis service in the special effect processing platform 130. Referring to fig. 2, the method for generating a video special effect specifically includes the following steps:
s202, obtaining service result data of the service processing service.
Specifically, the business processing service produces business result data according to the business operation data and the business operation rule, and sends the business result data to the business analysis service, and the business analysis service receives the business result data so as to determine the data segment for video processing according to the business result data.
S204, determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment.
Specifically, whether the obtained service result data meets special effect adding conditions or not is judged, all service result data meeting any special effect adding conditions are used as service result data segments meeting the special effect adding conditions, and data starting point information and data ending point information of the service result data segments are confirmed. And one or more determined service result data segments meeting the special effect adding condition can be obtained.
For example, whether the game result data satisfies the configured special effect adding condition is judged according to the obtained game result data, when a certain game result data segment satisfies 'three characters are continuously killed by a player, the interval between each click and kill is less than 10 seconds', the game result data segment can be determined to satisfy the special effect adding condition, the information of the first click and kill is used as data starting point information, and the information of the third click and kill is used as data ending point information.
S206, sending special effect indicating information to the video processing service, wherein the special effect indicating information comprises data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
In this embodiment, the special effect indication information includes data start and stop point information. When the operation of the service is finished, the service analysis service generates special effect indicating information comprising data start and stop point information, the special effect indicating information is sent to the video processing service, the video processing service determines the start and stop point time for video recording according to the data start and stop point information, and the recorded video is subjected to special effect processing to obtain a special effect video. The starting point time for video recording can be n seconds before the data starting point information, and the ending point time for video recording can be n seconds after the data ending point information, so that the recorded video can more completely embody the causal consequence of the service result data segment.
According to the method for generating the special effect video, the service result data of the service processing service is obtained, the data start and stop point information of the service result data segment and the service result data segment which meet the special effect adding condition in the service result data is determined, and the special effect indicating information comprising the data start and stop point information is sent to the video processing service, so that the video processing service adds the special effect to the video determined according to the data start and stop point information, and the special effect video is obtained. By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved.
In an embodiment, when the service result data segment includes more than two segments, the special effect indication information further includes: a combination pattern of the service result data segments.
The method comprises the steps that special effect indicating information comprising a combination mode is generated, and the special effect indicating information is sent to a video processing service, so that the video processing service carries out video recording and special effect processing according to data start and stop point information, and after each special effect video is obtained, the special effect videos are combined and spliced according to the combination mode, and a combined video is obtained. The recorded special-effect videos are video clips in the service running process, the video clips are selectively combined and spliced to obtain a section of video, so that the section of video can be fused with a plurality of related video clips, and the combined video can be watched to simultaneously know the related video clips and the story development trend in the service running process.
Further, when the service result data segment includes more than two segments, after determining the data start and stop point information of the service result data segment, before sending the special effect indication information to the video processing service, the method further includes: and determining the combination mode of each service result data segment according to the combination rule.
Specifically, after the service operation is completed, all the determined service result data segments are analyzed, whether a plurality of service result data segments meeting any combination condition exist is judged, if yes, the plurality of service result data segments meeting any combination condition can be determined, and the splicing sequence of the plurality of service result data segments is determined according to the splicing rule.
In one embodiment, determining a combination pattern for each of the transaction result data segments includes: and determining the splicing sequence of the service result data segments with the same event type according to the combination rule, wherein the combination mode comprises the identification and the splicing sequence of the service result data segments.
The event type refers to a type obtained by dividing according to the type of the event, for example, "three kills," "four kills," and "five kills" belong to continuous killing events; the 'silk blood escape' and 'silk blood killing-back' belong to the silk blood events; the 'first killing' and 'second killing' belong to the killing events; "first hit", "second hit" …, "response success" pertains to multiple hit and response success events. The identification of the service result data segment refers to the identification of the special effect adding condition satisfied by the service result data segment, such as 'sansha' and 'silk blood escape' in game service.
In this embodiment, the event types to which all the determined service result data segments belong are analyzed, the service result data segments with the same event types are combined, and the service result data segments in the same combination are analyzed according to the splicing rule to determine the splicing sequence.
By combining the service result data segments with the same event type, the finally obtained video is fused with a plurality of related video segments, so that the highlight event collection or the highlight event development line in the service operation process is fully embodied, the content of the video is further enriched, and the highlight degree of the video is improved. It is understood that the final video processed by the video processing service may include a single special effect video or a combined video combined by a plurality of special effect videos, and whether to include the combined video depends on whether there is a special effect video satisfying the combination condition. That is, when there are a plurality of special effect videos that satisfy the combination condition, the plurality of special effect videos are combined into a combined video, and if there is a special effect video that does not satisfy any combination condition, the characteristic video is not combined and is still presented as an independent special effect video.
In one embodiment, the method of generating a property video further comprises: and when the current service is finished, acquiring a playback file of the current service. The playback file refers to a data file which can be used for simulating a service operation process.
Specifically, when the current service is finished, the service processing service transmits the playback file of the service to the service analysis service, and the service analysis service receives the playback file sent by the service processing service.
Further, the service processing service makes up the data start and stop point information and the playback file into special effect indication information and sends the special effect indication information to the video processing service, so that the video processing service determines a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information, records a corresponding video of the video data segment and adds a special effect, and obtains a special effect video.
In another embodiment, the service processing service sends special effect indication information composed of the data start and stop point information, the combination mode and the playback file to the video processing service, so that the video processing service determines a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information, records a video corresponding to the video data segment and adds a special effect to obtain a special effect video, and combines and splices the characteristic videos according to the combination mode to obtain a combined video.
By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved. In addition, the combination mode of the plurality of service result data segments is determined through the combination rule, so that the corresponding plurality of related video frequency segments are spliced according to the combination mode, a wonderful event collection or a wonderful event development line in the service operation process is fully embodied, the content of the video is further enriched, and the wonderful degree of the video is improved.
In one embodiment, as shown in FIG. 3, a method of generating a special effects video is provided. This embodiment is mainly illustrated by applying the method to the special effect processing platform 130 in fig. 1. Referring to fig. 3, the method for generating a video special effect specifically includes the following steps:
s302, obtaining service result data.
Specifically, the service processing service produces service result data according to the service operation data and the service operation rule, and sends the service result data to the special effect processing platform, and the special effect processing platform receives the service result data so as to determine a data segment for video processing according to the service result data.
S304, determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment.
Specifically, whether the obtained service result data meets special effect adding conditions or not is judged, all service result data meeting any special effect adding conditions are used as service result data segments meeting the special effect adding conditions, and data starting point information and data ending point information of the service result data segments are confirmed. And one or more determined service result data segments meeting the special effect adding condition can be obtained.
For example, whether the game result data satisfies the configured special effect adding condition is judged according to the obtained game result data, when a certain game result data segment satisfies 'three characters are continuously killed by a player, the interval between each click and kill is less than 10 seconds', the game result data segment can be determined to satisfy the special effect adding condition, the information of the first click and kill is used as data starting point information, and the information of the third click and kill is used as data ending point information.
S306, adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
Specifically, the start and stop point time for video recording is determined according to the data start and stop point information, video recording is performed according to the start and stop point time for video recording, and special effect processing is performed on the recorded video according to a special effect adding rule to obtain a special effect video.
According to the method for generating the special effect video, the special effect video is obtained by obtaining the service result data, determining the data start and stop point information of the service result data segment and the service result data segment which meet the special effect adding condition in the service result data and adding the special effect to the video determined according to the data start and stop point information. By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved.
In an embodiment, the special effect processing platform can obtain the service result data only when the account identifier corresponding to the current service has the video recording right. The account identifier refers to a login account identifier when the current service is running, such as a login ID and a login user name. Taking a game service as an example, the account identifier having the video recording authority is the account identifier having the corresponding role robot.
The special effect processing platform prestores all account identifications with video recording permission, compares the account identification corresponding to the current service with the prestored account identification, and can judge that the account identification corresponding to the current service has the video recording permission when all the prestored account identifications include the account identification in the request. By the authority identification, only the account identification with the video recording authority can record the video and add the special effect, so that the video recording and adding of the service which does not need to record the video are avoided.
In one embodiment, the method for generating a video effect further comprises: and when the current service is finished, acquiring a playback file of the current service. Specifically, when the current service is finished, the service processing service transmits the playback file of the service to the special effect processing platform 130, and the special effect processing platform 130 receives the playback file sent by the service processing service.
Further, as shown in fig. 8, adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video, includes:
s802, according to the data start and stop point information, determining a video data segment corresponding to the service result data segment in the playback file.
Specifically, the start and stop point time of the video data segment corresponding to the service result data segment in the playback file is determined according to the data start and stop point information. For example, according to the data start and end point information, the video data segment corresponding to the service result data segment in the playback file can be determined based on the determined start time and end time of the video data segment by taking the first n seconds of the start time of the service result data segment as the start time of the corresponding video data segment and taking the last n seconds of the end time of the service result data segment as the end time of the corresponding video data segment.
S804, recording the corresponding video of the video data segment to obtain the original video. The original video clip refers to a video to which no special effect is added.
In this embodiment, a service simulator is used to perform simulated playback on a service according to a playback file, a video processing tool is called to start video recording when the simulated playback reaches the start time of a video data segment, and when the simulated playback reaches the end time of the video data segment, the recording of the current video data segment is ended until the playback file is simulated and played back, so as to obtain original videos corresponding to all the video data segments. The video processing tool may be ffmepg (fast forwarding Moving Picture Experts group) video processing tool.
And S806, adding a special effect to the original video to obtain a special effect video.
And when the original videos corresponding to all the video data segments are obtained, continuously calling a video processing tool to add a special effect to each segment of the original video, thereby obtaining a special effect video.
By identifying the service result data segment meeting the special effect adding condition, video recording and special effect processing are automatically carried out based on the determined service result data segment without human intervention, and the obtained video is a specific video segment which can effectively embody the watching requirement. The original video special effect is processed to enrich the video content, so that the interest and the appreciation of the video are improved.
In an embodiment, as shown in fig. 9, after determining a service result data segment satisfying a special effect adding condition in the service result data and determining data start and end point information of the service result data segment, the method further includes:
and S902, determining the combination mode of each service result data segment according to the combination rule.
Specifically, according to a combination rule, determining the splicing sequence of each service result data segment with the same event type, wherein the combination mode comprises the identification and the splicing sequence of each service result data segment.
And S904, adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
Specifically, the start and stop point time for video recording is determined according to the data start and stop point information, video recording is performed according to the start and stop point time for video recording, and special effect processing is performed on the recorded video according to a special effect adding rule to obtain a special effect video.
And S906, combining the special effect videos according to the combination mode to obtain a combined video.
Specifically, the special effect videos combined to the same group are determined according to the combination mode, and the special effect videos of the same group are spliced according to the determined splicing sequence in the combination mode to obtain the combined video.
The recorded special-effect videos are video clips in the service running process, the video clips are selectively combined and spliced to obtain a section of video, so that the section of video can be fused with a plurality of related video clips, and the combined video can be watched to simultaneously know the related video clips and the story development trend in the service running process.
In the following, each service in the special effect processing platform is taken as a server, and the running service is taken as a game. As shown in fig. 10, a system for generating a special effects video in one embodiment includes: the terminal 1010, the service processing server 1020 and the special effects processing platform 1030, wherein the special effects processing platform 1030 further comprises: authentication server 1031, traffic analysis server 1032, video processing server 1033, upload server 1034, data cache server 1035, and push server 1036. The terminal 1010 is in communication connection with the service processing server 1020, the service processing server 1020 is in communication connection with the authentication server 1031 and the service analysis server 1032 respectively, the video processing server 1033 is in communication connection with the service analysis server 1032 and the upload server 1034 respectively, and the data cache server 1035 is in communication connection with the upload server 1034 and the push server 1036 respectively.
In this embodiment, based on the system for generating a special effect video shown in fig. 10, specific steps of the method for generating a special effect video are shown in fig. 11:
first, the terminal 1010 sends a game running request carrying an account identifier to the service processing server 1020. When receiving the game running request, the service processing server 1020 responds to the request to implement data interaction with the terminal 1010, generates an authority authentication request carrying an account identifier, and sends the authority authentication request to the authentication server 1031. The authority identification request refers to a request for judging whether the account identifier has video recording authority.
The authentication server 1031 determines whether the account identifier has the video recording right according to the account identifier, obtains an authentication result, and returns the authentication result to the service processing server 1020. Specifically, the special effect processing platform prestores all account identifications with video recording permission, compares the account identification in the received permission authentication request with the prestored account identification, and generates an authentication result including that the account identification has the video recording permission when all prestored account identifications include the account identification in the request; otherwise, generating the authentication result that the account identification has no video recording authority. In this embodiment, the account identifier having the video recording right is the account identifier having the corresponding role robot.
The service processing server 1020 analyzes and judges the received authentication result, and when the authentication result includes that the account identifier has the video recording right, sends a connection request to the service analysis server 1032 to establish connection with the service analysis server 1032.
In the process that the service processing server 1020 responds to the game running request to realize data interaction with the terminal 1010, the terminal 1010 generates game operation data and transmits the game operation data to the service processing server 1020, the service processing server 1020 analyzes the game operation data in real time to generate corresponding game result data, and the game result data is sent to the service analysis server 1032 to be analyzed and processed.
After obtaining the game result data sent by the service processing server 1020, the service analysis server 1032 analyzes the game result data, determines a game result data segment satisfying the special effect adding condition in the game result data, and determines the start time and the end time of the game result data segment. And after the game is finished, analyzing all the game result data segments, and determining the combination mode of each game result data segment, wherein the combination mode comprises the identification and the splicing sequence of each business result data segment. For example, the "first hit and kill", "second hit and kill" … and the "successful counterattack" are combined in this order to obtain a combined pattern.
After the game is finished, the service processing server 1020 sends the playback file to the service analysis server 1032, and the service analysis server 1032 sends the special effect indication information composed of the start time and the end time of the game result data segment, the combination mode and the playback file to the video processing server 1033 for video processing.
The video processing server 1033 performs simulated playback on the service according to the playback file by using the service simulator, calls the video processing tool to start video recording when the simulated playback reaches the start time of the video data segment, ends the recording of the current video data segment when the simulated playback reaches the end time of the video data segment, and obtains the original video corresponding to all the video data segments until the simulated playback is finished. And continuously calling a video processing tool to add a special effect to each original video so as to obtain a special effect video. Further, the special effect videos combined to the same group are determined according to the combination mode, and the special effect videos of the same group are spliced according to the determined splicing sequence in the combination mode to obtain the combined video. The combined video and the uncombined special effect video are then sent to the upload server 1034 for upload.
The upload server 1034 uploads the received combined video and the un-combined special effect video to the data cache server 1035 for storage, the data cache server 1035 generates a link address according to the storage addresses of the combined video and the un-combined special effect video, and sends the link address to the push server 1036, and the push server 1036 pushes the link address to a corresponding user end, so that the user end can obtain and record all game videos (including the combined video and the un-combined special effect video) by clicking the link address. For example, if the login ID of the current game is a certain social software account, the corresponding push service is a certain social software push service, and the social software push service pushes the link address of the combined video to the social software client corresponding to the social account. And the user side can play and share the game video according to the link address.
By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved. In addition, the combination mode of the plurality of service result data segments is determined through the combination rule, so that the corresponding plurality of related video frequency segments are spliced according to the combination mode, a wonderful event collection or a wonderful event development line in the service operation process is fully embodied, the content of the video is further enriched, and the wonderful degree of the video is improved. Meanwhile, the link address of the special-effect video and/or the combined video is automatically pushed to the corresponding user side, so that the user can obtain the video added with the special effect without manual intervention, and the complexity of recording business videos such as games and the like and special effect processing is reduced.
FIG. 11 is a schematic diagram illustrating interaction flows at various ends of a method for generating a special effects video, according to an embodiment. It should be understood that although the various steps in the flowchart of fig. 11 are shown in sequential order, these steps are not necessarily performed in sequential order. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 11 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, there is provided an apparatus for generating a special effect video, as shown in fig. 12, the apparatus including: a data acquisition module 1202, a data segment determination module 1204, and a transmission module 1206, wherein,
a data obtaining module 1202, configured to obtain service result data of the service processing service.
Specifically, the service processing service generates service result data according to the service operation data and the service operation rule, and sends the service result data to the service analysis service, and the data acquisition module 1202 of the service analysis service receives the service result data, so as to determine the data segment for performing video processing according to the service result data.
The data segment determining module 1204 is configured to determine a service result data segment that meets the special-effect adding condition in the service result data, and determine data start and end point information of the service result data segment.
Specifically, the data segment determining module 1204 determines whether the obtained service result data satisfies the special effect adding condition, uses continuous service result data satisfying any special effect adding condition as a service result data segment satisfying the special effect adding condition, and confirms data start point information and data end point information of the service result data segment. And one or more determined service result data segments meeting the special effect adding condition can be obtained.
A sending module 1206, configured to send special effect indication information to the video processing service, where the special effect indication information includes data start and stop point information, so that the video processing service adds a special effect to a video determined according to the data start and stop point information to obtain a special effect video.
According to the device for generating the special effect video, the service result data of the service processing service is obtained, the data start and stop point information of the service result data segment and the service result data segment which meet the special effect adding condition in the service result data is determined, and the special effect indicating information comprising the data start and stop point information is sent to the video processing service, so that the video processing service adds the special effect to the video determined according to the data start and stop point information, and the special effect video is obtained. By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved.
In an embodiment, when the service result data segment includes more than two segments, the special effect indication information further includes: a combination pattern of the service result data segments. The sending module 1206 sends the special effect indication information to the video processing service, wherein the special effect indication information further comprises a combination mode of each service result data segment.
The combined mode is sent to the video processing service, so that the video processing service records and processes videos according to the data start and stop point information, and after each special-effect video is obtained, the videos are combined and spliced according to the combined mode to obtain a combined video. The recorded special-effect videos are video clips in the service running process, the video clips are selectively combined and spliced to obtain a section of video, so that the section of video can be fused with a plurality of related video clips, and the combined video can be watched to simultaneously know the related video clips and the story development trend in the service running process.
Furthermore, the device for generating the special effect video further comprises a combination mode determining module, and the module is used for determining the combination mode of each business result data segment according to the combination rule. The combination rule comprises a combination condition and a splicing rule. After the operation of the service is finished, the combination mode determining module analyzes all the determined service result data segments, judges whether a plurality of service result data segments meeting any combination condition exist, determines the plurality of service result data segments meeting any combination condition if the plurality of service result data segments meet any combination condition, and determines the splicing sequence of the plurality of service result data segments according to the splicing rule.
In an embodiment, the combination pattern includes an identifier and a splicing order of each service result data segment, and the combination pattern determining module is further configured to determine the splicing order of each service result data segment with the same event type according to the combination rule. In this embodiment, the event types to which all the determined service result data segments belong are analyzed, the service result data segments with the same event types are combined, and the service result data segments in the same combination are analyzed according to the splicing rule to determine the splicing sequence.
By combining the service result data segments with the same event type, the finally obtained video is fused with a plurality of related video segments, so that the highlight event collection or the highlight event development line in the service operation process is fully embodied, the content of the video is further enriched, and the highlight degree of the video is improved. It is understood that the final video processed by the video processing service may include a single special effect video or a combined video combined by a plurality of special effect videos, and whether to include the combined video depends on whether each special effect video satisfies the combination condition. That is, when there are a plurality of special effect videos that satisfy the combination condition, the plurality of special effect videos are combined into a combined video, and if there is a special effect video that does not satisfy any combination condition, the combined video is still presented as the single characteristic video.
In an embodiment, the apparatus for generating a feature video further includes a playback file acquiring module, configured to acquire a playback file of the current service when the current service is ended. The playback file refers to a data file which can be used for simulating a service operation process. When the current service is finished, the service processing service transmits the playback file of the service to the service analysis service, and the playback file acquisition module receives the playback file sent by the service processing service.
Further, the special effect indication information further includes: the file is played back. The sending module 1206 sends the special effect indication information to the video processing service, and further includes a playback file, so that the video processing service determines a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information, records a video corresponding to the video data segment, and adds a special effect to obtain a special effect video.
By identifying the service result data segment meeting the special effect adding condition and automatically adding the special effect to the required video segment based on the determined service result data segment, the obtained video is the specific video segment which can effectively embody the required watching, the video content is enriched based on the special effect processing, and the interestingness and the ornamental property of the video are improved. In addition, the combination mode of the plurality of service result data segments is determined through the combination rule, so that the corresponding plurality of related video frequency segments are spliced according to the combination mode, a wonderful event collection or a wonderful event development line in the service operation process is fully embodied, the content of the video is further enriched, and the wonderful degree of the video is improved.
FIG. 13 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may be specifically the special effects processing platform 130 in fig. 1 or the business analysis server 1032 in fig. 10. As shown in fig. 13, the computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing relevant data for generating the special effect video. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of generating a special effects video.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the apparatus for generating special effects video provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 13. The memory of the computer device may store therein various program modules constituting the apparatus for generating a special effects video, such as a data acquisition module 1202, a data segment determination module 1204, and a transmission module 1206 shown in fig. 12. The program modules constitute computer programs that cause a processor to execute the steps in the method for generating a special effect video according to the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 13 may execute step S202 by the data acquisition module 1202 in the apparatus for generating a special effect video shown in fig. 12. The computer device may perform step S204 through the data segment determination module 1204. The computer device may perform step S206 through the sending module 1206.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring service result data of a service processing service;
determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment;
and sending special effect indication information to the video processing service, wherein the special effect indication information comprises data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the service result data segments comprise more than two, generating special effect indicating information of a combination mode comprising each service result data segment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining the combination mode of each service result data segment according to the combination rule.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining the splicing sequence of the service result data segments with the same event type according to the combination rule, wherein the combination mode comprises the identification and the splicing sequence of the service result data segments.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining the starting time and the ending time of the service result data segment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the current service is finished, acquiring a playback file of the current service.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and sending special effect indication information to the video processing service, wherein the special effect indication information also comprises a playback file.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring service result data of a service processing service;
determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment;
and sending special effect indication information to the video processing service, wherein the special effect indication information comprises data start and stop point information, so that the video processing service adds a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the service result data segments comprise more than two, generating special effect indicating information of a combination mode comprising each service result data segment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the combination mode of each service result data segment according to the combination rule.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the splicing sequence of the service result data segments with the same event type according to the combination rule, wherein the combination mode comprises the identification and the splicing sequence of the service result data segments.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the starting time and the ending time of the service result data segment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the current service is finished, acquiring a playback file of the current service.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and sending special effect indication information to the video processing service, wherein the special effect indication information also comprises a playback file, so that the video processing service determines a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information, records the corresponding video of the video data segment and adds a special effect to obtain a special effect video.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring service result data;
determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment;
and adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the account identifier corresponding to the current service has the video recording right, acquiring service result data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the current service is finished, acquiring a playback file of the current service.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information;
recording a corresponding video of the video data segment to obtain an original video;
and adding a special effect to the original video to obtain a special effect video.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring service result data;
determining a service result data segment meeting the special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment;
and adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the account identifier corresponding to the current service has the video recording right, acquiring service result data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the current service is finished, acquiring a playback file of the current service.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information;
recording a corresponding video of the video data segment to obtain an original video;
and adding a special effect to the original video to obtain a special effect video.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A method of generating a special effects video, the method comprising:
acquiring service result data of a service processing service;
determining a service result data segment which meets a special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment, wherein the data start and stop point information comprises data start point information and data end point information of the service result data segment, the data start point information is information of first service result data in the service result data segment, and the data end point information is information of last service result data in the service result data segment;
sending special effect indicating information to a video processing service, wherein the special effect indicating information comprises the data start and stop point information and a playback file, so that the video processing service determines a video data segment corresponding to a service result data segment in the playback file according to the data start and stop point information, records a corresponding video of the video data segment, and adds a special effect to the video to obtain a special effect video; the playback file refers to a data file which can be used for simulating a service operation process;
the video processing service determines a video data segment corresponding to a service result data segment in a playback file according to the data start and stop point information, records a video corresponding to the video data segment, and adds a special effect to the video to obtain a special effect video, and the method comprises the following steps:
the video processing service determines a video data segment corresponding to a service result data segment in a playback file according to data start and stop point information, utilizes a service simulator to perform simulated playback on a service according to the playback file, calls a video processing tool to start video recording when the simulated playback reaches the start time of the video data segment, ends the recording of the current video data segment when the simulated playback reaches the end time of the video data segment, obtains original videos corresponding to all the video data segments until the playback file is simulated and played back, and adds special effects to the original videos to obtain special effect videos.
2. The method according to claim 1, wherein when the service result data segment includes more than two segments, the special effect indication information further includes: and the combination mode of each service result data segment.
3. The method of claim 2, wherein after determining the data start point and end point information of the service result data segment and before sending the special effect indication information to the video processing service, further comprising:
and determining the combination mode of each service result data segment according to a combination rule.
4. The method according to claim 3, wherein the determining the combination pattern of each of the service result data segments according to a combination rule comprises:
and determining the splicing sequence of each service result data segment with the same event type according to a combination rule, wherein the combination mode comprises the identification of each service result data segment and the splicing sequence.
5. The method of claim 1, further comprising:
and when the current service is finished, acquiring a playback file of the current service.
6. A method of generating a special effects video, the method comprising:
acquiring service result data;
determining a service result data segment which meets a special effect adding condition in the service result data, and determining data start and stop point information of the service result data segment, wherein the data start and stop point information comprises data start point information and data end point information of the service result data segment, the data start point information is information of first service result data in the service result data segment, and the data end point information is information of last service result data in the service result data segment;
adding a special effect to the video which is correspondingly recorded at the starting and stopping point moment for recording the video and is determined according to the data starting and stopping point information to obtain a special effect video;
adding a special effect to the video determined according to the data start and stop point information to obtain a special effect video, wherein the method comprises the following steps:
determining a video data segment corresponding to the service result data segment in the playback file according to the data start and stop point information;
utilizing a service simulator to perform simulated playback on a service according to a playback file, calling a video processing tool to start video recording when the simulated playback reaches the start time of a video data segment, ending the recording of the current video data segment when the simulated playback reaches the end time of the video data segment, and obtaining original videos corresponding to all the video data segments until the playback file is simulated and played back;
and adding a special effect to the original video to obtain a special effect video.
7. The method according to claim 6, wherein when the account identifier corresponding to the current service has video recording rights, service result data is obtained.
8. The method of claim 6, further comprising:
and when the current service is finished, acquiring a playback file of the current service.
9. An apparatus for generating a special effects video, the apparatus comprising:
the data acquisition module is used for acquiring service result data of the service processing service;
the data segment determining module is used for determining the service result data segment which meets the special effect adding condition in the service result data and determining the data start and stop point information of the service result data segment;
the sending module is used for sending special effect indicating information and a playback file to a video processing service, wherein the special effect indicating information comprises the data start and stop point information, so that the video processing service determines a video data segment corresponding to a service result data segment in the playback file according to the data start and stop point information, records a corresponding video of the video data segment and adds a special effect, and obtains a special effect video; the playback file refers to a data file which can be used for simulating a service operation process;
the video processing service determines a video data segment corresponding to a service result data segment in a playback file according to data start and stop point information, a service simulator is used for simulating and playing back a service according to the playback file, a video processing tool is called to start video recording when the simulated playback reaches the start time of the video data segment, the recording of the current video data segment is ended when the simulated playback reaches the end time of the video data segment, original videos corresponding to all the video data segments are obtained until the playback file is simulated and played back, special effects are added to the original videos, and special effect videos are obtained, wherein the playback file refers to a data file which can be used for simulating the service operation process.
10. A system for generating special effect video is characterized in that the system comprises a special effect processing platform, the special effect processing platform is used for obtaining service result data, determining a service result data segment which meets a special effect adding condition in the service result data, determining data start and stop point information of the service result data segment, adding a special effect to video which is correspondingly recorded at the start and stop point time of video recording determined according to the data start and stop point information to obtain special effect video, the data start and stop point information comprises data start point information and data end point information of the service result data segment, the data start point information is information of first service result data in the service result data segment, the data end point information is information of last service result data in the service result data segment, wherein special effect is added to the video which is correspondingly recorded at the start and stop point time of video recording determined according to the data start and stop point information, and the special effect is added to the video which is correspondingly recorded at the start and stop point time of video recording determined according to the data start and stop point information In effect, a special effects video is obtained, comprising: determining a video data segment corresponding to a service result data segment in a playback file according to data start and stop point information, performing simulated playback on a service according to the playback file by using a service simulator, calling a video processing tool to start video recording when the simulated playback reaches the start time of the video data segment, ending the recording of the current video data segment when the simulated playback reaches the end time of the video data segment until the playback file is simulated and played back, obtaining original videos corresponding to all the video data segments, adding special effects to the original videos, and obtaining special effect videos, wherein the playback file refers to a data file which can be used for simulating the service operation process.
11. The system according to claim 10, wherein the special effects processing platform comprises a service analysis server and a video processing server, and the service analysis server is connected with the video processing server;
the service analysis server is used for acquiring service result data, determining a service result data segment which meets special effect adding conditions in the service result data, determining data start and stop point information of the service result data segment, and sending special effect indicating information comprising the data start and stop point information to video processing service;
and the video processing server is used for receiving the special effect indication information, adding a special effect to the video determined according to the data start and stop point information, and obtaining a special effect video.
12. The system of claim 11, wherein the system further comprises a service processing server, the special effect processing platform further comprises an authentication server, and the service processing server is connected to the authentication server;
the service processing server is used for generating an authority identification request carrying an account identifier when receiving a service operation request carrying the account identifier, sending the authority identification request to the authentication server, and establishing connection with the service analysis server when receiving an identification result which is sent by the authentication server and comprises that the account identifier has a video recording authority;
and the authentication server is used for judging whether the account identification has the video recording authority according to the account identification to obtain an authentication result and returning the authentication result to the service processing server.
13. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201811241273.XA 2018-10-24 2018-10-24 Method, device and system for generating special effect video and computer equipment Active CN111093093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811241273.XA CN111093093B (en) 2018-10-24 2018-10-24 Method, device and system for generating special effect video and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811241273.XA CN111093093B (en) 2018-10-24 2018-10-24 Method, device and system for generating special effect video and computer equipment

Publications (2)

Publication Number Publication Date
CN111093093A CN111093093A (en) 2020-05-01
CN111093093B true CN111093093B (en) 2022-03-01

Family

ID=70391546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811241273.XA Active CN111093093B (en) 2018-10-24 2018-10-24 Method, device and system for generating special effect video and computer equipment

Country Status (1)

Country Link
CN (1) CN111093093B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556363B (en) * 2020-05-21 2021-09-28 腾讯科技(深圳)有限公司 Video special effect processing method, device and equipment and computer readable storage medium
CN111800654A (en) * 2020-06-22 2020-10-20 西安万像电子科技有限公司 Video production method and system
CN112717375A (en) * 2021-01-04 2021-04-30 厦门梦加网络科技股份有限公司 Game special effect realization method
CN113490045B (en) * 2021-06-30 2024-03-22 北京百度网讯科技有限公司 Special effect adding method, device, equipment and storage medium for live video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8515253B2 (en) * 2008-02-15 2013-08-20 Sony Computer Entertainment America Llc System and method for automated creation of video game highlights
CN106998494B (en) * 2017-04-24 2021-02-05 腾讯科技(深圳)有限公司 Video recording method and related device
CN107050850A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 The recording and back method of virtual scene, device and playback system
CN108259990B (en) * 2018-01-26 2020-08-04 腾讯科技(深圳)有限公司 Video editing method and device

Also Published As

Publication number Publication date
CN111093093A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN111093093B (en) Method, device and system for generating special effect video and computer equipment
US9278288B2 (en) Automatic generation of a game replay video
JP6438135B2 (en) Data mining method and apparatus based on social platform
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN109168037B (en) Video playing method and device
CN111757148B (en) Method, device and system for processing sports event video
CN106303331A (en) video recording method, terminal and system
JP7024255B2 (en) Information processing equipment and programs
US20170187837A1 (en) Ad download method, the client and the server
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN109429082B (en) Live broadcast popularity detection method, storage medium, electronic device and system
WO2022127272A1 (en) Video generation method and apparatus, electronic device and storage medium
CN109408345A (en) Operate replay method, device, computer equipment and storage medium
CN109364489B (en) Dance action processing method and device based on role playing game
CN109523613B (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN113312237B (en) Information feedback method and device, electronic equipment and storage medium
CN108108294B (en) Method and system for acquiring customized operation data according to reference time
CN111800654A (en) Video production method and system
KR102533175B1 (en) Method and system for providing item diary in on-line game
Tabuyo-Benito et al. Forensics analysis of an on-line game over steam platform
CN115834443A (en) Flow playback method and device, computer equipment and storage medium
CN113360199A (en) Method, device and computer readable storage medium for preloading script in game
CN111522722A (en) Data analysis method, electronic equipment and storage medium
CN109086461A (en) The method and apparatus of application program is opened in a kind of guidance
CN113691541B (en) Registration verification method and system based on block chain

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