CN109819346A - Video file processing method and processing device, computer system and readable storage medium storing program for executing - Google Patents
Video file processing method and processing device, computer system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109819346A CN109819346A CN201910192569.5A CN201910192569A CN109819346A CN 109819346 A CN109819346 A CN 109819346A CN 201910192569 A CN201910192569 A CN 201910192569A CN 109819346 A CN109819346 A CN 109819346A
- Authority
- CN
- China
- Prior art keywords
- image
- video
- video file
- video clip
- frame image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Present disclose provides a kind of video file processing methods, including obtain video file;Video file is handled, video file is divided into M video clip, wherein each video clip includes an at least frame image, and M is the integer greater than 1;It determines the representative image of each video clip, at least obtains M frame representative image, wherein the representative image of each video clip can express the key content of corresponding video clip;And general view image set is generated according to multiframe representative image.The disclosure additionally provides a kind of video file processing unit, a kind of computer system and a kind of computer readable storage medium.
Description
Technical field
This disclosure relates to a kind of video file processing method, a kind of video file processing unit, a kind of computer system with
And a kind of computer readable storage medium.
Background technique
Video is a kind of media formats of opposite mainstream at present, and application scenarios are also very extensive.User can pass through viewing
Video understands various information, for example, user is understood by viewing instructional video learning knowledge by viewing entertainment video
Life.But inventors have found that user generally can only linearly watch video, if it is desired to the main contents of quick browse video,
Time shaft need to be pulled manually and reviews lookup, be inconvenient.If user needs to save or quote in video in article
A certain section of important content when, user needs to carry out screenshot manually to video, by plurality of pictures splicing become long picture, such as Fig. 1
Shown, user needs first manual screenshot to obtain picture 101 and picture 102, the picture 101 and figure for then again obtaining manual screenshot
Piece 102 is spliced, and is obtained long picture, is finally saved.Therefore, user needs to utilize the object content in video at present
When, operating process is complicated, leads to poor user experience.
Summary of the invention
An aspect of this disclosure provides a kind of video file processing method, comprising: obtains video file;To above-mentioned view
Frequency file is handled, and above-mentioned video file is divided into M video clip, wherein each video clip includes an at least frame figure
Picture, M are the integer greater than 1;The representative image for determining above-mentioned each video clip at least obtains M frame representative image, wherein on
The representative image for stating each video clip can express the key content of corresponding video clip;And it is represented and is schemed according to above-mentioned multiframe
As generating general view image set.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, is carried out to above-mentioned video file
Processing, is divided into the similarity that M video clip comprises determining that adjacent K frame image in above-mentioned N frame image for above-mentioned video file,
Wherein, above-mentioned K is the integer more than or equal to 2 and less than above-mentioned N;And it will be upper according to the similarity of above-mentioned adjacent K frame image
It states video file and is divided into M video clip.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, is carried out to above-mentioned video file
Above-mentioned video file is divided into M video clip and comprises determining that the corresponding subtitle of each frame image in above-mentioned N frame image by processing
Or lines;Determine the degree of association in above-mentioned N frame image between the corresponding subtitle of each frame image or lines;And according to above-mentioned every
Above-mentioned video file is divided into M video clip by the degree of association between the corresponding subtitle of one frame image or lines.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, is carried out to above-mentioned video file
Above-mentioned video file is divided into M video clip and comprises determining that the corresponding barrage of each frame image in above-mentioned N frame image by processing;
Determine the corresponding barrage quantity of above-mentioned each frame image;And according to the corresponding barrage quantity of above-mentioned each frame image by above-mentioned view
Frequency file is divided into M video clip.
Optionally, above-mentioned each video clip includes one or more pictures, and each picture includes an at least frame image, really
The representative image of fixed above-mentioned each video clip comprises determining that the broadcasting for each picture that above-mentioned each video clip is included
Duration;The key frame of corresponding video clip is determined according to the playing duration of each above-mentioned picture;And from above-mentioned corresponding video
The representative image of the correspondence video clip is determined in the key frame of segment.
Optionally, the above method further include: determine that similarity is greater than or equal to targets threshold in above-mentioned general view image set
Similar representative image, wherein above-mentioned similar representative image includes at least two representative images;It obtains for splicing above-mentioned similar generation
The concatenation of the corresponding word content of every image in table image;In response to above-mentioned concatenation, above-mentioned similar representative is schemed
The corresponding word content of every image is spliced into a content as in;The content representative similar to above that will be obtained after splicing
Frame target image association in image;And filter out other generations in above-mentioned similar representative image in addition to above-mentioned target image
Table image.
Another aspect of the present disclosure provides a kind of video file processing unit, comprising: first obtains module, for obtaining
Video file;Above-mentioned video file is divided into M video clip for handling above-mentioned video file by processing module,
In, each video clip includes an at least frame image, and M is the integer greater than 1;First determining module, it is above-mentioned each for determining
The representative image of video clip at least obtains M frame representative image, wherein the representative image of above-mentioned each video clip being capable of table
Up to the key content of corresponding video clip;And generation module, for generating general view image set according to above-mentioned multiframe representative image.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module includes: the
One determination unit, for determining the similarity of adjacent K frame image in above-mentioned N frame image, wherein above-mentioned K be more than or equal to 2 and
Less than the integer of above-mentioned N;And first processing units, it is for the similarity according to above-mentioned adjacent K frame image that above-mentioned video is literary
Part is divided into M video clip.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module includes: the
Two determination units, for determining the corresponding subtitle of each frame image or lines in above-mentioned N frame image;Third determination unit, is used for
Determine the degree of association in above-mentioned N frame image between the corresponding subtitle of each frame image or lines;And the second processing unit, it is used for
Above-mentioned video file is divided into M video clip according to the degree of association between the corresponding subtitle of above-mentioned each frame image or lines.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module includes: the
Four determination units, for determining the corresponding barrage of each frame image in above-mentioned N frame image;5th determination unit, for determining
State the corresponding barrage quantity of each frame image;And third processing unit, for according to the corresponding barrage of above-mentioned each frame image
Above-mentioned video file is divided into M video clip by quantity.
Optionally, above-mentioned each video clip includes one or more pictures, and each picture includes an at least frame image, on
Stating the first determining module includes: the 6th determination unit, each picture for being included for determining above-mentioned each video clip
Playing duration;7th determination unit, for determining the main picture of corresponding video clip according to the playing duration of each above-mentioned picture
Face;And the 8th determination unit, for determining the representative of the correspondence video clip from the key frame of above-mentioned corresponding video clip
Image.
Optionally, above-mentioned apparatus further include: the second determining module, similarity is greater than in above-mentioned general view image set for determining
Or the similar representative image equal to targets threshold, wherein above-mentioned similar representative image includes at least two representative images;Second obtains
Modulus block, for obtaining the concatenation for splicing the corresponding word content of every image in above-mentioned similar representative image;It spells
Connection module, in response to above-mentioned concatenation, the corresponding word content of every image in above-mentioned similar representative image to be spliced
For a content;Relating module, the frame target in a content representative image similar to above for being obtained after splicing
Image association;And module is filtered out, for filtering out other representatives in above-mentioned similar representative image in addition to above-mentioned target image
Image.
Another aspect of the present disclosure provides a kind of computer system, comprising: one or more processors;Memory is used
In the one or more programs of storage, wherein when one or more of programs are executed by one or more of processors, make
It obtains one or more of processors and realizes method as described above.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored thereon with executable instruction, should
Instruction makes processor realize method as described above when being executed by processor.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to
It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the schematic diagram for splicing multiple image in the related technology;
Fig. 2 diagrammatically illustrate according to the embodiment of the present disclosure can answering using video file processing method and its device
Use scene;
Fig. 3 diagrammatically illustrates the flow chart of the video file processing method according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the flow chart that video file is divided into M video clip according to the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the flow chart of the video file processing method according to another embodiment of the disclosure;
Fig. 6 diagrammatically illustrates the block diagram of the video file processing unit according to the embodiment of the present disclosure;And
Fig. 7 is diagrammatically illustrated according to the computer system for being adapted for carrying out method as described above of the embodiment of the present disclosure
Block diagram.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood
Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification
Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to
Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C "
Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or
System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come
Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least
One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have
B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart
Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer,
The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with
Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.The technology of the disclosure can be hard
The form of part and/or software (including firmware, microcode etc.) is realized.In addition, the technology of the disclosure, which can be taken, is stored with finger
The form of computer program product on the computer readable storage medium of order, the computer program product is for instruction execution system
System uses or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of video file processing method, including obtains video file;To video file
It is handled, video file is divided into M video clip, wherein each video clip includes an at least frame image, and M is greater than 1
Integer;It determines the representative image of each video clip, at least obtains M frame representative image, wherein the representative of each video clip
Image can express the key content of corresponding video clip,;And general view image set is generated according to multiframe representative image.
Fig. 2 diagrammatically illustrate according to the embodiment of the present disclosure can answering using video file processing method and its device
Use scene.It should be noted that being only the example that can apply the scene of the embodiment of the present disclosure shown in Fig. 2, to help this field
Technical staff understands the technology contents of the disclosure, but be not meant to the embodiment of the present disclosure may not be usable for other equipment, system,
Environment or scene.
As shown in Fig. 2, the application with video playback capability can be equipped on electronic equipment 200, for example, can install
Video player.Electronic equipment 200 may include display screen, when electronic equipment 200 run it is a certain with video playback capability
When using viewing video, video pictures can be shown on a display screen.As shown in Fig. 2, can be in the first viewing area of display screen
Video pictures are shown in domain 210.In accordance with an embodiment of the present disclosure, it can also be shown in the second display area 220 of display screen
General view image set 221.
It include multiframe representative image in general view image set 221, every frame representative image can express the pass of corresponding video clip
Key content.In accordance with an embodiment of the present disclosure, the representative image in general view image set 221 can for selection by the user, for example, user can
Picture is separately stored to other positions.In accordance with an embodiment of the present disclosure, user can also respond when clicking a certain representative image
In clicking operation, video current play position is back to the position of representative image in video.
By embodiment of the disclosure, video file is divided into multistage, and determine the representative image of each video clip, it will
Multiframe representative image generates general view image set, and user can choose the picture in general view image set, to obtain object content.So that
User can quickly obtain key content, review lookup without pulling time shaft manually, simplify operating process, improve use
Family experience.If user wants the main contents of quick browse video, lookup is reviewed without pulling time shaft manually;If user
When needing to save or quoting a certain section of important content in video in article, without carrying out screenshot manually to video.
Fig. 3 diagrammatically illustrates the flow chart of the video file processing method according to the embodiment of the present disclosure.
As shown in figure 3, this method includes operation S310~S340.
In operation S310, video file is obtained.
In accordance with an embodiment of the present disclosure, the content of video file is not construed as limiting, such as can be instructional video, publicity view
Frequently, television program video etc..
In operation S320, video file is handled, video file is divided into M video clip, wherein each video
Segment includes an at least frame image, and M is the integer greater than 1.
In accordance with an embodiment of the present disclosure, include by the mode that video file is divided into M video clip it is a variety of, the disclosure is unlimited
The fixed mode that video file is divided into M video clip.For example, it may be video file is divided into according to scheduled duration different
Video clip is also possible to that video file is divided into different video clips according to the plot of video presentation, can also be according to
Video file is divided into different video clips by the place that video pictures occur.
In operation S330, determines the representative image of each video clip, at least obtain M frame representative image, wherein each view
The representative image of frequency segment can express the key content of corresponding video clip.
In accordance with an embodiment of the present disclosure, each video clip includes one or more pictures, and each picture includes at least one
Frame image determines that the mode of the representative image of each video clip can be each for first determining each video clip and being included
Then the playing duration of picture determines the key frame of corresponding video clip according to the playing duration of each picture, regard from corresponding
The representative image of the correspondence video clip is determined in the key frame of frequency segment.
It in accordance with an embodiment of the present disclosure, is about the same net class respectively for example, a certain video clip includes 3 pictures
The first topic of teacher's explanation, the picture of the second topic and third topic.Each picture includes an at least frame image.When the broadcasting of each picture
It is long different, the longest picture of play time can be determined as to the key frame of the video clip, then included from key frame
The representative image of the correspondence video clip is determined in image.
In accordance with an embodiment of the present disclosure, for example, frame image work can be randomly choosed from the image that key frame is included
For the representative image of the correspondence video clip.Alternatively, for example, may be used also if picture key body caused by fast moving is fuzzy
To consider image quality, the image of requirement can be determined for compliance with from the image that key frame is included, then from from meeting the requirements
Image in randomly select a frame as representative image.
In operation S340, general view image set is generated according to multiframe representative image.
In accordance with an embodiment of the present disclosure, system allows user to check the image in general view image set, and interactively adjusts
The representative image of certain section of video clip.Allow the result that user interactively adjusts key frame, splicing system generates.
In accordance with an embodiment of the present disclosure, above-mentioned video file processing method can be used as the included function of any application, for example,
The included function of can be video player can be convenient user's general view/reviewing/and save a certain section of content in video.
By embodiment of the disclosure, video file is divided into multistage, and determine the representative image of each video clip, it will
Multiframe representative image generates general view image set, and user can choose the picture in general view image set, to obtain object content.So that
User can quickly obtain key content, review lookup without pulling time shaft manually, simplify operating process, improve use
Family experience.If user wants the main contents of quick browse video, lookup is reviewed without pulling time shaft manually;If user
When needing to save or quoting a certain section of important content in video in article, without carrying out screenshot manually to video.
Below with reference to Fig. 4~Fig. 5, method shown in Fig. 3 is described further in conjunction with specific embodiments.
Fig. 4 diagrammatically illustrates the flow chart that video file is divided into M video clip according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, video file may include N frame image, and N is the integer greater than 2.As shown in figure 4,
After input video file, it may include that three kinds of different disposal modes handle video file, be image mode respectively,
Lines/subtitling mode and barrage mode.
In accordance with an embodiment of the present disclosure, under image mode, video file is handled, video file is divided into M
Video clip comprises determining that the similarity of adjacent K frame image in N frame image, then will be regarded according to the similarity of adjacent K frame image
Frequency file is divided into M video clip, wherein K is the integer more than or equal to 2 and less than N.
It specifically, for example, N is 100, i.e., include 100 frame images in video file, it can be according to the picture phase between image
Like degree, 100 frame images are split.For example, when K is 5 the similarity between the adjacent image of every 5 frame can be calculated, by phase
It is greater than 5 frame images of threshold value as a video clip like degree.It should be noted that the size of K value can be according to preset phase
Dynamic adjustment is carried out like degree threshold value, therefore, K value is not a changeless number.For example, when similarity threshold is higher, it may
Lead to not for video file to be divided into multiple video clips, can dynamically adjust K value size, K value is suitably reduced, to improve
The similarity between image being calculated.
It in accordance with an embodiment of the present disclosure, can be based on lines/subtitle to view as shown in figure 4, under lines/subtitling mode
Frequency is split, and specifically, handles video file, video file is divided into M video clip and comprises determining that N frame figure
The corresponding subtitle of each frame image or lines as in determine in N frame image between the corresponding subtitle of each frame image or lines
Video file is divided into M video clip according to the degree of association between the corresponding subtitle of each frame image or lines by the degree of association.
In accordance with an embodiment of the present disclosure, OCR detection subtitle can be used, if without subtitle lines can be detected with speech recognition.
In accordance with an embodiment of the present disclosure, multiple image may only corresponding one section of subtitle or lines, alternatively, the corresponding subtitle of different images or
Relevance is higher in terms of content for lines, in such a case, it is possible to which these images are divided into a video clip.
In accordance with an embodiment of the present disclosure, for example, the corresponding subtitle of first frame image or lines are sentence A, the second frame image
Corresponding subtitle or lines are sentence B, and the corresponding subtitle of third frame image or lines are sentence C, and so on, nth frame image
Corresponding subtitle or lines are sentence N.The degree of association between adjacent sentence A and sentence B can be calculated, or calculates phase simultaneously
The degree of association between adjacent sentence A, sentence B and sentence C, the degree of association being calculated is compared with degree of association threshold value, will
The corresponding image of sentence that the degree of association is greater than degree of association threshold value is divided into the same video clip.It should be noted that right
It can be not involved in calculating process in the image of no subtitle or lines, it, can be according to adjacent principle certainly when dividing video clip
It is dynamic that the image of no subtitle or lines is divided in the preceding paragraph video clip or next section of video clip.
In accordance with an embodiment of the present disclosure, as shown in figure 4, handling under barrage mode video file, by video text
Part is divided into M video clip and comprises determining that the corresponding barrage of each frame image in N frame image, determines that each frame image is corresponding
Video file is divided into M video clip according to the corresponding barrage quantity of each frame image by barrage quantity.
In accordance with an embodiment of the present disclosure, barrage can be the content that the user of online viewing video issues, including but unlimited
In text, emoticon etc..Classical picture or climax/emphasis video content, user are more likely to deliver it and be commented
By therefore, also more for barrage quantity shown in classical picture or climax/emphasis video content.It needs to illustrate
It is that during barrage is shown on a display screen, the corresponding image shown includes multiframe, therefore, under normal circumstances, multiple image
The barrage of identical quantity will be corresponded to.
In accordance with an embodiment of the present disclosure, for example, first frame image to the corresponding barrage quantity of the tenth frame image is the 20, the tenth
One frame image and the corresponding barrage quantity of the 20th frame image are the 6, the 21st frame image and the corresponding bullet of the 30th frame image
Curtain quantity is the 12, the 31st frame image and the corresponding barrage quantity of the 40th frame image is the 20, the 41st frame image and the
The corresponding barrage quantity of 50 frame images is 10.The corresponding barrage quantity of each frame image can be compared with preset quantity
Compared with for example, preset quantity is 15, it is seen then that first frame image to the corresponding barrage quantity of the tenth frame image is greater than the 15, the 11st frame
Image and the 20th frame image, the 21st frame image and the 30th frame image, the 41st frame image and the 50th frame image
Corresponding barrage quantity is greater than 15 less than 15, the 31st frame images and the corresponding barrage quantity of the 40th frame image.Therefore, may be used
First frame image to the tenth frame image is divided into a video clip, by the 11st frame image and the 20th frame image,
21 frame images and the 30th frame image are divided into a video clip, and the 31st frame image and the 40th frame image are drawn
It is divided into a video clip, the 41st frame image and the 50th frame image is divided into a video clip.
Fig. 5 diagrammatically illustrates the flow chart of the video file processing method according to another embodiment of the disclosure.
As shown in figure 5, video file processing method further includes 510~S550 of operation.
In operation S510, determine that similarity in general view image set is greater than or equal to the similar representative image of targets threshold,
In, similar representative image includes at least two representative images.
It in accordance with an embodiment of the present disclosure, include multiframe representative image in general view image set, every frame representative image can be considered as
Key frame can calculate the similarity between multiframe representative image, the similarity that will be calculated by similarity calculating method
It is compared with pre-set targets threshold, determines that similarity is greater than or equal to the similar representative image of targets threshold.For example,
Similarity between representative image A and representative image B is 0.8, and pre-set targets threshold is 0.75, is greater than due to 0.8
0.75, hence, it can be determined that representative image A is similar representative image to representative image B.
In operation S520, obtains the splicing for splicing the corresponding word content of every image in similar representative image and grasp
Make.
In accordance with an embodiment of the present disclosure, word content can be subtitle, other word contents such as barrage.
The corresponding word content of every image in similar representative image is spliced in response to concatenation in operation S530
For a content.
For example, the corresponding word content of representative image A word content corresponding with representative image B is spliced, obtain
One content.
In operation S540, obtain after splicing content is associated with the frame target image in similar representative image.
In accordance with an embodiment of the present disclosure, it is target figure that a frame representative image can be randomly choosed from similar representative image
Picture, for example, randomly choosing a frame representative image from representative image A and representative image B is target image, specifically, for example, choosing
Selecting representative image A is target image, is then associated with obtain after splicing content with representative image A, so that working as user
When operating representative image A, the content obtained after the splicing can be checked.
In operation S550, other representative images in similar representative image in addition to target image are filtered out.
In accordance with an embodiment of the present disclosure, for example, random selection representative image A is mesh from representative image A and representative image B
In the case where logo image, representative image B can be filtered out.So, it is possible to reduce the amount of images in general view image set.
In accordance with an embodiment of the present disclosure, when user's operation general view image set, user is allowed to search for subtitle and bullet
Curtain, system can also mark classical lines/picture or the most video clip of barrage, user helped to find climax/emphasis of video
Content allows user to can choose certain pictures in general view image set, saves as long picture or atlas.
Fig. 6 diagrammatically illustrates the block diagram of the video file processing unit according to the embodiment of the present disclosure.
As shown in fig. 6, video file processing unit 600 obtains module 610 including first, processing module 620, first determines
Module 630 and generation module 640.
First acquisition module 610 is for obtaining video file.
Processing module 620 is used to handle above-mentioned video file, and above-mentioned video file is divided into M video clip,
Wherein, each video clip includes an at least frame image, and M is the integer greater than 1.
First determining module 630 is used to determine the representative image of above-mentioned each video clip, at least obtains M frame representative figure
Picture, wherein the representative image of above-mentioned each video clip can express the key content of corresponding video clip.
Generation module 640 is used to generate general view image set according to above-mentioned multiframe representative image.
By embodiment of the disclosure, video file is divided into multistage, and determine the representative image of each video clip, it will
Multiframe representative image generates general view image set, and user can choose the picture in general view image set, to obtain object content.So that
User can quickly obtain key content, review lookup without pulling time shaft manually, simplify operating process, improve use
Family experience.If user wants the main contents of quick browse video, lookup is reviewed without pulling time shaft manually;If user
When needing to save or quoting a certain section of important content in video in article, without carrying out screenshot manually to video.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module 620 is wrapped
It includes: the first determination unit, for determining the similarity of adjacent K frame image in above-mentioned N frame image, wherein above-mentioned K is to be greater than or wait
In 2 and be less than above-mentioned N integer.And first processing units, for according to the similarity of above-mentioned adjacent K frame image by above-mentioned view
Frequency file is divided into M video clip.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module 620 is wrapped
It includes: the second determination unit, for determining the corresponding subtitle of each frame image or lines in above-mentioned N frame image.Third determination unit,
For determining the degree of association in above-mentioned N frame image between the corresponding subtitle of each frame image or lines.And the second processing unit,
For above-mentioned video file to be divided into M piece of video according to the degree of association between the corresponding subtitle of above-mentioned each frame image or lines
Section.
Optionally, above-mentioned video file includes N frame image, and above-mentioned N is the integer greater than 2, and above-mentioned processing module 620 is wrapped
It includes: the 4th determination unit, for determining the corresponding barrage of each frame image in above-mentioned N frame image.5th determination unit, for true
Determine the corresponding barrage quantity of above-mentioned each frame image.And third processing unit, for corresponding according to above-mentioned each frame image
Above-mentioned video file is divided into M video clip by barrage quantity.
Optionally, above-mentioned each video clip includes one or more pictures, and each picture includes an at least frame image, on
Stating the first determining module 630 includes: the 6th determination unit, each picture for being included for determining above-mentioned each video clip
Playing duration.7th determination unit, for determining the master of corresponding video clip according to the playing duration of each above-mentioned picture
Picture.And the 8th determination unit, for determining the generation of the correspondence video clip from the key frame of above-mentioned corresponding video clip
Table image.
Optionally, above-mentioned video file processing unit 600 further includes the second determining module, for determining above-mentioned general view image
Similarity is concentrated to be greater than or equal to the similar representative image of targets threshold, wherein above-mentioned similar representative image includes at least two
Representative image.Second obtains module, for obtaining for splicing in above-mentioned similar representative image in the corresponding text of every image
The concatenation of appearance.Splicing module, in response to above-mentioned concatenation, every image in above-mentioned similar representative image to be corresponded to
Word content be spliced into a content.Relating module, the content representative figure similar to above for being obtained after splicing
Frame target image association as in.And module is filtered out, for filtering out in above-mentioned similar representative image except above-mentioned target image
Except other representative images.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement
A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son
Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule,
Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate
Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity
Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real
Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality
It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement
Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, any in the first acquisition module 610, processing module 620, the first determining module 630 and generation module 640
Multiple may be incorporated in a module is realized or any one module therein can be split into multiple modules.Alternatively,
At least partly function of one or more modules in these modules can be combined at least partly function of other modules, and
It is realized in a module.In accordance with an embodiment of the present disclosure, first module 610, processing module 620, the first determining module are obtained
At least one of 630 and generation module 640 can at least be implemented partly as hardware circuit, such as field-programmable gate array
Arrange (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit
(ASIC), it or can be realized by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit,
Or it several appropriately combined is realized with any one in three kinds of software, hardware and firmware implementations or with wherein any.
Alternatively, first obtain at least one of module 610, processing module 620, the first determining module 630 and generation module 640 can be with
It is at least implemented partly as computer program module, when the computer program module is run, corresponding function can be executed
Energy.
Fig. 7 is diagrammatically illustrated according to the computer system for being adapted for carrying out method as described above of the embodiment of the present disclosure
Block diagram.Computer system shown in Fig. 7 is only an example, should not function and use scope band to the embodiment of the present disclosure
Carry out any restrictions.
As shown in fig. 7, computer system 700 includes processor 710 and computer readable storage medium 720.The computer
System 700 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 710 for example may include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 710 can also include using for caching
The onboard storage device on way.Processor 710 can be the different movements for executing the method flow according to the embodiment of the present disclosure
Single treatment unit either multiple processing units.
Computer readable storage medium 720, such as can be non-volatile computer readable storage medium, specific example
Including but not limited to: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as
Random access memory (RAM) or flash memory;Etc..
Computer readable storage medium 720 may include computer program 721, which may include generation
Code/computer executable instructions execute processor 710 according to the embodiment of the present disclosure
Method or its any deformation.
Computer program 721 can be configured to have the computer program code for example including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 721 may include one or more program modules, for example including
721A, module 721B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can
To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 710
When execution, processor 710 is executed according to the method for the embodiment of the present disclosure or its any deformation.
According to an embodiment of the invention, first obtains module 610, processing module 620, the first determining module 630 and generates
At least one of module 640 can be implemented as executing with reference to the computer program module of Fig. 7 description by processor 710
When, corresponding operating described above may be implemented.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality
It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/
In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts
When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium
Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist
In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure
Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents,
A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment,
But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.
Claims (10)
1. a kind of video file processing method, comprising:
Obtain video file;
The video file is handled, the video file is divided into M video clip, wherein each video clip packet
An at least frame image is included, M is the integer greater than 1;
The representative image for determining each video clip at least obtains M frame representative image, wherein each video clip
Representative image can express the key content of corresponding video clip;And
General view image set is generated according to the multiframe representative image.
2. the N is whole greater than 2 according to the method described in claim 1, wherein, the video file includes N frame image
Number, is handled the video file, the video file, which is divided into M video clip, includes:
Determine the similarity of adjacent K frame image in the N frame image, wherein the K is more than or equal to 2 and less than the N's
Integer;And
The video file is divided into M video clip according to the similarity of the adjacent K frame image.
3. the N is whole greater than 2 according to the method described in claim 1, wherein, the video file includes N frame image
Number, is handled the video file, the video file, which is divided into M video clip, includes:
Determine the corresponding subtitle of each frame image or lines in the N frame image;
Determine the degree of association in the N frame image between the corresponding subtitle of each frame image or lines;And
The video file is divided into M piece of video according to the degree of association between the corresponding subtitle of each frame image or lines
Section.
4. the N is whole greater than 2 according to the method described in claim 1, wherein, the video file includes N frame image
Number, is handled the video file, the video file, which is divided into M video clip, includes:
Determine the corresponding barrage of each frame image in the N frame image;
Determine the corresponding barrage quantity of each frame image;And
The video file is divided into M video clip according to each frame image corresponding barrage quantity.
5. according to the method described in claim 1, wherein, each video clip includes one or more pictures, Mei Gehua
Face includes an at least frame image, determines that the representative image of each video clip includes:
Determine the playing duration for each picture that each video clip is included;
The key frame of corresponding video clip is determined according to the playing duration of each picture;And
The representative image of the correspondence video clip is determined from the key frame of the corresponding video clip.
6. according to the method described in claim 1, further include:
Determine that similarity is more than or equal to the similar representative image of targets threshold in the general view image set, wherein described similar
Representative image includes at least two representative images;
Obtain the concatenation for splicing the corresponding word content of every image in the similar representative image;
In response to the concatenation, the corresponding word content of every image in the similar representative image is spliced into one
Hold;
Obtain after splicing content is associated with the frame target image in the similar representative image;And
Filter out other representative images in the similar representative image in addition to the target image.
7. a kind of video file processing unit, comprising:
First obtains module, for obtaining video file;
The video file is divided into M video clip for handling the video file by processing module, wherein every
A video clip includes an at least frame image, and M is the integer greater than 1;
First determining module at least obtains M frame representative image for determining the representative image of each video clip, wherein
The representative image of each video clip can express the key content of corresponding video clip;And
Generation module, for generating general view image set according to the multiframe representative image.
8. the apparatus according to claim 1, wherein the video file includes N frame image, and the N is whole greater than 2
Number, the processing module include:
First determination unit, for determining the similarity of adjacent K frame image in the N frame image, wherein the K be greater than or
Integer equal to 2 and less than the N;And
First processing units, for the video file to be divided into M piece of video according to the similarity of the adjacent K frame image
Section.
9. a kind of computer system, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of
Processor realizes method described in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with executable instruction, which makes to handle when being executed by processor
Device realizes method described in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910192569.5A CN109819346A (en) | 2019-03-13 | 2019-03-13 | Video file processing method and processing device, computer system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910192569.5A CN109819346A (en) | 2019-03-13 | 2019-03-13 | Video file processing method and processing device, computer system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109819346A true CN109819346A (en) | 2019-05-28 |
Family
ID=66608953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910192569.5A Pending CN109819346A (en) | 2019-03-13 | 2019-03-13 | Video file processing method and processing device, computer system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109819346A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300325A (en) * | 2019-08-06 | 2019-10-01 | 北京字节跳动网络技术有限公司 | Processing method, device, electronic equipment and the computer readable storage medium of video |
CN110505502A (en) * | 2019-08-12 | 2019-11-26 | 咪咕视讯科技有限公司 | A kind of method for processing video frequency, equipment and computer readable storage medium |
CN110868632A (en) * | 2019-10-29 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Video processing method and device, storage medium and electronic equipment |
CN111078078A (en) * | 2019-11-29 | 2020-04-28 | 深圳市咨聊科技有限公司 | Video playing control method, device, terminal and computer readable storage medium |
CN111294646A (en) * | 2020-02-17 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Video processing method, device, equipment and storage medium |
CN111741359A (en) * | 2020-05-28 | 2020-10-02 | 杨伟 | Method and system for converting video into PPTX |
CN112258513A (en) * | 2020-10-23 | 2021-01-22 | 岭东核电有限公司 | Nuclear power test video segmentation method and device, computer equipment and storage medium |
CN112954450A (en) * | 2021-02-02 | 2021-06-11 | 北京字跳网络技术有限公司 | Video processing method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719144A (en) * | 2009-11-04 | 2010-06-02 | 中国科学院声学研究所 | Method for segmenting and indexing scenes by combining captions and video image information |
CN101901619A (en) * | 2010-07-16 | 2010-12-01 | 复旦大学 | Video player for enhancing user experience based on video content epitome |
CN104142799A (en) * | 2013-05-10 | 2014-11-12 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN104185073A (en) * | 2014-08-04 | 2014-12-03 | 北京奇虎科技有限公司 | Method and client for playing video by selecting corresponding video progress through picture |
CN104994425A (en) * | 2015-06-30 | 2015-10-21 | 北京奇艺世纪科技有限公司 | Video labeling method and device |
WO2016060358A1 (en) * | 2014-10-16 | 2016-04-21 | Samsung Electronics Co., Ltd. | Video processing apparatus and method |
CN108347643A (en) * | 2018-03-05 | 2018-07-31 | 成都索贝数码科技股份有限公司 | A kind of implementation method of the subtitle superposition sectional drawing based on deep learning |
CN108694236A (en) * | 2018-05-11 | 2018-10-23 | 优视科技有限公司 | Video data handling procedure, device and electronic equipment |
-
2019
- 2019-03-13 CN CN201910192569.5A patent/CN109819346A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719144A (en) * | 2009-11-04 | 2010-06-02 | 中国科学院声学研究所 | Method for segmenting and indexing scenes by combining captions and video image information |
CN101901619A (en) * | 2010-07-16 | 2010-12-01 | 复旦大学 | Video player for enhancing user experience based on video content epitome |
CN104142799A (en) * | 2013-05-10 | 2014-11-12 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN104185073A (en) * | 2014-08-04 | 2014-12-03 | 北京奇虎科技有限公司 | Method and client for playing video by selecting corresponding video progress through picture |
WO2016060358A1 (en) * | 2014-10-16 | 2016-04-21 | Samsung Electronics Co., Ltd. | Video processing apparatus and method |
CN104994425A (en) * | 2015-06-30 | 2015-10-21 | 北京奇艺世纪科技有限公司 | Video labeling method and device |
CN108347643A (en) * | 2018-03-05 | 2018-07-31 | 成都索贝数码科技股份有限公司 | A kind of implementation method of the subtitle superposition sectional drawing based on deep learning |
CN108694236A (en) * | 2018-05-11 | 2018-10-23 | 优视科技有限公司 | Video data handling procedure, device and electronic equipment |
Non-Patent Citations (3)
Title |
---|
曾志刚: "《数字剪辑技术》", 1 January 2018, 中国电影出版社 * |
栾悉道等: "《多媒体情报处理技术》", 31 May 2016, 国防工业出版社 * |
袁津生等: "《搜索引擎原理与实践》", 30 November 2008, 北京邮电大学出版社 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300325A (en) * | 2019-08-06 | 2019-10-01 | 北京字节跳动网络技术有限公司 | Processing method, device, electronic equipment and the computer readable storage medium of video |
CN110505502A (en) * | 2019-08-12 | 2019-11-26 | 咪咕视讯科技有限公司 | A kind of method for processing video frequency, equipment and computer readable storage medium |
CN110868632A (en) * | 2019-10-29 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Video processing method and device, storage medium and electronic equipment |
CN110868632B (en) * | 2019-10-29 | 2022-09-09 | 腾讯科技(深圳)有限公司 | Video processing method and device, storage medium and electronic equipment |
CN111078078A (en) * | 2019-11-29 | 2020-04-28 | 深圳市咨聊科技有限公司 | Video playing control method, device, terminal and computer readable storage medium |
CN111078078B (en) * | 2019-11-29 | 2021-06-15 | 深圳市镜玩科技有限公司 | Video playing control method, device, terminal and computer readable storage medium |
CN111294646A (en) * | 2020-02-17 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Video processing method, device, equipment and storage medium |
CN111294646B (en) * | 2020-02-17 | 2022-08-30 | 腾讯科技(深圳)有限公司 | Video processing method, device, equipment and storage medium |
CN111741359A (en) * | 2020-05-28 | 2020-10-02 | 杨伟 | Method and system for converting video into PPTX |
CN112258513A (en) * | 2020-10-23 | 2021-01-22 | 岭东核电有限公司 | Nuclear power test video segmentation method and device, computer equipment and storage medium |
CN112954450A (en) * | 2021-02-02 | 2021-06-11 | 北京字跳网络技术有限公司 | Video processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109819346A (en) | Video file processing method and processing device, computer system and readable storage medium storing program for executing | |
US10031649B2 (en) | Automated content detection, analysis, visual synthesis and repurposing | |
US10853402B2 (en) | Media file processing method and device, and media file sharing method and device in social media application | |
US9154856B2 (en) | Video segmenting | |
US7546554B2 (en) | Systems and methods for browsing multimedia content on small mobile devices | |
US8966372B2 (en) | Systems and methods for performing geotagging during video playback | |
US20140189589A1 (en) | Display apparatus and control method thereof | |
US8606775B2 (en) | Graphically representing associations between referents and stories | |
CN110914872A (en) | Navigating video scenes with cognitive insights | |
US8730397B1 (en) | Providing a photobook of video frame images | |
US8717500B1 (en) | Relational display of images | |
EP2426610A1 (en) | Display apparatus and displaying method of contents | |
CN109101616A (en) | Monitor video taking turn method, apparatus, equipment and medium based on electronic map | |
WO2021031733A1 (en) | Method for generating video special effect, and terminal | |
TW201421994A (en) | Video searching system and method | |
CN106464773A (en) | Augmented reality apparatus and method | |
US20150046796A1 (en) | Page formation method and electronic device supporting the method | |
CN104822078B (en) | The occlusion method and device of a kind of video caption | |
KR20150107382A (en) | The method for displaying contents | |
US20110110564A1 (en) | Electronic apparatus and image display | |
US20180277161A1 (en) | Accessing a Video Segment | |
US20120158707A1 (en) | Graphically representing associations between referents and points in a story | |
CN106028094A (en) | Video content providing method and device and electronic equipment | |
CN107437343A (en) | Interactive instructional system and method | |
CN109753482A (en) | File management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |