CN110012337A - Video intercepting method, apparatus and electronic equipment - Google Patents
Video intercepting method, apparatus and electronic equipment Download PDFInfo
- Publication number
- CN110012337A CN110012337A CN201910244123.2A CN201910244123A CN110012337A CN 110012337 A CN110012337 A CN 110012337A CN 201910244123 A CN201910244123 A CN 201910244123A CN 110012337 A CN110012337 A CN 110012337A
- Authority
- CN
- China
- Prior art keywords
- video
- cut point
- intercepting
- point
- motion state
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Abstract
This application discloses a kind of video intercepting method, apparatus and electronic equipments, this method comprises: obtaining the corresponding motion state data set of video and the video to be processed, the video is collected by mobile terminal, the motion state data set includes: motion state data of the mobile terminal at different acquisition moment during acquiring the video;According to the corresponding motion state data set of the video, determine that the stability of the acquisition moment corresponding mobile terminal meets at least one video cut point of first condition from video;If the video cut point meets second condition, at least one video-frequency band is intercepted from video using the video cut point.The more structurally sound interception higher video-frequency band of mass from video may be implemented in the scheme of the application.
Description
Technical field
This application involves technical field of video processing, more specifically to a kind of video intercepting method, apparatus and electronics
Equipment.
Background technique
Video analysis processing has been applied to multiple fields.Such as, when video is uploaded to the network platform by user, network
Platform needs to analyze the type of video, to store or to show to visual classification.
In video analysis treatment process, often it is related to video intercepting, e.g., multiple videos is truncated to from video
Section, to analyze video segmentation.However, during video intercepting, if the quality of the video-frequency band intercepted out from video
It is poor, then large effect may be generated to the result of video analysis, so as to cause video analysis, there are deviations.Therefore, such as
It is those skilled in the art's technical problem in the urgent need to address that reliably intercepts video-frequency band from video.
Summary of the invention
The purpose of the application is to provide a kind of video intercepting method, apparatus and electronic equipment, with realize it is more structurally sound from
The higher video-frequency band of mass is intercepted in video.
To achieve the above object, this application provides following technical solutions:
A kind of video intercepting method, comprising:
Video to be processed and the corresponding motion state data set of the video are obtained, the video is by mobile terminal
It collects, the motion state data set includes: during acquiring the video, and the mobile terminal is adopted in difference
Collect the motion state data at moment;
According to the corresponding motion state data set of the video, the corresponding shifting of acquisition moment is determined from video
The stability of dynamic terminal meets at least one video cut point of first condition;
If the video cut point meets second condition, at least one view is intercepted from video using the video cut point
Frequency range.
Optionally, the motion state data set includes: the sensing for characterizing the motion state of the mobile terminal
Device data acquisition system;During the sensing data set is included in the acquisition video, at least the one of the mobile terminal
Kind sensor is in different moments collected sensing data;
It is described according to the corresponding motion state data set of the video, acquisition moment corresponding institute is determined from video
The stability for stating mobile terminal meets at least one video cut point of first condition, comprising:
According to the mobile terminal in different acquisition moment collected at least one sensing data, determined from video
Acquire at least one video cut point that moment corresponding sensing data amplitude of variation is greater than amplitude threshold.
Optionally, it if the video cut point meets second condition, is cut from video using the video cut point
Take at least one video-frequency band, comprising:
If the candidate video before the video cut point and the video cut point between a nearest video cut point
Section meets second condition, then intercepts at least one video-frequency band from the candidate video section.
Optionally, the candidate before the video cut point and the video cut point between a nearest video cut point
Video-frequency band meets second condition, comprising:
Candidate video section before the video cut point and the video cut point between a nearest video cut point
Video quality conform to quality requirements.
Optionally, the candidate before the video cut point and the video cut point between a nearest video cut point
Video-frequency band meets second condition, comprising:
Candidate video section before the video cut point and the video cut point between a nearest video cut point
Video length be more than duration threshold value.
Optionally, if meeting second condition in the video cut point, using the video cut point from video
Before intercepting at least one video-frequency band, further includes:
According to video intercepting duration, at least one video intercepting point is determined from the video;
It is then described that at least one video-frequency band is intercepted from video using the video cut point, comprising:
Using the video cut point and at least one described video intercepting point, at least one video is intercepted from video
Section.
Another aspect, present invention also provides a kind of video intercepting devices, comprising:
Video acquisition unit, for obtaining video to be processed and the corresponding motion state data set of the video,
The video is collected by mobile terminal, and the motion state data set includes: institute during acquiring the video
Mobile terminal is stated in the motion state data at different acquisition moment;
Cut point determination unit, for being determined from video according to the corresponding motion state data set of the video
The stability of the acquisition moment corresponding mobile terminal meets at least one video cut point of first condition;
Video intercepting unit, if meeting second condition for the video cut point, using the video cut point from view
At least one video-frequency band is intercepted in frequency.
Preferably, the motion state data set that the video acquisition unit is got includes: described for characterizing
The sensing data set of the motion state of mobile terminal;The sensing data set includes in the process for acquiring the video
In, at least one sensor of the mobile terminal is in different moments collected sensing data;
The cut point determination unit, is specifically used for, collected extremely at the different acquisition moment according to the mobile terminal
A kind of few sensing data, determined from video acquisition moment corresponding sensing data amplitude of variation be greater than amplitude threshold to
A few video cut point.
Preferably, the video intercepting unit, is specifically used for, if before the video cut point and the video cut point
Candidate video section between a nearest video cut point meets second condition, then intercepts at least one from the candidate video section
A video-frequency band.
Another aspect, present invention also provides a kind of electronic equipment, comprising:
Communication interface, it is described for obtaining video to be processed and the corresponding motion state data set of the video
Video is collected by mobile terminal, and the motion state data set includes: shifting during acquiring the video
Motion state data of the dynamic terminal at the different acquisition moment;
Processor, for determining the acquisition moment from video according to the corresponding motion state data set of the video
The stability of the corresponding mobile terminal meets at least one video cut point of first condition;If the video cut point is full
Sufficient second condition intercepts at least one video-frequency band using the video cut point from video.
Through above scheme it is found that while obtaining video to be processed, it can also obtain mobile terminal and acquire the view
The motion state data at the different acquisition moment of frequency, in this way, by setting first condition and second condition, it can be according to mobile whole
The motion state data at the different acquisition moment for acquiring the video is held, the corresponding shifting of acquisition moment can be determined from video
At least one lower video cut point of stability of dynamic terminal, and be conducive to preferable based on video cut point interception mass
At least one video-frequency band, thus advantageously allow interception video-frequency band be more suitable for video analysis.
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 a kind of a kind of flow diagram of video intercepting method provided by the embodiments of the present application;
Fig. 2 is a kind of another flow diagram of video intercepting method provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of each video-frequency band marked off in the application using video intercepting point and video cut point;
Fig. 4 is a kind of another flow diagram of video intercepting method provided by the embodiments of the present application;
Fig. 5 is a kind of a kind of composed structure schematic diagram of video intercepting device provided by the embodiments of the present application;
Fig. 6 is a kind of composition schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specification and claims and term " first " in above-mentioned attached drawing, " second ", " third " " the 4th " etc. (if
In the presence of) it is part for distinguishing similar, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so that embodiments herein described herein can be in addition to illustrating herein
Sequence in addition is implemented.
Specific embodiment
The video intercepting method of the embodiment of the present application is suitable for the electronic equipments such as desktop computer, laptop, passes through this
The video intercepting method of application is conducive to be truncated to the higher video-frequency band of frame stabilization, to be conducive to improve the view being truncated to
The quality of frequency range.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art are obtained every other under that premise of not paying creative labor
Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, it is a kind of a kind of flow diagram of video intercepting method provided by the embodiments of the present application, this reality
The method for applying example may include:
S101 obtains the corresponding motion state data set of video and the video to be processed.
Wherein, which is collected by mobile terminal, which includes: in the mistake for acquiring the video
Cheng Zhong, motion state data of the mobile terminal at the different acquisition moment.
Such as, while mobile terminal acquires video, the motion state number of the mobile terminal meeting continuous collecting mobile terminal
According in this way, each acquisition moment collected video frame can correspond to mobile terminal in the motion state data at the acquisition moment.
For another example, while mobile terminal acquires video, mobile terminal can acquire the mobile terminal according to the interval of setting
Motion state data.
It is understood that the motion state data of mobile terminal can reflect out user in the process for shooting the video
In, the stability of mobile terminal.Such as, mobile terminal, which exists, shakes, in the case where the continuous mutation of position, the stability of mobile terminal
Can be poor, correspondingly, the motion state data of mobile terminal can also have biggish variation.
Wherein, the stability of mobile terminal influences whether the quality of the video pictures of mobile terminal shooting, to influence
To the stability of video pictures.Such as, when shaking occurs in mobile terminal, the pictured scene of mobile terminal shooting will appear prominent
Become, image quality is poor.
It is understood that the motion state data of the mobile terminal can be there are many different possibility, such as mobile terminal
Motion state data can be for change in location data etc..
Optionally, the motion state data of the mobile terminal can collect at least one of mobile terminal sensor
Sensing data.Correspondingly, the motion state data set may include: the motion state for characterizing the mobile terminal
Sensing data set, wherein during the sensing data set is included in the acquisition video, the mobile terminal is at least
A kind of sensor is in different moments collected sensing data.
Such as, sensing data may include following one or more:
The collected gyro data of gyroscope in mobile terminal, e.g., the gyro data can be mobile terminal
Angular speed, specifically, the angular speed may include the angular speed in three orthogonal axial directions;
The collected acceleration of acceleration transducer in mobile terminal;
The collected gravimetric data of gravity sensor in mobile terminal.
S102, according to the corresponding motion state data set of the video, determined from video the acquisition moment it is corresponding should
The stability of mobile terminal meets at least one video cut point of first condition.
Wherein, the acquisition moment which can meet first condition by the stability in mobile terminal is acquired
Location point of the video frame in the video.
It is understood that the corresponding motion state data set of video, which can reflect out mobile terminal, is shooting the video
During, motion state data of the mobile terminal at the different acquisition moment therefore can based on the motion state data set
To determine mobile terminal in the stability at different acquisition moment.Correspondingly, can be to determine the stabilization in mobile terminal in video
Property meet the collected video location point of institute of each acquisition moment of first condition to get to video cut point.
In the embodiment of the present application, which can be set as needed.
In view of in the case where the stability of mobile terminal is poor, the quality of mobile terminal acquisition is also poor, be not suitable for
For carrying out video analysis, therefore, the video in the video corresponding to the stability of the mobile terminal poor acquisition moment
Location point is not suitable as the content in video-frequency band to be analyzed.Correspondingly, the first condition is for characterizing mobile terminal
Stablize the condition of sexual incompatibility acquisition image.Such as, first condition can be more than setting amplitude for stability change amplitude.
Optionally, if motion state data set includes: at least one of mobile terminal during acquiring video
Sensor, can be collected at least at the different acquisition moment according to mobile terminal in different moments collected sensing data
A kind of sensing data determines that acquisition moment corresponding sensing data amplitude of variation is greater than amplitude threshold at least from video
One video cut point.
It such as, then can be with the gyroscope of some acquisition moment mobile terminal by taking sensing data is gyro data as an example
Data are more than given threshold in any one axial amplitude of variation, it is determined that and the stability of mobile terminal meets first condition,
To which video location point corresponding with the acquisition moment in the video is determined as video cut point.
S103 intercepts at least one view using the video cut point if video cut point meets second condition from video
Frequency range.
Wherein, the second condition is different from first condition, which is that further judgement is based on the video cut point
If appropriate for the condition of interception video-frequency band, specifically can be set as needed.
In a kind of possible situation, it can come in conjunction with the feature for the video-frequency band that can be intercepted based on the video cut point
The video cut point is analyzed if appropriate for the cut point as interception video-frequency band.Such as, if the video cut point and the video are cut
Candidate video section before point between a nearest video cut point meets second condition, then from the candidate video section interception to
A few video-frequency band.
Wherein, the candidate video section before the video cut point and video cut point between a nearest video cut point is full
Sufficient second condition can characterize the candidate video section and be suitble to interception as the video-frequency band for being used for video analysis.
Such as, in one implementation, if the video cut point is cut with a video nearest before the video cut point
The video quality of candidate video section between cutpoint conforms to quality requirements, then it is assumed that video cut point meets second condition.Wherein,
The video quality of candidate video section can angularly reflect from the image quality of candidate video section and resolution ratio etc..
For another example, in another implementation, if a nearest view before the video cut point and the video cut point
The video length of candidate video section between frequency cut point is more than duration threshold value, then it is assumed that the video cut point meets Article 2
Part.It is understood that must not if the video length of the candidate video section between two adjacent video cut points is too short
The candidate video section is analyzed, therefore, if the view of the video-frequency band intercepted out based on the two adjacent video cut points
Frequency duration is also inevitable shorter, to not meet video analysis requirement., whereas if the candidate between two adjacent video cut points
The video length of video-frequency band is longer, on this basis, then video-frequency band interception can be realized based on the two adjacent video cut points.
It is understood that can then abandon and be unsatisfactory in the case where determining that video cut point meets second condition
The video cut point of second condition, and just with each video cut point for meeting second condition, it can be intercepted from video
At least one higher video-frequency band of picture quality out.
In specific implementation, it can according to need possible there are many realizing.It such as, can be from being determined by video in video
Initial point, video end point and meets the adjacent video point of any two in the video cut point of second condition and surround and do not wrap
Video-frequency band containing the video cut point for being unsatisfactory for second condition, and intercept the video-frequency band determined.
For example, it is assumed that determining that 3 video cut points respectively are video cut point 1,2 and of video cut point in video
Video cut point 3, it is assumed that be that video cut point 2 does not meet second condition, then being cut by the starting point, end point, video of video
The video-frequency band that cutpoint 1, video cut point 3 are separated out includes: the video-frequency band 1 that the starting point of video is formed with video cut point 1, depending on
The video-frequency band 2 that the end point of frequency cut point 3 and video is constituted, it is seen then that video cut point 2 does not determine interception video as user
The location point of section.
Particularly, for each video cut point, if a nearest view before the video cut point and video cut point
Candidate video section between frequency cut point meets second condition, then confirms that the video cut point meets second condition, in this kind of feelings
Under condition, it is contemplated that the satisfactory quality of the candidate video section then can be and intercept at least one view from the candidate video section
Frequency range.Such as, it is a video-frequency band by candidate video section interception, or intercepts out multiple video-frequency bands from the candidate video section.
Such as, it will again be assumed that video cut point 1, video cut point 2 and video cut point 3 are successively determined in video, and are regarded
Candidate video section between the nearest video cut point, that is, video cut point 1 of frequency cut point 2 and front does not meet second condition,
In that case, meet in the video second condition candidate video section include: video starting point and video cut point 1 it
Between video-frequency band S1, the video-frequency band S2 between video cut point 2 and video cut point 3, the end point of video cut point 3 and video
Between video-frequency band S3, in this way, at least one video can be intercepted out from video-frequency band S1, video-frequency band S2, video-frequency band S3 respectively
Section.Compared with previous examples, the candidate video section that this kind can be used for intercepting video-frequency band increases, and due to each candidate video section
Belong to mobile terminal collected video-frequency band under stable case, thereby may be ensured that video figure in the video-frequency band finally intercepted out
The stability of picture, is conducive to video analysis.
Through above scheme it is found that while obtaining video to be processed, it can also obtain mobile terminal and acquire the view
The motion state data at the different acquisition moment of frequency, in this way, by setting first condition and second condition, it can be according to mobile whole
The motion state data at the different acquisition moment for acquiring the video is held, the corresponding shifting of acquisition moment can be determined from video
At least one lower video cut point of stability of dynamic terminal, and be conducive to preferable based on video cut point interception mass
At least one video-frequency band, thus advantageously allow interception video-frequency band be more suitable for video analysis.
It is understood that can generally set the video intercepting duration of video-frequency band interception in view of in practical application, and press
According to the video intercepting duration, video is intercepted from the video, therefore, the application can be cut in conjunction with video cut point and according to video
The video intercepting point for taking duration to determine, to intercept at least one video-frequency band from video.
Such as, referring to fig. 2, it illustrates a kind of flow diagrams of another embodiment of video intercepting method of the application, originally
The method of embodiment may include:
S201 obtains the corresponding motion state data set of video and the video to be processed.
Wherein, which is collected by mobile terminal, which includes: in the mistake for acquiring the video
Cheng Zhong, motion state data of the mobile terminal at the different acquisition moment.
S202, according to the corresponding motion state data set of the video, determined from video the acquisition moment it is corresponding should
The stability of mobile terminal meets at least one video cut point of first condition.
Wherein, above step S201 and S202 may refer to the related introduction of preceding embodiment, and details are not described herein.
S203 determines at least one video intercepting point according to video intercepting duration from the video.
Wherein, which, which can according to need, presets or is inputted by user.
It is understood that be based on the video intercepting duration, determine video intercepting point mode can also there are many.Such as,
In one possible implementation, according to the video intercepting duration, at least one video intercepting point can be determined from video,
So that the video length between the adjacent video intercepting point of any two is the video intercepting duration.
For example, then can be set a length of 100 when video intercepting when needing to intercept in the case where a length of 100 seconds videos
Second, in this way, in video at interval of 100 seconds be a video intercepting point.
One of the above mode is that all video intercepting points of can be used as are determined from video according to video intercepting duration
Location point.
In practical applications, it is also possible to can first be determined current to be intercepted according to the sequencing of frame image each in video
Video intercepting point, and video-frequency band is being intercepted based on the video intercepting point and then is determining next video intercepting point.In this kind
In the case of, step S203 can be according to the video intercepting duration, and current video intercepting point is determined from the video.Such as,
Current video intercepts starting point from video, according to the video intercepting duration, determines after the video intercepting starting point of the video
Current video intercepting point.For example, duration of the video intercepting starting point later and apart from the video intercepting point will be in video
For the video intercepting duration location point as video intercepting starting point.Correspondingly, subsequent can be determined based on the video intercepting point
Current video-frequency band to be intercepted.
It should be noted that the sequence of step S202 and S203 is not limited to shown in Fig. 2, in practical applications, may be used also
To be to be performed simultaneously step S202 and S203, either, first carries out step S203 and execute step S202 again.
S204 utilizes the video cut point and at least one video intercepting if video cut point meets second condition
Point intercepts at least one video-frequency band from video.
Wherein, the second condition met needed for the video cut point may refer to the related introduction of preceding embodiment.
In the present embodiment, it using the video cut point and at least one video intercepting point, is intercepted at least from video
The mode of one video-frequency band can there are many.Such as, it is determined from video by video starting point, video end point, video intercepting
Point meets the adjacent video point of any two in the video cut point of second condition and surrounds and be unsatisfactory for second condition
Video cut point video-frequency band, and intercept the video-frequency band determined.
It for another example, can be from the time for meeting second condition in the case where needing to judge that candidate video section meets second condition
It selects and intercepts at least one video-frequency band in video-frequency band.Wherein, if video intercepting point is not present in candidate video section, by the candidate
Video-frequency band interception is a video-frequency band, if needed using this extremely there are at least one video intercepting point in candidate video section
The candidate video section is segmented by a few video intercepting point to be intercepted.
In order to make it easy to understand, for example:
As shown in figure 3, it illustrates determine showing for multiple video intercepting points and multiple video cut points from video
It is intended to.
As seen from Figure 3, there are two video intercepting point and three videos for tool between the starting point and end point of video
Cut point, two of them video intercepting point are followed successively by intercept point 1 and intercept point 2 in Fig. 3, and three video cut points are followed successively by and cut
Cutpoint 1, cut point 2 and cut point 3.
Wherein, the candidate video section between cut point 2 and the cut point 1 of front one is unsatisfactory for second condition, such as the candidate
The duration of video-frequency band is too short or video effect is poor etc..And the candidate between other cut points and the nearest separation of the front
Video-frequency band is all satisfied second condition.In that case, the view between the starting point of video and the cut point 1 of video can be intercepted
Frequency range, and the video-frequency band between cut point 1 and cut point 2 will not then be intercepted and can directly give up.
Correspondingly, the nearest video cut point in the front of cut point 3 is cut point 2, and the cut point 3 and cut point 2 it
Between in the candidate video section that constitutes there are two video intercepting points, and the two video intercepting points are by the cut point 2 and cut point 3
Between candidate video section be divided into 3 sections, correspondingly, this 3 video-frequency bands can be intercepted.In this way, can be truncated to cut point 2 with
Video-frequency band, intercept point 1 between intercept point 1 and the video-frequency band between intercept point 2 and the view between intercept point 2 and cut point 3
Frequency range.
Finally, the video-frequency band of the end point of cut point 3 and video can also be truncated to a video-frequency band.Certainly, in reality
In the application of border, the video-frequency band that the end point of starting point or video for cut point and video is constituted can also first judge
Whether the lower video-frequency band meets second condition, if it is satisfied, then intercepting corresponding video-frequency band;Otherwise, then the view can not be intercepted
Frequency range.
It is understood that if only intercepting video-frequency band from the video in Fig. 3 according to video intercepting duration, then can
Be truncated to three video-frequency bands, be respectively as follows: video-frequency band between the starting point of video and intercept point 1, intercept point 1 and intercept point 2 it
Between video-frequency band, the video-frequency band between intercept point 2 and the end point of video.
But it can be seen that in the video-frequency band between the starting point of video and intercept point 1 that there are mobile terminals to exist in conjunction with Fig. 3
An acquisition moment collected video point in the unstable situations such as shaking, i.e., (Fig. 3 is to be with a cut point to cut point 1
Example, mobile terminal once shakes it is possible that each point is in collected video in continuous a period of time in practical applications
The case where image unstable cut point) so that this section of video-frequency band can have the unstable images such as scene mutation, lead to benefit
It is larger that the obtained analysis result error of video analysis is carried out with this section of video-frequency band.Correspondingly, the end point of intercept point 2 and video
Between video-frequency band there is also same problem.
However, in conjunction with presented hereinbefore it is found that in the embodiment of the present application, fully taking into account mobile terminal in unstable feelings
The interference of video captured by condition, to not only intercept video according to the video intercepting point determined based on video intercepting duration
Section, further accounts for belonging to mobile terminal collected each video point in unstable situation in video, so that video be carried out
More careful interception, so that each video point in each video-frequency band inside intercepted out is not admitted to mobile terminal and pledges love in shakiness
Collected video point under condition, thus the stability of the picture quality of the guaranteed each video-frequency band intercepted out.
It is understood that by there is video intercepting point in this present embodiment, therefore, the Article 2 in the embodiment of the present application
Part can also have other possible situations.Such as, the video cut point meet second condition can be with are as follows: the video cut point and video
Relationship between intercept point meets second condition.Such as, in one case, before the video cut point and the video cut point
There are in the case where at least one video intercepting point between a nearest video cut point, from least one video intercepting point
The determining preceding video intercept point nearest with the video cut point, then need to detect the video cut point and the preceding video intercept point it
Between candidate video section whether meet second condition.
For another example, in another situation, a nearest video is cut after the video cut point and the video cut point
There are in the case where at least one video intercepting point between point, the determining and video is cut from least one video intercepting point
The nearest rear video intercept point of point, then needing to detect the candidate video section between the video cut point and the rear video intercept point is
It is no to meet second condition.
Wherein, whether candidate video section meet second condition and can be the video quality of the candidate video section and accord with herein
Whether the video length for closing quality requirement or the candidate video section is more than duration threshold value.
It is understood that some and video intercepting point interval can be given up by setting both the above second condition
Compared with close or poor with the video quality of the video-frequency band of video intercepting point composition video cut point, it is based on so as to not intercept
The video-frequency band that such video cut point can determine that out.
It is understood that in the present embodiment, it can include both the above that video cut point meets second condition simultaneously
One of several situations that situation and preceding embodiment are mentioned are several.
It is understood that by presented hereinbefore it is found that the application can be often to determine when actually intercepting video-frequency band
One video-frequency band that can be intercepted just intercepts the video-frequency band, be also possible to determine whole video separation and video intercepting point it
Intercept video-frequency band again afterwards.In order to make it easy to understand, the scheme of the application is introduced by taking a kind of situation as an example below.
Such as, referring to fig. 4, the process signal that it illustrates a kind of video intercepting methods of the application under a kind of application scenarios
Figure, the method for the present embodiment may include:
S401 obtains the corresponding motion state data set of video and the video to be processed.
Wherein, which is collected by mobile terminal, which is combined into for characterizing the mobile terminal
Motion state sensing data set.During the sensing data set is included in the acquisition video, the movement is whole
At least one sensor at end is in different moments collected sensing data.
S402, according to mobile terminal in different acquisition moment collected at least one sensing data, from video really
Surely acquisition moment corresponding sensing data amplitude of variation is greater than at least one video cut point of amplitude threshold.
Wherein, above step S401 and S402 is illustrated by taking a kind of situation as an example, for above-mentioned motion state number
According to gathering and determining that the other modes of video cut point are applied equally to the present embodiment, for details, reference can be made to preceding embodiments
Related introduction, details are not described herein.
S403 determines video intercepting starting point current in video, according to the video intercepting duration of setting, determines from video
The corresponding video intercepting terminal of the video intercepting starting point.
Wherein, the position in video after the video intercepting starting point and apart from the video intercepting starting point video intercepting duration
Point is current video intercepting terminal.
It is understood that the video intercepting terminal is it can be understood that video intercepting point to mention in preceding embodiment,
Due to being to determine a corresponding video intercepting point for a video intercepting starting point every time herein, it is known as regarding in order to facilitate understanding
Frequency interception terminal.Wherein, if the insufficient video intercepting duration of duration between the end point of video and the video intercepting starting point,
The end point of the video is then determined as the video intercepting terminal.
Wherein, every time interception video-frequency band based on video intercepting starting point also can all differences, as the first time determination needed for
It is then to determine the corresponding view of video intercepting starting point using the starting point of video as video intercepting starting point when the video-frequency band of interception
Frequency interception terminal.And next time then also using last video intercepting terminal as the corresponding video intercepting starting point next time,
It successively constantly recycles, until completing to intercept required video-frequency band from entire video.
S404, if not having video cut point between the video intercepting starting point and the video intercepting terminal, interception should
Video-frequency band between video intercepting starting point and the video intercepting terminal, and execute step S407.
Optionally, before video-frequency band of the step S404 between the interception video intercepting starting point and video intercepting terminal,
It can also first judge whether the video-frequency band meets second condition, such as judge whether the quality of video-frequency band conforms to quality requirements, if
It is then to intercept the video-frequency band.
S405, if having at least one video cut point between the video intercepting starting point and the video intercepting terminal,
Determine the video intercepting starting point, any two adjacent video point structure in video intercepting terminal and at least one video-frequency band cut point
At at least two candidate video sections.
Step S405 is substantially video-frequency band between the determining video intercepting starting point and the video intercepting terminal by this
At least two candidate video sections that at least one video cut point is partitioned into.
Such as, between video intercepting point and video intercepting terminal have a video cut point, then video intercepting starting point with
Video-frequency band between video cut point is a candidate video section, and the view between the video cut point and the video intercepting terminal
Frequency range is a candidate video section.
S406 intercepts the candidate in the case where the candidate video section meets second condition for each candidate video section
Video-frequency band, and execute step S407.
Such as, the duration of the candidate video section is more than setting duration threshold value, then intercepts the candidate video section, otherwise, will not cut
Take the candidate video section.For another example, the quality of the candidate video section is met the requirements, then intercepts the candidate video section and otherwise then abandon
The candidate video section.
S407, detects whether the video intercepting terminal is the end position of the video, if it is, terminating;If it is not, then
The video intercepting terminal is determined as to current video intercepting starting point, and returns to step S403.
After determining the video-frequency band intercepted out needed for video section in one section of video intercepting duration, it will continue to analyze next
Video section corresponding to a video intercepting duration, until completing the processing in all video sections in video.
A kind of video intercepting method of corresponding the application, present invention also provides a kind of video intercepting devices.
Such as, referring to Fig. 5, it illustrates a kind of a kind of composed structure schematic diagram of video intercepting device of the application, this implementations
Example device may include:
Video acquisition unit 501, for obtaining video to be processed and the corresponding motion state data collection of the video
It closes, the video is collected by mobile terminal, and the motion state data set includes: in the process for acquiring the video
In, motion state data of the mobile terminal at the different acquisition moment;
Cut point determination unit 502, for being determined from video according to the corresponding motion state data set of the video
The stability of the acquisition moment corresponding mobile terminal meets at least one video cut point of first condition out;
Video intercepting unit 503, if meeting second condition for the video cut point, using the video cut point from
At least one video-frequency band is intercepted in video.
In one possible implementation, the motion state data set packet that the video acquisition unit is got
It includes: for characterizing the sensing data set of the motion state of the mobile terminal;The sensing data set, which is included in, adopts
During collecting the video, at least one sensor of the mobile terminal is in different moments collected sensing data;
Correspondingly, the cut point determination unit, is specifically used for, collected according to the mobile terminal at the different acquisition moment
At least one sensing data, determine that acquisition moment corresponding sensing data amplitude of variation is greater than amplitude threshold from video
At least one video cut point.
In another possible implementation, the video intercepting unit is specifically used for, if the video cut point with
Candidate video section before the video cut point between a nearest video cut point meets second condition, then from the candidate
At least one video-frequency band is intercepted in video-frequency band.
Optionally, the video intercepting unit may include:
First video intercepting subelement, if for a view nearest before the video cut point and the video cut point
The video quality of candidate video section between frequency cut point conforms to quality requirements, and intercepts at least one from the candidate video section
Video-frequency band.
Optionally, the video intercepting unit may include:
Second video intercepting subelement, if for a view nearest before the video cut point and the video cut point
The video length of candidate video section between frequency cut point is more than duration threshold value, intercepts at least one from the candidate video section
Video-frequency band.
Optionally, in the embodiment of apparatus above, further includes:
Intercept point determination unit, for the video intercepting unit using the video cut point intercepted from video to
Before a few video-frequency band, according to video intercepting duration, at least one video intercepting point is determined from the video;
Then video intercepting unit is specific to use when intercepting at least one video-frequency band from video using the video cut point
In using the video cut point and at least one described video intercepting point, at least one video-frequency band is intercepted from video.
On the other hand, present invention also provides a kind of electronic equipment.Such as Fig. 6, it illustrates the application a kind of electronic equipment
Composed structure schematic diagram, the electronic equipment of the application may include:
Communication interface 601, for obtaining video to be processed and the corresponding motion state data set of the video, institute
Video is stated to be collected by mobile terminal, the motion state data set include: during acquiring the video, it is described
Motion state data of the mobile terminal at the different acquisition moment;
Processor 602 is used for according to the corresponding motion state data set of the video, when determining acquisition from video
The stability for carving the corresponding mobile terminal meets at least one video cut point of first condition;If the video cut point
Meet second condition, intercepts at least one video-frequency band from video using the video cut point.
Wherein, the possibility situation of video and motion state data accessed by the communication interface may refer to front side
The related introduction of method embodiment, correspondingly, operation performed by the processor also may refer in the video intercepting method of front
Related introduction, details are not described herein.
Optionally, the electronic equipment of the application can also include memory 603, execute procedure above for storage processor
Required data.
Certainly, the electronic equipment of the application can also be without restriction herein including display screen, input unit etc..
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of video intercepting method, comprising:
It obtains video to be processed and the corresponding motion state data set of the video, the video is acquired by mobile terminal
It obtains, the motion state data set includes: during acquiring the video, and the mobile terminal is in different acquisition
The motion state data at quarter;
According to the corresponding motion state data set of the video, determine that the acquisition moment is corresponding described mobile whole from video
The stability at end meets at least one video cut point of first condition;
If the video cut point meets second condition, at least one video is intercepted from video using the video cut point
Section.
2. video intercepting method according to claim 1, the motion state data set includes: for characterizing the shifting
The sensing data set of the motion state of dynamic terminal;The sensing data set includes in the process for acquiring the video
In, at least one sensor of the mobile terminal is in different moments collected sensing data;
It is described according to the corresponding motion state data set of the video, the corresponding shifting of acquisition moment is determined from video
The stability of dynamic terminal meets at least one video cut point of first condition, comprising:
According to the mobile terminal in different acquisition moment collected at least one sensing data, acquisition is determined from video
Moment corresponding sensing data amplitude of variation is greater than at least one video cut point of amplitude threshold.
3. video intercepting method according to claim 1 utilizes institute if the video cut point meets second condition
It states video cut point and intercepts at least one video-frequency band from video, comprising:
If the candidate video section before the video cut point and the video cut point between a nearest video cut point is full
Sufficient second condition then intercepts at least one video-frequency band from the candidate video section.
4. video intercepting method according to claim 3, the video cut point with it is nearest before the video cut point
Candidate video section between one video cut point meets second condition, comprising:
The view of candidate video section before the video cut point and the video cut point between a nearest video cut point
Frequency quality conforms to quality requirements.
5. video intercepting method according to claim 3, the video cut point with it is nearest before the video cut point
Candidate video section between one video cut point meets second condition, comprising:
The view of candidate video section before the video cut point and the video cut point between a nearest video cut point
Frequency duration is more than duration threshold value.
6. video intercepting method according to claim 1 utilizes if meeting second condition in the video cut point
The video cut point is before intercepting at least one video-frequency band in video, further includes:
According to video intercepting duration, at least one video intercepting point is determined from the video;
It is then described that at least one video-frequency band is intercepted from video using the video cut point, comprising:
Using the video cut point and at least one described video intercepting point, at least one video-frequency band is intercepted from video.
7. a kind of video intercepting device, comprising:
Video acquisition unit, it is described for obtaining video to be processed and the corresponding motion state data set of the video
Video is collected by mobile terminal, and the motion state data set includes: shifting during acquiring the video
Motion state data of the dynamic terminal at the different acquisition moment;
Cut point determination unit, for determining to acquire from video according to the corresponding motion state data set of the video
The stability of the moment corresponding mobile terminal meets at least one video cut point of first condition;
Video intercepting unit, if meeting second condition for the video cut point, using the video cut point from video
Intercept at least one video-frequency band.
8. video intercepting device according to claim 7, the motion state number that the video acquisition unit is got
According to the sensing data set that set includes: for characterizing the motion state of the mobile terminal;The sensing data set
During being included in the acquisition video, at least one sensor of the mobile terminal is in different moments collected sensing
Device data;
The cut point determination unit, is specifically used for, according to the mobile terminal at the different acquisition moment collected at least one
Kind sensing data determines that acquisition moment corresponding sensing data amplitude of variation is greater than at least the one of amplitude threshold from video
A video cut point.
9. video intercepting device according to claim 7, the video intercepting unit, are specifically used for, if the video is cut
Candidate video section before cutpoint and the video cut point between a nearest video cut point meets second condition, then from institute
It states and intercepts at least one video-frequency band in candidate video section.
10. a kind of electronic equipment, comprising:
Communication interface, for obtaining video to be processed and the corresponding motion state data set of the video, the video
It is collected by mobile terminal, the motion state data set includes: during acquiring the video, and the movement is eventually
Hold the motion state data at the different acquisition moment;
Processor, for determining that the acquisition moment is corresponding from video according to the corresponding motion state data set of the video
The stability of the mobile terminal meet at least one video cut point of first condition;If the video cut point meets the
Two conditions intercept at least one video-frequency band using the video cut point from video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910244123.2A CN110012337B (en) | 2019-03-28 | 2019-03-28 | Video interception method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910244123.2A CN110012337B (en) | 2019-03-28 | 2019-03-28 | Video interception method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110012337A true CN110012337A (en) | 2019-07-12 |
CN110012337B CN110012337B (en) | 2021-02-19 |
Family
ID=67168638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910244123.2A Active CN110012337B (en) | 2019-03-28 | 2019-03-28 | Video interception method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110012337B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541939A (en) * | 2020-04-30 | 2020-08-14 | 北京奇艺世纪科技有限公司 | Video splitting method and device, electronic equipment and storage medium |
CN112911149A (en) * | 2021-01-28 | 2021-06-04 | 维沃移动通信有限公司 | Image output method, image output device, electronic equipment and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003244628A (en) * | 2002-02-20 | 2003-08-29 | Kazumi Komiya | Specified scene extracting apparatus |
US20060203914A1 (en) * | 2005-03-09 | 2006-09-14 | Pixart Imaging Inc. | Motion estimation method utilizing a distance-weighted search sequence |
CN102609723A (en) * | 2012-02-08 | 2012-07-25 | 清华大学 | Image classification based method and device for automatically segmenting videos |
CN104104969A (en) * | 2014-07-23 | 2014-10-15 | 天脉聚源(北京)科技有限公司 | Video interception method and device |
CN105828146A (en) * | 2016-03-21 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Video image interception method, terminal and server |
CN106507203A (en) * | 2016-11-30 | 2017-03-15 | 北京小米移动软件有限公司 | The intercept method of video, device and terminal |
CN107037954A (en) * | 2016-09-30 | 2017-08-11 | 乐视控股(北京)有限公司 | Screenshotss method and device |
US9787986B2 (en) * | 2014-06-30 | 2017-10-10 | Intel Corporation | Techniques for parallel video transcoding |
CN107770625A (en) * | 2017-10-30 | 2018-03-06 | 广东小天才科技有限公司 | A kind of video intercepting method and mobile terminal based on mobile terminal |
CN107801106A (en) * | 2017-10-24 | 2018-03-13 | 维沃移动通信有限公司 | A kind of video segment intercept method and electronic equipment |
-
2019
- 2019-03-28 CN CN201910244123.2A patent/CN110012337B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003244628A (en) * | 2002-02-20 | 2003-08-29 | Kazumi Komiya | Specified scene extracting apparatus |
US20060203914A1 (en) * | 2005-03-09 | 2006-09-14 | Pixart Imaging Inc. | Motion estimation method utilizing a distance-weighted search sequence |
CN102609723A (en) * | 2012-02-08 | 2012-07-25 | 清华大学 | Image classification based method and device for automatically segmenting videos |
US9787986B2 (en) * | 2014-06-30 | 2017-10-10 | Intel Corporation | Techniques for parallel video transcoding |
CN104104969A (en) * | 2014-07-23 | 2014-10-15 | 天脉聚源(北京)科技有限公司 | Video interception method and device |
CN105828146A (en) * | 2016-03-21 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Video image interception method, terminal and server |
CN107037954A (en) * | 2016-09-30 | 2017-08-11 | 乐视控股(北京)有限公司 | Screenshotss method and device |
CN106507203A (en) * | 2016-11-30 | 2017-03-15 | 北京小米移动软件有限公司 | The intercept method of video, device and terminal |
CN107801106A (en) * | 2017-10-24 | 2018-03-13 | 维沃移动通信有限公司 | A kind of video segment intercept method and electronic equipment |
CN107801106B (en) * | 2017-10-24 | 2019-10-15 | 维沃移动通信有限公司 | A kind of video clip intercept method and electronic equipment |
CN107770625A (en) * | 2017-10-30 | 2018-03-06 | 广东小天才科技有限公司 | A kind of video intercepting method and mobile terminal based on mobile terminal |
Non-Patent Citations (1)
Title |
---|
汪恭焰: "《基于对象的动态视频浓缩和检索技术研究》", 《中国优秀硕博士学位论文全文数据库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541939A (en) * | 2020-04-30 | 2020-08-14 | 北京奇艺世纪科技有限公司 | Video splitting method and device, electronic equipment and storage medium |
CN112911149A (en) * | 2021-01-28 | 2021-06-04 | 维沃移动通信有限公司 | Image output method, image output device, electronic equipment and readable storage medium |
CN112911149B (en) * | 2021-01-28 | 2022-08-16 | 维沃移动通信有限公司 | Image output method, image output device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110012337B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106937039B (en) | Imaging method based on double cameras, mobile terminal and storage medium | |
CN108737882B (en) | Image display method, image display device, storage medium and electronic device | |
CN104012106B (en) | It is directed at the video of expression different points of view | |
US7860343B2 (en) | Constructing image panorama using frame selection | |
CN108900790B (en) | Video image processing method, mobile terminal and computer readable storage medium | |
CN107846515A (en) | shooting parameter adjustment method, device and terminal | |
CN108024065B (en) | Terminal shooting method, terminal and computer readable storage medium | |
US9854160B2 (en) | Systems and methods for autonomously generating photo summaries | |
CN107770477A (en) | Video call method, device, terminal and storage medium | |
US10701301B2 (en) | Video playing method and device | |
CN109120877B (en) | Video recording method, device, equipment and readable storage medium | |
CN105262948B (en) | A kind of panorama shooting method and mobile terminal | |
CN105959620A (en) | Panorama video synchronization display method and panorama video synchronization display device | |
CN110012337A (en) | Video intercepting method, apparatus and electronic equipment | |
CN107682635A (en) | Image capturing method, device, terminal and storage medium | |
CN111708503A (en) | Screen projection control method and device and computer readable storage medium | |
CN110335590B (en) | Voice recognition test method, device and system | |
CN107656792A (en) | Method for displaying user interface, device and terminal | |
CN109120858B (en) | Image shooting method, device, equipment and storage medium | |
CN113542610A (en) | Shooting method, mobile terminal and storage medium | |
CN104866809B (en) | Picture playing method and device | |
CN112511741A (en) | Image processing method, mobile terminal and computer storage medium | |
CN106911948A (en) | A kind of display control method, device, control device and electronic equipment | |
EP4329285A1 (en) | Video photographing method and apparatus, electronic device, and storage medium | |
CN109698933B (en) | Data transmission method, camera, electronic device, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |