CN104104990A - Method and device for adjusting subtitles in video - Google Patents

Method and device for adjusting subtitles in video Download PDF

Info

Publication number
CN104104990A
CN104104990A CN201410367596.9A CN201410367596A CN104104990A CN 104104990 A CN104104990 A CN 104104990A CN 201410367596 A CN201410367596 A CN 201410367596A CN 104104990 A CN104104990 A CN 104104990A
Authority
CN
China
Prior art keywords
captions
time
video
displaying time
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410367596.9A
Other languages
Chinese (zh)
Other versions
CN104104990B (en
Inventor
刘朱坤
李创奇
訾佳逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410367596.9A priority Critical patent/CN104104990B/en
Publication of CN104104990A publication Critical patent/CN104104990A/en
Application granted granted Critical
Publication of CN104104990B publication Critical patent/CN104104990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method and a device for adjusting subtitles in a video. The method includes acquiring and displaying at least two subtitles according to the current playing time of the video when receiving a subtitle editing command, wherein the initial displaying time or the end displaying time of at least two subtitles is closest to the current playing time; when receiving selection operation of one subtitle of at least two subtitles, recording operation time of the selection operation, wherein the operation time corresponds to the moment of the operation triggered by a user when the user hearing the sound that the subtitle selected by the selection operation corresponds to is played; adjusting the initial displaying time and the end displaying time of all the subtitles of the video according to the operation time and the initial displaying time of the subtitle selected by the selection operation. By means of the method and the device, the user can adjust the subtitles under the condition that the subtitles and the sound of the video are not synchronous when watching the video to enable the subtitles and the sound to be synchronous, and user experience is improved.

Description

Adjust method and the device of captions in video
Technical field
The disclosure relates to field of video processing, relates in particular to a kind of method and device of adjusting captions in video.
Background technology
At present, intelligent television is as a kind of information terminal, not only can be used for television channel searching, recording TV program, broadcasting satellite and the TV programme such as wired, all right down loading mounting software, use web search playing network video, local video and music etc., for user brings more individualized experience.Therefore, intelligent television and panel computer, personal computer etc., a very important part in all becoming people's life and working.
And by intelligent television, panel computer or personal computer, watch movie and video programs, the main flow operation of most of users to intelligent television, panel computer or personal computer especially.When user watches movie and video programs, most of movie and video programs are all furnished with Subtitle Demonstration, visual experience and the auditory perception of to improve user, watching video.Yet, owing to being subject to the impact of the factors such as video compression mode, video size, player decoding capability, in playing process, may there is the problem that captions can not be synchronizeed with picture sound in video, affect the susceptibility that user watches video, especially at picture sound and captions during for language of the same race not, the nonsynchronous situation of this sound and captions can more seriously reduce user's susceptibility.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method and device of adjusting captions in video.
According to the first aspect of disclosure embodiment, a kind of method of adjusting captions in video is provided, comprising:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by obtaining the captions of video, and receive user according to the operation of the initial time selection captions of statement in video, according to user, select the operating time of captions and the initial displaying time of captions to adjust video caption, while making user watch video, in video caption and the nonsynchronous situation of sound, can adjust captions, thereby make captions and synchronous sound, improve user's Experience Degree.
Optionally, described caption editing instruction is to the selection operation of the menu option on screen or to the single button on remote control equipment or the clicking operation of combination button.
In possibility, user can or click the key to run edit pattern on remote control equipment by choice menus option.
Optionally, described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, comprising:
When receiving caption editing instruction, show caption editing interface, on described caption editing interface, comprise contrast adjustment option;
According to the current reproduction time of video, obtain at least two captions, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest; When receiving when described contrast is adjusted to the selection operation of option, at least two captions described in showing on described caption editing interface.
In possibility, when receiving caption editing instruction, start edit pattern, for user provides the editing interface of a sychronization captions and sound, by editing interface, user can adjust captions easily.
Optionally, described when receiving caption editing instruction, show caption editing interface, on described caption editing interface, comprise contrast adjustment option, comprising:
Reduce the brightness of described video;
Upper strata at the interface of described video shows described caption editing interface with certain transparency.
In possibility, by reducing luminance video, and with certain transparency, show caption editing interface above video, make user when adjusting captions, still can see video clip, and the captions that show on preview video interface.
Optionally, described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, after the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, described method also comprises:
Control described video and play to preset broadcasting speed, described default broadcasting speed is less than the normal playback speed of described video.
In possibility, in the process of editor's captions, to be less than the speed displaying video of video normal playback speed, make user can determine more exactly the statement initial time of a statement, and definite captions corresponding to this statement, thereby adjust more exactly captions, make captions and synchronous sound.
Optionally, the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
Calculate described operating time and described selection and operate time difference of the initial displaying time of selected captions;
According to the described time difference, adjust initial displaying time and the termination displaying time of all captions of described video.
In possibility, according to user, select the time difference between the operating time of captions and the initial displaying time of captions to adjust captions, make captions realize and synchronizeing with sound, improve user's Experience Degree.
Optionally, described according to the described time difference, adjust described video all captions initial displaying time and stop displaying time, comprising:
When the initial displaying time that operates selected captions than described selection when the described operating time shifts to an earlier date, by the initial displaying time of all captions of described video with stop the interval that displaying time shifts to an earlier date the described time difference;
When the initial displaying time that operates selected captions than described selection when the described operating time postpones, by the initial displaying time of all captions of described video with stop the interval that displaying time is postponed the described time difference.
In possibility, according to user, select the time difference between the operating time of captions and the initial displaying time of captions to adjust captions, if initial displaying time is leading, postpone the corresponding time difference, otherwise, shift to an earlier date the corresponding time difference, thereby make captions realize and synchronizeing with sound, improve user's Experience Degree.
Optionally, described selection when operation when receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound corresponding to selected captions is play constantly, comprising:
When selection when operation receiving respectively different captions, record described each select the operating time of operation;
The described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
The time difference of calculating the initial displaying time of the operating time of described each selection operation and the captions of described selection operational correspondence, obtain at least two time differences;
The mean value of at least two time differences described in calculating;
According to described mean value, adjust initial displaying time and the termination displaying time of all captions of described video.
In possibility, according to the mean value of a plurality of time differences, adjust captions, make captions adjustment more accurate.
Optionally, the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time after, described method also comprises:
When receiving the in advance operation in advance of the first Preset Time of the captions after described adjustment, by the initial displaying time of the captions after described adjustment with stop displaying time the first Preset Time in advance; Or
When receiving postponement when operation of the captions after described adjustment being postponed to the second Preset Time, by the initial displaying time of the captions after described adjustment with stop displaying time and postpone the second Preset Time.
In possibility, after the time difference adjustment captions of selecting according to user between the operating time of captions and the initial displaying time of captions, also can finely tune captions, comprise the first Preset Time or postponement the second Preset Time in advance, make captions adjustment more accurate.
Optionally, the menu comprising on described caption editing interface has the captions of selection, size of caption, captions pattern, subtitle position and/or time to adjust;
After described demonstration caption editing interface, described method also comprises:
When receiving when described selection title menu, size of caption menu, captions styles menu, subtitle position menu and/or time are adjusted to the selection operation of the option in menu, according to described selection operational correspondence, adjust the captions of described video.
In possibility, can, directly by selecting the menu option in caption editing interface to adjust captions, make the adjustment of captions convenient.
Optionally, on described caption editing interface, comprise replacement captions option;
After described demonstration caption editing interface, described method also comprises:
In selection when operation when receiving described replacement captions option, all captions of described video are reset to default default conditions.
In possibility, user can be by the replacement captions option replacement captions on caption editing interface, the situation of having avoided captions adjustment mistake or cannot having reduced when dissatisfied.
Optionally, on described caption editing interface, comprise definite option;
After described demonstration caption editing interface, described method also comprises:
When selection when operation receiving described definite option, the captions on described video after the described adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.
In possibility, by selecting the definite option on caption editing interface, can in video, show the captions after adjusting, realize the synchronous of captions and sound, improve user's Experience Degree.
Optionally, described method also comprises:
Captions after described adjustment are uploaded to high in the clouds, described in the captions uploaded for carrying out associated with the described video of storing on described high in the clouds;
When receive described video playing request time, the captions associated with described video from high in the clouds obtains adjustment;
On described video, show the captions of the described association of obtaining.
In possibility, the captions after adjusting are uploaded to high in the clouds, and with video on high in the clouds carry out associated, thereby when again playing this video, can use the captions after adjustment, without again adjusting and the nonsynchronous captions of sound.
According to the second aspect of disclosure embodiment, a kind of device of adjusting captions in video is provided, comprising:
The first acquisition module, for when receiving caption editing instruction, obtains at least two captions according to the current reproduction time of video, and the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
The first display module, at least two captions described in showing; Logging modle, for when receiving when the selection of wherein captions of described at least two captions is operated, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
The first adjusting module, for operate the initial displaying time of selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time.
Optionally, described the first acquisition module comprises:
The first display unit, for when receiving caption editing instruction, shows caption editing interface, comprises contrast adjustment option on described caption editing interface;
Acquiring unit, obtains at least two captions for the current reproduction time according to video, and the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest.
Optionally, described the first display unit comprises:
Reduce subelement, for reducing the brightness of described video;
Show subelement, for the upper strata at the interface at described video, with certain transparency, show described caption editing interface.
Optionally, described device also comprises:
Control module, for described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, after the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, control described video and play to preset broadcasting speed, described default broadcasting speed is less than the normal playback speed of described video.
Optionally, described the first adjusting module comprises:
The first computing unit, operates time difference of the initial displaying time of selected captions for calculating described operating time and described selection;
The first adjustment unit, for according to the described time difference, adjusts initial displaying time and the termination displaying time of all captions of described video.
Optionally, described the first adjustment unit comprises:
First adjusts subelement, while shifting to an earlier date for the initial displaying time that operates selected captions than described selection when the described operating time, and the interval that the initial displaying time of all captions of described video and termination displaying time are shifted to an earlier date to the described time difference;
Second adjusts subelement, while postponing for the initial displaying time that operates selected captions than described selection when the described operating time, the initial displaying time of all captions of described video and termination displaying time is postponed to the interval of described time difference.
Optionally, described logging modle comprises:
Record cell, for selection when operation when receiving respectively different captions, record described each select the operating time of operation;
Described the first adjusting module comprises:
The second computing unit, for calculating the time difference of the initial displaying time of the operating time of described each selection operation and the captions of described selection operational correspondence, obtains at least two time differences;
The 3rd computing unit, for the mean value of at least two time differences described in calculating;
The second adjustment unit, for according to described mean value, adjusts initial displaying time and the termination displaying time of all captions of described video.
Optionally, it is characterized in that, described device also comprises:
The second adjusting module, for the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time after, when receiving the in advance operation in advance of the first Preset Time of the captions after described adjustment, by the initial displaying time of the captions after described adjustment with stop displaying time the first Preset Time in advance; When receiving postponement when operation of the captions after described adjustment being postponed to the second Preset Time, by the initial displaying time of the captions after described adjustment with stop displaying time and postpone the second Preset Time.
Optionally, the menu comprising on described caption editing interface has the captions of selection, size of caption, captions pattern, subtitle position and/or time to adjust; Described device also comprises:
The 3rd adjusting module, for when receiving the selection that described selection title menu, size of caption menu, captions styles menu, subtitle position menu and/or time are adjusted to the option of menu and operate, according to described selection operational correspondence, adjust the captions of described video.
Optionally, on described caption editing interface, comprise replacement captions option; Described device also comprises:
Replacement module, in selection when operation for when receiving described replacement captions option, resets to default default conditions by all captions of described video.
Optionally, on described caption editing interface, comprise definite option; Described device also comprises:
The second display module, for selection when operation when receiving described definite option, the captions on described video after the described adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.
Optionally, described device also comprises:
Upper transmission module, for the captions after described adjustment are uploaded to high in the clouds, described in the captions uploaded for carrying out associated with the described video of storing on described high in the clouds;
The second acquisition module, when receive described video playing request time, the captions associated with described video from high in the clouds obtains adjustment;
The 3rd display module, for showing the captions of the described association of obtaining on described video.
According to the third aspect of disclosure embodiment, a kind of device of adjusting captions in video is provided, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in specification and forms the part of this specification, shows embodiment according to the invention, and is used from and explains principle of the present invention with specification one.
Fig. 1 is according to a kind of flow chart of adjusting the method for captions in video shown in an exemplary embodiment;
Fig. 2 is according to the display interface figure at the caption editing interface shown in an exemplary embodiment;
Fig. 3 is according to a kind of flow chart of adjusting the method for captions in video shown in a specific embodiment;
Fig. 4 is according to showing the surface chart of captions on the caption editing interface shown in an exemplary embodiment;
Fig. 5 is according to a kind of flow chart of adjusting the method for captions in video shown in another specific embodiment;
Fig. 6 is according to a kind of block diagram of adjusting the device of captions in video shown in an exemplary embodiment;
Fig. 7 is according to the block diagram of the first acquisition module shown in an exemplary embodiment;
Fig. 8 is according to the block diagram of the first display unit shown in an exemplary embodiment;
Fig. 9 is according to the block diagram of the first adjusting module shown in an exemplary embodiment;
Figure 10 is according to the block diagram of the first adjustment unit shown in an exemplary embodiment;
Figure 11 is according to the block diagram of the logging modle shown in an exemplary embodiment;
Figure 12 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to a kind of flow chart of adjusting the method for captions in video shown in an exemplary embodiment, as shown in Figure 1, adjusts the method for captions in video for terminal, comprises the following steps:
Step S11, when receiving caption editing instruction, obtains at least two captions and shows according to the current reproduction time of video, and the initial displaying time of at least two captions or the current reproduction time of termination displaying time distance are nearest;
Step S12, when selection when operation receiving the wherein captions at least two captions, the operating time of operation selected in record, and the operating time is hearing that corresponding to user the operation that triggers while selecting sound that the selected captions of operation are corresponding to play is constantly;
Step S13, according to the initial displaying time of operating time and the selected captions of selection operation, adjusts initial displaying time and the termination displaying time of all captions of video.
The technical scheme that the present embodiment provides can comprise following beneficial effect: by obtaining the captions of video, and receive user according to the operation of the initial time selection captions of statement in video, according to user, select the operating time of captions and the initial displaying time of captions to adjust video caption, while making user watch video, in video caption and the nonsynchronous situation of sound, can adjust captions, thereby make captions and synchronous sound, improve user's Experience Degree.
In step S11, caption editing instruction is to the selection operation of the menu option on screen or to the single button on remote control equipment or the clicking operation of combination button.For example, during displaying video, occur arranging option on screen, user can select to arrange option and start edit pattern; Or, preset the button that starts edit pattern that is combined as of a certain button on remote controller or a plurality of buttons, when user clicks this button on remote controller or a plurality of button, can start edit pattern.
Optionally, step S11 can be embodied as following steps:
Steps A 11, when receiving caption editing instruction, shows caption editing interface, comprises contrast adjustment option on caption editing interface;
Steps A 12, obtains at least two captions according to the current reproduction time of video, and the initial displaying time of these at least two captions or the current reproduction time of termination displaying time distance are nearest;
Steps A 13 when receiving when contrast is adjusted to the selection operation of option, shows at least two captions on caption editing interface.
On screen, show caption editing interface, for user provides the editing interface of a sychronization captions and sound, by the contrast of clicking on editing interface, adjust option, user can contrast captions on editing interface and the sound of video is adjusted.
Wherein, steps A 11 can be embodied as following mode:
Steps A 111, reduces the brightness of video;
Steps A 112, shows caption editing interface on the upper strata at the interface of video with certain transparency.
Adopt this execution mode, by reducing luminance video, and above video, show caption editing interface, make user when adjusting captions, still can see video clip, and the captions that show on preview video interface.For example, it is 70% that transparency is set, and on the upper strata at the interface of video, the transparency with 70% shows caption editing interface, and like this, user, when adjusting captions, still can see video clip.
Steps A 12 can be implemented after steps A 11, also can receive selection operation rear implement of user to contrast adjustment option.
In addition, start after edit pattern, also can control the broadcasting speed of video, the broadcasting speed of video is play to preset broadcasting speed, wherein, default broadcasting speed is less than the normal playback speed of video.Control video slow play, thereby make user can determine more exactly the statement initial time of a statement, and determine captions corresponding to this statement, and then can adjust more exactly captions.
Optionally, step S13 can be embodied as following mode:
Step S1301, the time difference of the initial displaying time of calculating operation time and the selected captions of selection operation;
Step S1302, according to the time difference, adjusts initial displaying time and the termination displaying time of all captions of video.
Wherein, time difference is two kinds of positive time difference and negative time differences, the positive time difference is that the operating time is than selecting the initial displaying time of the selected captions of operation to shift to an earlier date, the negative time difference is that the operating time is than selecting the initial displaying time of the selected captions of operation to postpone, therefore, step S1302 can be embodied as following mode:
Step B11, when the operating time shifts to an earlier date than the initial displaying time of selecting the selected captions of operation, by the initial displaying time of all captions of video and poor interval termination displaying time pre-set time;
Step B12, when the operating time postpones than the initial displaying time of selecting the selected captions of operation, by the initial displaying time of all captions of video and poor interval termination displaying time retardation time.
Optionally, in step S12, except receiving the selection operation of the wherein captions at least two captions, also can receive respectively the selection operation to different captions, when selection when operation receiving different captions, record the operating time that each selects operation.In this case, step S13 can be embodied as following mode:
Step S1311, calculates the time difference that each selects the initial displaying time of the operating time operating and the captions of selecting operational correspondence, obtains at least two time differences;
Step S1312, calculates the mean value of at least two time differences;
Step S1313, according to the mean value of at least two time differences, adjusts initial displaying time and the termination displaying time of all captions of video.
Optionally, after implementation step S13, also can finely tune the captions after adjusting according to the time difference, comprise: when receiving the operation in advance of the first Preset Time in advance of the captions after adjusting, by the initial displaying time of the captions after adjusting with stop displaying time the first Preset Time in advance; Or, when receiving when the captions after adjusting are postponed to the postponement operation of the second Preset Time, by the initial displaying time of the captions after adjusting with stop displaying time and postpone the second Preset Time.For example, after adjusting captions according to the time difference of the initial displaying time of operating time and the selected captions of selection operation, video caption is still postponed 0.5 second than the statement of sound in video, and it is 0.5 second that the first Preset Time can be set, and captions are shifted to an earlier date to 0.5 second again; Or, after adjusting captions according to the time difference of the initial displaying time of operating time and the selected captions of selection operation, video caption still shifts to an earlier date 0.25 second than the statement of sound in video, and it is 0.25 second that the second Preset Time can be set, and captions are postponed 0.25 second again.
Optionally, in said method, after starting edit pattern, on the caption editing interface showing on screen, not only comprise contrast adjustment option, also include following menu: select captions, size of caption, captions pattern, subtitle position and/or time to adjust.When receiving when selecting title menu, size of caption menu, captions styles menu, subtitle position menu and/or time to adjust the selection operation of the option in menu, according to selecting operational correspondence to adjust the captions of video.
Wherein, select title menu can comprise captions 1 (in), captions 2 (China and Britain), close the options such as captions.When user select captions 1 (in) during option, on video, will show Chinese subtitle, when user selects captions 2 (China and Britain) option, on video, will show the captions of bilingual, when user selects to close captions option, the captions that show on video will be hidden.
That size of caption menu can comprise is little, in, large three kinds of options, user can be by selecting option in size of caption menu to adjust the size of captions.
Captions styles menu can comprise the options such as white is very thin, middle, the white runic of white, yellow is very thin, yellow is middle, yellow runic.User can be by selecting the pattern of the option adjustment captions in captions styles menu.
Subtitle position menu can comprise top on the upper side, normal, bottom, top on the upper side, normal, bottom, the bottom option such as on the lower side.User can be by selecting the option in subtitle position menu to adjust the position that captions show in video.
Time is adjusted menu and can comprise following option: captions 0.5 second in advance, captions 2 seconds in advance, captions postponement 0.5 second, captions postponement 2 seconds etc.User can adjust the option in menu by select time, the initial displaying time of rapid adjustment captions and termination displaying time.
Optionally, in said method, on caption editing interface, comprise replacement captions option, in selection when operation when receiving replacement captions option, all captions of video are reset to default default conditions.
Optionally, in said method, on caption editing interface, comprise definite option, when receiving when determining the selection operation of option, captions on video after the adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.For example, two captions on video after roll display adjustment, the color of captions is white, when video sound, synchronizes at once with captions in two captions, with yellow, highlights this captions.
Optionally, after adjusting captions, said method also comprises the steps:
Step C11, uploads to high in the clouds by the captions after adjusting, and the captions of uploading carry out associated for the video with storing on high in the clouds;
Step C12, when receive video playing request time, the captions associated with video from high in the clouds obtains adjustment;
Step C13 shows the associated captions that obtain on video.
Captions after adjusting are uploaded to high in the clouds, and with video on high in the clouds carry out associated, thereby when again playing this video, can use the captions after adjustment, without again adjusting and the nonsynchronous captions of sound.
A kind of method of adjusting captions in video providing below by the specific embodiment explanation disclosure.
Embodiment mono-
This embodiment adjusts video caption by user accordingly to the selection of the different options on caption editing interface.Figure 2 shows that user starts the caption editing interface showing after edit pattern, as shown in Figure 2, on caption editing interface 20, comprise and select title menu, size of caption menu, captions styles menu, subtitle position menu and time to adjust menu.Wherein, select title menu to comprise 4 options: captions 1 (in), captions 2 (China and Britain), close captions and replacement captions; Size of caption menu comprises 3 options: little, in and large; Captions styles menu comprises 6 options: very thin, white middle, the white runic of white, yellow very thin, yellow middle and yellow runic; Subtitle position menu comprises 5 options: top on the upper side, normal, bottom, top on the upper side, bottom is normal and bottom on the lower side; Time is adjusted menu and comprises 5 options: captions 0.5 second in advance, captions 2 seconds in advance, captions postponement 0.5 second, captions postponement 2 seconds and contrast are adjusted.
Figure 3 shows that the method flow diagram of adjusting the captions in video in this embodiment.As shown in Figure 3, comprise the steps:
Step S301, receives caption editing instruction;
Step S302, shows caption editing interface;
Step S303, receives the selection operation of user to the option on caption editing interface;
Step S304, whether what judge user's selection is that option is adjusted in contrast; If what user selected is that option is adjusted in contrast, perform step S305; If what user selected is not that option is adjusted in contrast, perform step S311;
Step S305, obtains four captions and shows according to the current reproduction time of video;
Step S306, receives user to the wherein selection operation of captions, and the operating time of operation selected in record;
Step S307, the time difference of the initial displaying time of calculating operation time and the selected captions of selection operation;
Step S308, judges whether the time difference is the positive time difference; If the positive time difference, the operating time, than selecting the initial displaying time of the selected captions of operation to shift to an earlier date, performs step S309; If not the positive time difference, is the negative time difference, the operating time, than selecting the initial displaying time of the selected captions of operation to postpone, performs step S310;
Step S309, by the interval of the initial displaying time of all captions of video and termination displaying time difference pre-set time;
Step S310, by the interval of the initial displaying time of all captions of video and termination displaying time difference retardation time;
Step S311, the option on the caption editing interface of selecting according to user is adjusted captions.
Wherein, in step S305, four captions of demonstration as shown in Figure 4, when user selects contrast to adjust option, will show four captions that obtain on caption editing interface 20, comprise captions a, captions b, captions c and captions d.For example, the statement in the video of current broadcasting is corresponding with captions b, and user selects captions b according to the statement initial time of this statement, that is, user selects captions b when hearing this statement, clicks and determines option, can complete the adjustment to captions.
Adopt the method for captions in the adjustment video in above-described embodiment, by receiving user, the selection of the option on caption editing interface is operated, captions are adjusted accordingly, when user selects contrast to adjust option, the captions that show the video getting, and receive user according to the operation of the initial time selection captions of statement in video, according to user, select the operating time of captions and the initial displaying time of captions to adjust video caption, while making user watch video, in video caption and the nonsynchronous situation of sound, can adjust captions, thereby make captions and synchronous sound, improve user's Experience Degree.
Embodiment bis-
This embodiment operates the selection of different captions by receiving user, and according to the mean value of a plurality of time differences of the initial displaying time of the captions of the operating time of a plurality of selection operations and selection operational correspondence, adjusts the captions of video.Figure 5 shows that the method flow diagram of adjusting the captions in video in this embodiment, as shown in Figure 5, comprise the steps:
Step S51, receives caption editing instruction, shows caption editing interface;
Step S52, obtains four captions a, b, c and d according to the current reproduction time of video;
Step S53, when receiving user contrast on caption editing interface is adjusted to the selection operation of option, shows four captions that get;
Step S54, receives the selection operation of user to captions b, and records the operating time A of this selection operation;
Step S55, receives the selection operation of user to captions c, and records the operating time B of this selection operation;
Step S56, receives the selection operation of user to captions d, and records the operating time C of this selection operation;
Step S57, respectively calculating operation time A, operating time B, operating time C and time difference of the initial displaying time of selected captions separately, obtain three time differences;
Step S58, calculates the mean value of above-mentioned three time differences;
Step S59, according to the mean value of above-mentioned three time differences, adjusts the captions of video.
Adopt the method for captions in the adjustment video in above-described embodiment, by obtaining the captions of video, and receive respectively user according to the operation of many captions of initial time selection of statement in video, calculating user selects the time difference of the operating time of every captions and the initial displaying time of every captions, according to the mean value of a plurality of time differences, adjust video caption, thereby make captions adjustment more accurate.
Fig. 6 is according to a kind of device block diagram of adjusting captions in video shown in an exemplary embodiment.With reference to Fig. 6, this device comprises:
The first acquisition module 601, for when receiving caption editing instruction, obtains at least two captions and shows according to the current reproduction time of video, and the initial displaying time of at least two captions or the current reproduction time of termination displaying time distance are nearest;
The first display module 602, for showing at least two captions;
Logging modle 603, for when receiving when the selection of wherein captions of at least two captions is operated, the operating time of operation selected in record, and the operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
The first adjusting module 604, for according to the initial displaying time of operating time and the selected captions of selection operation, adjusts initial displaying time and the termination displaying time of all captions of video;
Control module 605, for when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, article at least two, the initial displaying time of captions or stop the current reproduction time of displaying time distance recently after, control video and play to preset broadcasting speed, default broadcasting speed is less than the normal playback speed of video;
The second adjusting module 606, for operate the initial displaying time of selected captions according to described operating time and selection, after the initial displaying time of all captions of adjustment video and termination displaying time, when receiving the operation in advance of the first Preset Time in advance of the captions after adjusting, by the initial displaying time of the captions after adjusting with stop displaying time the first Preset Time in advance; When receiving when the captions after adjusting are postponed to the postponement operation of the second Preset Time, by the initial displaying time of the captions after adjusting with stop displaying time and postpone the second Preset Time;
The 3rd adjusting module 607, for when receiving when selecting title menu, size of caption menu, captions styles menu, subtitle position menu and/or time to adjust the selection operation of option of menu, according to selecting operational correspondence to adjust the captions of video;
Replacement module 608, in selection when operation for when receiving replacement captions option, resets to default default conditions by all captions of video;
The second display module 609, for when receiving when determining the selection operation of option, the captions on video after the adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted;
Upper transmission module 610, for the captions after adjusting are uploaded to high in the clouds, the captions of uploading carry out associated for the video with storing on high in the clouds;
The second acquisition module 611, when receive video playing request time, the captions associated with video from high in the clouds obtains adjustment;
The 3rd display module 612, for showing the associated captions that obtain on video.
Optionally, the first acquisition module 601 comprises with lower unit, as shown in Figure 7:
The first display unit 6011, for when receiving caption editing instruction, shows caption editing interface, comprises contrast adjustment option on caption editing interface;
Acquiring unit 6012, obtains at least two captions for the current reproduction time according to video, and the initial displaying time of at least two captions or the current reproduction time of termination displaying time distance are nearest.
Optionally, the first display unit 6011 comprises following subelement, as shown in Figure 8:
Reduce subelement 60111, for reducing the brightness of video;
Show subelement 60112, for the upper strata at the interface at video, with certain transparency, show caption editing interface.
Optionally, the first adjusting module 604 comprises with lower unit, as shown in Figure 9:
The first computing unit 6041, for calculating operation time and the time difference of selecting the initial displaying time of the selected captions of operation;
The first adjustment unit 6042, for according to the time difference, adjusts initial displaying time and the termination displaying time of all captions of video;
The second computing unit 6043, the time difference of selecting the initial displaying time of the operating time operating and the captions of selecting operational correspondence, obtains at least two time differences for calculating each;
The 3rd computing unit 6044, for calculating the mean value of at least two time differences;
The second adjustment unit 6045, for according to the mean value of at least two time differences, adjusts initial displaying time and the termination displaying time of all captions of video.
Optionally, the first adjustment unit 6042 comprises following subelement, as shown in figure 10:
First adjusts subelement 60421, while shifting to an earlier date for the initial displaying time when the selected captions of operating time ratio selection operation, by the initial displaying time of all captions of video and the interval that stops displaying time difference pre-set time;
Second adjusts subelement 60422, while postponing for the initial displaying time when the selected captions of operating time ratio selection operation, by the initial displaying time of all captions of video and the interval that stops displaying time difference retardation time.
Optionally, logging modle 603 comprises with lower unit, as shown in figure 11:
Record cell 6031, for selection when operation when receiving respectively different captions, records the operating time that each selects operation.
The technical scheme that the present embodiment provides can comprise following beneficial effect: by obtaining the captions of video, and receive user according to the operation of the initial time selection captions of statement in video, according to user, select the operating time of captions and the initial displaying time of captions to adjust video caption, while making user watch video, in video caption and the nonsynchronous situation of sound, can adjust captions, thereby make captions and synchronous sound, improve user's Experience Degree.About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment of relevant the method, will not elaborate explanation herein.
In one embodiment, also provide a kind of device of adjusting captions in video, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
Figure 12 is a kind of for adjusting the block diagram of the device 800 of video captions according to shown in an exemplary embodiment.For example, device 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Treatment element 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing unit 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Electric power assembly 806 provides electric power for installing 800 various assemblies.Electric power assembly 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal receiving can be further stored in memory 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducers, is used to device 800 that the state estimation of various aspects is provided.For example, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, for example described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or 800 1 assemblies of device changes, user is with device 800 existence that contact or do not have the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment.Device 800 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the memory 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A non-provisional computer-readable recording medium, when the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of adjusting captions in video, and described method comprises:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
Described caption editing instruction is to the selection operation of the menu option on screen or to the single button on remote control equipment or the clicking operation of combination button.
Described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, comprising:
When receiving caption editing instruction, show caption editing interface, on described caption editing interface, comprise contrast adjustment option;
According to the current reproduction time of video, obtain at least two captions, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest; When receiving when described contrast is adjusted to the selection operation of option, at least two captions described in showing on described caption editing interface.
Described when receiving caption editing instruction, show caption editing interface, on described caption editing interface, comprise contrast adjustment option, comprising:
Reduce the brightness of described video;
Upper strata at the interface of described video shows described caption editing interface with certain transparency.
Described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, after the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, described method also comprises:
Control described video and play to preset broadcasting speed, described default broadcasting speed is less than the normal playback speed of described video.
The described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
Calculate described operating time and described selection and operate time difference of the initial displaying time of selected captions;
According to the described time difference, adjust initial displaying time and the termination displaying time of all captions of described video.
Described according to the described time difference, adjust described video all captions initial displaying time and stop displaying time, comprising:
When the initial displaying time that operates selected captions than described selection when the described operating time shifts to an earlier date, by the initial displaying time of all captions of described video with stop the interval that displaying time shifts to an earlier date the described time difference;
When the initial displaying time that operates selected captions than described selection when the described operating time postpones, by the initial displaying time of all captions of described video with stop the interval that displaying time is postponed the described time difference.
Described selection when operation when receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound corresponding to selected captions is play constantly, comprising:
When selection when operation receiving respectively different captions, record described each select the operating time of operation;
The described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
The time difference of calculating the initial displaying time of the operating time of described each selection operation and the captions of described selection operational correspondence, obtain at least two time differences;
The mean value of at least two time differences described in calculating;
According to the mean value of described at least two time differences, adjust initial displaying time and the termination displaying time of all captions of described video.
The described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time after, described method also comprises:
When receiving the in advance operation in advance of the first Preset Time of the captions after described adjustment, by the initial displaying time of the captions after described adjustment with stop displaying time the first Preset Time in advance; Or
When receiving postponement when operation of the captions after described adjustment being postponed to the second Preset Time, by the initial displaying time of the captions after described adjustment with stop displaying time and postpone the second Preset Time.
The menu comprising on described caption editing interface has the captions of selection, size of caption, captions pattern, subtitle position and/or time to adjust;
After described demonstration caption editing interface, described method also comprises:
When receiving when described selection title menu, size of caption menu, captions styles menu, subtitle position menu and/or time are adjusted to the selection operation of the option in menu, according to described selection operational correspondence, adjust the captions of described video.
On described caption editing interface, comprise replacement captions option;
After described demonstration caption editing interface, described method also comprises:
In selection when operation when receiving described replacement captions option, all captions of described video are reset to default default conditions.
Described caption editing comprises definite option on interface;
After described demonstration caption editing interface, described method also comprises:
When selection when operation receiving described definite option, the captions on described video after the described adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.
Described method also comprises:
Captions after described adjustment are uploaded to high in the clouds, described in the captions uploaded for carrying out associated with the described video of storing on described high in the clouds;
When receive described video playing request time, the captions associated with described video from high in the clouds obtains adjustment;
On described video, show the captions of the described association of obtaining.
Those skilled in the art, considering specification and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (26)

1. a method of adjusting captions in video, is characterized in that, comprising:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
2. method according to claim 1, is characterized in that, described caption editing instruction is to the selection operation of the menu option on screen or to the single button on remote control equipment or the clicking operation of combination button.
3. method according to claim 1, it is characterized in that, described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, comprising:
When receiving caption editing instruction, show caption editing interface, on described caption editing interface, comprise contrast adjustment option;
According to the current reproduction time of video, obtain at least two captions, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When receiving when described contrast is adjusted to the selection operation of option, at least two captions described in showing on described caption editing interface.
4. method according to claim 3, is characterized in that, described when receiving caption editing instruction, shows caption editing interface, comprises contrast adjustment option on described caption editing interface, comprising:
Reduce the brightness of described video;
Upper strata at the interface of described video shows described caption editing interface with certain transparency.
5. method according to claim 1, it is characterized in that, described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, after the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, described method also comprises:
Control described video and play to preset broadcasting speed, described default broadcasting speed is less than the normal playback speed of described video.
6. method according to claim 1, is characterized in that, the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
Calculate described operating time and described selection and operate time difference of the initial displaying time of selected captions;
According to the described time difference, adjust initial displaying time and the termination displaying time of all captions of described video.
7. method according to claim 6, is characterized in that, described according to the described time difference, adjusts initial displaying time and the termination displaying time of all captions of described video, comprising:
When the initial displaying time that operates selected captions than described selection when the described operating time shifts to an earlier date, by the initial displaying time of all captions of described video with stop the interval that displaying time shifts to an earlier date the described time difference;
When the initial displaying time that operates selected captions than described selection when the described operating time postpones, by the initial displaying time of all captions of described video with stop the interval that displaying time is postponed the described time difference.
8. method according to claim 1, it is characterized in that, described selection when operation when receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound corresponding to selected captions is play constantly, comprising:
When selection when operation receiving respectively different captions, record described each select the operating time of operation;
The described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time, comprising:
The time difference of calculating the initial displaying time of the operating time of described each selection operation and the captions of described selection operational correspondence, obtain at least two time differences;
The mean value of at least two time differences described in calculating;
According to described mean value, adjust initial displaying time and the termination displaying time of all captions of described video.
9. according to the method described in claim 1-8 any one, it is characterized in that, the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time after, described method also comprises:
When receiving the in advance operation in advance of the first Preset Time of the captions after described adjustment, by the initial displaying time of the captions after described adjustment with stop displaying time the first Preset Time in advance; Or
When receiving postponement when operation of the captions after described adjustment being postponed to the second Preset Time, by the initial displaying time of the captions after described adjustment with stop displaying time and postpone the second Preset Time.
10. method according to claim 3, is characterized in that, the menu comprising on described caption editing interface has the captions of selection, size of caption, captions pattern, subtitle position and/or time to adjust;
After described demonstration caption editing interface, described method also comprises:
When receiving when described selection title menu, size of caption menu, captions styles menu, subtitle position menu and/or time are adjusted to the selection operation of the option in menu, according to described selection operational correspondence, adjust the captions of described video.
11. methods according to claim 3, is characterized in that, comprise replacement captions option on described caption editing interface;
After described demonstration caption editing interface, described method also comprises:
In selection when operation when receiving described replacement captions option, all captions of described video are reset to default default conditions.
12. methods according to claim 3, is characterized in that, described caption editing comprises definite option on interface;
After described demonstration caption editing interface, described method also comprises:
When selection when operation receiving described definite option, the captions on described video after the described adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.
13. methods according to claim 1, is characterized in that, described method also comprises:
Captions after described adjustment are uploaded to high in the clouds, described in the captions uploaded for carrying out associated with the described video of storing on described high in the clouds;
When receive described video playing request time, the captions associated with described video from high in the clouds obtains adjustment;
On described video, show the captions of the described association of obtaining.
14. 1 kinds of devices of adjusting captions in video, is characterized in that, comprising:
The first acquisition module, for when receiving caption editing instruction, obtains at least two captions according to the current reproduction time of video, and the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
The first display module, at least two captions described in showing;
Logging modle, for when receiving when the selection of wherein captions of described at least two captions is operated, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
The first adjusting module, for operate the initial displaying time of selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time.
15. devices according to claim 14, is characterized in that, described the first acquisition module comprises:
The first display unit, for when receiving caption editing instruction, shows caption editing interface, comprises contrast adjustment option on described caption editing interface;
Acquiring unit, obtains at least two captions for the current reproduction time according to video, and the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest.
16. devices according to claim 15, is characterized in that, described the first display unit comprises:
Reduce subelement, for reducing the brightness of described video;
Show subelement, for the upper strata at the interface at described video, with certain transparency, show described caption editing interface.
17. devices according to claim 14, is characterized in that, described device also comprises:
Control module, for described when receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, after the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest, control described video and play to preset broadcasting speed, described default broadcasting speed is less than the normal playback speed of described video.
18. devices according to claim 14, is characterized in that, described the first adjusting module comprises:
The first computing unit, operates time difference of the initial displaying time of selected captions for calculating described operating time and described selection;
The first adjustment unit, for according to the described time difference, adjusts initial displaying time and the termination displaying time of all captions of described video.
19. devices according to claim 18, is characterized in that, described the first adjustment unit comprises:
First adjusts subelement, while shifting to an earlier date for the initial displaying time that operates selected captions than described selection when the described operating time, and the interval that the initial displaying time of all captions of described video and termination displaying time are shifted to an earlier date to the described time difference;
Second adjusts subelement, while postponing for the initial displaying time that operates selected captions than described selection when the described operating time, the initial displaying time of all captions of described video and termination displaying time is postponed to the interval of described time difference.
20. devices according to claim 14, is characterized in that, described logging modle comprises:
Record cell, for selection when operation when receiving respectively different captions, record described each select the operating time of operation;
Described the first adjusting module comprises:
The second computing unit, for calculating the time difference of the initial displaying time of the operating time of described each selection operation and the captions of described selection operational correspondence, obtains at least two time differences;
The 3rd computing unit, for the mean value of at least two time differences described in calculating;
The second adjustment unit, for according to described mean value, adjusts initial displaying time and the termination displaying time of all captions of described video.
21. according to the device described in claim 14-20 any one, it is characterized in that, described device also comprises:
The second adjusting module, for the described initial displaying time that operates selected captions according to described operating time and described selection, adjust described video all captions initial displaying time and stop displaying time after, when receiving the in advance operation in advance of the first Preset Time of the captions after described adjustment, by the initial displaying time of the captions after described adjustment with stop displaying time the first Preset Time in advance; When receiving postponement when operation of the captions after described adjustment being postponed to the second Preset Time, by the initial displaying time of the captions after described adjustment with stop displaying time and postpone the second Preset Time.
22. devices according to claim 15, is characterized in that, the menu comprising on described caption editing interface has the captions of selection, size of caption, captions pattern, subtitle position and/or time to adjust; Described device also comprises:
The 3rd adjusting module, for when receiving the selection that described selection title menu, size of caption menu, captions styles menu, subtitle position menu and/or time are adjusted to the option of menu and operate, according to described selection operational correspondence, adjust the captions of described video.
23. devices according to claim 15, is characterized in that, comprise replacement captions option on described caption editing interface; Described device also comprises:
Replacement module, in selection when operation for when receiving described replacement captions option, resets to default default conditions by all captions of described video.
24. devices according to claim 15, is characterized in that, described caption editing comprises definite option on interface; Described device also comprises:
The second display module, for selection when operation when receiving described definite option, the captions on described video after the described adjustment of roll display and video synchronous sound, wherein, the captions statement corresponding with current video synchronous sound is highlighted.
25. devices according to claim 14, is characterized in that, described device also comprises:
Upper transmission module, for the captions after described adjustment are uploaded to high in the clouds, described in the captions uploaded for carrying out associated with the described video of storing on described high in the clouds;
The second acquisition module, when receive described video playing request time, the captions associated with described video from high in the clouds obtains adjustment;
The 3rd display module, for showing the captions of the described association of obtaining on described video.
26. 1 kinds of devices of adjusting captions in video, is characterized in that, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
When receiving caption editing instruction, according to the current reproduction time of video, obtain at least two captions and show, the initial displaying time of described at least two captions or the described current reproduction time of termination displaying time distance are nearest;
When selection when operation receiving the wherein captions in described at least two captions, record the operating time of described selection operation, the described operating time is hearing that corresponding to user described selection operates the operation that triggers when sound that selected captions are corresponding is play constantly;
According to described operating time and described selection, operate the initial displaying time of selected captions, adjust described video all captions initial displaying time and stop displaying time.
CN201410367596.9A 2014-07-29 2014-07-29 Adjust the method and device of subtitle in video Active CN104104990B (en)

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 true CN104104990A (en) 2014-10-15
CN104104990B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117414A (en) * 2015-07-29 2015-12-02 天脉聚源(北京)教育科技有限公司 Note and action synchronization method and apparatus in video
CN107809679A (en) * 2017-10-26 2018-03-16 费非 The method and apparatus for adjusting captions
CN108093310A (en) * 2017-11-30 2018-05-29 腾讯科技(深圳)有限公司 Sharing method and device, storage medium, the electronic device of information
CN108307245A (en) * 2018-02-07 2018-07-20 中译语通科技股份有限公司 A kind of subtitle font color acquisition methods, display based on context-aware technology
CN109672942A (en) * 2019-01-03 2019-04-23 百度在线网络技术(北京)有限公司 Subtitle adjusting method and device
CN110427805A (en) * 2019-06-20 2019-11-08 平安科技(深圳)有限公司 Image display method, device, computer equipment 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
WO2022237202A1 (en) * 2021-05-10 2022-11-17 北京达佳互联信息技术有限公司 Subtitle information editing method and apparatus
CN115474066A (en) * 2021-06-11 2022-12-13 北京有竹居网络技术有限公司 Subtitle processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Cited By (17)

* Cited by examiner, † Cited by third party
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
CN105117414A (en) * 2015-07-29 2015-12-02 天脉聚源(北京)教育科技有限公司 Note and action synchronization method and apparatus in video
CN107809679A (en) * 2017-10-26 2018-03-16 费非 The method and apparatus for adjusting captions
CN110708589A (en) * 2017-11-30 2020-01-17 腾讯科技(深圳)有限公司 Information sharing method and device, storage medium and electronic device
CN110708589B (en) * 2017-11-30 2021-08-17 腾讯科技(深圳)有限公司 Information sharing method and device, storage medium and electronic device
CN108093310B (en) * 2017-11-30 2019-11-05 腾讯科技(深圳)有限公司 Sharing method and device, storage medium, the electronic device of information
CN108093310A (en) * 2017-11-30 2018-05-29 腾讯科技(深圳)有限公司 Sharing method and device, storage medium, the electronic device of information
US11265614B2 (en) 2017-11-30 2022-03-01 Tencent Technology (Shenzhen) Company Limited Information sharing method and device, storage medium and electronic device
CN108307245A (en) * 2018-02-07 2018-07-20 中译语通科技股份有限公司 A kind of subtitle font color acquisition methods, display based on context-aware technology
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
CN110427805A (en) * 2019-06-20 2019-11-08 平安科技(深圳)有限公司 Image display method, device, computer equipment and storage medium
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
WO2022237202A1 (en) * 2021-05-10 2022-11-17 北京达佳互联信息技术有限公司 Subtitle information editing method and apparatus
CN115474066A (en) * 2021-06-11 2022-12-13 北京有竹居网络技术有限公司 Subtitle processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104104990B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN104104990A (en) Method and device for adjusting subtitles in video
EP3190786B1 (en) Image display apparatus
CN105979383B (en) Image acquiring method and device
CN104104986B (en) The synchronous method and device of audio and captions
CN106792071A (en) Method for processing caption and device
CN104469437A (en) Advertisement pushing method and device
CN103916711A (en) Method and device for playing video signals
US20170126801A1 (en) Method, apparatus, and storage medium for performing media synchronization
CN105578275A (en) Video display method and apparatus
CN105244048A (en) Audio play control method and apparatus
CN105338409A (en) Network video pre-loading method and device
CN106210757A (en) Live broadcasting method, live broadcast device and live broadcast system
CN104318934A (en) Method, terminal, wearable device and play device for closing multimedia file
CN107333170A (en) The control method and device of intelligent lamp
CN106559712A (en) Video playback processing method, device and terminal device
CN103997669A (en) Equipment control method, equipment control device and equipment control system
CN105744133A (en) Video fill-in light method and apparatus
CN104111720A (en) Electronic device control method and device and electronic device
CN104168422A (en) Image processing method and device
CN104933071A (en) Information retrieval method and corresponding device
CN105263044A (en) Method and device for adjusting smart home equipment
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN104244045A (en) Method and device for controlling displaying of video pictures
CN108028951A (en) Control the method and device played
CN105451056A (en) Audio and video synchronization method and 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