CN110087123A - Video file production method, device, equipment and readable storage medium storing program for executing - Google Patents

Video file production method, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110087123A
CN110087123A CN201910402575.9A CN201910402575A CN110087123A CN 110087123 A CN110087123 A CN 110087123A CN 201910402575 A CN201910402575 A CN 201910402575A CN 110087123 A CN110087123 A CN 110087123A
Authority
CN
China
Prior art keywords
video
screenshot image
image
screen
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910402575.9A
Other languages
Chinese (zh)
Other versions
CN110087123B (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 CN201910402575.9A priority Critical patent/CN110087123B/en
Publication of CN110087123A publication Critical patent/CN110087123A/en
Application granted granted Critical
Publication of CN110087123B publication Critical patent/CN110087123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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 or rendering scenes according to encoded video stream scene graphs
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

This application discloses a kind of video file production method, device, equipment and readable storage medium storing program for executing, are related to field of video processing, instruct this method comprises: obtaining the record screen for carrying out record screen to the display content of terminal display screen;The display content of display screen is acquired in the form of video flowing;During recording screen processing, the screenshot image of display content is obtained from video flowing;When screenshot image meets video file production and requires, record screenshot image timestamp in video streaming;Video file clip processing is carried out according to timestamp, obtains target video segment.After carrying out record screen to the display content in display screen, it is matched by shielding the screenshot image in obtained video flowing to record with video clipping requirement, and according to the timestamp of the screenshot image, editing obtains target video segment from video flowing when screenshot image meets when video file production requires, to realize the process for carrying out automatic editing to record screen video, the editing efficiency of target video segment is improved.

Description

Video file production method, device, equipment and readable storage medium storing program for executing
Technical field
The invention relates to field of video processing, in particular to a kind of video file production method, device, equipment and Readable storage medium storing program for executing.
Background technique
Record screen software is used for the content shown in one section of duration to terminal and records, such as: carrying out game in player When needing to record game process in the process, player can open the record screen function of record screen software before the start of the game, and swim Stop record screen after play, obtain the corresponding record screen video of game process, player can also carry out editing to record screen video, obtain More excellent video clip in game process.
In the related technology, it during obtaining featured videos segment to record screen video progress editing, needs to record screen view After frequency carries out whole broadcasting, at the end of determining that the corresponding initial time of featured videos segment and featured videos segment are corresponding It carves, and editing is carried out to the record screen video according to initial time and finish time, to obtain the featured videos segment.
However, through the above way to featured videos segment carry out editing during, need player to record screen video into After the whole viewing of row, the corresponding initial time of featured videos segment and finish time just can determine that, thus realize editing, editing Process is relatively complicated.
Summary of the invention
The embodiment of the present application provides a kind of video file production method, device, equipment and readable storage medium storing program for executing, can solve Problem certainly relatively complicated to the process of featured videos segment progress editing.The technical solution is as follows:
On the one hand, a kind of video file production method is provided, which comprises
The record screen for carrying out record screen to the display content of terminal display screen is obtained to instruct;
The display content of the display screen is acquired in the form of video flowing to carry out record screen processing;
During record screen processing, the screenshot figure of the display content is obtained from the video flowing of the acquisition Picture, the acquisition process of the screenshot image include being obtained with predetermined period and according to any one in the acquisition of acquisition condition;
The screenshot image meet video file production require when, it is right in the video flowing to record the screenshot image The timestamp answered;
Video file clip processing is carried out according to the screenshot image for meeting video file production and corresponding timestamp, Obtain target video segment.
On the other hand, a kind of video file producing device is provided, described device includes:
Module is obtained, the record screen instruction of record screen is carried out for obtaining the display content to terminal display screen;
Acquisition module, for acquiring the display content of the display screen in the form of video flowing to carry out record screen processing;
The acquisition module is also used to obtain institute from the video flowing of the acquisition during record screen processing The screenshot image of display content is stated, the acquisition process of the screenshot image includes obtaining with predetermined period and obtaining according to acquisition condition Any one in taking;
Logging modle, for the screenshot image meet video file production require when, record the screenshot image and exist Corresponding timestamp in the video flowing;
Editing module, screenshot image and corresponding timestamp for meeting video file production according to carry out video File clip processing, obtains target video segment.
On the other hand, a kind of computer equipment is provided, the computer equipment includes processor and memory, described to deposit Be stored at least one instruction, at least a Duan Chengxu, code set or instruction set in reservoir, at least one instruction, it is described extremely A few Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as in above-mentioned the embodiment of the present application The video file production method of offer.
On the other hand, a kind of computer readable storage medium is provided, at least one is stored in the readable storage medium storing program for executing Item instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code Collection or instruction set are loaded by the processor and are executed to realize the video file production as provided in above-mentioned the embodiment of the present application Method.
On the other hand, a kind of computer program product is provided, when the computer program product is run on computers When, so that computer executes the video file production method as provided in above-mentioned the embodiment of the present application.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
After carrying out record screen to the display content in display screen, by the obtained video flowing of record screen screenshot image with Video file production requires to be matched, and when screenshot image meets when video file production requires according to the screenshot image Between stamp editing from video flowing obtain target video segment, the process of automatic editing is carried out to record screen video to realize, is avoided User needs whole preview record screen video after record screen and manually to the process of the segment progress editing in the record screen video, It requires to carry out automatic editing to target video segment by video file production, improves the editing efficiency of target video segment.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is that the terminal server interaction for the video file production method that one exemplary embodiment of the application provides is implemented Environment schematic;
Fig. 2 is the flow chart for the video file production method that one exemplary embodiment of the application provides;
Fig. 3 be based on Fig. 2 shows embodiment provide unlatching intelligence record screen function interface schematic diagram;
Fig. 4 be based on Fig. 2 shows embodiment provide unlatchings record screen function after to management program authorize record shield permission Interface schematic diagram;
Fig. 5 be based on Fig. 2 shows the intelligence record screen function unlatching that provides of embodiment after be shown in the form of suspended window Interface schematic diagram;
Fig. 6 is the data interaction schematic diagram for the video file production method that one exemplary embodiment of the application provides;
Fig. 7 is the flow chart for the video file production method that another exemplary embodiment of the application provides;
Fig. 8 is provided based on the embodiment shown in Fig. 7 by carrying out character recognition to picture material to judge screenshot Whether image meets the schematic diagram that video file production requires;
Fig. 9 be provided based on the embodiment shown in Fig. 7 another by carrying out character recognition to picture material to sentencing Whether disconnected screenshot image meets the schematic diagram that video file production requires;
Figure 10 is provided based on the embodiment shown in Fig. 7 by carrying out figure identification to picture material to judge screenshot Whether image meets the schematic diagram that video file production requires;
Figure 11 is the process schematic of the determination game role provided based on the embodiment shown in Fig. 7;
Figure 12 is the schematic diagram for the Feature Correspondence Algorithm that the game role determination process shown in Figure 11 provides;
Whether Figure 13 is provided based on the embodiment shown in Fig. 7 by changing to judge screenshot to picture material Whether image meets the schematic diagram that video file production requires;
Figure 14 be provided based on the embodiment shown in Fig. 7 another by whether changing picture material to sentencing Whether disconnected screenshot image meets the schematic diagram that video file production requires;
Figure 15 is that the judgement game provided based on the embodiment shown in Fig. 7 is played a game the schematic diagram whether terminated;
Figure 16 is the flow chart for the video file production method that another exemplary embodiment of the application provides;
Figure 17 is to set the goal video clip really with the presence or absence of intersection sub-piece based on the embodiment offer shown in Figure 16 Schematic diagram;
Figure 18 is that another provided based on the embodiment shown in Figure 16 determines target video segment with the presence or absence of intersection The schematic diagram of segment;
Figure 19 is the schematic diagram spliced to target video segment provided based on the target video segment shown in Figure 17;
Figure 20 is the schematic diagram spliced to target video segment provided based on the target video segment shown in Figure 18;
Figure 21 is the interface schematic diagram of the editing list of videos provided based on the embodiment shown in Figure 16;
Figure 22 is the flow chart for the video file production method that another exemplary embodiment of the application provides;
Figure 23 is the flow chart for the video file production method that another exemplary embodiment of the application provides;
Figure 24 is the overall process schematic diagram of the video file production method provided based on the embodiment shown in Figure 23;
Figure 25 is the structural block diagram for the video file producing device that one exemplary embodiment of the application provides;
Figure 26 is the structural block diagram for the video file producing device that another exemplary embodiment of the application provides;
Figure 27 is the structural block diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Firstly, simply being introduced noun involved in the embodiment of the present application:
Screen recording: also known as film recording, refer to terminal to the display content in all or part of region of display screen into Row acquisition, and the display content collected is encoded to obtain the processing mode of video file in the form of video flowing, shield Curtain is recorded may be simply referred to as record screen again.Optionally, record screen region can be the whole region of display screen, be also possible to the portion of display screen Subregion, when record screen region is the whole region of display screen, then the full content shown in display screen is recorded in video text In part, when record screen region is the partial region of display screen, the content shown in the partial region is recorded in video file. Optionally, when record screen region is the partial region of display screen, which can be is obtained by user setting, can also be with It is to be automatically determined according to the window of the front stage operation program shown in display screen, such as: being shown in the region A of display screen current In the display content of the application program 1 of front stage operation, then record screen is set for region A according to the display area of application program 1 Region carries out screen recording.
Schematically, the application scenarios of the embodiment of the present application include at least at least one of following scene:
First, video file production method provided by the embodiments of the present application is applied in game management program, passes through video Image recognition carries out automatic editing to game wonderful, and concrete scene is as follows:
Game management program is installed in terminal, intelligence record screen function is provided in the game management program, this is intelligently recorded Screen function is provided with featured videos editing function for target game, records screen function when user opens the intelligence, and start target When game carries out game, intelligence record screen function in the game management program to game process of the user in target game into Row record screen, and require to identify to whether the picture frame in record screen video flowing meets video file production during recording screen, Schematically, identify whether the text in picture frame meets the corresponding text of featured videos, such as: 1 kills, when picture frame meets view When frequency file production requires, according to timestamp of the picture frame in video file to positioned at preset duration before the picture frame Video clip carries out editing, obtains featured videos segment.
Second, video file production method provided by the embodiments of the present application is applied in live streaming management program, passes through video Image recognition carries out automatic editing to live streaming segment, and concrete scene is as follows:
Live streaming management program is installed in terminal, intelligence record screen function is provided in the live streaming management program, this is intelligently recorded Screen function is provided with live streaming segment editing function for target live streaming program, records screen function when user opens the intelligence, and start When target live streaming program is broadcast live, intelligence record screen function carries out record screen to the live streaming process, and to record during recording screen Whether the picture frame in screen video flowing, which meets video file production, requires to be identified, such as: when live streaming process is that dancing was broadcast live Cheng Shi, identifies whether the personage in the picture frame is in during the dancing of standing, and meets video file production for first It is required that picture frame and the last one meet video file production require picture frame between video clip carry out editing, obtain Segment is broadcast live.
It is worth noting that, above-mentioned application scenarios are only schematical example, the embodiment of the present application be can be applied to arbitrarily Editing is carried out by the video for obtaining record screen to obtain in the scene of target video segment.
Optionally, video file production method provided by the present application can be applied in terminal, also can be applied to terminal In the implementation environment of server interaction.When this method is applied in terminal, answering including record screen function is installed in terminal With program, record screen is carried out to the display content in terminal display screen by the application program, and to the image in record screen video flowing It carries out video file production and requires matching, to realize the editing to target video segment;When this method is applied to terminal and clothes When being engaged in the implementation environment of device interaction, the application program including recording screen function is installed, by the application program to end in terminal After display content in the display screen of end carries out record screen, image to be identified in record screen video flowing is sent to server by terminal, by Server requires to match to the image with video file production, and matching result is fed back to terminal, realizes target video The editing of segment.
Schematically, referring to FIG. 1, being said so that the implementation environment is the implementation environment that terminal is interacted with server as an example It is bright, as shown in Figure 1, including: terminal 110, service in the implementation environment of video file production method provided by the embodiments of the present application Device 120 and communication network 130.
Wherein, application program 140 is installed in terminal 110, which is provided with record screen function, for end The display content of 110 display screens is held to be recorded, after terminal 110 opens record screen, terminal 110 obtains video flowing according to recording Picture frame in video flowing 150 is sent to server 120 by communication network 130 by 150, includes image in server 120 With module 121, which is used to require to match with video file production by the picture frame that terminal is sent, And matching result is obtained, and after which is fed back to terminal 110 by communication network 130 by server 120,110, terminal Editing is carried out to video flowing according to matching result, obtains target video segment 160.
It is worth noting that, being obtained from video flowing 150 in above-described embodiment with being sent to the picture frame of server 120 Picture frame for be illustrated, which can also be is obtained by the direct screenshot of display content to terminal display screen 's.
In conjunction with the explanation of above-mentioned noun brief introduction and implementation environment, to video file production method provided by the embodiments of the present application It is illustrated, Fig. 2 is the flow chart for the video file production method that one exemplary embodiment of the application provides, and is answered in this way For being illustrated in terminal, as shown in Fig. 2, this method comprises:
Step 201, the record screen for carrying out record screen to the display content of terminal display screen is obtained to instruct.
Optionally, record screen instruction is used to indicate terminal unlatching and carries out record screen to the display content of display screen, optionally, should The instruction of record screen is the corresponding instruction of unlatching record screen function.
Optionally, in the embodiment of the present application, the management program installed in terminal is applied to the video file production method For be illustrated, be provided in the management program record screen function.
Optionally, record screen instruction can be what terminal was automatically generated according to the application program that current foreground is run, can also To be user by being obtained after selecting in the application record screen unlatching control.
It is illustrated respectively for above two mode:
First, record screen instruction is what terminal was automatically generated according to the application program that current foreground is run;
Record screen function open signal is received, unlatching, which is pre-recorded, shields function, this, which is pre-recorded, shields function for the operational process to terminal It is monitored, and opens record screen function when the operational process of terminal meets record set of hanging scrolls part;When the application program run in terminal When for destination application, determine that the operational process of terminal meets record set of hanging scrolls part, and obtain the display to the terminal display screen Content carries out the record screen instruction of record screen.
It schematically, should as shown in figure 3, showing auxiliary tool list 310 in the display interface 300 of management program It include that function 311 is shielded in intelligence record in auxiliary tool list 310, after user, which records screen function 311 to the intelligence, to be selected, display Interface 320 is discussed in detail in intelligence record screen function 311, this, which is discussed in detail in interface 320 to show, supports intelligence record screen function Can 311 application program 321 and application program 322, such as: when the management program is game management program, then the game management The application program that intelligence record screen function is supported in program is games A and games B.This is discussed in detail in interface Control 323 is opened, after user selects the unlatching control 323, display record screen opens message 324, and record screen unlatching disappears For prompting " having turned on intelligence record screen function, can automatically begin to record screen after opening game ", which is used for breath 324 Expression, which has turned on to pre-record, shields function, and record screen function can be opened after starting game, that is, generates record screen instruction to terminal display screen Display content start record screen.
Optionally, record screen function is when the operational process to terminal is monitored, the usually application to terminal front stage operation Program is monitored.Optionally, the monitoring to the application program of terminal front stage operation, the stack top are realized by stack top monitor mode Monitor mode is the mode being monitored to the switching behavior of end application, such as: being showed by stack top, determine terminal operating Application program when being switched to program B by program A, namely determine that the application program of present terminal front stage operation is program B.
Optionally, it when determining that the application program run in terminal is destination application by stack top monitor mode, obtains Record screen instruction carries out record screen to the display content of terminal display screen.
Optionally, the stack top monitor mode need the management program obtain terminal stack top supervision authority after applied, Such as: after user opens record screen function, system automatic prompt " management program will acquire foreground application monitoring function ", and work as and use After family confirms the prompting message, enables above-mentioned stack top monitor mode and be monitored.
Optionally, which also needs to obtain the record screen permission of terminal, that is, need user to the management program into After row authorization record screen permission, which can open the record screen function and carry out record screen to the display content of display screen.It is optional Ground, the record screen function also need to obtain the suspended window permission of the terminal, which is used to record to display content During screen, the process of record screen is prompted by suspended window.Optionally, management program can also be right by other means Record screen process is prompted, such as: notification bar prompting mode.
Schematically, referring to FIG. 4, user is selected in management program after opening record screen function, display permission opens boundary Face 400, the permission open in interface 400 and show permissions list 410 to be opened, include record screen power in the permissions list 410 Limit 411, suspended window permission 412 and service condition access authority 413, wherein service condition access authority 413 is above-mentioned stack top Supervision authority, due to noun stack top supervision authority be computer major proper noun, therefore permission open interface 400 in so that It is that display content is shown the stack top supervision authority with situation access authority 413.Schematically, when user weighs the record screen When limit 411 is chosen, Overlapping display system message 420 above interface 400 is opened in the permission, which is used for Prompt user opens the record screen permission 411 to management program, and user is selected in the system message 420 after determining control 421, eventually It holds to the management program and opens the permission that the display content to display screen carries out record screen.
Schematically, when the unlatching of above-mentioned suspended window permission should when user opens the application program of record screen function support In the operational process of application program, suspended window is also shown in runnable interface, the suspended window for prompt user currently into Row screen recording.Schematically, referring to FIG. 5, by taking the management program is game management program as an example, when terminal is to the game pipe After reason program authorizes suspended window permission, and user opens target game, game startup interface 500 is shown in terminal interface, the trip Play 500 top Overlapping display of startup interface has suspended window 510, and the suspended window 510 is for prompting user currently swimming to target The game process of play carries out record screen, and content " intelligence record screen has turned on, and click is packed up " is shown in the suspended window 510.
Second, record screen instruction is that user is obtained by shielding to open after control selects to record in the application;
Optionally, in conjunction with the explanation in the first above-mentioned situation, when user does not open service condition access as shown in Figure 4 Permission, namely when not opening stack top supervision authority, the management program can not according to the application program of present terminal front stage operation from It is dynamic to open record screen function, then need user to manually control the unlatching of the record screen function.Optionally, user can be directly in management journey Record screen function is opened in sequence, can also be opened when user opens suspended window permission to management program by suspended window The record screen function.
Step 202, the display content of display screen is acquired in the form of video flowing to carry out record screen processing.
Optionally, during the display content that display screen is acquired in the form of video flowing, by frame by frame to display screen Display content is acquired, and the picture frame collected is marked corresponding timestamp, to generate corresponding with display content Video flowing.
Optionally, which can be the timestamp being labeled with terminal juncture, be also possible to according to record screen starting Moment is the timestamp being labeled at 0 moment.Schematically, when being labeled with terminal juncture, terminal juncture 11:11: 20, then the timestamp that the display content currently collected is marked is 11:11:20, optionally, marks the thin of the timestamp Change degree can be determining according to the frequency of acquisition display content, such as: the primary display content of acquisition per second, the then refinement of the timestamp Degree is the second.Schematically, when being to be labeled at 0 moment with record screen initial time, then according to the display content currently acquired Time difference between the display content of initial acquisition carries out timestamp mark to the display content currently acquired, similarly, mark The degree of refinement of note is determined according to the frequency of acquisition display content.
Step 203, during recording screen processing, the screenshot image of display content is obtained from the video flowing of acquisition.
Optionally, which is corresponding with timestamp in video streaming.
Optionally, the process for obtaining the screenshot image includes being obtained with predetermined period and according to appointing in the acquisition of acquisition condition It anticipates one kind.Optionally, it when obtaining the screenshot image of the display content, can be obtained from video flowing every preset duration, it can also To be obtained according to the changing rule in video flowing between picture frame, when the changing rule between picture frame meets default rule When, the screenshot image of display content is obtained, such as: if the image difference between current image frame and a upper picture frame being acquired When greater than default difference, the current image frame is obtained as screenshot image, can also be obtained according to picture material, work as image When the picture material of frame meets preset content requirement, the screenshot image of display content is obtained, such as: default interior when occurring in picture frame Rong Shi obtains the picture frame as screenshot image.
Optionally, when obtaining screenshot image every preset duration from video flowing, which can be shields in record It obtains, is also possible to after the completion of record screen in the process, the unified acquisition from video flowing.
Optionally, when the screenshot image be record screen during obtain, then record screen during, obtained every preset duration The display content for taking the display screen currently acquired obtains the screenshot image of display content;When screenshot image be record screen after the completion of, The unified acquisition from video flowing, then obtain screenshot image of the i frame picture frame as display content, wherein phase from video flowing A length of preset duration when interval between the timestamp of adjacent two field pictures frame.
Optionally, when obtaining screenshot image during recording screen, which can be before acquiring to video flowing It is obtained by carrying out screenshot to display content, newest image can also be obtained from video flowing after acquiring to video flowing Frame is as the screenshot image.Wherein, when screenshot image is obtained before acquiring to video flowing by carrying out screenshot to display content, The corresponding timestamp of screenshot image can be obtained by the determination of present terminal moment, can also be by obtaining video flowing currently most New timestamp obtains, and be also implemented as: the timestamp of the picture frame in video flowing is the timestamp marked according to terminal juncture, The timestamp of screenshot image is the present terminal moment, it is determined that when screenshot image timestamp in video streaming, according to screenshot figure As corresponding terminal juncture, the timestamp of picture frame corresponding with the terminal juncture is determined in video streaming.
Optionally, the screenshot image obtained from video flowing every preset duration, can be continuous multiple frames screenshot image, i.e., The video sub-segments of one section of preset length are obtained from video flowing every preset duration, then the step 203 is also implemented as, During recording screen processing, the video sub-segments of the preset length currently acquired are obtained with a predetermined period, wherein when this is default It is long to be greater than the corresponding duration of the preset length;Or, obtaining i video sub-segments from video flowing, wherein two adjacent video A length of preset duration when interval at the beginning of segment between stamp.
Step 204, when screenshot image meets video file production and requires, record screenshot image time in video streaming Stamp.
Optionally, video file production require to meet for the picture material to screenshot image the image of editing requirement into Row matching, such as: when the management program is embodied as game management program, when carrying out editing to the video flowing, needing for excellent Segment carries out editing, then determines that the screenshot image meets view when feature corresponding including excellent operation segment in the screenshot image Frequency file production require, such as: in screenshot image include keyword " defeating ", it is determined that the screenshot image show before game Cheng Zhong, player realize the staged success in game, it is determined that the screenshot image meets video file production and requires.
Optionally it is determined that screenshot image whether meet video file production require method include in following method at least It is a kind of:
First, the first picture material in screenshot image is matched with the requirement content in picture material list, when When in picture material list in the presence of content and the first image content match is required, determine that screenshot image meets video file production and wants It asks;
Second, by the first picture material and the second figure of a nearest screenshot image before screenshot image in screenshot image As content is compared, when the first picture material changes relative to the second picture material, determine that screenshot image meets view Frequency file production requires.
Step 205, video file is carried out according to the screenshot image and corresponding timestamp that meet video file production requirement Editing processing, obtains target video segment.
In conclusion video file production method provided in this embodiment, is recorded to the display content in display screen After screen, require to match with video file production by shielding record the screenshot image in obtained video flowing, and work as screenshot figure As meeting, according to the timestamp of the screenshot image, editing obtains target video segment from video flowing when video file production requires, To realize the process for carrying out automatic editing to record screen video, avoids user and need whole preview record screen video after record screen And manually in the record screen video segment carry out editing process, by video file production require to target video segment into The automatic editing of row, improves the editing efficiency of target video segment.
In an alternative embodiment, above-mentioned screenshot image is also needed by carrying out after image cropping and image preprocessing Image recognition, schematically, Fig. 6 are the overall datas for the video file manufacturing system that one exemplary embodiment of the application provides Interaction figure, as shown in fig. 6, include: in the video file manufacturing system record panel module 610, Wonderful time identification module 620 and Wonderful time data management module 630.
Wherein, record panel module 610 includes video acquisition unit 611, and the video acquisition unit 611 is for showing display screen Show that content is acquired, obtains record screen video flowing, further include picture collection unit 612, the picture collection in the record panel module 610 Unit 612 is used for every the static images in preset duration acquisition video flowing, and the static images are sent to Wonderful time and are known Other module 620.
It include that image cropping unit 621, image pre-processing unit 622 and image are known in Wonderful time identification module 620 Other unit 623, wherein the static images that image cropping unit 621 is used to send record panel module 610 are according to preset cutting rule It is cut, and the picture after cutting is sent to image pre-processing unit 622, image pre-processing unit 622 is used for cutting Picture afterwards is pre-processed, wherein handled in the preprocessing process including image characteristics extraction, image segmentation, image grayscale, At least one of contrast stretching, clarity adjustment, character recognition.Image pre-processing unit 622 is by pretreated image Be sent to image identification unit 623, image identification unit 623 be used to requiring pretreated image and video file production into Row matching, and when with treated image meets video file production requires when, the corresponding Wonderful time of the static images is detailed Feelings are sent to Wonderful time data management module 630, and after record screen, Wonderful time data management module 630 is by the quiet of record The video clipping unit 613 that the Wonderful time details of state picture are sent in record panel module 611 carries out video clipping, obtains target Video clip.
In an alternative embodiment, determine whether screenshot image meets video file production requirement and can pass through image Match condition between content and picture material list is determined, can also by judge picture material whether change into Row determines that Fig. 7 is the flow chart for the video file production method that another exemplary embodiment of the application provides, and answers in this way For being illustrated in terminal, as shown in fig. 7, this method comprises:
Step 701, the record screen for carrying out record screen to the display content of terminal display screen is obtained to instruct.
Optionally, record screen instruction is used to indicate terminal unlatching and carries out record screen to the display content of display screen, optionally, should The instruction of record screen is the corresponding instruction of unlatching record screen function.
Optionally, record screen instruction can be what terminal was automatically generated according to the application program that current foreground is run, can also To be user by being obtained after selecting in the application record screen unlatching control.
Optionally, the acquisition modes of record screen instruction have been carried out detailed description in above-mentioned steps 201, no longer superfluous herein It states.
Step 702, the display content of display screen is acquired in the form of video flowing to carry out record screen processing.
Optionally, during the display content that display screen is acquired in the form of video flowing, by frame by frame to display screen Display content is acquired, and the picture frame collected is marked corresponding timestamp, to generate corresponding with display content Video flowing.
Step 703, during recording screen processing, the screenshot image of display content is obtained from the video flowing of acquisition.
Optionally, which is corresponding with timestamp in video streaming.
Optionally, which can be obtains during recording screen, is also possible to after the completion of record screen, from video flowing Middle unified acquisition.
Optionally, the acquisition modes of the screenshot image have been carried out detailed description in above-mentioned steps 203, no longer superfluous herein It states.
Step 704, the first picture material in screenshot image is matched with the requirement content in picture material list.
It optionally, include requiring character and requiring at least one of figure in the picture material list, wherein it is required that word Symbol with the character content in the first picture material for being matched, it is desirable that figure is used for and the figure that occurs in the first picture material Shape is matched.
Optionally, by the first picture material with require content to be matched before, which is cut, is obtained Clipping region, and determine whether the first picture material in screenshot image meets the requirements content by clipping region.
Optionally, determine whether the first picture material in screenshot image meets the requirements by way of content clipping region Including any one in such as under type:
First, character recognition is carried out to clipping region, obtains character content in clipping region as the first picture material, And the requirement character in character content excessively picture material list is matched.
Second, in this case region picture material carry out test pattern, the test pattern result that will test with Requirement figure in picture material list is matched.
Step 705, when in picture material list in the presence of content and the first picture material Corresponding matching is required, screenshot is determined Image meets video file production and requires.
Optionally, whether meet the requirements the mode of content for the first picture material in above-mentioned determining screenshot image, packet Include at least one of the following two kinds situation:
First, when in picture material list in the presence of requiring character to match with character content, determine that screenshot image meets view Frequency file production requires;
Schematically, include requiring character in picture material list: " defeating ", " three even decide the issue of the battle ", " making oneself too remarkable " please join Fig. 8 is examined, going game picture is shown in interface 810, to the corresponding screenshot image of the game picture according to default sanction It cuts rule to be cut, obtains clipping region 820, character recognition is carried out to the clipping region 820, character content is obtained and " hits Lose ", which is matched with the requirement character in picture material list, the requirement character in picture material list " defeating " matches with the character content, therefore the screenshot image meets video file production and requires.
It schematically, include requiring character " n is defeated " in picture material list, wherein the character " n " can be implemented as appointing Meaning numerical value, referring to FIG. 9, going game picture is shown in interface 910, screenshot image corresponding to the game picture It is cut according to preset cutting rule, obtains clipping region 920, character recognition is carried out to the clipping region 920, obtains character The character content is matched with the requirement character in picture material list, is wanted in picture material list by content " 1 defeats " Character " n is defeated " is asked to match with the character content, therefore the screenshot image meets video file production and requires.
Second, when in picture material list in the presence of requiring figure to match with test pattern result, determine that screenshot image accords with Video file production is closed to require.
Schematically, it is illustrated so that the test pattern is circle detection as an example, screenshot image is cut and is cut out After cutting region, which is detected by Hough loop truss algorithm, and detects to include one in the clipping region Circle matches the circle with the figure in picture material list, obtain include in picture material list and the circular diagram The matched figure of case, then the screenshot image meets video file production and requires.
Optionally, it when to requiring figure to match with test pattern result, can be matched by multiple characteristic points, Such as: being matched by 40 characteristic points, when the characteristic point for reaching 90% or more, which meets, is mutually matched relationship, determine and require figure Shape is matched with test pattern result.Optionally, which can also be calculated by template matching algorithm, the matching of mean value Hash The matching algorithms such as method, perceptual hash matching algorithm carry out, and the embodiment of the present application is not limited this.
Optionally it is determined that after the screenshot image meets video file production requirement, it can also be for screenshot image according to another One tailoring rule cuts to obtain the second clipping region, and according to the test pattern of second clipping region as a result, determining the screenshot The corresponding excellent classification of image.
Schematically, referring to FIG. 10, obtaining the first clipping region after carrying out the first cutting to screenshot image 1010 1020, after detecting to first clipping region 1020 by Hough loop truss algorithm, obtain first clipping region 1020 In include a circle, determining the figure in the circular pattern and picture material list by Feature Correspondence Algorithm, there are 36 Feature Points Matching is good, it is determined that the screenshot image 1010 meets video file production and requires, and carries out the to image 1010 is cut After two cuts, the second clipping region 1030 is obtained, which is detected by Hough loop truss algorithm, When detection obtains circle in second clipping region 1030, then the screenshot image 1010 is the first excellent classification: killing class Not;When circle is not detected in second clipping region 1030, then the screenshot image 1010 is second of excellent classification: being pushed away Tower/tyrant dominates classification.
Optionally, different according to game role when user needs to select game role in game process, on The requirement figure stated in picture material list is also different, then after needing first to be determined the game role of user's selection, according to The game role of user's selection determines the requirement figure in picture material list.
Schematically, Figure 11 is please referred to, game fighting interface 1110 is shown, determines that player exists by the game fighting interface The game role selected in game fighting obtains firstly, being cut to the game fighting interface 1110 by preset cutting rule To the first clipping region 1120, according to the Hough loop truss algorithm that OpenCV is provided detect in first clipping region 1120 whether There are the circles of specific dimensions, and wherein Hough loop truss algorithm can be round according to whether there is in the parameter detecting image of setting Profile, detection wherein, parameter include: circular radius range (such as: for the mobile phone of 1920*1080 resolution ratio, circular radius range For 45 pixel of least radius, 55 pixel of maximum radius), it is multiple circle between minimum range (such as: for 1920*1080 differentiate The mobile phone of rate, it is multiple circle between minimum range be 100 pixels), (parameter value is bigger, the circle detected for detection confidence Shape more meets round requirement) and other parameters.It is then detected for above-mentioned first clipping region, obtains testing result 1130, the center of circle of each circle and radius in 1130, determine and simultaneously cut to obtain target circle 1140, it is extra to remove according to testing result Part obtains circular portion 1150, which is matched with role's pattern in role's table 1160, thus really Determine role corresponding to the circular portion, and determines the requirement figure 1170 in picture material list according to role.
Optionally, it when the role in role's table 1160 is more, is carried out by the perceptual hash algorithm in OpenCV preliminary Screening, the matching principle of the perceptual hash algorithm are as follows: calculate the perceptual hash value of two images, and calculate the Chinese between two values Prescribed distance, Hamming distance is smaller, and also the similarity between two images is higher, for each role in role's table 1160, in advance The perceptual hash value for first calculating each role's pattern, when circular portion 1150 needs to carry out with role's pattern in role's table 1160 When matching, the perceptual hash value of the circular portion 1150 is calculated, and calculate the Hamming distance between each role's pattern, thus Realize preliminary screening.Optionally, in preliminary screening, the role's pattern for selecting Hamming distance to be less than pre-determined distance alternately, is somebody's turn to do Pre-determined distance can be with value 15.
Optionally, multiple role's patterns be may include in the selection result of preliminary screening, then to circular portion 1150 with it is standby Colored pattern of selecting the role precisely is matched, the Image Feature Matching algorithm which can be provided using OpenCV, wherein figure The feature of picture refers to the edge, angle point, Texture eigenvalue of image, and above-mentioned element is able to reflect out the global feature of image, when two When opening the feature of image has the similar regularity of distribution, then the similarity of two images is higher.Optionally, Image Feature Matching Algorithm includes: point of interest detection and describes (Speeded Up Robust Features, SURF) Feature Correspondence Algorithm, scale not Become eigentransformation (Scale-invariant feature transform, SIFT) algorithm, image procossing detects (Oriented At least one of Fast and Rotated BRIEF, ORB) Feature Correspondence Algorithm.Schematically, ORB Feature Correspondence Algorithm By calculating the characteristic point of two images, when the distribution of the characteristic point of two images has similar rule, it is determined that this two A Feature Points Matching is successful, and the quantity of the characteristic point of successful match is more in two images, then the similarity of two images is higher, It as shown in figure 12, is in two images with two points of line and curve connection between the first image 1210 and the second image 1220 With successful a pair of of characteristic point.
Step 706, by screenshot image the first picture material and screenshot image before in a nearest screenshot image Second picture material is compared.
Optionally, before the first picture material being compared with the second picture material, to screenshot image and the screenshot A nearest screenshot image is cut before image, and screenshot figures are opened in the clipping region and m-1 for obtaining the m screenshot images The clipping region of picture, and the picture material in two clipping regions is compared, wherein m >=2.
Step 707, when the first picture material changes with respect to the second picture material, determine that screenshot image meets video Documenting requirement.
Schematically, Figure 13 is please referred to, going game picture is shown in interface 1310, to the game picture pair The screenshot image answered is cut according to preset cutting rule, obtains clipping region 1320, to before the screenshot image nearest one It opens screenshot image to be cut according to identical preset rules, obtains clipping region 1330, by the clipping region 1320 and cut Region 1330 compares, which changes with respect to content in clipping region 1330, therefore the interface 1310 corresponding screenshot images meet video file production and require.
Schematically, Figure 14 is please referred to, going game picture is shown in interface 1410, to the game picture pair The screenshot image answered is cut according to preset cutting rule, obtains clipping region 1420, to before the screenshot image nearest one It opens screenshot image to be cut according to identical preset rules, obtains clipping region 1430, by the clipping region 1420 and cut Region 1430 compares, which does not change with respect to content in clipping region 1430, therefore the interface 1410 corresponding screenshot images do not meet video file production and require.
Optionally, when screenshot image, which does not meet video file production, to be required, continue to obtain next screenshot image progress Image recognition.
It is worth noting that, above-mentioned steps 704 are to the corresponding scheme one of step 705, it is corresponding to step 707 with step 706 Scheme two, can only carry into execution a plan one, can only carry into execution a plan two, the scheme that can also first carry out carries into execution a plan two again and again, also Scheme two can be first carried out and carry into execution a plan one again, may also be performed simultaneously scheme one and scheme two, wherein meet scheme one or Meet scheme and second determines that screenshot image meets video file production and requires.
Step 708, when screenshot image meets video file production and requires, record screenshot image time in video streaming Stamp.
Step 709, video file is carried out according to the screenshot image and corresponding timestamp that meet video file production requirement Editing processing, obtains target video segment.
Optionally, editing video can carry out editing after terminating record screen and obtaining complete video stream, can also identify Meet when video file production requires to screenshot image and directly carries out editing.
Optionally, it before obtaining target video segment from editing in video flowing, needs to terminate to record screen process, and obtain view When frequency stream carries out editing, terminating record screen process can be by identifying the display content in display screen, and works as recognition result When meeting termination condition, the record screen process is ended automatically;Or, this, which terminates record screen process, to be carried out manually by user, such as: User terminates the record screen process by clicking record screen control.
Optionally, when screenshot image, which does not meet video file production, to be required, screenshot image is carried out and judgement pair of playing a game The cutting answered obtains the clipping region whether terminated for judging battle process, by the clipping region and the progress of default template Match, determine that battle process has terminated when successful match, and terminates to record screen process.Schematically, Figure 15 is please referred to, to screenshot figure As 1510 are cut, obtain the clipping region 1520 whether terminated for judging battle process, by the clipping region 1520 with Preset two templates: the first template 1531 and the second template 1532 are matched, the clipping region 1520 and the first template 1531 successful match, it is determined that the battle process has terminated, and terminates to record screen process.Optionally, clipping region 1520 and One template 1531 and the second template 1532 carry out matched process and can be matched by Feature Correspondence Algorithm, specifically please refer to Figure step 705.
Optionally, the process that above-mentioned determining battle terminates can also be by carrying out character recognition to clipping region, and works as and know When the character being clipped to is consistent with template character, determine that battle process terminates.
Optionally, when according to timestamp editing target video segment from video flowing, including any in such as under type It is a kind of:
First, using the corresponding timestamp of screenshot image as the ending time stamp of target video segment, obtained from video flowing Take the video clip of preset duration before the ending time stamp as target video segment;
Second, the timestamp of the first preset duration before the corresponding timestamp of screenshot image is determined, as target video piece It is stabbed at the beginning of section;The timestamp for determining the second preset duration after the corresponding timestamp of screenshot image, as target video The ending time stamp of segment, editing obtain the video clip between time started stamp and ending time stamp as target video piece Section.
In conclusion video file production method provided in this embodiment, is recorded to the display content in display screen After screen, require to match with video file production by shielding record the screenshot image in obtained video flowing, and work as screenshot figure As meeting, according to the timestamp of the screenshot image, editing obtains target video segment from video flowing when video file production requires, To realize the process for carrying out automatic editing to record screen video, avoids user and need whole preview record screen video after record screen And manually in the record screen video segment carry out editing process, by video file production require to target video segment into The automatic editing of row, improves the editing efficiency of target video segment.
Method provided in this embodiment, by wanting the first picture material in screenshot image with picture material list It asks content to be matched, when the first picture material is with content matching is required, determines that screenshot image meets video file production and wants It asks, namely determines whether screenshot image meets video file production and require according to picture material, so that editing obtains target video Segment improves the editing efficiency of target video segment.
Method provided in this embodiment, by by the second of the first picture material of screenshot image and a upper screenshot image Picture material is compared, and when the first picture material changes with respect to the second picture material, namely shows content It when stage sexually revises, determines whether screenshot image meets video file production and require, so that editing obtains target video segment, mentions The high editing efficiency of target video segment.
Method provided in this embodiment carries out editing by the video content to preset duration before the timestamp, obtains Target video segment, it is ensured that display content stage of development sexually revise before video content by editing into target video segment, Such as: after defeating other side in game fighting, the process before defeating successfully is by editing into target video segment.
Method provided in this embodiment, by default to after the first preset duration before the timestamp and timestamp second The video content of duration carries out editing, obtains target video segment, the featured videos content after the timestamp is avoided to be rejected, Ensure show content stage of development sexually revise before and video content later by editing into target video segment.
It in an alternative embodiment, include that n screenshot image meets video file production requirement in the video flowing, N sections of target video segments are corresponding with the n screenshot image, n is positive integer, and Figure 16 is another exemplary implementation of the application The flow chart for the video file production method that example provides is applied in terminal in this way, and realize in above-mentioned steps 204 or It is illustrated for after step 708, as shown in figure 16, this method comprises:
Step 1601, determine n sections of target video segments with the presence or absence of intersection sub-piece.
Optionally, which refers to the part of intersection between at least two target video segments.
Schematically, Figure 17 is please referred to, which illustrates the time point of each event generation in record screen time shaft at this Signal on time shaft, as shown in figure 17, be corresponding on the record screen time shaft start record screen moment, game play a game start time, Wonderful time 1, Wonderful time 2, Wonderful time 3 and end of game moment, wherein Wonderful time 1 is corresponding with target video piece Section 1710, Wonderful time 2 is corresponding with target video segment 1720, and Wonderful time 3 is corresponding with target video segment 1730, in conjunction with figure 17 it is found that intersection sub-piece is not present in three target video segments.
Schematically, Figure 18 is please referred to, which illustrates the time point of each event generation in record screen time shaft at this Signal on time shaft, as shown in figure 18, be corresponding on the record screen time shaft start record screen moment, game play a game start time, Wonderful time 1, Wonderful time 2, Wonderful time 3 and end of game moment, wherein Wonderful time 1 is corresponding with target video piece Section 1810, Wonderful time 2 is corresponding with target video segment 1820, and Wonderful time 3 is corresponding with target video segment 1830, in conjunction with figure 18 it is found that the target video segment 1810 and target video segment 1820 there are intersection part namely target video segments 1810 There are intersection sub-pieces with target video segment 1820.
Step 1602, when intersection sub-piece is not present in n sections of target video segments, n sections of target video segments are spelled It connects, obtains editing video.
Optionally, when splicing to the n sections of target video segment, simple concatenation can be directly carried out, it can also be Increase linking content between every two sections of target video segments to carry out excessively, which, which can be, arranges target video segment The counting of serial number can be excessive video, can also be that excessive image or blank screen are excessive, the embodiment of the present application is not subject to this It limits.
Schematically, it is illustrated for directly carrying out simple concatenation to n sections of target video segments, please refers to Figure 19, On the basis of target video segment 1710, target video segment 1720 and target video segment 1730 in Figure 17, to this Three sections of target video segments are spliced, and editing video 1900 is obtained.
Step 1603, when at least two target video segments in n sections of target video segments are there are when intersection sub-piece, really The union video clip of fixed at least two target video segments.
Optionally, when determining the union video clip of at least two target videos segment, can determine this at least two Each time started of a target video segment stabs and ending time stamp, and selects current moment at first from stamp of all time starteds At the beginning of take out as stabbing at the beginning of the union video clip, and select current moment most from all ending time stamps Ending time stamp of the ending time stamp in evening as the union video clip.
Step 1604, by other target video segments and union video clip in addition at least two target video segments Spliced, obtains editing video.
Optionally, it when splicing to the target video segment and union video clip, directly can simply be spelled It connects, s can also be increased between every two sections of video clips, linking content is added to carry out excessively.
Schematically, Figure 20 is please referred to, target video segment 1810, target video segment 1820 and mesh in Figure 18 On the basis of marking video clip 1830, since target video segment 1810 and target video segment 1820 are there are intersection sub-piece, Therefore the target video segment 1810 and target video segment 1820 are taken into union, union video clip 2010 is obtained, union is regarded Frequency segment 2010 is spliced with target video segment 1830, obtains editing video 2000.
Figure 21 is please referred to, the Preview List for showing editing video in interface 2100 is shown in Wonderful time, including Editing video 2110 and editing video 2120.Optionally, editing video is corresponding with sharing control, as shown in figure 21, editing video 2110 are corresponding with sharing control 2111, and after user can select the sharing control, which is shared extremely In other applications, such as: instant messaging application program, social application program.
In conclusion video file production method provided in this embodiment, is recorded to the display content in display screen After screen, require to match with video file production by shielding record the screenshot image in obtained video flowing, and work as screenshot figure As meeting, according to the timestamp of the screenshot image, editing obtains target video segment from video flowing when video file production requires, To realize the process for carrying out automatic editing to record screen video, avoids user and need whole preview record screen video after record screen And manually in the record screen video segment carry out editing process, by video file production require to target video segment into The automatic editing of row, improves the editing efficiency of target video segment.
Method provided in this embodiment generates editing video by the way that multistage target video segment is carried out splicing, avoids needle The problem for needing to cause watching process relatively complicated and repeatedly watching to different target video segments is regarded in single editing Multiple wonderfuls are shown in frequency, improve the splicing efficiency of editing video.
Schematically, Figure 22 is the bulk flow for the video file production method that another exemplary embodiment of the application provides Cheng Tu is applied to be illustrated in game management program in this way, as shown in figure 22, this method comprises:
Step 2201, video acquisition module starts record screen.
Optionally, after game management program obtains the record screen permission of terminal, terminal is shown by video acquisition module The display content of screen carries out screen recording.
Optionally, which has been carried out detailed description in above-mentioned steps 201, and details are not described herein again.
Step 2202, image capture module periodically acquisition image.
Optionally, image capture module can acquire image from the video flowing that video acquisition module acquires, can also be straight It connects the display content to display screen and carries out screenshotss realization Image Acquisition.
Step 2203, different image procossing schemes is selected according to currently running game.
Optionally, for different game, show that the position of specific content is also different in user interface, schematically, trip It is the first area for showing content that display, which kills the region of prompting message, in play A, and display kills the area of prompting message in game B Domain is the second area for showing content, then cuts for game A to the first area, for game B to the second area It is cut.
Step 2204, according to preset configuration, target area A is cut out.
Step 2205, according to image processing algorithm, judge whether target area A has expected pictorial element to occur.
Optionally, which can be expected character, expected pattern, at least one in performance of expected change content Kind.
Step 2206, when occurring expected pictorial element in the A of target area, determination recognizes Wonderful time and saves.
Optionally, when occurring expected pictorial element in the A of target area, then A corresponding image in the target area is excellent Corresponding image when moment occurs then carries out record preservation to the corresponding Wonderful time of target area A.
Step 2207, continue to cut other target areas and carry out Wonderful time identification.
Optionally, there may be a variety of different excellent types in an image, by cutting out to multiple images region It cuts, and carries out different identification, a variety of excellent types of difference of image are identified.
Step 2208, whether judge that game is played a game terminates.
Optionally, it is matched according to the region content in image in predeterminable area with template, so that whether judgement plays a game Terminate, and when end of game, terminates record screen process.
Step 2209, when game end of game, video clipping is carried out, target video segment is obtained.
Schematically, please refer to Figure 23, in conjunction with game management program and the first game to the video file production method into Row explanation, as shown in figure 23, this method comprises:
Step 2301, image capture module periodically acquisition picture.
Optionally, after game management program obtains the record screen permission of terminal, terminal is shown by video acquisition module The display content of screen carries out screen recording, and optionally, image capture module can be adopted after record screen starts from video acquisition module Acquire image in the video flowing of collection, can also display content directly to display screen carry out screenshotss and realize Image Acquisition.
Step 2302, whether identification game is played a game starts.
Step 2303, when game, which is played a game, to be started, identify whether kill in game.
Optionally, by being identified to the picture material in the first predeterminable area, thus identify game play a game in whether It kills.
Step 2304, when killing in game, Wonderful time is recorded, and repeat step 2301.
Step 2305, when not killing in game, identify in game whether death occur.
That is, when not killed in the first predeterminable area, by the way that the second predeterminable area is cut and is identified, from And determine whether game death occurs in playing a game.
Step 2306, dead when occurring in game, Wonderful time is recorded, and repeat step 2301.
Step 2307, when not occurring death in game, whether identification game is played a game terminates.
Step 2308, when game end of game, target video segment is obtained according to the Wonderful time editing of record, is otherwise weighed Step 2301 is executed again.
Schematically, it is illustrated in conjunction with process of the Figure 24 to above-mentioned Figure 23, as shown in figure 24, game is played a game after beginning, Game role is identified and (please refers to above-mentioned steps 705) in conjunction with interface 2410, determines that game role draws for Angel, After being acquired to the corresponding screenshot image of interface 2420, there is Wonderful time in determination, and right to the interface 2420 The timestamp for the screenshot image answered is recorded.When terminal shows interface 2430, carried out according to interface 2430 Identification determines game end of game, and generates target video segment according to the timestamp of above-mentioned Wonderful time, and shows that target regards Frequency fragment display interface 2440.
Figure 25 is the structural block diagram for the video file producing device that one exemplary embodiment of the application provides, such as Figure 25 institute Show, be illustrated so that the device is applied to terminal as an example, which includes: to obtain module 2510, acquisition module 2520, record mould Block 2530 and editing module 2540;
Module 2510 is obtained, the record screen instruction of record screen is carried out for obtaining the display content to terminal display screen;
Acquisition module 2520, for acquiring the display content of the display screen in the form of video flowing to carry out at record screen Reason;
The acquisition module 2510 is also used to obtain from the video flowing of the acquisition during record screen processing The screenshot image of the display content is taken, the acquisition process of the screenshot image includes obtaining with predetermined period and according to acquisition item Part obtain in any one;
Logging modle 2530, for the screenshot image meet video file production require when, record the screenshot figure As the corresponding timestamp in the video flowing;
Editing module 2540, screenshot image and corresponding timestamp for meeting video file production according to carry out Video file clip processing, obtains target video segment.
In an alternative embodiment, as shown in figure 26, described device further include:
Matching module 2550, for by the screenshot image the first picture material and picture material list in requirement Content is matched;
The matching module 2550 is also used in the described image contents list require content and described first there are described When picture material Corresponding matching, determine that the screenshot image meets the video file production and requires.
In an alternative embodiment, the matching module 2550 is also used to the screenshot image according to default sanction It cuts rule to be cut, obtains clipping region;
The matching module 2550 is also used to carry out character recognition to the clipping region, obtain in the clipping region Character content as the first image content, by the requirement character in the character content and described image contents list into Row matching;And/or test pattern, the test pattern result that will test are carried out to the picture material in the clipping region It is matched with the requirement figure in described image contents list.
In an alternative embodiment, described device further include:
Matching module 2550, for by the screenshot image the first picture material with it is nearest before the screenshot image The second picture material in one screenshot image is compared;When the relatively described second picture material hair of the first image content When changing, determine that the screenshot image meets the video file production and requires.
In an alternative embodiment, the acquisition module 2510 is also used to receive record screen function open signal, opens It pre-records and shields function, described pre-record shields function for being monitored to the operational process of the terminal, and works as the described of the terminal Operational process opens the record screen function when meeting record set of hanging scrolls part;When the application program run in the terminal is target application journey When sequence, determine that the operational process of the terminal meets the record set of hanging scrolls part, and obtain the display content to the terminal display screen Carry out the record screen instruction of record screen.
In an alternative embodiment, the editing module 2540 was also used to the screenshot image corresponding time Stab the ending time stamp as target video segment, the preset duration before obtaining the ending time stamp in the video flowing Video clip, as the target video segment.
In an alternative embodiment, the editing module 2540, when being also used to determine that the screenshot image is corresponding Between stab before the first preset duration timestamp, as the target video segment at the beginning of stab;Determine the screenshot figure The ending time stamp as the timestamp of the second preset duration after corresponding timestamp, as the target video segment; Editing obtains the video clip between the time started stamp and the ending time stamp as the target video segment.
It in an alternative embodiment, include that the n screenshot images meet the video file in the video flowing Production requires, and is corresponding with the n sections of target video segments with the n screenshot images, n is positive integer;
Described device, further includes:
Splicing module 2560 is used for when intersection sub-piece is not present in the n sections of target video segments, by the n sections of mesh Mark video clip is spliced, and editing video is obtained;
The splicing module 2560 is also used to when at least two target video segments in the n sections of target video segments There are when intersection sub-piece, determining the union video clip of at least two target videos segment, and will be except described at least two Other target video segments except a target video segment are spliced with the union video clip, obtain the editing view Frequently.
In an alternative embodiment, the acquisition module 2510 is also used to during recording screen, every preset duration The display content for obtaining the display screen currently acquired obtains the screenshot image of the display content;
Or,
The acquisition module 2510 is also used to obtain i frame picture frame from the video flowing as the display content Screenshot image, wherein a length of preset duration when being spaced between the timestamp of adjacent two field pictures frame;
Or,
The acquisition module 2510 is also used to obtain when the changing rule between picture frame meets default rule described aobvious Show the screenshot image of content;
Or,
The acquisition module 2510 is also used to when the picture material of picture frame meets preset content requirement, described in acquisition Show the screenshot image of content.
In conclusion video file producing device provided in this embodiment, is recorded to the display content in display screen After screen, require to match with video file production by shielding record the screenshot image in obtained video flowing, and work as screenshot figure As meeting, according to the timestamp of the screenshot image, editing obtains target video segment from video flowing when video file production requires, To realize the process for carrying out automatic editing to record screen video, avoids user and need whole preview record screen video after record screen And manually in the record screen video segment carry out editing process, by video file production require to target video segment into The automatic editing of row, improves the editing efficiency of target video segment.
It should be understood that video file producing device provided by the above embodiment, only with stroke of above-mentioned each functional module Divide and be illustrated, in practical application, can according to need and be completed by different functional modules above-mentioned function distribution, i.e., The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.On in addition, The video file producing device and video file production method embodiment for stating embodiment offer belong to same design, implement Process is detailed in embodiment of the method, and which is not described herein again.
Figure 27 shows the structural block diagram of the terminal 2700 of an illustrative embodiment of the invention offer.The terminal 2700 can To be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 2700 is also Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 2700 includes: processor 2701 and memory 2702.
Processor 2701 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 2701 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 2701 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 2701 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 2701 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 2702 may include one or more computer readable storage mediums, which can To be non-transient.Memory 2702 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 2702 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 2701 for realizing this Shen Please in embodiment of the method provide video file production method.
In some embodiments, terminal 2700 is also optional includes: peripheral device interface 2703 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 2701, memory 2702 and peripheral device interface 2703.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 2703.Specifically, peripheral equipment includes: In radio circuit 2704, touch display screen 2705, camera 2706, voicefrequency circuit 2707, positioning component 2708 and power supply 2709 At least one.
Peripheral device interface 2703 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 2701 and memory 2702.In some embodiments, processor 2701, memory 2702 and periphery Equipment interface 2703 is integrated on same chip or circuit board;In some other embodiments, processor 2701, memory 2702 and peripheral device interface 2703 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 2704 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 2704 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 2704 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 2704 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 2704 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 2704 can also include that NFC (Near Field Communication, wireless near field communication) is related Circuit, the application are not limited this.
Display screen 2705 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 2705 is touch display screen, display screen 2705 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 2705.The touch signal can be used as control signal and be input to place Reason device 2701 is handled.At this point, display screen 2705 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 2705 can be one, and the front panel of terminal 2700 is arranged;Another In a little embodiments, display screen 2705 can be at least two, be separately positioned on the different surfaces of terminal 2700 or in foldover design; In still other embodiments, display screen 2705 can be flexible display screen, is arranged on the curved surface of terminal 2700 or folds On face.Even, display screen 2705 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 2705 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 2706 is for acquiring image or video.Optionally, CCD camera assembly 2706 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 2706 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 2707 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 2701 and handled, or be input to radio circuit 2704 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 2700 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 2701 or radio frequency will to be come from The electric signal of circuit 2704 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 2707 may be used also To include earphone jack.
Positioning component 2708 is used for the current geographic position of positioning terminal 2700, to realize navigation or LBS (Location Based Service, location based service).Positioning component 2708 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 2709 is used to be powered for the various components in terminal 2700.Power supply 2709 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 2709 includes rechargeable battery, which can be line charge Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 2700 further includes having one or more sensors 2710.One or more sensing Device 2710 includes but is not limited to: acceleration transducer 2711, gyro sensor 2712, pressure sensor 2713, fingerprint sensing Device 2714, optical sensor 2715 and proximity sensor 2716.
Acceleration transducer 2711 can detecte the acceleration in three reference axis of the coordinate system established with terminal 2700 Size.For example, acceleration transducer 2711 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 2701 acceleration of gravity signals that can be acquired according to acceleration transducer 2711, control touch display screen 2705 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 2711 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 2712 can detecte body direction and the rotational angle of terminal 2700, gyro sensor 2712 Acquisition user can be cooperateed with to act the 3D of terminal 2700 with acceleration transducer 2711.Processor 2701 is according to gyro sensors The data that device 2712 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 2705 in terminal 2700 can be set in pressure sensor 2713.When When the side frame of terminal 2700 is arranged in pressure sensor 2713, user can detecte to the gripping signal of terminal 2700, by Reason device 2701 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 2713 acquires.Work as pressure sensor 2713 when being arranged in the lower layer of touch display screen 2705, is grasped by processor 2701 according to pressure of the user to touch display screen 2705 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 2714 is used to acquire the fingerprint of user, is collected by processor 2701 according to fingerprint sensor 2714 Fingerprint recognition user identity, alternatively, by fingerprint sensor 2714 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 2701, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 2714 can be set Set the front, the back side or side of terminal 2700.When being provided with physical button or manufacturer Logo in terminal 2700, fingerprint sensor 2714 can integrate with physical button or manufacturer Logo.
Optical sensor 2715 is for acquiring ambient light intensity.In one embodiment, processor 2701 can be according to light The ambient light intensity that sensor 2715 acquires is learned, the display brightness of touch display screen 2705 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 2705 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 2705 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 2701 can also be acquired according to optical sensor 2715, is moved The acquisition parameters of state adjustment CCD camera assembly 2706.
Proximity sensor 2716, also referred to as range sensor are generally arranged at the front panel of terminal 2700.Proximity sensor 2716 for acquiring the distance between the front of user Yu terminal 2700.In one embodiment, when proximity sensor 2716 is examined When measuring the distance between the front of user and terminal 2700 and gradually becoming smaller, by processor 2701 control touch display screen 2705 from Bright screen state is switched to breath screen state;When proximity sensor 2716 detect the distance between front of user and terminal 2700 by When gradual change is big, touch display screen 2705 is controlled by processor 2701 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 2700 of structure shown in Figure 27 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The embodiment of the present application also provides a kind of computer equipment, which includes memory and processor, storage Be stored at least one instruction, at least a Duan Chengxu, code set or instruction set in device, at least one instruction, an at least Duan Chengxu, Code set or instruction set are loaded by processor and realize above-mentioned video file production method.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one is stored in the readable storage medium storing program for executing Item instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code Collection or instruction set are loaded by the processor and are executed to realize above-mentioned video file production method.
Present invention also provides a kind of computer program products to make when computer program product is run on computers It obtains computer and executes the above-mentioned video file production method that above-mentioned each embodiment of the method provides.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It can also be with It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to Few an instruction, at least a Duan Chengxu, code set or instruction set, it is at least one instruction, an at least Duan Chengxu, described Code set or instruction set are loaded by the processor and are executed to realize such as above-mentioned video file production method.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory), Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (12)

1. a kind of video file production method, which is characterized in that the described method includes:
The record screen for carrying out record screen to the display content of terminal display screen is obtained to instruct;
The display content of the display screen is acquired in the form of video flowing to carry out record screen processing;
During record screen processing, the screenshot image of the display content, institute are obtained from the video flowing of the acquisition The acquisition process for stating screenshot image includes being obtained with predetermined period and according to any one in the acquisition of acquisition condition;
The screenshot image meet video file production require when, it is corresponding in the video flowing to record the screenshot image Timestamp;
Meet the screenshot image and the progress video file clip processing of corresponding timestamp that video file production requires according to described, Obtain target video segment.
2. the method according to claim 1, wherein it is described the screenshot image meet video file production want When asking, the screenshot image is recorded in the video flowing before corresponding timestamp, further includes:
The first picture material in the screenshot image is matched with the requirement content in picture material list;
When requiring content and when the first image content Corresponding matching there are described in described image contents list, determine described in Screenshot image meets the video file production and requires.
3. according to the method described in claim 2, it is characterized in that, first picture material by the screenshot image with Requirement content in picture material list is matched, comprising:
The screenshot image is cut according to preset cutting rule, obtains clipping region;
Character recognition is carried out to the clipping region, obtains the character content in the clipping region as in the first image Hold, the character content is matched with the requirement character in described image contents list;And/or to the clipping region In picture material carry out test pattern, the requirement figure in the test pattern result that will test and described image contents list Shape is matched.
4. the method according to claim 1, wherein it is described the screenshot image meet video file production want When asking, the screenshot image is recorded in the video flowing before corresponding timestamp, further includes:
By the first picture material in the screenshot image and second in a nearest screenshot image before the screenshot image Picture material is compared;
When relatively described second picture material of the first image content changes, it is described to determine that the screenshot image meets Video file production requires.
5. method according to any one of claims 1 to 4, which is characterized in that the acquisition is in the display of terminal display screen Hold the record screen instruction for carrying out record screen, comprising:
Record screen function open signal is received, unlatching, which is pre-recorded, shields function, and described pre-record shields function for the operation to the terminal Journey is monitored, and opens the record screen function when the operational process of the terminal meets record set of hanging scrolls part;
When the application program run in the terminal is destination application, it is described to determine that the operational process of the terminal meets Set of hanging scrolls part is recorded, and obtains the record screen that record screen is carried out to the display content of the terminal display screen and instructs.
6. method according to any one of claims 1 to 4, which is characterized in that described to meet video file production according to It is required that screenshot image and corresponding timestamp carry out video file clip processing, obtain target video segment, comprising:
Using the corresponding timestamp of the screenshot image as the ending time stamp of the target video segment, from the video flowing The video clip for obtaining preset duration before the ending time stamp, as the target video segment.
7. method according to any one of claims 1 to 4, which is characterized in that described to meet video file production according to It is required that screenshot image and corresponding timestamp carry out video file clip processing, obtain target video segment, comprising:
The timestamp for determining the first preset duration before the corresponding timestamp of the screenshot image, as the target video segment At the beginning of stab;
The timestamp for determining the second preset duration after the corresponding timestamp of the screenshot image, as the target video segment The ending time stamp;
Editing obtains the video clip between the time started stamp and the ending time stamp as the target video segment.
8. method according to any one of claims 1 to 4, which is characterized in that include the n screenshot figures in the video flowing It is required as meeting the video file production, is corresponding with the n sections of target video segments with the n screenshot images, n is positive whole Number;
It is described obtain target video segment after, further includes:
When intersection sub-piece is not present in the n sections of target video segments, the n sections of target video segments are spliced, are obtained To editing video;
When at least two target video segments in the n sections of target video segments are there are when intersection sub-piece, determination is described extremely The union video clip of few two target video segments, and by other targets in addition at least two target videos segment Video clip is spliced with the union video clip, obtains the editing video.
9. method according to any one of claims 1 to 4, which is characterized in that described to be obtained from the video flowing of the acquisition The screenshot image of the display content, comprising:
During recording screen, the display content of the display screen currently acquired is obtained every preset duration, obtains the display The screenshot image of content;
Or,
Screenshot image of the i frame picture frame as the display content is obtained from the video flowing, wherein adjacent two field pictures frame Timestamp between a length of preset duration when being spaced;
Or,
The screenshot figure of the display content is obtained when the changing rule in the video flowing between picture frame meets default rule Picture;
Or,
When the picture material of the picture frame in the video flowing meets preset content requirement, the screenshot of the display content is obtained Image.
10. a kind of video file producing device, which is characterized in that described device includes:
Module is obtained, the record screen instruction of record screen is carried out for obtaining the display content to terminal display screen;
Acquisition module, for acquiring the display content of the display screen in the form of video flowing to carry out record screen processing;
The acquisition module is also used to during record screen processing, is obtained from the video flowing of the acquisition described aobvious Show that the screenshot image of content, the acquisition process of the screenshot image include obtaining with predetermined period and according in the acquisition of acquisition condition Any one;
Logging modle, for the screenshot image meet video file production require when, record the screenshot image described Corresponding timestamp in video flowing;
Editing module, screenshot image and corresponding timestamp for meeting video file production according to carry out video file Editing processing, obtains target video segment.
11. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed as described in any one of claim 1 to 9 to realize Video file production method.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one finger in the readable storage medium storing program for executing Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or Instruction set is loaded by processor and is executed to realize video file production method as described in any one of claim 1 to 9.
CN201910402575.9A 2019-05-15 2019-05-15 Video file production method, device, equipment and readable storage medium Active CN110087123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910402575.9A CN110087123B (en) 2019-05-15 2019-05-15 Video file production method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910402575.9A CN110087123B (en) 2019-05-15 2019-05-15 Video file production method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110087123A true CN110087123A (en) 2019-08-02
CN110087123B CN110087123B (en) 2022-07-22

Family

ID=67420184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910402575.9A Active CN110087123B (en) 2019-05-15 2019-05-15 Video file production method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110087123B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602544A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Video display method and device, electronic equipment and storage medium
CN110855904A (en) * 2019-11-26 2020-02-28 Oppo广东移动通信有限公司 Video processing method, electronic device and storage medium
CN111228821A (en) * 2020-01-15 2020-06-05 腾讯科技(深圳)有限公司 Method, device and equipment for intelligently detecting wall-penetrating plug-in and storage medium thereof
CN112367530A (en) * 2020-10-29 2021-02-12 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN112650551A (en) * 2020-12-31 2021-04-13 中国农业银行股份有限公司 System function display method and device
CN113115106A (en) * 2021-03-31 2021-07-13 影石创新科技股份有限公司 Automatic clipping method, device, terminal and storage medium of panoramic video
CN113542257A (en) * 2021-07-12 2021-10-22 维沃移动通信有限公司 Video processing method, video processing apparatus, electronic device, and storage medium
CN113655887A (en) * 2021-01-18 2021-11-16 海信视像科技股份有限公司 Virtual reality equipment and static screen recording method
CN113709560A (en) * 2021-03-31 2021-11-26 腾讯科技(深圳)有限公司 Video editing method, device, equipment and storage medium
CN113742183A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Screen recording method, terminal and storage medium
CN113784072A (en) * 2021-09-24 2021-12-10 上海铜爪智能科技有限公司 AI algorithm-based pet video recording and automatic editing method
CN114189646A (en) * 2020-09-15 2022-03-15 深圳市万普拉斯科技有限公司 Terminal control method and device, electronic equipment and storage medium
CN114424157A (en) * 2019-12-30 2022-04-29 深圳市欢太科技有限公司 Video recording method and device and computer readable storage medium
CN114902687A (en) * 2020-02-18 2022-08-12 深圳市欢太科技有限公司 Game screen recording method and device and computer readable storage medium
CN114915848A (en) * 2022-05-07 2022-08-16 上海哔哩哔哩科技有限公司 Live broadcast interaction method and device, anchor terminal, audience terminal and server terminal
CN115086759A (en) * 2022-05-13 2022-09-20 北京达佳互联信息技术有限公司 Video processing method, video processing device, computer equipment and medium
CN115460352A (en) * 2022-11-07 2022-12-09 摩尔线程智能科技(北京)有限责任公司 Vehicle-mounted video processing method, device, equipment, storage medium and program product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601918A (en) * 2014-12-29 2015-05-06 小米科技有限责任公司 Video recording method and device
CN104796781A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Video clip extraction method and device
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
US20170076153A1 (en) * 2015-09-14 2017-03-16 Disney Enterprises, Inc. Systems and Methods for Contextual Video Shot Aggregation
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system
US20180161675A1 (en) * 2016-12-09 2018-06-14 Blizzard Entertainment, Inc. Play of the game
CN108174132A (en) * 2016-12-07 2018-06-15 杭州海康威视数字技术股份有限公司 The back method and device of video file
CN108337532A (en) * 2018-02-13 2018-07-27 腾讯科技(深圳)有限公司 Perform mask method, video broadcasting method, the apparatus and system of segment
CN109672922A (en) * 2017-10-17 2019-04-23 腾讯科技(深圳)有限公司 A kind of game video clipping method and device
CN109718537A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Game video method for recording, mobile terminal and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
CN104601918A (en) * 2014-12-29 2015-05-06 小米科技有限责任公司 Video recording method and device
CN104796781A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Video clip extraction method and device
US20170076153A1 (en) * 2015-09-14 2017-03-16 Disney Enterprises, Inc. Systems and Methods for Contextual Video Shot Aggregation
CN106803987A (en) * 2015-11-26 2017-06-06 腾讯科技(深圳)有限公司 The acquisition methods of video data, device and system
CN108174132A (en) * 2016-12-07 2018-06-15 杭州海康威视数字技术股份有限公司 The back method and device of video file
US20180161675A1 (en) * 2016-12-09 2018-06-14 Blizzard Entertainment, Inc. Play of the game
CN109672922A (en) * 2017-10-17 2019-04-23 腾讯科技(深圳)有限公司 A kind of game video clipping method and device
CN108337532A (en) * 2018-02-13 2018-07-27 腾讯科技(深圳)有限公司 Perform mask method, video broadcasting method, the apparatus and system of segment
CN109718537A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Game video method for recording, mobile terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑洪英: "网络视频会议系统录制与回放方案设计", 《电视技术》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602544A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Video display method and device, electronic equipment and storage medium
CN110769305A (en) * 2019-09-12 2020-02-07 腾讯科技(深圳)有限公司 Video display method and device, block chain system and storage medium
CN110769305B (en) * 2019-09-12 2021-05-18 腾讯科技(深圳)有限公司 Video display method and device, block chain system and storage medium
CN110602544B (en) * 2019-09-12 2021-06-04 腾讯科技(深圳)有限公司 Video display method and device, electronic equipment and storage medium
CN110855904A (en) * 2019-11-26 2020-02-28 Oppo广东移动通信有限公司 Video processing method, electronic device and storage medium
CN114424157A (en) * 2019-12-30 2022-04-29 深圳市欢太科技有限公司 Video recording method and device and computer readable storage medium
CN111228821A (en) * 2020-01-15 2020-06-05 腾讯科技(深圳)有限公司 Method, device and equipment for intelligently detecting wall-penetrating plug-in and storage medium thereof
CN111228821B (en) * 2020-01-15 2022-02-01 腾讯科技(深圳)有限公司 Method, device and equipment for intelligently detecting wall-penetrating plug-in and storage medium thereof
CN114902687A (en) * 2020-02-18 2022-08-12 深圳市欢太科技有限公司 Game screen recording method and device and computer readable storage medium
CN113742183A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Screen recording method, terminal and storage medium
CN114189646A (en) * 2020-09-15 2022-03-15 深圳市万普拉斯科技有限公司 Terminal control method and device, electronic equipment and storage medium
CN114189646B (en) * 2020-09-15 2023-03-21 深圳市万普拉斯科技有限公司 Terminal control method and device, electronic equipment and storage medium
CN112367530A (en) * 2020-10-29 2021-02-12 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN112650551A (en) * 2020-12-31 2021-04-13 中国农业银行股份有限公司 System function display method and device
CN113655887A (en) * 2021-01-18 2021-11-16 海信视像科技股份有限公司 Virtual reality equipment and static screen recording method
CN113115106A (en) * 2021-03-31 2021-07-13 影石创新科技股份有限公司 Automatic clipping method, device, terminal and storage medium of panoramic video
WO2022206312A1 (en) * 2021-03-31 2022-10-06 影石创新科技股份有限公司 Automatic cropping method and apparatus for panoramic video, and terminal and storage medium
CN113709560A (en) * 2021-03-31 2021-11-26 腾讯科技(深圳)有限公司 Video editing method, device, equipment and storage medium
CN113709560B (en) * 2021-03-31 2024-01-02 腾讯科技(深圳)有限公司 Video editing method, device, equipment and storage medium
CN113542257A (en) * 2021-07-12 2021-10-22 维沃移动通信有限公司 Video processing method, video processing apparatus, electronic device, and storage medium
CN113542257B (en) * 2021-07-12 2023-09-26 维沃移动通信有限公司 Video processing method, video processing device, electronic apparatus, and storage medium
CN113784072A (en) * 2021-09-24 2021-12-10 上海铜爪智能科技有限公司 AI algorithm-based pet video recording and automatic editing method
CN114915848A (en) * 2022-05-07 2022-08-16 上海哔哩哔哩科技有限公司 Live broadcast interaction method and device, anchor terminal, audience terminal and server terminal
CN114915848B (en) * 2022-05-07 2023-12-08 上海哔哩哔哩科技有限公司 Live interaction method, device and equipment
CN115086759A (en) * 2022-05-13 2022-09-20 北京达佳互联信息技术有限公司 Video processing method, video processing device, computer equipment and medium
CN115460352A (en) * 2022-11-07 2022-12-09 摩尔线程智能科技(北京)有限责任公司 Vehicle-mounted video processing method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN110087123B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN110087123A (en) Video file production method, device, equipment and readable storage medium storing program for executing
CN108769562B (en) Method and device for generating special effect video
CN110572711B (en) Video cover generation method and device, computer equipment and storage medium
CN108833818A (en) video recording method, device, terminal and storage medium
CN108829881A (en) video title generation method and device
CN110139142A (en) Virtual objects display methods, device, terminal and storage medium
CN111065001B (en) Video production method, device, equipment and storage medium
CN109618212A (en) Information display method, device, terminal and storage medium
US11030733B2 (en) Method, electronic device and storage medium for processing image
CN110290421A (en) Frame per second method of adjustment, device, computer equipment and storage medium
CN110136228B (en) Face replacement method, device, terminal and storage medium for virtual character
CN110222789A (en) Image-recognizing method and storage medium
CN109285178A (en) Image partition method, device and storage medium
CN110336968A (en) Video recording method, device, terminal device and storage medium
CN110148178A (en) Camera localization method, device, terminal and storage medium
CN109634489A (en) Method, apparatus, equipment and the readable storage medium storing program for executing made comments
CN110059686A (en) Character identifying method, device, equipment and readable storage medium storing program for executing
CN108965922A (en) Video cover generation method, device and storage medium
CN109859102A (en) Special display effect method, apparatus, terminal and storage medium
CN109862412A (en) It is in step with the method, apparatus and storage medium of video
CN108897597A (en) The method and apparatus of guidance configuration live streaming template
CN110533585A (en) A kind of method, apparatus that image is changed face, system, equipment and storage medium
CN108900925A (en) The method and apparatus of live streaming template are set
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN109302632A (en) Obtain method, apparatus, terminal and the storage medium of live video picture

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