CN106095804B - A kind of processing method of video clip, localization method and terminal - Google Patents
A kind of processing method of video clip, localization method and terminal Download PDFInfo
- Publication number
- CN106095804B CN106095804B CN201610374833.3A CN201610374833A CN106095804B CN 106095804 B CN106095804 B CN 106095804B CN 201610374833 A CN201610374833 A CN 201610374833A CN 106095804 B CN106095804 B CN 106095804B
- Authority
- CN
- China
- Prior art keywords
- video
- target keywords
- file
- key
- barrage information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/732—Query formulation
- G06F16/7343—Query language or query format
-
- 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/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present invention provides processing method, localization method and the terminal of a kind of video clip, solves the problems, such as that video clip can not be accurately positioned in the prior art.The processing method includes: to determine the key video snippet in the video file to be processed according to the history barrage information in video file to be processed;The content of the history barrage information in the corresponding video playback time of the key video snippet is pre-processed, the corresponding target keywords of the key video snippet are obtained, the target keywords reflect the video content of the key video snippet;The target keywords are added into the subtitle file of the video file to be processed.The present invention is by the corresponding relationship of the target keywords and video clip that extract in barrage, and when video file plays, realization is quickly and accurately positioned video clip.Meet the video-see requirement of user, promotes user experience.
Description
Technical field
The present invention relates to technical field of video processing, processing method, localization method more particularly to a kind of video clip
And terminal.
Background technique
Currently, often existing only interested in certain video clips or wanting to skip when user watches video at the terminal
The demand of certain uninterested video clips.The prior art can pass through the video progress bar on dragging video playing interface
Method reaches the demand, but this method can not generally be accurately positioned, and to generally require to drag repeatedly can just find suitable position
It sets.
Certainly, there is also some improved methods in current video website.For example, the video on video playing interface
Increase preview frame below progress bar, allows user that can understand the position video letter that will be dragged to when dragging video progress bar in real time
Breath, alleviates the demand of a part of user.Even if in this way, view can not be positioned well because preview frame only has a secondary picture
Frequency details can not tackle the problem at its root.
Summary of the invention
The embodiment of the present invention provides processing method, localization method and the terminal of a kind of video clip, to solve the prior art
In the problem of important video clip can not be accurately positioned.
On the one hand, the embodiment of the present invention provides a kind of processing method of video clip, comprising:
According to the history barrage information in video file to be processed, the key video sequence in the video file to be processed is determined
Segment;
The content of the history barrage information in the corresponding video playback time of the key video snippet is carried out pre-
Processing, obtains the corresponding target keywords of the key video snippet, and the target keywords reflect the key video snippet
Video content;
The target keywords are added into the subtitle file of the video file to be processed.
On the other hand, the embodiment of the present invention also provides a kind of terminal, comprising:
Segment determining module, for determining the view to be processed according to the history barrage information in video file to be processed
Key video snippet in frequency file;
Processing module, in the history barrage information in the corresponding video playback time of the key video snippet
Appearance is pre-processed, and the corresponding target keywords of the key video snippet are obtained, and the target keywords reflect the key
The video content of video clip;
Execution module, for being added the target keywords into the subtitle file of the video file to be processed.
Another aspect, the embodiment of the present invention also provide a kind of localization method of video clip, comprising:
When current video file plays, the selected target keywords of user are obtained;
According to the first video clip included by the pre-recorded target keywords and the current video file
Corresponding relationship is positioned to first video clip, plays first video clip.
In another aspect, the embodiment of the present invention also provides a kind of terminal, comprising:
Module is obtained, for obtaining the selected target keywords of user when current video file plays;
Locating module, for according to included by pre-recorded target keywords and the current video file the
The corresponding relationship of one video clip is positioned to first video clip, plays first video clip.
The processing method of video clip provided in an embodiment of the present invention passes through the target keywords and view extracted in barrage
The corresponding relationship of frequency segment, when video file plays, realization is quickly and accurately positioned video clip.Meet the view of user
Frequency viewing requires, and promotes user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the processing method of video clip in first embodiment of the invention;
Fig. 2 is the flow chart of the processing method of video clip in second embodiment of the invention;
Fig. 3 is the specific flow chart of step 204 in Fig. 2;
Fig. 4 is the specific flow chart of step 205 in Fig. 2;
Fig. 5 is the flow chart of the localization method of video clip in third embodiment of the invention;
Fig. 6 is the flow chart of the localization method of video clip in fourth embodiment of the invention;
Fig. 7 is the specific flow chart of step 402 in Fig. 6;
Fig. 8 is to close in fifth embodiment of the invention by the way that the target keywords extracted in barrage are corresponding with video clip
System realizes the flow chart of the positioning to video clip;
Fig. 9 is one of the structural block diagram of terminal in sixth embodiment of the invention;
Figure 10 is two of the structural block diagram of terminal in sixth embodiment of the invention;
Figure 11 is one of the structural block diagram of terminal in seventh embodiment of the invention;
Figure 12 is two of the structural block diagram of terminal in seventh embodiment of the invention;
Figure 13 is the structural block diagram of terminal in eighth embodiment of the invention;
Figure 14 is the structural block diagram of terminal in ninth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
First embodiment
As shown in Figure 1, for the flow chart of the processing method of video clip in first embodiment of the invention.Below with reference to the figure
Illustrate the implementation process of the processing method of the video clip.
Step 101, it according to the history barrage information in video file to be processed, determines in the video file to be processed
Key video snippet.
It should be noted that barrage information, which refers to, is directly displayed at commenting on video display interface when video file plays
By.User can know the specific video content in video file by barrage information.Database on network server can be with
Store the history barrage information of all kinds of video files.
Step 102, in the history barrage information in the corresponding video playback time of the key video snippet
Appearance is pre-processed, and the corresponding target keywords of the key video snippet are obtained, and the target keywords reflect the key
The video content of video clip.
Step 103, the target keywords are added into the subtitle file of the video file to be processed.
The processing method of the video clip of the embodiment of the present invention obtains video by the history barrage information of video file
Key video snippet in file, and handled by the analysis to the history barrage information content, obtain reflection key video snippet
Video content keyword, finally the keyword for identifying key video snippet is set in the subtitle file of video file.
The processing method of the video clip, convenient for the video file in subsequent viewing, the fast and accurately positioning of video clip meets
The viewing demand of user promotes user experience.
Second embodiment
As shown in Fig. 2, for the flow chart of the processing method of video clip in second embodiment of the invention, below with reference to the figure
Illustrate the implementation process of the processing method of the video clip.
Step 201, the history barrage information recorded in video file to be processed is obtained, the history barrage information includes:
The content of every barrage information and the sending time of every barrage information.
Step 202, the transmission frequency of the history barrage message is detected, the transmission frequency is to send to go through in the unit time
The item number of history barrage information.
What needs to be explained here is that the unit time can be per second, per minute, per quarter etc..Here unit time is
Optional setting.
Step 203, it determines that the transmission frequency is greater than in the sending time of preset threshold and corresponds to the video to be processed
The video clip of file is key video snippet, and the sending time includes: one or more continuous unit time.
For example, preset threshold is 40/minute, when the transmission frequency of the history barrage information detected is greater than 40/point
Corresponding video playing segment in barrage access time section is then determined as key video snippet by Zhong Shi.
It should be noted that in order to prevent barrage information delay and cause the starting play time of key video snippet stagnant
Afterwards, usually past to be pushed forward several seconds generally by the starting play time of key video snippet toward a preset time is pushed forward.
Step 204, in the history barrage information in the corresponding video playback time of the key video snippet
Appearance is pre-processed, and the corresponding target keywords of the key video snippet are obtained, and the target keywords reflect the key
The video content of video clip.
Step 205, the target keywords are added into the subtitle file of the video file to be processed.
Preferably, as shown in figure 3, step 204 described in the embodiment of the present invention can also further comprise:
Step 2041, the history barrage information in the corresponding video playback time of the key video snippet is obtained.
Here, the history barrage information in the corresponding video playback time of key video snippet is generally a plurality of, including it
The preceding same time watches the barrage information of all users of the key video snippet.
Step 2042, dissection process is carried out to the content of a plurality of history barrage information, obtains the key video sequence piece
The corresponding target keywords of section.
It is preferred here that target keywords can be obtained by keyword extraction algorithms.
Here, the step 2042 also may particularly include:
The content of each history barrage information in a plurality of history barrage information is successively parsed, each history is extracted
Keyword undetermined in the content of barrage information;The keyword undetermined that frequency of occurrence is greater than preset times is determined as described
The corresponding target keywords of key video snippet.
It should be noted that the keyword in the content of history barrage information can extract to obtain by keyword extraction algorithms.
Wherein, which uses TextRank algorithm, which is used for as text generation keyword and plucks
It wants.The algorithm for extracting keyword other can certainly can be realized using CHI algorithm, TFIDF algorithm etc..Frequency of occurrence is greater than
The keyword undetermined of preset times is determined as the corresponding target keywords of the key video snippet.
Here, frequency of occurrence can be greater than to the pass undetermined of preset times by comparing multiple keywords undetermined
Key word is determined as the corresponding target keywords of the key video snippet.
For example, determining a crucial view by the transmission frequency of history barrage information in the video file of a football match
Frequency segment, the history barrage information in the corresponding video playback time of the key video snippet include the following: " goal ", " breathe out
Ha ha ha ", " into ", " scoring finally " etc..
Firstly, being analyzed by content of the keyword extraction algorithms to above-mentioned each barrage information, for example " score
" keyword be " goals ", " heartily " does not extract keyword, and the keyword of " into " is " into ", " finally into
The keyword of ball " is " goal ";Later, statistics classification is carried out to the keyword that these are extracted, finally, most by the frequency of occurrences
High one or several words are the keyword of " goal " as the key video snippet in this example.
It should be noted that the meaningless exclamation word in the content of history barrage information will not be identified as key
Word.
Preferably, as shown in figure 4, step 205 described in the embodiment of the present invention can also further comprise:
Step 2051, the corresponding subtitle file of the video file to be processed, the subtitling format of the subtitle file are obtained
In be provided with key field.
It should be noted that the format of subtitle file here is " keyword+serial number+time frame+subtitle ", that is,
Key field is added in original subtitle file.
The video content of video clip is that the example of the subtitle file of advertisement is as follows:
[keyword] advertisement;
[serial number] 2;
[time frame] 00:00:38,449--00:00:44,486;
[subtitle] you be prepare beat electronic game or gnaw this book?
Step 2052, according to the corresponding video playback time of the key video snippet, the target keywords are added
In to the key field corresponding with the subtitle file.
The processing method of the video clip of the embodiment of the present invention, according to the transmission of the history barrage information of video file frequency
Rate obtains the key video snippet in video file, and is handled by the analysis to the history barrage information content, obtains reflection and closes
The keyword for identifying key video snippet is finally set to the word of video file by the keyword of the video content of key video clip
In curtain file.The processing method of the video clip, convenient for the video file in subsequent watched, by obtaining user's selection
Keyword fast and accurately positions video clip, meets the viewing demand of user, promotes user experience.
3rd embodiment
As shown in figure 5, for the flow chart of the localization method of video clip in third embodiment of the invention, below with reference to the figure
Illustrate the implementation process of the localization method of the video clip.
Step 301, when current video file plays, the selected target keywords of user are obtained.
What needs to be explained here is that target keywords are used to identify the video content of video clip in current video file.
Step 302, the first view according to included by the pre-recorded target keywords and the current video file
The corresponding relationship of frequency segment is positioned to first video clip, plays first video clip.
It should be noted that corresponding relationship can be the play time of target keywords and video clip in video file
Correspondence.
The localization method of video clip provided in an embodiment of the present invention is closed by the way that target keywords are corresponding with video clip
System, when video file plays, realization is quickly and accurately positioned video clip.The video-see requirement for meeting user, mentions
Rise user experience.
Fourth embodiment
As shown in fig. 6, for the flow chart of the localization method of video clip in fourth embodiment of the invention, below with reference to the figure
Illustrate the implementation process of the localization method of the video clip.
Step 401, according to the subtitle file in current video file, the target keywords is obtained and the target is closed
Key word corresponds to the video playing position of first video clip, records the target keywords and first video clip
Corresponding relationship.
It should be noted that video playing position includes the starting play position and end play position of video clip,
It exactly originates playing time and terminates playing time.
Specifically, the target keywords for including in the subtitle file are multiple;Wherein, each target keywords respectively with
One video clip record has corresponding relationship.
Step 402, when current video file plays, the selected target keywords of user are obtained.
Step 403, the first view according to included by the pre-recorded target keywords and the current video file
The corresponding relationship of frequency segment is positioned to first video clip, plays first video clip.
Preferably, as shown in fig. 7, step 402 described in the localization method of the video clip of the embodiment of the present invention can be into one
Step includes:
Step 4021, when the current video file plays, the subtitle file is parsed, is judged in the subtitle file
It whether include multiple target keywords.
If so, thening follow the steps 4022;If it is not, then terminating process, target keywords are obtained by other means.
Step 4022, when in the subtitle file comprising multiple target keywords, institute is shown on playing display interface
State multiple target keywords.
Here, settable keyword display interface on display interface, the multiple targets that will be obtained from subtitle file are played
Keyword is shown on keyword display interface.
It is of course also possible to which setting identifies the preview text of target keywords on the video progress bar for playing display interface
The position of frame, each preview textbox is correspondingly arranged in the starting play position of each video clip.Preview text when the user clicks
When word frame, the target keywords in textbox are shown.
Here, the form for playing displaying target keyword on display interface is not limited to above two form, other can be real
Now show that the form of effect can be used.
Step 4023, user's wherein target keywords selected in the multiple target keywords are obtained.
The localization method of video clip provided in an embodiment of the present invention, by parse subtitle file obtain target keywords with
The corresponding relationship of video clip is realized when video file is played according to the corresponding relationship of target keywords and video clip
Video clip is quickly and accurately positioned.Meet the video-see requirement of user, promotes user experience.
5th embodiment
As shown in figure 8, for target keywords and video clip in fifth embodiment of the invention by being extracted in barrage
Corresponding relationship realize the flow chart to the positioning of video clip, the positioning for realizing video clip is illustrated below with reference to the figure
Implementation process.
Step 501, according to the history barrage information in current video file, the key in the current video file is determined
Video clip;
It should be noted that barrage information, which refers to, is directly displayed at commenting on video display interface when video file plays
By.User can know the specific video content in video file by barrage information.Database on network server can be with
Store the history barrage information of all kinds of video files.
Step 502, in the history barrage information in the corresponding video playback time of the key video snippet
Appearance is pre-processed, and the corresponding target keywords of the key video snippet are obtained, and the target keywords reflect the key
The video content of video clip;
Step 503, the target keywords are added into the subtitle file of the current video file;
Step 504, when current video file plays, the selected target keywords of user are obtained;
Step 505, the first view according to included by the pre-recorded target keywords and the current video file
The corresponding relationship of frequency segment is positioned to first video clip, plays first video clip.
It is preferred here that the step 501 can further comprise: obtaining the history barrage recorded in current video file
Information, the history barrage information include: the content of every barrage information and the sending time of every barrage information;Detection institute
The transmission frequency of history barrage message is stated, the frequency that sends is the item number that history barrage information is sent in the unit time;It determines
The frequency that sends is regarded greater than in the sending time of preset threshold corresponding to the video clip of the current video file to be crucial
Frequency segment, the sending time include: one or more continuous unit time.
Preferably, the step 502 can further comprise: obtain the corresponding video playback time of the key video snippet
The interior history barrage information;Dissection process is carried out to the content of a plurality of history barrage information, obtains the crucial view
The corresponding target keywords of frequency segment.
It should be noted that target keywords can be obtained by keyword extraction algorithms.
Wherein, dissection process is carried out to the content of a plurality of history barrage information, obtains the key video snippet pair
It can also further comprise in the step of target keywords answered: successively parse each history in a plurality of history barrage information
The content of barrage information extracts the keyword undetermined in the content of each history barrage information;Frequency of occurrence is greater than default
The keyword undetermined of number is determined as the corresponding target keywords of the key video snippet.
Preferably, the step 503 can further comprise: obtain the corresponding subtitle file of the current video file, institute
It states and is provided with key field in the subtitling format of subtitle file;When video playing corresponding according to the key video snippet
Between, the target keywords are added to the key field corresponding with the subtitle file.
It should be noted that the format of subtitle file here is " keyword+serial number+time frame+subtitle ", that is, in original
Key field is added in some subtitle files.
Here, before step 504, that is, when current video file plays, the selected target of user is obtained
Before keyword, further includes: according to the subtitle file in current video file, obtain the target keywords and the target
Keyword corresponds to the video playing position of first video clip, records the target keywords and first piece of video
The corresponding relationship of section.
Specifically, the target keywords for including in the subtitle file are multiple;Wherein, each target keywords respectively with
One video clip record has corresponding relationship.
Preferably, the step 504 can also further comprise: when the current video file plays, parse the word
Whether curtain file judges in the subtitle file comprising multiple target keywords;It include multiple targets in the subtitle file
When keyword, the multiple target keywords are shown on playing display interface;User is obtained in the multiple target keywords
Selected in a wherein target keywords.
The embodiment of the present invention passes through the target keywords and video clip extracted in the history barrage information of video file
Corresponding relationship, realize video file play when, video clip is quickly and accurately positioned.Meet the video-see of user
It is required that promoting user experience.
Sixth embodiment
As shown in figure 9, the embodiment of the present invention also provides a kind of terminal 600, the processing for video clip includes:
Segment determining module 601, for determining described to be processed according to the history barrage information in video file to be processed
Key video snippet in video file.
It should be noted that barrage information, which refers to, is directly displayed at commenting on video display interface when video file plays
By.User can know the specific video content in video file by barrage information.Database on network server can be with
Store the history barrage information of all kinds of video files.
Processing module 602, to the history barrage information in the corresponding video playback time of the key video snippet
Content pre-processed, the corresponding target keywords of the key video snippet are obtained, described in the target keywords reflection
The video content of key video snippet.
Execution module 603, for being added the target keywords into the subtitle file of the video file to be processed.
As shown in Figure 10, segment determining module 601 described in the terminal 600 of the embodiment of the present invention also may particularly include:
First barrage acquiring unit 6011, it is described for obtaining the history barrage information recorded in video file to be processed
History barrage information includes: the content of every barrage information and the sending time of every barrage information.
Detection unit 6012, for detecting the transmission frequency of the history barrage message, when the transmission frequency is unit
The interior item number for sending history barrage information.
What needs to be explained here is that the unit time can be per second, per minute, per quarter etc..Here unit time is
Optional setting.
Segment determination unit 6013 corresponds to institute for determining that the transmission frequency is greater than in the sending time of preset threshold
The video clip for stating video file to be processed is key video snippet, and the sending time includes: one or more continuous single
The position time.
For example, preset threshold is 40/minute, when the transmission frequency of the history barrage information detected is greater than 40/point
Corresponding video playing segment in barrage access time section is then determined as key video snippet by Zhong Shi.
It should be noted that in order to prevent barrage information delay and cause the starting play time of key video snippet stagnant
Afterwards, usually past to be pushed forward several seconds generally by the starting play time of key video snippet toward a preset time is pushed forward.
As shown in Figure 10, processing module 602 described in the terminal 600 of the embodiment of the present invention also may particularly include:
Second barrage acquiring unit 6021, for obtaining the institute in the corresponding video playback time of the key video snippet
State history barrage information;
Here, the history barrage information in the corresponding video playback time of key video snippet is generally a plurality of, including it
The preceding same time watches the barrage information of all users of the key video snippet.
Processing unit 6022 carries out dissection process for the content to a plurality of history barrage information, obtains the pass
The corresponding target keywords of key video clip.
It is preferred here that it is preferred here that target keywords can be obtained by keyword extraction algorithms.
Here, the processing unit 6022 is specifically used for: successively parsing each in a plurality of history barrage information and goes through
The content of history barrage information extracts the keyword undetermined in the content of each history barrage information;Frequency of occurrence is greater than pre-
If the keyword undetermined of number is determined as the corresponding target keywords of the key video snippet.
It should be noted that the keyword in the content of history barrage information can extract to obtain by keyword extraction algorithms.
The keyword extraction algorithms use TextRank algorithm, which is used to be text generation keyword and abstract.When
So the algorithm for extracting keyword other can also can be realized using CHI algorithm, TFIDF algorithm etc..
Here, frequency of occurrence can be greater than to the pass undetermined of preset times by comparing multiple keywords undetermined
Key word is determined as the corresponding target keywords of the key video snippet.
For example, determining a crucial view by the transmission frequency of history barrage information in the video file of a football match
Frequency segment, the history barrage information in the corresponding video playback time of the key video snippet include the following: " goal ", " breathe out
Ha ha ha ", " into ", " scoring finally " etc..
Firstly, being analyzed by content of the keyword extraction algorithms to above-mentioned each barrage information, for example " score
" keyword be " goals ", " heartily " does not extract keyword, and the keyword of " into " is " into ", " finally into
The keyword of ball " is " goal ";Later, statistics classification is carried out to the keyword that these are extracted, finally, most by the frequency of occurrences
High one or several words are " goal ", the keyword as the key video snippet in this example.
It should be noted that the meaningless exclamation word in the content of history barrage information will not be identified as key
Word.
As shown in Figure 10, execution module 603 described in the terminal 600 of the embodiment of the present invention also may particularly include:
Subtitle acquiring unit 6031, for obtaining the corresponding subtitle file of the video file to be processed, the subtitle text
Key field is provided in the subtitling format of part;
It should be noted that the format of subtitle file here is " keyword+serial number+time frame+subtitle ", that is,
Key field is added in original subtitle file.
The video content of video clip is that the example of the subtitle file of advertisement is as follows:
[keyword] advertisement;
[serial number] 2;
[time frame] 00:00:38,449--00:00:44,486;
[subtitle] you be prepare beat electronic game or gnaw this book?
Execution unit 6032, for according to the corresponding video playback time of the key video snippet, the target to be closed
Key word is added to the key field corresponding with the subtitle file.
The terminal of the embodiment of the present invention, segment determining module according to the transmission frequency of the history barrage information of video file,
The key video snippet in video file is obtained, processing module is handled by the analysis to the history barrage information content, is obtained anti-
The keyword of the video content of key video snippet is reflected, the keyword for identifying key video snippet is set to by last execution module
In the subtitle file of video file.The processing method of the video clip, convenient for the video file in subsequent watched, by obtaining
The keyword for taking family selection fast and accurately positions video clip, meets the viewing demand of user, promotes user's body
It tests.
7th embodiment
As shown in figure 11, the embodiment of the present invention also provides a kind of terminal 700, and the positioning for video clip includes:
Module 701 is obtained, for obtaining the selected target keywords of user when current video file plays.
What needs to be explained here is that target keywords are used to identify the video content of video clip in current video file.
Locating module 702, for according to included by the pre-recorded target keywords and the current video file
The first video clip corresponding relationship, positioning plays first video clip at first video clip.
It should be noted that corresponding relationship can be the play time of target keywords and video clip in video file
Correspondence.
Specifically, as shown in figure 12, the terminal 700 of the embodiment of the present invention may also include that
Corresponding relationship logging modle 703 is closed for when current video file plays, obtaining the selected target of user
Before key word, according to the subtitle file in current video file, the target keywords and the target keywords pair are obtained
It is corresponding with first video clip to record the target keywords for the video playing position of first video clip described in Ying Yu
Relationship.
It should be noted that video playing position includes the starting play position and end play position of video clip,
It exactly originates playing time and terminates playing time.
Specifically, the target keywords for including in the subtitle file are multiple;Wherein, each target keywords respectively with
One video clip record has corresponding relationship.
As shown in figure 12, the acquisition module 701 of the terminal of the embodiment of the present invention also may particularly include:
Analysis judgment unit 7011, for parsing the subtitle file, judging institute when the current video file plays
It whether states in subtitle file comprising multiple target keywords.
Display unit 7012 when for including multiple target keywords in the subtitle file, is playing display interface
Upper the multiple target keywords of display.
Here, settable keyword display interface on display interface, the multiple targets that will be obtained from subtitle file are played
Keyword is shown on keyword display interface.
It is of course also possible to which setting identifies the preview text of target keywords on the video progress bar for playing display interface
The position of frame, each preview textbox is correspondingly arranged in the starting play position of each video clip.Preview text when the user clicks
When word frame, the target keywords in textbox are shown.
Here, the form for playing displaying target keyword on display interface is not limited to above two form, other can be real
Now show that the form of effect can be used.
Acquiring unit 7013 obtains user's wherein target keywords selected in the multiple target keywords.
It should be noted that the terminal 700 of the embodiment of the present invention can be identical end with the terminal 600 in the 5th embodiment
End, can also be different terminals certainly.
Terminal provided in an embodiment of the present invention parses subtitle file by corresponding relationship logging modle and obtains target keywords
With the corresponding relationship of video clip, when video file plays, locating module is corresponding with video clip according to target keywords
Relationship is quickly and accurately positioned video clip to realize.Meet the video-see requirement of user, promotes user experience.
8th embodiment
It as shown in figure 13, is the structural block diagram of terminal in eighth embodiment of the invention.The packet of mobile terminal 800 shown in Figure 13
It includes: at least one processor 801, memory 802, at least one network interface 804 and other users interface 803.Mobile terminal
Various components in 800 are coupled by bus system 805.It is understood that bus system 805 for realizing these components it
Between connection communication.Bus system 805 further includes power bus, control bus and status signal in addition to including data/address bus
Bus.But for the sake of clear explanation, various buses are all designated as bus system 805 in Figure 13.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 502 of system and method described herein be intended to include but be not limited to these and
The memory of any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 8022.
In one embodiment of this invention, by the program or instruction of calling memory 802 to store, the specific can be that
The program or instruction stored in application program 8022, processor 801 are used to be believed according to the history barrage in video file to be processed
Breath, determines the key video snippet in the video file to be processed;When to the corresponding video playing of the key video snippet
The content of the interior history barrage information is pre-processed, and the corresponding target keywords of the key video snippet are obtained,
The target keywords reflect the video content of the key video snippet;The target keywords are added to described to be processed
In the subtitle file of video file.
It should be noted that history barrage information, target keywords and subtitle file can be stored in memory 802, it should
Processor 801 can call history barrage information, target keywords and subtitle file in memory 802.
Optionally, processor 801 is also used to: the history barrage information recorded in video file to be processed is obtained, it is described to go through
History barrage information includes: the content of every barrage information and the sending time of every barrage information;Detect the history barrage
The transmission frequency of message, the frequency that sends is the item number that history barrage information is sent in the unit time;Determine the transmission frequency
It is key video snippet, institute that rate, which is greater than in the sending time of preset threshold corresponding to the video clip of the video file to be processed,
Stating sending time includes: one or more continuous unit time.
Optionally, processor 801 is also used to: being obtained described in the corresponding video playback time of the key video snippet
History barrage information;Dissection process is carried out to the content of a plurality of history barrage information, obtains the key video snippet pair
The target keywords answered.
Optionally, processor 801 is also used to: successively being parsed each history barrage in a plurality of history barrage information and is believed
The content of breath extracts the keyword undetermined in the content of each history barrage information;Frequency of occurrence is greater than preset times
The keyword undetermined is determined as the corresponding target keywords of the key video snippet.
Optionally, processor 801 is also used to: obtaining the corresponding subtitle file of the video file to be processed, the subtitle
Key field is provided in the subtitling format of file;According to the corresponding video playback time of the key video snippet, by institute
Target keywords are stated to be added to the key field corresponding with the subtitle file.
The mobile terminal 800 of the embodiment of the present invention, processor 801 are used for according to the history barrage in video file to be processed
Information determines the key video snippet in the video file to be processed;Video playing corresponding to the key video snippet
The content of the history barrage information in time is pre-processed, and the corresponding target critical of the key video snippet is obtained
Word, the target keywords reflect the video content of the key video snippet;By the target keywords be added to it is described to
In the subtitle file for handling video file, convenient for video file in subsequent watched, by the keyword for obtaining user's selection
Video clip is fast and accurately positioned, the viewing demand of user is met, promotes user experience.
In another embodiment of the present invention, by the program or instruction for calling memory 802 to store, the specific can be that
The program or instruction stored in application program 8022, user interface 803 are used to obtain user when current video file plays
A selected target keywords;Processor 501 is used for according to the pre-recorded target keywords and the current video
The corresponding relationship of first video clip included by file is positioned to first video clip, plays first video
Segment.
What needs to be explained here is that target keywords can be stored in memory 802, which can call storage
Target keywords in device 802.
Optionally, which is also used to: when current video file plays, obtaining the selected target of user
Before keyword, according to the subtitle file in current video file, the target keywords and the target keywords are obtained
Corresponding to the video playing position of first video clip, pair of the target keywords Yu first video clip is recorded
It should be related to.
Specifically, the target keywords for including in the subtitle file are multiple;Wherein, each target keywords respectively with
One video clip record has corresponding relationship.
What needs to be explained here is that subtitle file also can be stored in memory 802, which can call storage
Subtitle file in device 802.
Optionally, which can also be specifically used for: when the current video file plays, parse the subtitle
Whether file judges in the subtitle file comprising multiple target keywords;It is closed in the subtitle file comprising multiple targets
When key word, the multiple target keywords are shown on playing display interface;User is obtained in the multiple target keywords
A selected wherein target keywords.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (PersonalDigital
Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 800 of the embodiment of the present invention is used to obtain when current video file plays by user interface 803
Take the selected target keywords in family;Processor 801 according to the pre-recorded target keywords with described for working as
The corresponding relationship of first video clip included by preceding video file, positioning is at first video clip, playing described the
One video clip, is quickly and accurately positioned video clip to realize.Meet the video-see requirement of user, promotes user's body
It tests.
The method that the embodiments of the present invention disclose can be applied in processor 801, or real by processor 801
It is existing.Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned place
Reason device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), dedicated integrated electricity
Road (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 802, and processor 801 reads the information in memory 802, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP),
Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD),
Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller
In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
9th embodiment
It as shown in figure 14, is the structural block diagram of terminal in ninth embodiment of the invention.In embodiments of the present invention, Tu14Zhong
Mobile terminal 900 include that radio frequency (RadioFrequency, RF) circuit 910, memory 920, input unit 930, display are single
Member 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980 and power supply 990.
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 900 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 931 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 960 is given again, and can be received order that processor 960 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit
930 can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 960 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 921, and calling storage
Data in second memory 922 execute the various functions and processing data of mobile terminal 900, thus to mobile terminal 900
Carry out integral monitoring.Optionally, processor 960 may include one or more processing units.
In one embodiment of this invention, by calling the software program and/or module that store in the first memory 921
And/or the data in the second memory 922, processor 960 are also used to according to the history barrage letter in video file to be processed
Breath, determines the key video snippet in the video file to be processed;When to the corresponding video playing of the key video snippet
The content of the interior history barrage information is pre-processed, and the corresponding target keywords of the key video snippet are obtained,
The target keywords reflect the video content of the key video snippet;The target keywords are added to described to be processed
In the subtitle file of video file.
It should be noted that history barrage information, target keywords and subtitle file are stored in second memory 922
In, which can call history barrage information, target keywords and subtitle file in second memory 922.
Optionally, processor 960 is also used to: the history barrage information recorded in video file to be processed is obtained, it is described to go through
History barrage information includes: the content of every barrage information and the sending time of every barrage information;Detect the history barrage
The transmission frequency of message, the frequency that sends is the item number that history barrage information is sent in the unit time;Determine the transmission frequency
It is key video snippet, institute that rate, which is greater than in the sending time of preset threshold corresponding to the video clip of the video file to be processed,
Stating sending time includes: one or more continuous unit time.
Optionally, processor 960 is also used to: being obtained described in the corresponding video playback time of the key video snippet
History barrage information;Dissection process is carried out to the content of a plurality of history barrage information, obtains the key video snippet pair
The target keywords answered.
Optionally, processor 960 is also used to: successively being parsed each history barrage in a plurality of history barrage information and is believed
The content of breath extracts the keyword undetermined in the content of each history barrage information;Frequency of occurrence is greater than preset times
The keyword undetermined is determined as the corresponding target keywords of the key video snippet.
Optionally, processor 960 is also used to: obtaining the corresponding subtitle file of the video file to be processed, the subtitle
Key field is provided in the subtitling format of file;According to the corresponding video playback time of the key video snippet, by institute
Target keywords are stated to be added to the key field corresponding with the subtitle file.
Mobile terminal 900 provided in an embodiment of the present invention, processor 960 are used for according to the history in video file to be processed
Barrage information determines the key video snippet in the video file to be processed;Video corresponding to the key video snippet
The content of the history barrage information in play time is pre-processed, and is obtained the corresponding target of the key video snippet and is closed
Key word, the target keywords reflect the video content of the key video snippet;The target keywords are added to described
In the subtitle file of video file to be processed, convenient for video file in subsequent watched, by the key for obtaining user's selection
Word fast and accurately positions video clip, meets the viewing demand of user, promotes user experience.
In another embodiment of the present invention, by calling the software program and/or mould that store in the first memory 921
Data in block and/or the second memory 922, input unit 930 are used to obtain user institute when current video file plays
One target keywords of selection;Processor 960 is used for according to the pre-recorded target keywords and current video text
The corresponding relationship of first video clip included by part is positioned to first video clip, plays first piece of video
Section.
It should be noted that the corresponding relationship of target keywords and target keywords and video clip is stored in second
In memory 922, which can call target keywords in second memory 922 and target keywords and video
The corresponding relationship of segment.
Optionally, which is also used to: when current video file plays, obtaining the selected target of user
Before keyword, according to the subtitle file in current video file, the target keywords and the target keywords are obtained
Corresponding to the video playing position of first video clip, pair of the target keywords Yu first video clip is recorded
It should be related to.
Specifically, the target keywords for including in the subtitle file are multiple;Wherein, each target keywords respectively with
One video clip record has corresponding relationship.
Preferably, which is also used to: when the current video file plays, parsing the subtitle file, sentences
Whether break in the subtitle file comprising multiple target keywords;Display unit 940 is used for: comprising more in the subtitle file
When a target keywords, the multiple target keywords are shown on playing display interface;Input unit 930 is also used to: being obtained
User's wherein target keywords selected in the multiple target keywords.
Mobile terminal 900 provided in an embodiment of the present invention is used to play in current video file by input unit 930
When, obtain the selected target keywords of user;Processor 960 is used for according to the pre-recorded target keywords and institute
The corresponding relationship of the first video clip included by current video file is stated, is positioned to first video clip, institute is played
The first video clip is stated, video clip is quickly and accurately positioned to realize.Meet the video-see requirement of user, is promoted and used
Family experience.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (PersonalDigital
Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 900 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is controlled by computer program to complete, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of processing method of video clip characterized by comprising
According to the history barrage information in video file to be processed, the key video sequence piece in the video file to be processed is determined
Section;
The content of the history barrage information in the corresponding video playback time of the key video snippet is pre-processed,
The corresponding target keywords of the key video snippet are obtained, the target keywords reflect the video of the key video snippet
Content;
The target keywords are added into the subtitle file of the video file to be processed;
According to the history barrage information in video file to be processed, the key video snippet in the video file to be processed is determined
The step of include:
The history barrage information recorded in video file to be processed is obtained, the history barrage information includes: every barrage information
Content and every barrage information sending time;
The transmission frequency of the history barrage information is detected, the frequency that sends is that history barrage information is sent in the unit time
Item number;
Determine that the transmission frequency is greater than the piece of video for corresponding to the video file to be processed in the sending time of preset threshold
Section is key video snippet, and the sending time includes: one or more continuous unit time, the key video snippet
Starting play time is the preset time before sending the starting sending time for the history barrage information that frequency is greater than preset threshold;
Include: by the step that the target keywords are added into the subtitle file of the video file to be processed
The corresponding subtitle file of the video file to be processed is obtained, is provided with keyword in the subtitling format of the subtitle file
Field, the format of the subtitle file are " keyword+serial number+time frame+subtitle ";
According to the corresponding video playback time of the key video snippet, the target keywords are added to literary with the subtitle
In the corresponding key field of part.
2. the processing method of video clip according to claim 1, which is characterized in that corresponding to the key video snippet
Video playback time in the content of the history barrage information pre-processed, it is corresponding to obtain the key video snippet
The step of target keywords includes:
Obtain the history barrage information in the corresponding video playback time of the key video snippet;
Dissection process is carried out to the content of a plurality of history barrage information, the corresponding target of the key video snippet is obtained and closes
Key word.
3. the processing method of video clip according to claim 2, which is characterized in that a plurality of history barrage information
Content the step of carrying out dissection process, obtaining the key video snippet corresponding target keywords include:
The content of each history barrage information in a plurality of history barrage information is successively parsed, each history barrage is extracted
Keyword undetermined in the content of information;
The keyword undetermined that frequency of occurrence is greater than preset times is determined as the corresponding target of the key video snippet to close
Key word.
4. a kind of terminal characterized by comprising
Segment determining module, for determining the video text to be processed according to the history barrage information in video file to be processed
Key video snippet in part;
Processing module, to the content of the history barrage information in the corresponding video playback time of the key video snippet into
Row pretreatment, obtains the corresponding target keywords of the key video snippet, and the target keywords reflect the key video sequence
The video content of segment;
Execution module, for being added the target keywords into the subtitle file of the video file to be processed;
The segment determining module includes:
First barrage acquiring unit, for obtaining the history barrage information recorded in video file to be processed, the history barrage
Information includes: the content of every barrage information and the sending time of every barrage information;
Detection unit, for detecting the transmission frequency of the history barrage information, the transmission frequency is to send in the unit time
The item number of history barrage information;
Segment determination unit, for determining that the transmission frequency is greater than in the sending time of preset threshold corresponding to described to be processed
The video clip of video file is key video snippet, and the sending time includes: one or more continuous unit time, institute
The starting play time for stating key video snippet is when sending the starting transmission for the history barrage information that frequency is greater than preset threshold
Between before preset time;
The execution module includes:
Subtitle acquiring unit, for obtaining the corresponding subtitle file of the video file to be processed, the subtitle of the subtitle file
Key field is provided in format, the format of the subtitle file is " keyword+serial number+time frame+subtitle ";
Execution unit, for according to the corresponding video playback time of the key video snippet, the target keywords to be added
In to the key field corresponding with the subtitle file.
5. terminal according to claim 4, which is characterized in that the processing module includes:
Second barrage acquiring unit, for obtaining the history bullet in the corresponding video playback time of the key video snippet
Curtain information;
Processing unit carries out dissection process for the content to a plurality of history barrage information, obtains the key video sequence piece
The corresponding target keywords of section.
6. terminal according to claim 5, which is characterized in that the processing unit is specifically used for: successively parsing a plurality of institute
The content of each history barrage information in history barrage information is stated, is extracted undetermined in the content of each history barrage information
Keyword;The keyword undetermined that frequency of occurrence is greater than preset times is determined as the corresponding target of the key video snippet
Keyword.
7. a kind of localization method of video clip characterized by comprising
When current video file plays, the selected target keywords of user are obtained, the target keywords are described work as
One of corresponding target keywords of key video snippet in preceding video file, the crucial view in the current video file
The corresponding target keywords of frequency segment pass through in advance to the history bullet in the corresponding video playback time of the key video snippet
What the content of curtain information was pre-processed;
It is corresponding with the first video clip included by the current video file according to the pre-recorded target keywords
Relationship is positioned to first video clip, plays first video clip;
When current video file plays, before obtaining the selected target keywords of user, the method also includes:
According to the subtitle file in current video file, obtains the target keywords and the target keywords correspond to institute
The video playing position for stating the first video clip records the corresponding relationship of the target keywords Yu first video clip;
It is described when current video file plays, the step of obtaining user's selected target keywords includes:
When the current video file plays, the subtitle file is parsed, whether is judged in the subtitle file comprising multiple
Target keywords;
When including multiple target keywords in the subtitle file, the multiple target critical is shown on playing display interface
Word;
Obtain user's wherein target keywords selected in the multiple target keywords;
Wherein, the broadcasting display interface is equipped with keyword display interface, and the multiple target keywords are shown in the key
On word display interface;Alternatively,
The video progress bar for playing display interface is equipped with the preview textbox of mark target keywords, each preview text
The position of frame is correspondingly arranged in the starting play position of each video clip, when user clicks preview textbox, shows text
Target keywords in frame.
8. the localization method of video clip according to claim 7, which is characterized in that the mesh for including in the subtitle file
It is multiple for marking keyword;Wherein, each target keywords have corresponding relationship with a video clip record respectively.
9. a kind of terminal characterized by comprising
Module is obtained, for obtaining the selected target keywords of user when current video file plays, the target is closed
Key word is one of the corresponding target keywords of key video snippet in the current video file, the current video text
When the corresponding target keywords of key video snippet in part pass through in advance to the key video snippet corresponding video playing
What the content of interior history barrage information was pre-processed;
Locating module, for the first view according to included by the pre-recorded target keywords and the current video file
The corresponding relationship of frequency segment is positioned to first video clip, plays first video clip;
The terminal further include:
Corresponding relationship logging modle, for current video file play when, obtain the selected target keywords of user it
Before, according to the subtitle file in current video file, obtains the target keywords and the target keywords correspond to institute
The video playing position for stating the first video clip records the corresponding relationship of the target keywords Yu first video clip;
The acquisition module includes:
Analysis judgment unit judges the subtitle text for parsing the subtitle file when the current video file plays
It whether include multiple target keywords in part;
Display unit shows institute on playing display interface when for including multiple target keywords in the subtitle file
State multiple target keywords;
Acquiring unit obtains user's wherein target keywords selected in the multiple target keywords;
Wherein, the broadcasting display interface is equipped with keyword display interface, and the multiple target keywords are shown in the key
On word display interface;Alternatively,
The video progress bar for playing display interface is equipped with the preview textbox of mark target keywords, each preview text
The position of frame is correspondingly arranged in the starting play position of each video clip, when user clicks preview textbox, shows text
Target keywords in frame.
10. terminal according to claim 9, which is characterized in that the target keywords for including in the subtitle file are more
It is a;Wherein, each target keywords have corresponding relationship with a video clip record respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610374833.3A CN106095804B (en) | 2016-05-30 | 2016-05-30 | A kind of processing method of video clip, localization method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610374833.3A CN106095804B (en) | 2016-05-30 | 2016-05-30 | A kind of processing method of video clip, localization method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106095804A CN106095804A (en) | 2016-11-09 |
CN106095804B true CN106095804B (en) | 2019-08-20 |
Family
ID=57230884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610374833.3A Active CN106095804B (en) | 2016-05-30 | 2016-05-30 | A kind of processing method of video clip, localization method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095804B (en) |
Families Citing this family (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106941625B (en) * | 2017-03-10 | 2019-08-02 | Oppo广东移动通信有限公司 | A kind of control method for playing back of mobile terminal, device and mobile terminal |
CN109286850B (en) * | 2017-07-21 | 2020-11-13 | Tcl科技集团股份有限公司 | Video annotation method and terminal based on bullet screen |
CN107707967A (en) * | 2017-09-30 | 2018-02-16 | 咪咕视讯科技有限公司 | The determination method, apparatus and computer-readable recording medium of a kind of video file front cover |
CN107743271B (en) * | 2017-10-19 | 2019-12-24 | 咪咕视讯科技有限公司 | Bullet screen processing method, electronic equipment and computer readable storage medium |
CN109729425B (en) * | 2017-10-27 | 2021-05-18 | 优酷网络技术(北京)有限公司 | Method and system for predicting key segments |
CN109729435A (en) * | 2017-10-27 | 2019-05-07 | 优酷网络技术(北京)有限公司 | The extracting method and device of video clip |
CN108307230B (en) * | 2018-02-07 | 2021-01-22 | 北京奇艺世纪科技有限公司 | Method and device for extracting video highlight |
CN108509128B (en) * | 2018-03-30 | 2022-03-25 | 联想(北京)有限公司 | Processing method, processing device and display method |
CN108665769B (en) * | 2018-05-11 | 2021-04-06 | 深圳市鹰硕技术有限公司 | Network teaching method and device based on convolutional neural network |
CN108449651B (en) * | 2018-05-24 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Subtitle adding method, device, equipment and storage medium |
CN110795597A (en) * | 2018-07-17 | 2020-02-14 | 上海智臻智能网络科技股份有限公司 | Video keyword determination method, video retrieval method, video keyword determination device, video retrieval device, storage medium and terminal |
CN110753269B (en) * | 2018-07-24 | 2022-05-03 | Tcl科技集团股份有限公司 | Video abstract generation method, intelligent terminal and storage medium |
CN108882024B (en) * | 2018-08-01 | 2021-08-20 | 北京奇艺世纪科技有限公司 | Video playing method and device and electronic equipment |
CN109344241B (en) * | 2018-09-25 | 2021-02-23 | Oppo广东移动通信有限公司 | Information recommendation method and device, terminal and storage medium |
CN109587578A (en) * | 2018-12-21 | 2019-04-05 | 麒麟合盛网络技术股份有限公司 | The processing method and processing device of video clip |
CN111385606A (en) * | 2018-12-28 | 2020-07-07 | Tcl集团股份有限公司 | Video preview method and device and intelligent terminal |
CN109933691B (en) * | 2019-02-11 | 2023-06-09 | 北京百度网讯科技有限公司 | Method, apparatus, device and storage medium for content retrieval |
CN109977239B (en) * | 2019-03-31 | 2023-08-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN111770386A (en) * | 2020-05-29 | 2020-10-13 | 维沃移动通信有限公司 | Video processing method, video processing device and electronic equipment |
CN112001184B (en) * | 2020-08-14 | 2022-10-11 | 西华大学 | User emotion difference region detection method and system for video bullet screen |
CN112188117B (en) * | 2020-08-29 | 2021-11-16 | 上海量明科技发展有限公司 | Video synthesis method, client and system |
CN113111220A (en) * | 2021-03-26 | 2021-07-13 | 北京达佳互联信息技术有限公司 | Video processing method, device, equipment, server and storage medium |
CN113873323B (en) * | 2021-07-28 | 2023-08-29 | 百度在线网络技术(北京)有限公司 | Video playing method, device, electronic equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414948A (en) * | 2013-08-01 | 2013-11-27 | 王强 | Method and device for playing video |
CN103761284A (en) * | 2014-01-13 | 2014-04-30 | 中国农业大学 | Video retrieval method and video retrieval system |
CN103823870A (en) * | 2014-02-26 | 2014-05-28 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104410920A (en) * | 2014-12-31 | 2015-03-11 | 合一网络技术(北京)有限公司 | Video segment playback amount-based method for labeling highlights |
CN104994425A (en) * | 2015-06-30 | 2015-10-21 | 北京奇艺世纪科技有限公司 | Video labeling method and device |
CN105302906A (en) * | 2015-10-29 | 2016-02-03 | 小米科技有限责任公司 | Information labeling method and apparatus |
-
2016
- 2016-05-30 CN CN201610374833.3A patent/CN106095804B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414948A (en) * | 2013-08-01 | 2013-11-27 | 王强 | Method and device for playing video |
CN103761284A (en) * | 2014-01-13 | 2014-04-30 | 中国农业大学 | Video retrieval method and video retrieval system |
CN103823870A (en) * | 2014-02-26 | 2014-05-28 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104410920A (en) * | 2014-12-31 | 2015-03-11 | 合一网络技术(北京)有限公司 | Video segment playback amount-based method for labeling highlights |
CN104994425A (en) * | 2015-06-30 | 2015-10-21 | 北京奇艺世纪科技有限公司 | Video labeling method and device |
CN105302906A (en) * | 2015-10-29 | 2016-02-03 | 小米科技有限责任公司 | Information labeling method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106095804A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095804B (en) | A kind of processing method of video clip, localization method and terminal | |
CN107145348B (en) | A kind of application program split screen processing method and mobile terminal | |
CN107404577B (en) | A kind of image processing method, mobile terminal and computer readable storage medium | |
CN106201177A (en) | A kind of operation execution method and mobile terminal | |
CN105824499A (en) | Window control method and mobile terminal | |
CN106341538B (en) | A kind of method for pushing and mobile terminal of lyrics poster | |
CN110308860A (en) | Screenshotss method and relevant apparatus | |
KR20140091555A (en) | Measuring web page rendering time | |
CN109561271A (en) | A kind of guidance method of terminal operation, first terminal and second terminal | |
CN107438204A (en) | A kind of method and mobile terminal of media file loop play | |
CN107172465B (en) | A kind of video playing control method and mobile terminal | |
CN107484025A (en) | A kind of barrage display methods and mobile terminal | |
CN108196760A (en) | A kind of method, apparatus and storage medium that collection processing is carried out using suspension list | |
CN106055232B (en) | A kind of processing method and mobile terminal of message | |
CN105095426A (en) | Processing method and device for search results | |
CN107566917A (en) | A kind of video marker method and video playback apparatus | |
WO2017107679A1 (en) | Historical information display method and apparatus | |
CN107026986B (en) | A kind of processing method and mobile terminal of video background music | |
CN106126662A (en) | A kind of electronic book displaying method and mobile terminal | |
CN107491482A (en) | A kind of reminding method and mobile terminal | |
CN104881224A (en) | Method and device for adding cards | |
CN111723235A (en) | Music content identification method, device and equipment | |
CN111835623B (en) | Unread message display method and device and electronic equipment | |
CN106468954B (en) | A kind of screen locking plays the method and mobile terminal of multi-medium data | |
CN107786894A (en) | A kind of recognition methods of user feedback data, mobile terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |