CN104104990B - Adjust the method and device of subtitle in video - Google Patents
Adjust the method and device of subtitle in video Download PDFInfo
- Publication number
- CN104104990B CN104104990B CN201410367596.9A CN201410367596A CN104104990B CN 104104990 B CN104104990 B CN 104104990B CN 201410367596 A CN201410367596 A CN 201410367596A CN 104104990 B CN104104990 B CN 104104990B
- Authority
- CN
- China
- Prior art keywords
- time
- subtitle
- video
- selection operation
- subtitles
- 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
Abstract
The disclosure is directed to a kind of method and devices for adjusting subtitle in video.The method includes:It when receiving caption editing instruction, is obtained and at least two subtitles and shown according to the current play time of video, the initial display time of at least two subtitles or terminated and show that time gap current play time is nearest;When receiving the selection operation to wherein one subtitle at least two subtitles, the operating time of selection operation is recorded, the operating time corresponds to the operation moment that user triggers when hearing that the corresponding sound of the selected subtitle of the selection operation plays;According to operating time and the initial display time of the selected subtitle of selection operation, adjust the initial display time of all subtitles of video and terminate the display time.Using the technical solution of the disclosure so that when user watches video, subtitle can be adjusted in the case that video caption and sound are nonsynchronous, so as to make subtitle and synchronous sound, improve the Experience Degree of user.
Description
Technical field
This disclosure relates to field of video processing more particularly to a kind of method and device for adjusting subtitle in video.
Background technology
At present, smart television is as a kind of information terminal, can not only be used for television channel searching, recording TV program,
Play satellite and the TV programme such as wired, can with down loading mounting software, web search is used to play Internet video, local video
And music etc., bring more individualized experiences for user.Therefore, smart television and tablet computer, personal computer etc., all into
In order to which people live and a very important part in work.
And movie and video programs are watched by smart television, tablet computer or personal computer, even more most users are to intelligence
The mainstream operation of energy TV, tablet computer or personal computer.When user watches movie and video programs, most of movie and video programs are all matched
There is Subtitle Demonstration, to improve the visual experience and auditory perception that user watches video.However, due to by video compress mode, regarding
The influence of the factors such as frequency size, player decoding capability, video in playing process it is possible that subtitle and picture sound not
Can be synchronous the problem of, influences the susceptibility that user watches video, this especially when picture sound and subtitle are not language of the same race
Sound and the nonsynchronous situation of subtitle can more seriously reduce the susceptibility of user.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of method and device for adjusting subtitle in video.
According to the embodiment of the present disclosure in a first aspect, provide it is a kind of adjust video in subtitle method, including:
When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown,
The initial display time of at least two subtitles or termination show that current play time described in time gap is nearest;
When receiving the selection operation to wherein one subtitle at least two subtitles, the selection behaviour is recorded
The operating time of work, the operating time correspond to user and are hearing that the corresponding sound of the selected subtitle of the selection operation broadcasts
The operation moment triggered when putting;
According to the operating time and the initial display time of the selected subtitle of the selection operation, the video is adjusted
All subtitles initial display time and terminate show the time.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining the subtitle of video,
And receive user according in video sentence initial time selection subtitle operation, according to user select subtitle operating time with
The initial display time of subtitle adjusts video caption so that in video caption and sound nonsynchronous when user watches video
In the case of subtitle can be adjusted, so as to make subtitle and synchronous sound, improve the Experience Degree of user.
Optionally, the caption editing instruction is to the selection operation of the menu option on screen or on remote control equipment
The clicking operation of single button or combination button.
In alternative, user can be by selecting key to run editor's mould on menu option or click remote control equipment
Formula.
Optionally, it is described when receiving caption editing instruction, obtain at least two according to the current play time of video
Subtitle simultaneously shows that the initial display time of at least two subtitles or termination show that current play time is most described in time gap
Closely, including:
When receiving caption editing instruction, caption editing interface is shown, including control on the caption editing interface adjusts
Whole option;
At least two subtitles, the initial display time of at least two subtitles are obtained according to the current play time of video
Or it terminates and shows that current play time described in time gap is nearest;When receive to it is described control adjustment option selection operation
When, at least two subtitles described in display on the caption editing interface.
In alternative, when receiving caption editing instruction, start edit pattern, provide a synchronization character to the user
The editing interface of curtain and sound, by editing interface, user can easily be adjusted subtitle.
Optionally, it is described when receiving caption editing instruction, caption editing interface is shown, on the caption editing interface
Option is adjusted including control, including:
Reduce the brightness of the video;
The caption editing interface is shown with certain transparency on the upper strata at the interface of the video.
In alternative, by reducing luminance video, and caption editing is shown with certain transparency above video
Interface so that user remains able to see video clip, and the subtitle shown on preview video interface when adjusting subtitle.
Optionally, it is described when receiving caption editing instruction, obtain at least two according to the current play time of video
Subtitle simultaneously shows that the initial display time of at least two subtitles or termination show that current play time is most described in time gap
After near, the method further includes:
The video is controlled to be played out with default broadcasting speed, the default broadcasting speed is less than the normal of the video
Broadcasting speed.
In alternative, during editing subtitle, video is played to be less than the speed of video normal playback speed, is made
The sentence initial time and the corresponding subtitle of the determining sentence of a sentence can more accurately be determined by obtaining user, so as to
More accurately adjust subtitle so that subtitle and synchronous sound.
Optionally, the initial display time according to the operating time and the selected subtitle of the selection operation,
It adjusts the initial display time of all subtitles of the video and terminates and show the time, including:
Calculate the time difference of the initial display time of the operating time and the selected subtitle of the selection operation;
According to the time difference, adjust the initial display time of all subtitles of the video and terminate the display time.
In alternative, the time between the operating time of subtitle and the initial display time of subtitle is selected according to user
Difference adjustment subtitle so that subtitle is synchronous with sound realization, improves the Experience Degree of user.
Optionally, it is described according to the time difference, adjust initial display time and the termination of all subtitles of the video
Show the time, including:
When the initial display time of operating time subtitle more selected than the selection operation shifts to an earlier date, regarded by described in
The initial display time of all subtitles of frequency and the interval for terminating the time difference described in display time advance;
When the initial display time of operating time subtitle more selected than the selection operation postpones, regarded by described in
The initial display time of all subtitles of frequency and the interval for terminating the time difference described in display time retardation.
In alternative, the time between the operating time of subtitle and the initial display time of subtitle is selected according to user
Difference adjustment subtitle, if initial display time is advanced, postpones the corresponding time difference, conversely, then shift to an earlier date the corresponding time difference, so as to
Make subtitle synchronous with sound realization, improve the Experience Degree of user.
Optionally, it is described when receiving the selection operation to wherein one subtitle at least two subtitles, note
It records the operating time of the selection operation, the operating time is hearing the selected subtitle of the selection operation corresponding to user
The operation moment that corresponding sound triggers when playing, including:
When being respectively received the selection operation to different subtitles, the operating time of each selection operation is recorded;
The initial display time according to the operating time and the selected subtitle of the selection operation, described in adjustment
The initial display time of all subtitles of video and termination show the time, including:
Calculate the initial display time of the operating time subtitle corresponding with the selection operation of each selection operation
Time difference, obtained at least two time differences;
Calculate the average value of at least two time difference;
According to the average value, adjust the initial display time of all subtitles of the video and terminate the display time.
In alternative, subtitle is adjusted according to the average value of multiple time differences so that subtitle adjustment is more accurate.
Optionally, the initial display time according to the operating time and the selected subtitle of the selection operation,
After adjusting the initial display time of all subtitles of the video and terminating the display time, the method further includes:
When receive the subtitle after the adjustment is shifted to an earlier date into the advance operation of the first preset time when, after the adjustment
The initial display time of subtitle and termination show the first preset time of time advance;Or
When receiving the postponement operation that the subtitle after the adjustment is postponed to the second preset time, after the adjustment
The initial display time of subtitle and termination show the second preset time of time retardation.
In alternative, according to user select subtitle operating time and subtitle initial display time between when
Between difference adjustment subtitle after, subtitle can be also finely adjusted, including shift to an earlier date the first preset time or postpone the second preset time,
So that subtitle adjustment is more accurate.
Optionally, the menu included on the caption editing interface has selection subtitle, size of caption, subtitle style, subtitle
Position and/or time adjustment;
After the display caption editing interface, the method further includes:
When receive to it is described selection title menu, size of caption menu, subtitle style menu, subtitle position menu and/
Or the option in time adjustment menu selection operation when, the subtitle for adjusting the video is corresponded to according to the selection operation.
It, can be directly by the way that the menu option in caption editing interface be selected to adjust subtitle so as to word in alternative
The adjustment of curtain is more convenient.
Optionally, resetting subtitle option is included on the caption editing interface;
After the display caption editing interface, the method further includes:
When receiving the selection operation to the resetting subtitle option, all subtitles of the video are reset to default
Default conditions.
In alternative, user can reset subtitle by the resetting subtitle option on caption editing interface, avoid word
The situation that curtain adjustment can not restore when wrong or dissatisfied.
Optionally, include determining option on the caption editing interface;
After the display caption editing interface, the method further includes:
When receiving the selection operation to the determining option, scrolling display and video synchronous sound on the video
The adjustment after subtitle, wherein, subtitle sentence corresponding with current video synchronous sound is highlighted.
In alternative, by selecting the determining option on caption editing interface, you can after showing adjustment in video
Subtitle, realize subtitle it is synchronous with sound, improve the Experience Degree of user.
Optionally, the method further includes:
Subtitle after the adjustment is uploaded into high in the clouds, the subtitle of the upload be used for and the high in the clouds on store it is described
Video is associated;
When receiving the playing request to the video, from high in the clouds obtain adjustment after with the associated word of the video
Curtain;
The associated subtitle of acquisition is shown on the video.
In alternative, the subtitle after adjustment is uploaded into high in the clouds, and be associated with the video on high in the clouds, thus
When playing the video again, you can using the subtitle after adjustment, without adjusting again and the nonsynchronous subtitle of sound.
According to the second aspect of the embodiment of the present disclosure, a kind of device for adjusting subtitle in video is provided, including:
First acquisition module, for when receive caption editing instruction when, according to the current play time of video obtain to
Few two subtitles, the initial display time of at least two subtitles or termination show that current play time is most described in time gap
Closely;
First display module, for showing at least two subtitles;Logging modle, for when receive to it is described at least
During the selection operation of wherein one subtitle in two subtitles, the operating time of the selection operation, the operating time are recorded
The operation moment triggered corresponding to user when hearing that the corresponding sound of the selected subtitle of the selection operation plays;
The first adjustment module, for the initial display according to the operating time and the selected subtitle of the selection operation
Time adjusts the initial display time of all subtitles of the video and terminates the display time.
Optionally, first acquisition module includes:
First display unit, for when receiving caption editing instruction, showing caption editing interface, the caption editing
Include control adjustment option on interface;
Acquiring unit, for obtaining at least two subtitles, at least two subtitles according to the current play time of video
Initial display time or terminate show time gap described in current play time it is nearest.
Optionally, first display unit includes:
Subelement is reduced, for reducing the brightness of the video;
Subelement is shown, for showing caption editing circle on the upper strata at the interface of the video with certain transparency
Face.
Optionally, described device further includes:
Control module, for it is described when receive caption editing instruction when, according to the current play time of video obtain to
Few two subtitles are simultaneously shown, currently playing described in the initial display time of at least two subtitles or termination display time gap
After time is nearest, the video is controlled to be played out with default broadcasting speed, the default broadcasting speed is less than the video
Normal playback speed.
Optionally, the first adjustment module includes:
First computing unit, for calculating the initial display of the operating time and the selected subtitle of the selection operation
The time difference of time;
The first adjustment unit, for according to the time difference, adjusting the initial display time of all subtitles of the video
The time is shown with terminating.
Optionally, the first adjustment unit includes:
The first adjustment subelement, for working as the initial display of operating time subtitle more selected than the selection operation
It, will be between the time difference described in the initial display time of all subtitles of the video and termination display time advance during time advance
Every;
Second adjustment subelement, for working as the initial display of operating time subtitle more selected than the selection operation
It, will be between the time difference described in the initial display time of all subtitles of the video and termination display time retardation when time postpones
Every.
Optionally, the logging modle includes:
Recording unit, for when being respectively received the selection operation to different subtitles, recording each selection operation
Operating time;
The first adjustment module includes:
Second computing unit, for calculating the operating time of each selection operation word corresponding with the selection operation
The time difference of the initial display time of curtain, obtained at least two time differences;
Third computing unit, for calculating the average value of at least two time difference;
Second adjustment unit, for according to the average value, adjusting the initial display time of all subtitles of the video
The time is shown with terminating.
Optionally, which is characterized in that described device further includes:
Second adjustment module, for described according to the initial of the operating time and the selected subtitle of the selection operation
The time is shown, after adjusting the initial display time of all subtitles of the video and terminating and show the time, when receiving institute
The subtitle after adjustment is stated when shifting to an earlier date the advance operation of the first preset time, by the initial display time of the subtitle after the adjustment and
It terminates and shows the first preset time of time advance;Subtitle after receiving the adjustment postpones the postponement of the second preset time
During operation, by the initial display time of the subtitle after the adjustment and display the second preset time of time retardation is terminated.
Optionally, the menu included on the caption editing interface has selection subtitle, size of caption, subtitle style, subtitle
Position and/or time adjustment;Described device further includes:
Third adjusts module, is received for working as to the selection title menu, size of caption menu, subtitle style dish
During the selection operation of single, subtitle position menu and/or the option in time adjustment menu, corresponded to and adjusted according to the selection operation
The subtitle of the video.
Optionally, resetting subtitle option is included on the caption editing interface;Described device further includes:
Module is reset, for when receiving the selection operation to the resetting subtitle option, by all of the video
Subtitle resets to preset default conditions.
Optionally, include determining option on the caption editing interface;Described device further includes:
Second display module, for when receiving the selection operation to the determining option, being rolled on the video
Display and the subtitle after the adjustment of video synchronous sound, wherein, subtitle sentence quilt corresponding with current video synchronous sound
It highlights.
Optionally, described device further includes:
Uploading module, for the subtitle after the adjustment to be uploaded to high in the clouds, the subtitle of the upload is used for and the cloud
The video stored on end is associated;
Second acquisition module, when receiving the playing request to the video, from high in the clouds obtain adjustment after with it is described
The associated subtitle of video;
Third display module, for showing the associated subtitle of acquisition on the video.
According to the third aspect of the embodiment of the present disclosure, a kind of device for adjusting subtitle in video is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown,
The initial display time of at least two subtitles or termination show that current play time described in time gap is nearest;
When receiving the selection operation to wherein one subtitle at least two subtitles, the selection behaviour is recorded
The operating time of work, the operating time correspond to user and are hearing that the corresponding sound of the selected subtitle of the selection operation broadcasts
The operation moment triggered when putting;
According to the operating time and the initial display time of the selected subtitle of the selection operation, the video is adjusted
All subtitles initial display time and terminate show the time.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart according to the method for subtitle in a kind of adjustment video shown in an exemplary embodiment;
Fig. 2 is the display interface figure according to the caption editing interface shown in an exemplary embodiment;
Fig. 3 is the flow chart of the method for subtitle in a kind of adjustment video exemplified according to a specific implementation;
Fig. 4 is according to the surface chart that subtitle is shown on the caption editing interface shown in an exemplary embodiment;
Fig. 5 is the flow chart according to the method for subtitle in a kind of adjustment video shown in another specific embodiment;
Fig. 6 is the block diagram according to the device of subtitle in a kind of adjustment video shown in an exemplary embodiment;
Fig. 7 is the block diagram according to the first acquisition module shown in an exemplary embodiment;
Fig. 8 is the block diagram according to the first display unit shown in an exemplary embodiment;
Fig. 9 is the block diagram according to the first adjustment module shown in an exemplary embodiment;
Figure 10 is the block diagram according to the first adjustment unit shown in an exemplary embodiment;
Figure 11 is the block diagram according to the logging modle shown in an exemplary embodiment;
Figure 12 is the block diagram according to a kind of device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is according to the flow chart of the method for subtitle in a kind of adjustment video shown in an exemplary embodiment, such as Fig. 1 institutes
Show, adjust the method for subtitle in video in terminal, including the following steps:
When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video by step S11
And show, it the initial display time of at least two subtitles or terminates and shows that time gap current play time is nearest;
Step S12, when receiving the selection operation to wherein one subtitle at least two subtitles, record selection behaviour
The operating time of work, operating time correspond to user and are triggered when hearing that the corresponding sound of the selected subtitle of selection operation plays
The operation moment;
Step S13 according to operating time and the initial display time of the selected subtitle of selection operation, adjusts the institute of video
There is the initial display time of subtitle and terminate and show the time.
Technical solution provided in this embodiment can include the following benefits:By obtaining the subtitle of video, and receive
User selects operating time and the subtitle of subtitle according to user according to the operation of the initial time selection subtitle of sentence in video
Initial display time adjusts video caption so that in video caption and sound nonsynchronous when user watches video
Subtitle can be adjusted, so as to make subtitle and synchronous sound, improve the Experience Degree of user.
In step s 11, caption editing instruction is to the selection operation of the menu option on screen or on remote control equipment
Single button or combination button clicking operation.For example, when playing video, there are setting options on screen, user may be selected
Setting options start edit pattern;Or, preset a certain button or multiple buttons on remote controler be combined as start editor
The button of pattern, when user clicks the button or multiple buttons on remote controler, you can start edit pattern.
Optionally, step S11 can be embodied as following steps:
Step A11 when receiving caption editing instruction, shows caption editing interface, includes on caption editing interface pair
According to adjustment option;
Step A12 obtains at least two subtitles according to the current play time of video, and at least two the initial of subtitle show for this
Show the time or terminate and show that time gap current play time is nearest;
Step A13 when receiving the selection operation to control adjustment option, shows at least two on caption editing interface
Subtitle.
Caption editing interface is shown on the screen, is provided the editing interface of a sychronization captions and sound to the user, is passed through
The control adjustment option on editing interface is clicked, user can be adjusted against the subtitle on editing interface and the sound of video
It is whole.
Wherein, step A11 can be embodied as following manner:
Step A111 reduces the brightness of video;
Step A112 shows caption editing interface on the upper strata at the interface of video with certain transparency.
Using this embodiment, by reducing luminance video, and caption editing interface is shown above video so that use
Family remains able to see video clip, and the subtitle shown on preview video interface when adjusting subtitle.For example, setting is transparent
It is 70% to spend, then shows caption editing interface on the upper strata at the interface of video with 70% transparency, in this way, user is in adjustment word
During curtain, remain to see video clip.
Step A12 can be implemented after step A11, the selection of control adjustment option can also be grasped receiving user
Implement after work.
In addition, after starting edit pattern, the broadcasting speed of also controllable video plays the broadcasting speed of video with default
Speed plays out, wherein, preset the normal playback speed that broadcasting speed is less than video.Video slow play is controlled, so as to
Allow users to more accurately determine the sentence initial time and the corresponding subtitle of the determining sentence of a sentence, into
And it can more accurately adjust subtitle.
Optionally, step S13 can be embodied as following manner:
The time difference of the initial display time of step S1301, calculating operation time and the selected subtitle of selection operation;
Step S1302 according to the time difference, adjusts the initial display time of all subtitles of video and terminates the display time.
Wherein, time difference is two kinds of positive time difference and negative time difference, and positive time difference, that is, operating time is than selection operation institute
The initial display time of the subtitle of selection shifts to an earlier date, and bears the initial aobvious of time difference, that is, operating time subtitle more selected than selection operation
Show that the time postpones, therefore, step S1302 can be embodied as following manner:
Step B11, when operated between the initial display time of subtitle more selected than selection operation when shifting to an earlier date, by video
The initial display time of all subtitles and the interval for terminating the display time advance time difference;
Step B12, when operated between the initial display time of subtitle more selected than selection operation when postponing, by video
The initial display time of all subtitles and the interval for terminating the display time retardation time difference.
Optionally, in step S12, in addition to receiving to the selection operation of wherein one subtitle at least two subtitles,
The selection operation to different subtitles can be also received respectively, when receiving the selection operation to different subtitles, record each selection
The operating time of operation.In this case, step S13 can be embodied as following manner:
Step S1311 calculates when initially the showing of operating time subtitle corresponding with selection operation of each selection operation
Between time difference, obtained at least two time differences;
Step S1312 calculates the average value of at least two time differences;
Step S1313 according to the average value of at least two time differences, adjusts the initial display time of all subtitles of video
The time is shown with terminating.
Optionally, after implementation steps S13, the subtitle after being adjusted according to the time difference can be also finely adjusted, wrapped
It includes:When receive the subtitle after adjustment is shifted to an earlier date into the advance operation of the first preset time when, by the initial aobvious of the subtitle after adjustment
Show the time and terminate and show the first preset time of time advance;Or, when receiving that the subtitle postponement second after adjustment is default
Between postponement operation when, by the initial display time of the subtitle after adjustment and terminate show the second preset time of time retardation.Example
Such as, after according to operating time and the time difference of the initial display time of the selected subtitle of selection operation adjustment subtitle, video
Subtitle is still postponed 0.5 second than the sentence of sound in video, then it is 0.5 second that can set the first preset time, and subtitle is shifted to an earlier date again
0.5 second;Alternatively, according to the operating time and the time difference of the initial display time of the selected subtitle of selection operation adjustment subtitle it
Afterwards, video caption still shifts to an earlier date 0.25 second than the sentence of sound in video, then it is 0.25 second that can set the second preset time, by word
Curtain is postponed 0.25 second again.
Optionally, in the above method, after starting edit pattern, not only include on the caption editing interface that is shown on screen
Control adjustment option, has further included following menu:Select subtitle, size of caption, subtitle style, subtitle position and/or time tune
It is whole.Selection title menu, size of caption menu, subtitle style menu, subtitle position menu and/or time are adjusted when receiving
During the selection operation of the option in menu, the subtitle of adjustment video is corresponded to according to selection operation.
Wherein, selection title menu can include subtitle 1 (in), subtitle 2 (China and Britain), the closing options such as subtitle.Work as user
Select subtitle 1 (in) option when, Chinese subtitle will be shown on video, when user selects subtitle 2 (China and Britain) option, on video
It will show the subtitle of bilingual, when user selects to close subtitle option, the subtitle shown on video will be hidden.
Size of caption menu can include it is small, in, big three kinds of options, user can be by selecting the choosing in size of caption menu
The size of item adjustment subtitle.
Subtitle style menu can include very thin, white intermediate, the white runic of white, yellow be very thin, among yellow, yellow
The options such as runic.User can be by selecting the option in subtitle style menu to adjust the pattern of subtitle.
Subtitle position menu can include the choosings such as top is on the upper side, top is normal, bottom is on the upper side, bottom is normal, bottom is on the lower side
.User can be by selecting the option in subtitle position menu to adjust the position that subtitle is shown in video.
Time adjustment menu can include following option:Subtitle shift to an earlier date 0.5 second, subtitle shift to an earlier date 2 seconds, subtitle postpone 0.5 second,
Subtitle is postponed 2 seconds etc..User can adjust the option in menu by selecting the time, the quick initial display time for adjusting subtitle and
It terminates and shows the time.
Optionally, resetting subtitle option is included in the above method, on caption editing interface, resetting subtitle is selected when receiving
During the selection operation of item, all subtitles of video are reset into preset default conditions.
Optionally, in the above method, on caption editing interface include determine option, when receive to determine option selection
During operation, scrolling display and the subtitle after the adjustment of video synchronous sound on video, wherein, with current video synchronous sound pair
The subtitle sentence answered is highlighted.For example, two subtitles on video after scrolling display adjustment, the color of subtitle is white,
When video sound and a captioning synchronization in two subtitles to it is corresponding when this subtitle is then highlighted with yellow.
Optionally, after subtitle is adjusted, the above method further includes following steps:
Subtitle after adjustment is uploaded to high in the clouds by step C11, and the subtitle of upload is used to carry out with the video stored on high in the clouds
Association;
Step C12, when receiving the playing request to video, from high in the clouds obtain adjustment after with the associated word of video
Curtain;
Step C13 shows the associated subtitle of acquisition on video.
Subtitle after adjustment is uploaded into high in the clouds, and be associated with the video on high in the clouds, so as to be regarded playing this again
During frequency, you can using the subtitle after adjustment, without adjusting again and the nonsynchronous subtitle of sound.
The method of subtitle in a kind of adjustment video of disclosure offer is provided below by specific embodiment.
Embodiment one
The embodiment adjusts video caption accordingly by user to the selection of the different options on caption editing interface.
Fig. 2 show user and starts the caption editing interface shown after edit pattern, as shown in Fig. 2, including on caption editing interface 20
Select title menu, size of caption menu, subtitle style menu, subtitle position menu and time adjustment menu.Wherein, word is selected
Curtain menu includes 4 options:Subtitle 1 (in), subtitle 2 (China and Britain), close subtitle and resetting subtitle;In size of caption menu
Including 3 options:It is small, in and it is big;Subtitle style menu includes 6 options:Very thin, white intermediate, the white runic of white,
Yellow is very thin, among yellow and yellow runic;Subtitle position menu includes 5 options:Top is on the upper side, top is normal, bottom
Portion is on the upper side, bottom is normal and bottom is on the lower side;Time adjustment menu includes 5 options:Subtitle shift to an earlier date 0.5 second, subtitle shift to an earlier date 2
Second, subtitle postpone 0.5 second, subtitle is postponed 2 seconds and control adjustment.
Fig. 3 show the method flow diagram that the subtitle in video is adjusted in the embodiment.As shown in figure 3, including following step
Suddenly:
Step S301 receives caption editing instruction;
Step S302, display caption editing interface;
Step S303 receives selection operation of the user to the option on caption editing interface;
Step S304, whether judge that user selects for control adjusts option;If user's selection is control adjustment choosing
, then perform step S305;If user's selection is not control adjustment option, step S311 is performed;
Step S305 obtains four subtitles according to the current play time of video and shows;
Step S306 receives selection operation of the user to wherein one subtitle, records the operating time of selection operation;
The time difference of the initial display time of step S307, calculating operation time and the selected subtitle of selection operation;
Step S308 judges whether the time difference is the positive time difference;If positive time difference, i.e. operating time than selection operation institute
The initial display time of the subtitle of selection shifts to an earlier date, then performs step S309,;If not the positive time difference, the as negative time difference, operation
The initial display time of time subtitle more selected than selection operation postpones, then performs step S310;
Step S309, will be between the initial display time of all subtitles of video and termination display time advance time difference
Every;
Step S310, will be between the initial display time of all subtitles of video and termination display time retardation time difference
Every;
Step S311, the option on caption editing interface selected according to user adjust subtitle.
Wherein, in step S305, four subtitles of display are as shown in figure 4, when user selects control adjustment option, subtitle
Four subtitles of acquisition will be shown on editing interface 20, including subtitle a, subtitle b, subtitle c and subtitle d.For example, it currently broadcasts
Sentence in the video put is corresponding with subtitle b, and user selects subtitle b according to the sentence initial time of the sentence, that is, user hears
Subtitle b is selected while the sentence, clicks and determines option, you can complete the adjustment to subtitle.
Using the method for subtitle in the adjustment video in above-described embodiment, by receiving user on caption editing interface
The selection operation of option, adjusts accordingly subtitle, when user selects control adjustment option, shows the video that gets
Subtitle, and operation of the user according to the initial time selection subtitle of sentence in video is received, the operation of subtitle is selected according to user
The initial display time of time and subtitle adjusts video caption so that when user watches video, in video caption and sound not
Subtitle can be adjusted in the case of synchronization, so as to make subtitle and synchronous sound, improve the Experience Degree of user.
Embodiment two
The embodiment is by receiving selection operation of the user to different subtitles, and according to the operating time of multiple selection operations
The average value of multiple time differences of the initial display time of subtitle corresponding with selection operation adjusts the subtitle of video.Fig. 5 institutes
It is shown as adjusting the method flow diagram of the subtitle in video in the embodiment, as shown in figure 5, including the following steps:
Step S51 receives caption editing instruction, display caption editing interface;
Step S52 obtains four subtitles a, b, c and d according to the current play time of video;
Step S53, when receiving selection operation of the user to the control adjustment option on caption editing interface, display obtains
Four subtitles got;
Step S54 receives selection operation of the user to subtitle b, and records the operating time A of the selection operation;
Step S55 receives selection operation of the user to subtitle c, and records the operating time B of the selection operation;
Step S56 receives selection operation of the user to subtitle d, and records the operating time C of the selection operation;
Step S57, calculating operation time A, operating time B, operating time C are initial with respective selected subtitle respectively
It shows the time difference of time, obtains three time differences;
Step S58 calculates the average value of above three time difference;
Step S59 according to the average value of above three time difference, adjusts the subtitle of video.
Using the method for subtitle in the adjustment video in above-described embodiment, by obtaining the subtitle of video, and receive respectively
User selects the operation of a plurality of subtitle according to the initial time of sentence in video, calculates the operating time that user selects every subtitle
With the time difference of the initial display time of every subtitle, video caption is adjusted according to the average value of multiple time differences, so as to make
Subtitle adjustment is more accurate.
Fig. 6 is the device block diagram according to subtitle in a kind of adjustment video shown in an exemplary embodiment.It, should with reference to Fig. 6
Device includes:
First acquisition module 601, for when receiving caption editing instruction, being obtained according to the current play time of video
At least two subtitles simultaneously show, the initial display time of at least two subtitles or terminate and show time gap current play time most
Closely;
First display module 602, for showing at least two subtitles;
Logging modle 603, for when receiving the selection operation to wherein one subtitle at least two subtitles, remembering
The operating time of selection operation is recorded, the operating time is hearing the corresponding sound of the selected subtitle of the selection operation corresponding to user
The operation moment that sound triggers when playing;
The first adjustment module 604, for the initial display time according to operating time and the selected subtitle of selection operation,
It adjusts the initial display time of all subtitles of video and terminates and show the time;
Control module 605, for when receiving caption editing instruction, being obtained at least according to the current play time of video
Two subtitles simultaneously show, the initial display time of at least two subtitles or terminate show time gap current play time recently it
Afterwards, control video is played out with default broadcasting speed, presets the normal playback speed that broadcasting speed is less than video;
Second adjustment module 606, for the initial display according to the operating time and the selected subtitle of selection operation
Time, after adjusting the initial display time of all subtitles of video and terminating the display time, word after receiving adjustment
When curtain shifts to an earlier date the advance operation of the first preset time, by the initial display time of the subtitle after adjustment and display time advance is terminated
First preset time;When receiving the postponement operation that the subtitle after adjustment is postponed to the second preset time, by the word after adjustment
The initial display time of curtain and termination show the second preset time of time retardation;
Third adjust module 607, for when receive to selection title menu, size of caption menu, subtitle style menu,
During the selection operation of subtitle position menu and/or the option in time adjustment menu, adjustment video is corresponded to according to selection operation
Subtitle;
Reset module 608, for when receive to reset subtitle option selection operation when, by all subtitle weights of video
It is set to preset default conditions;
Second display module 609, for when receive to determine option selection operation when, on video scrolling display with
Subtitle after the adjustment of video synchronous sound, wherein, subtitle sentence corresponding with current video synchronous sound is highlighted;
Uploading module 610, for the subtitle after adjusting to be uploaded to high in the clouds, the subtitle of upload be used for and high in the clouds on store
Video is associated;
Second acquisition module 611, when receiving the playing request to video, being closed with video after obtaining adjustment from high in the clouds
The subtitle of connection;
Third display module 612, for showing the associated subtitle of acquisition on video.
Optionally, the first acquisition module 601 is included with lower unit, as shown in Figure 7:
First display unit 6011, for when receiving caption editing instruction, showing caption editing interface, caption editing
Include control adjustment option on interface;
Acquiring unit 6012, for obtaining at least two subtitles, at least two subtitles according to the current play time of video
Initial display time or terminate show time gap current play time it is nearest.
Optionally, the first display unit 6011 includes following subelement, as shown in Figure 8:
Subelement 60111 is reduced, for reducing the brightness of video;
Subelement 60112 is shown, for showing caption editing interface on the upper strata at the interface of video with certain transparency.
Optionally, the first adjustment module 604 is included with lower unit, as shown in Figure 9:
First computing unit 6041, for calculating operation time and the initial display time of the selected subtitle of selection operation
Time difference;
The first adjustment unit 6042, for according to the time difference, adjusting initial display time and the end of all subtitles of video
Only show the time;
Second computing unit 6043, for calculating the operating time of each selection operation subtitle corresponding with selection operation
The time difference of initial display time obtained at least two time differences;
Third computing unit 6044, for calculating the average value of at least two time differences;
Second adjustment unit 6045 for the average value according at least two time differences, adjusts all subtitles of video
Initial display time and termination show the time.
Optionally, the first adjustment unit 6042 includes following subelement, as shown in Figure 10:
The first adjustment subelement 60421, between when operated during the initial display of subtitle more selected than selection operation
Between in advance when, by the initial display time of all subtitles of video and terminate show the time advance time difference interval;
Second adjustment subelement 60422, between when operated during the initial display of subtitle more selected than selection operation
Between when postponing, the initial display time of all subtitles of video and terminating is shown to the interval of time retardation time difference.
Optionally, logging modle 603 is included with lower unit, as shown in figure 11:
Recording unit 6031, for when being respectively received the selection operation to different subtitles, recording each selection operation
Operating time.
Technical solution provided in this embodiment can include the following benefits:By obtaining the subtitle of video, and receive
User selects operating time and the subtitle of subtitle according to user according to the operation of the initial time selection subtitle of sentence in video
Initial display time adjusts video caption so that in video caption and sound nonsynchronous when user watches video
Subtitle can be adjusted, so as to make subtitle and synchronous sound, improve the Experience Degree of user.About the dress in above-described embodiment
It puts, wherein modules perform the concrete mode operated and are described in detail in the embodiment in relation to this method, this
Explanation will be not set forth in detail in place.
In one embodiment, a kind of device for adjusting subtitle in video is also provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown,
The initial display time of at least two subtitles or termination show that current play time described in time gap is nearest;
When receiving the selection operation to wherein one subtitle at least two subtitles, the selection behaviour is recorded
The operating time of work, the operating time correspond to user and are hearing that the corresponding sound of the selected subtitle of the selection operation broadcasts
The operation moment triggered when putting;
According to the operating time and the initial display time of the selected subtitle of the selection operation, the video is adjusted
All subtitles initial display time and terminate show the time.
Figure 12 is the block diagram according to a kind of device 800 for being used to adjust subtitle in video shown in an exemplary embodiment.
For example, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet sets
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Figure 12, device 800 can include following one or more components:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814 and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing element 802 can refer to including one or more processors 820 to perform
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 can include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown
Example includes the instruction of any application program or method for being operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or
During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect opening/closed state of equipment 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 can include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of method for adjusting subtitle in video, the method includes:
When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown,
The initial display time of at least two subtitles or termination show that current play time described in time gap is nearest;
When receiving the selection operation to wherein one subtitle at least two subtitles, the selection behaviour is recorded
The operating time of work, the operating time correspond to user and are hearing that the corresponding sound of the selected subtitle of the selection operation broadcasts
The operation moment triggered when putting;
According to the operating time and the initial display time of the selected subtitle of the selection operation, the video is adjusted
All subtitles initial display time and terminate show the time.
Caption editing instruction is to the selection operation of the menu option on screen or single on remote control equipment is pressed
The clicking operation of key or combination button.
It is described when receiving caption editing instruction, obtained and at least two subtitles and shown according to the current play time of video
To show, the initial display time of at least two subtitles or termination show that current play time described in time gap is nearest, including:
When receiving caption editing instruction, caption editing interface is shown, including control on the caption editing interface adjusts
Whole option;
At least two subtitles, the initial display time of at least two subtitles are obtained according to the current play time of video
Or it terminates and shows that current play time described in time gap is nearest;When receive to it is described control adjustment option selection operation
When, at least two subtitles described in display on the caption editing interface.
It is described to show caption editing interface when receiving caption editing instruction, include on the caption editing interface pair
According to adjustment option, including:
Reduce the brightness of the video;
The caption editing interface is shown with certain transparency on the upper strata at the interface of the video.
It is described when receiving caption editing instruction, obtained and at least two subtitles and shown according to the current play time of video
Show, after current play time described in the initial display time of at least two subtitles or termination display time gap is nearest,
The method further includes:
The video is controlled to be played out with default broadcasting speed, the default broadcasting speed is less than the normal of the video
Broadcasting speed.
The initial display time according to the operating time and the selected subtitle of the selection operation, described in adjustment
The initial display time of all subtitles of video and termination show the time, including:
Calculate the time difference of the initial display time of the operating time and the selected subtitle of the selection operation;
According to the time difference, adjust the initial display time of all subtitles of the video and terminate the display time.
It is described according to the time difference, when adjusting the initial display time of all subtitles of the video and terminating display
Between, including:
When the initial display time of operating time subtitle more selected than the selection operation shifts to an earlier date, regarded by described in
The initial display time of all subtitles of frequency and the interval for terminating the time difference described in display time advance;
When the initial display time of operating time subtitle more selected than the selection operation postpones, regarded by described in
The initial display time of all subtitles of frequency and the interval for terminating the time difference described in display time retardation.
It is described when receiving the selection operation to wherein one subtitle at least two subtitles, record the choosing
It selects the operating time of operation, the operating time is hearing the corresponding sound of the selected subtitle of the selection operation corresponding to user
The operation moment that sound triggers when playing, including:
When being respectively received the selection operation to different subtitles, the operating time of each selection operation is recorded;
The initial display time according to the operating time and the selected subtitle of the selection operation, described in adjustment
The initial display time of all subtitles of video and termination show the time, including:
Calculate the initial display time of the operating time subtitle corresponding with the selection operation of each selection operation
Time difference, obtained at least two time differences;
Calculate the average value of at least two time difference;
According to the average value of at least two time difference, adjust all subtitles of the video initial display time and
It terminates and shows the time.
The initial display time according to the operating time and the selected subtitle of the selection operation, described in adjustment
After the initial display time of all subtitles of video and termination show the time, the method further includes:
When receive the subtitle after the adjustment is shifted to an earlier date into the advance operation of the first preset time when, after the adjustment
The initial display time of subtitle and termination show the first preset time of time advance;Or
When receiving the postponement operation that the subtitle after the adjustment is postponed to the second preset time, after the adjustment
The initial display time of subtitle and termination show the second preset time of time retardation.
The menu included on the caption editing interface have selection subtitle, size of caption, subtitle style, subtitle position and/
Or time adjustment;
After the display caption editing interface, the method further includes:
When receive to it is described selection title menu, size of caption menu, subtitle style menu, subtitle position menu and/
Or the option in time adjustment menu selection operation when, the subtitle for adjusting the video is corresponded to according to the selection operation.
Include resetting subtitle option on the caption editing interface;
After the display caption editing interface, the method further includes:
When receiving the selection operation to the resetting subtitle option, all subtitles of the video are reset to default
Default conditions.
Include determining option on the caption editing interface;
After the display caption editing interface, the method further includes:
When receiving the selection operation to the determining option, scrolling display and video synchronous sound on the video
The adjustment after subtitle, wherein, subtitle sentence corresponding with current video synchronous sound is highlighted.
The method further includes:
Subtitle after the adjustment is uploaded into high in the clouds, the subtitle of the upload be used for and the high in the clouds on store it is described
Video is associated;
When receiving the playing request to the video, from high in the clouds obtain adjustment after with the associated word of the video
Curtain;
The associated subtitle of acquisition is shown on the video.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.
Claims (20)
- A kind of 1. method for adjusting subtitle in video, which is characterized in that including:When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown, it is described The initial display time of at least two subtitles terminates and shows that current play time described in time gap is nearest;The video is controlled to be played out with default broadcasting speed, the default broadcasting speed is less than the normal play of the video Speed;When receiving the selection operation to wherein one subtitle at least two subtitles, the selection operation is recorded Operating time, the operating time correspond to user when hearing that the corresponding sound of the selected subtitle of the selection operation plays The operation moment of triggering;When being respectively received the selection operation to different subtitles, the operating time of each selection operation is recorded, is calculated every The time difference of the initial display time of the operating time subtitle corresponding with the selection operation of a selection operation, obtain to Few two time differences;Calculate the average value of at least two time difference;According to the average value, adjust the initial display time of all subtitles of the video and terminate the display time.
- 2. according to the method described in claim 1, it is characterized in that, caption editing instruction is to the menu option on screen Selection operation or to the single button or the clicking operation of combination button on remote control equipment.
- 3. according to the method described in claim 1, it is characterized in that, it is described when receive caption editing instruction when, according to video Current play time obtain and at least two subtitles and show, the initial display time of at least two subtitles or terminate display Current play time is nearest described in time gap, including:When receiving caption editing instruction, caption editing interface is shown, control adjustment choosing is included on the caption editing interface ;At least two subtitles, the initial display time of at least two subtitles or end are obtained according to the current play time of video Only show that current play time is nearest described in time gap;When receiving the selection operation to the control adjustment option, on the caption editing interface at least two described in display Subtitle.
- 4. according to the method described in claim 3, it is characterized in that, described when receiving caption editing instruction, display subtitle Editing interface includes control adjustment option on the caption editing interface, including:Reduce the brightness of the video;The caption editing interface is shown with certain transparency on the upper strata at the interface of the video.
- 5. according to the method described in claim 1, it is characterized in that, described according to the average value, the institute of the video is adjusted There is the initial display time of subtitle and terminate and show the time, including:When the initial display time of operating time subtitle more selected than the selection operation shifts to an earlier date, by the video The initial display time of all subtitles and the interval for terminating average value described in display time advance;When the initial display time of operating time subtitle more selected than the selection operation postpones, by the video The initial display time of all subtitles and the interval for terminating average value described in display time retardation.
- 6. according to claim 1-5 any one of them methods, which is characterized in that described according to the operating time and the choosing The initial display time for operating selected subtitle is selected, adjust the initial display time of all subtitles of the video and is terminated aobvious After showing the time, the method further includes:When receive the subtitle after adjustment is shifted to an earlier date into the advance operation of the first preset time when, will the subtitle after the adjustment just Begin to show the time and terminate display the first preset time of time advance;OrWhen receiving the postponement operation that the subtitle after adjustment is postponed to the second preset time, by the first of the subtitle after the adjustment Begin to show the time and terminate display the second preset time of time retardation.
- 7. according to the method described in claim 3, it is characterized in that, the menu included on the caption editing interface has selection word Curtain, size of caption, subtitle style, subtitle position and/or time adjustment;After the display caption editing interface, the method further includes:When receive to it is described selection title menu, size of caption menu, subtitle style menu, subtitle position menu and/or when Between option in adjustment menu selection operation when, the subtitle for adjusting the video is corresponded to according to the selection operation.
- 8. according to the method described in claim 3, it is characterized in that, include resetting subtitle option on the caption editing interface;After the display caption editing interface, the method further includes:When receiving the selection operation to the resetting subtitle option, all subtitles of the video are reset to preset silent Recognize state.
- 9. according to the method described in claim 3, it is characterized in that, include determining option on the caption editing interface;After the display caption editing interface, the method further includes:When receiving the selection operation to the determining option, scrolling display and the tune of video synchronous sound on the video Subtitle after whole, wherein, subtitle sentence corresponding with current video synchronous sound is highlighted.
- 10. according to the method described in claim 1, it is characterized in that, the method further includes:Subtitle after adjustment is uploaded into high in the clouds, the subtitle of upload is used to be closed with the video stored on the high in the clouds Connection;When receiving the playing request to the video, from high in the clouds obtain adjustment after with the associated subtitle of the video;The associated subtitle of acquisition is shown on the video.
- 11. a kind of device for adjusting subtitle in video, which is characterized in that including:First acquisition module, for when receiving caption editing instruction, at least two to be obtained according to the current play time of video Subtitle, the initial display time of at least two subtitles or terminates and shows that current play time described in time gap is nearest;First display module, for showing at least two subtitles;Logging modle, for when receiving the selection operation to wherein one subtitle at least two subtitles, recording The operating time of the selection operation, the operating time are hearing the selected subtitle pair of the selection operation corresponding to user The operation moment that the sound answered triggers when playing;The first adjustment module, for according to the operating time and when initially showing of the selected subtitle of the selection operation Between, it adjusts the initial display time of all subtitles of the video and terminates the display time,For described when receiving caption editing instruction, at least two are obtained according to the current play time of video for control module Subtitle simultaneously shows, the initial display time of at least two subtitles or terminates and shows current play time described in time gap After recently, the video is controlled to be played out with default broadcasting speed, the default broadcasting speed is being less than the video just Normal broadcasting speed,The logging modle includes:Recording unit, for when being respectively received the selection operation to different subtitles, recording the behaviour of each selection operation Make the time;The first adjustment module includes:Second computing unit, for calculating the operating time of each selection operation subtitle corresponding with the selection operation The time difference of initial display time obtained at least two time differences;Third computing unit, for calculating the average value of at least two time difference;Second adjustment unit, for according to the average value, adjusting initial display time and the end of all subtitles of the video Only show the time.
- 12. according to the devices described in claim 11, which is characterized in that first acquisition module includes:First display unit, for when receiving caption editing instruction, showing caption editing interface, the caption editing interface It is upper to include control adjustment option;Acquiring unit, for obtaining at least two subtitles according to the current play time of video, at least two subtitles just Begin to show that time or termination show that current play time described in time gap is nearest.
- 13. device according to claim 12, which is characterized in that first display unit includes:Subelement is reduced, for reducing the brightness of the video;Subelement is shown, for showing the caption editing interface on the upper strata at the interface of the video with certain transparency.
- 14. according to the devices described in claim 11, which is characterized in that the second adjustment unit includes:The first adjustment subelement, for working as the initial display time of operating time subtitle more selected than the selection operation When in advance, the initial display time of all subtitles of the video and termination are shown to the interval of average value described in time advance;Second adjustment subelement, for working as the initial display time of operating time subtitle more selected than the selection operation When postponing, the initial display time of all subtitles of the video and termination are shown to the interval of average value described in time retardation.
- 15. according to claim 11-14 any one of them devices, which is characterized in that described device further includes:Second adjustment module, for the initial display according to the operating time and the selected subtitle of the selection operation Time, after adjusting the initial display time of all subtitles of the video and terminating the display time, after receiving adjustment Subtitle when shifting to an earlier date the advance operation of the first preset time, the initial display time of the subtitle after the adjustment and terminating is shown The first preset time of time advance;When receiving the postponement operation that the subtitle after the adjustment is postponed to the second preset time, By the initial display time of the subtitle after the adjustment and terminate display the second preset time of time retardation.
- 16. device according to claim 12, which is characterized in that the menu included on the caption editing interface has selection Subtitle, size of caption, subtitle style, subtitle position and/or time adjustment;Described device further includes:Third adjusts module, is received for working as to the selection title menu, size of caption menu, subtitle style menu, word When curtain location menu and/or the selection operation of the option in time adjustment menu, according to the selection operation corresponds to adjustment The subtitle of video.
- 17. device according to claim 12, which is characterized in that include resetting subtitle choosing on the caption editing interface ;Described device further includes:Reset module, for when receive to it is described resetting subtitle option selection operation when, by all subtitles of the video Reset to preset default conditions.
- 18. device according to claim 12, which is characterized in that include determining option on the caption editing interface;Institute Device is stated to further include:Second display module, for when receiving the selection operation to the determining option, being scrolled on the video The subtitle after adjustment with video synchronous sound, wherein, subtitle sentence corresponding with current video synchronous sound is highlighted.
- 19. according to the devices described in claim 11, which is characterized in that described device further includes:Uploading module, for the subtitle after adjusting to be uploaded to high in the clouds, the subtitle of upload be used for and the high in the clouds on the institute that stores Video is stated to be associated;Second acquisition module, when receiving the playing request to the video, from high in the clouds obtain adjustment after with the video Associated subtitle;Third display module, for showing the associated subtitle of acquisition on the video.
- 20. a kind of device for adjusting subtitle in video, which is characterized in that including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:When receiving caption editing instruction, at least two subtitles are obtained according to the current play time of video and are shown, it is described The initial display time of at least two subtitles terminates and shows that current play time described in time gap is nearest;The video is controlled to be played out with default broadcasting speed, the default broadcasting speed is less than the normal play of the video Speed;When receiving the selection operation to wherein one subtitle at least two subtitles, the selection operation is recorded Operating time, the operating time correspond to user when hearing that the corresponding sound of the selected subtitle of the selection operation plays The operation moment of triggering;When being respectively received the selection operation to different subtitles, the operating time of each selection operation is recorded, is calculated every The time difference of the initial display time of the operating time subtitle corresponding with the selection operation of a selection operation, obtain to Few two time differences;Calculate the average value of at least two time difference;According to the average value, adjust the initial display time of all subtitles of the video and terminate the display time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367596.9A CN104104990B (en) | 2014-07-29 | 2014-07-29 | Adjust the method and device of subtitle in video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367596.9A CN104104990B (en) | 2014-07-29 | 2014-07-29 | Adjust the method and device of subtitle in video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104104990A CN104104990A (en) | 2014-10-15 |
CN104104990B true CN104104990B (en) | 2018-06-19 |
Family
ID=51672742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410367596.9A Active CN104104990B (en) | 2014-07-29 | 2014-07-29 | Adjust the method and device of subtitle in video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104104990B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117414B (en) * | 2015-07-29 | 2018-08-24 | 天脉聚源(北京)教育科技有限公司 | The method and device synchronous with action is taken down notes in a kind of video |
CN107809679A (en) * | 2017-10-26 | 2018-03-16 | 费非 | The method and apparatus for adjusting captions |
CN110708589B (en) | 2017-11-30 | 2021-08-17 | 腾讯科技(深圳)有限公司 | Information sharing method and device, storage medium and electronic device |
CN108307245B (en) * | 2018-02-07 | 2020-04-28 | 中译语通科技股份有限公司 | Subtitle font color obtaining method based on background perception technology and display |
CN109672942A (en) * | 2019-01-03 | 2019-04-23 | 百度在线网络技术(北京)有限公司 | Subtitle adjusting method and device |
CN110427805B (en) * | 2019-06-20 | 2024-03-19 | 平安科技(深圳)有限公司 | Video display method, apparatus, computer device and storage medium |
CN112752156A (en) * | 2020-12-28 | 2021-05-04 | 海信视像科技股份有限公司 | Subtitle adjusting method and display device |
CN112911404A (en) * | 2021-01-25 | 2021-06-04 | 当趣网络科技(杭州)有限公司 | Video subtitle processing method, apparatus, electronic device, and medium |
CN113422996B (en) * | 2021-05-10 | 2023-01-20 | 北京达佳互联信息技术有限公司 | Subtitle information editing method, device and storage medium |
CN115474066A (en) * | 2021-06-11 | 2022-12-13 | 北京有竹居网络技术有限公司 | Subtitle processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1762155A (en) * | 2003-02-21 | 2006-04-19 | 松下电器产业株式会社 | Apparatus and method for simultaneously utilizing audio visual data |
CN101461241A (en) * | 2006-06-09 | 2009-06-17 | 汤姆逊许可公司 | System and method for closed captioning |
CN101540847A (en) * | 2008-03-21 | 2009-09-23 | 株式会社康巴思 | Caption producing system and caption producing method |
CN102055941A (en) * | 2009-11-03 | 2011-05-11 | 腾讯科技(深圳)有限公司 | Video player and video playing method |
CN102291542A (en) * | 2011-08-26 | 2011-12-21 | 深圳Tcl新技术有限公司 | Multilingual subtitle setting method and device thereof |
CN103064601A (en) * | 2013-01-31 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method for synchronizing video pictures and subtitles via gesture operation and mobile terminal |
-
2014
- 2014-07-29 CN CN201410367596.9A patent/CN104104990B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1762155A (en) * | 2003-02-21 | 2006-04-19 | 松下电器产业株式会社 | Apparatus and method for simultaneously utilizing audio visual data |
CN101461241A (en) * | 2006-06-09 | 2009-06-17 | 汤姆逊许可公司 | System and method for closed captioning |
CN101540847A (en) * | 2008-03-21 | 2009-09-23 | 株式会社康巴思 | Caption producing system and caption producing method |
CN102055941A (en) * | 2009-11-03 | 2011-05-11 | 腾讯科技(深圳)有限公司 | Video player and video playing method |
CN102291542A (en) * | 2011-08-26 | 2011-12-21 | 深圳Tcl新技术有限公司 | Multilingual subtitle setting method and device thereof |
CN103064601A (en) * | 2013-01-31 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method for synchronizing video pictures and subtitles via gesture operation and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104104990A (en) | 2014-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104104990B (en) | Adjust the method and device of subtitle in video | |
CN105979383B (en) | Image acquiring method and device | |
CN104104986B (en) | The synchronous method and device of audio and captions | |
CN107396177B (en) | Video playing method, device and storage medium | |
CN106792071A (en) | Method for processing caption and device | |
WO2017049799A1 (en) | Audio playback control method and device | |
CN105744133B (en) | Video light compensation method and device | |
CN110677734B (en) | Video synthesis method and device, electronic equipment and storage medium | |
CN106559712A (en) | Video playback processing method, device and terminal device | |
CN104281432A (en) | Method and device for regulating sound effect | |
CN104391711B (en) | A kind of method and device that screen protection is set | |
CN107333170A (en) | The control method and device of intelligent lamp | |
CN109151537A (en) | Method for processing video frequency, device, electronic equipment and storage medium | |
CN105120301B (en) | Method for processing video frequency and device, smart machine | |
CN110798728B (en) | Video playing method, device and storage medium | |
CN104035674B (en) | Picture displaying method and device | |
CN106412710A (en) | Method and device for exchanging information through graphical label in live video streaming | |
CN110929054A (en) | Multimedia information application interface display method and device, terminal and medium | |
CN105451056B (en) | Audio and video synchronization method and device | |
CN109413478A (en) | Video editing method, device, electronic equipment and storage medium | |
CN109361946A (en) | The display methods and device of barrage information | |
CN108028951A (en) | Control the method and device played | |
CN110719530A (en) | Video playing method and device, electronic equipment and storage medium | |
CN104104987B (en) | Picture and synchronous sound method and device in video playing | |
CN104156151A (en) | Image display method and image display device |
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 |