CN107809679A - The method and apparatus for adjusting captions - Google Patents

The method and apparatus for adjusting captions Download PDF

Info

Publication number
CN107809679A
CN107809679A CN201711018332.2A CN201711018332A CN107809679A CN 107809679 A CN107809679 A CN 107809679A CN 201711018332 A CN201711018332 A CN 201711018332A CN 107809679 A CN107809679 A CN 107809679A
Authority
CN
China
Prior art keywords
captions
audio
regulated
beginning
end time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711018332.2A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201711018332.2A priority Critical patent/CN107809679A/en
Publication of CN107809679A publication Critical patent/CN107809679A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams

Abstract

The invention discloses a kind of method and apparatus for adjusting captions.Wherein, this method includes:Determine multimedia process sound intermediate frequency play at the beginning of between and the end time, between at the beginning of being played according to the audio of determination and the end time determines adjustment parameter, according to adjustment parameter to captions to be regulated at the beginning of between and/or the end time be adjusted, wherein, adjustment parameter be used for captions to be regulated at the beginning of between and/or the end time be adjusted, and adjust to captioning synchronization to be regulated in audio play.The present invention is solved in audio playing process, audio and the nonsynchronous technical problem of captions.

Description

The method and apparatus for adjusting captions
Technical field
The present invention relates to multimedia technology field, in particular to a kind of method and apparatus for adjusting captions.
Background technology
In existing multimedia play software, when multimedia plays, if user needs to watch a certain section of sound , it is necessary to using the advance in multimedia play software or back during captions corresponding to frequency, user can just watch relatively The captions answered.But user needs carrying out multimedia repeatedly advance or back operation, can just be pin-pointed to multimedia The time of desired advance or retrogressing.In addition, when user watches and plays multimedia, captions and display usually occur The inconsistent situation of picture, for example, the personage in video has begun to speak, but captions are not shown also, or in video Task, which is over, is spoken, but captions are additionally shown on picture.
For above-mentioned in audio playing process, audio and the nonsynchronous problem of captions, effective solution is not yet proposed at present Certainly scheme.
The content of the invention
The embodiments of the invention provide a kind of method and apparatus for adjusting captions, at least to solve in audio playing process In, audio and the nonsynchronous technical problem of captions.
One side according to embodiments of the present invention, there is provided a kind of method for adjusting captions, including:Determine that multimedia is broadcast Let off journey sound intermediate frequency play at the beginning of between and the end time;Between at the beginning of being played according to the audio of determination and the end time is true Determine adjustment parameter, wherein, adjustment parameter be used for captions to be regulated at the beginning of between and/or the end time be adjusted, and adjust Section plays to captioning synchronization to be regulated in audio;According to adjustment parameter to captions to be regulated at the beginning of between and/or the end time It is adjusted.
Another aspect according to embodiments of the present invention, a kind of device for adjusting captions is additionally provided, including:First determines mould Block, for determine multimedia process sound intermediate frequency play at the beginning of between and the end time;Second determining module, for basis Between at the beginning of the audio broadcasting of determination and the end time determines adjustment parameter, wherein, adjustment parameter is used for captions to be regulated At the beginning of between and/or the end time be adjusted, and adjust to captioning synchronization to be regulated in audio play;Adjustment module, use According to adjustment parameter to captions to be regulated at the beginning of between and/or the end time be adjusted.
Another aspect according to embodiments of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein, the method that program performs regulation captions.
Another aspect according to embodiments of the present invention, a kind of processor being additionally provided, the processor is used for operation program, its In, the method for adjusting captions is performed when program is run.
Another aspect according to embodiments of the present invention, a kind of terminal is additionally provided, including:Display, for multimedia File is shown;Processor, the processor operation program, wherein, held when program is run for the data exported from display The method of row regulation captions.
Another aspect according to embodiments of the present invention, a kind of terminal is additionally provided, including:Display, for multimedia File is shown;Storage medium, for storage program, wherein, program is operationally held for the data exported from display The method of row regulation captions.
In embodiments of the present invention, it is more by determining between adjusting at the beginning of captions and/or by the way of the end time Media play process sound intermediate frequency play at the beginning of between and the end time, and according to the audio of determination play at the beginning of between and tie The beam time determines adjustment parameter, finally according to adjustment parameter to captions to be regulated at the beginning of between and/or the end time adjust Section, wherein, adjustment parameter be used for captions to be regulated at the beginning of between and/or the end time be adjusted, and adjust to waiting to adjust Save captioning synchronization to play in audio, reach the purpose for making audio and captioning synchronization, it is achieved thereby that quickly making captions and audio Synchronous technique effect, and then solve in audio playing process, audio and the nonsynchronous technical problem of captions.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram of regulation captions according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of the display interface of optional multimedia player according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of optional vernier control panel according to embodiments of the present invention;
Fig. 4 is a kind of method flow diagram of optional regulation captions according to embodiments of the present invention;
Fig. 5 is a kind of method flow diagram of optional regulation captions according to embodiments of the present invention;
Fig. 6 is a kind of method flow diagram of optional regulation captions according to embodiments of the present invention;
Fig. 7 is a kind of method flow diagram of optional regulation captions according to embodiments of the present invention;And
Fig. 8 is a kind of apparatus structure schematic diagram of regulation captions according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method for adjusting captions is, it is necessary to illustrate, in accompanying drawing The step of flow illustrates can perform in the computer system of such as one group computer executable instructions, although also, Logical order is shown in flow chart, but in some cases, can be to perform shown different from order herein or retouch The step of stating.
Fig. 1 is the method flow diagram of regulation captions according to embodiments of the present invention, as shown in figure 1, this method is including as follows Step:
Step S102, determine multimedia process sound intermediate frequency play at the beginning of between and the end time.
It should be noted that multimedia refers to the synthesis of media, a variety of matchmakers such as text, sound and image are generally comprised Body form, i.e. multimedia can include but is not limited to the forms such as audio, video, image, word.
In a kind of optional embodiment, the multimedia player installed on the subscriber terminal plays multimedia, uses Audio in the multimedia that family finds to play and the captions shown by screen are inconsistent, and now, user passes through to multimedia Device is operated accordingly, between getting at the beginning of the audio of broadcasting and the end time.Specifically, after multimedia player Platform processor carries out speech processes to the audio file of whole multimedia file, by between every two word in audio file Interval time whole audio file is divided into multiple sentences, if for example, interval time be more than predetermined interval (for example, 1 Second), then the audio file is divided into two sentences by processor, otherwise without division.Wherein, examined after interval time Measure occur for the first time voice time be at the beginning of the sentence between (between at the beginning of i.e. above-mentioned audio broadcasting), similarly, The time that voice occurs in detected last time before next interval time is the end time of the sentence.
In addition it is also necessary to explanation, after audio is divided into multiple sentences according to time interval, to each sentence It is identified, for example, a label or title are set for every sentence, in order to corresponding with captions by label, so as to reach To captions and the technique effect of audio sync.
In addition, above-mentioned audio file includes multiple audios, audio file is corresponding with whole multimedia file File, and audio is the file corresponding to some multi-media segment, for example, the audio files corresponding to the video of 2 seconds.
It should also be noted that, above-mentioned user terminal can be but be not limited to computer, mobile phone, flat board etc..
Step S104, according to the audio of determination play at the beginning of between and the end time determine adjustment parameter, wherein, regulation Parameter be used for captions to be regulated at the beginning of between and/or the end time be adjusted, and adjust to captioning synchronization to be regulated in Audio plays.
It should be noted that above-mentioned adjustment parameter be to captions to be regulated at the beginning of between and/or the end time adjust The increment (increment includes incrementss and decrement) of section, carrys out captions to be regulated in multimedia player by using adjustment parameter Between at the beginning of middle display and/or the end time, so that captions and audio sync.
In a kind of optional embodiment, captions to be regulated are " And today I just stopped and I said,‘What if I don’t wanna be a shoe", at the beginning of the captions between be 00:00:02.652, at the end of Between be 00:00:06.036, and at the beginning of the audio corresponding with the captions between be 00:00:03.652, the end time 00: 00:06.536, captions are asynchronous with audio, and now it is poor to watch multimedia experience effect by user.From the foregoing, it will be observed that captions The time difference of 1 second between at the beginning of time started and audio be present, the end time of captions and the end time of audio are present 0.5 second Time difference, thus, user can determine that the adjustment parameter for adjusting captions to be regulated.
Step S106, according to adjustment parameter to captions to be regulated at the beginning of between and/or the end time be adjusted.
In a kind of optional embodiment, a kind of display interface of optional multimedia player as shown in Figure 2 shows It is intended to, in fig. 2, A is multimedia region, and B is adjustment region, and C is the vernier control panel in adjustment region.Wherein, It can select to finely tune the specific time interval of captions when user clicks on fine setting interval, under default situations, finely tune at intervals of 0.5 Second.Specifically, user clicks on vernier control panel after fine setting interval (for example, selection fine setting was at intervals of 0.5 second) is determined On button, so that it may between at the beginning of to captions and/or the end time is adjusted.Wherein, except can be to currently just in captions Outside time started and/or end time are adjusted, can also to the upper audio or next audio corresponding to the captions, Captions corresponding to captions corresponding to a upper audio and next audio are adjusted.In addition, above-mentioned audio can be sentence, It can also be word.
In an alternative embodiment, the schematic diagram of vernier control panel is as shown in figure 3, in figure 3, the table of label 1 Give instructions in reply and read button, for multiple loop play audio, wherein, after pressing re-reading button, multimedia player, which starts the cycle over, to be broadcast Playback frequency, if user presses re-reading button again, stop loop play audio;Label 2 represents a sentence, label 3 The end time of increase captions to be regulated is represented, i.e., adjusts the end time to the right, label 4 represents to reduce the end of captions to be regulated Time, i.e., the end time is adjusted to the left, label 5 represents next sentence, and label 6 is represented at the beginning of increasing captions to be regulated Between, i.e., the time started is adjusted to the right, and label 7 is represented between reducing at the beginning of captions to be regulated, i.e., adjusts the time started to the left.By The above understands, the function of label 3,4,6 and 7 is to captions or reads aloud section and be finely adjusted, wherein, in figure 3, user The operation finely tuned to the left between at the beginning of have selected to captions.
It should be noted that the fine setting interval by setting the captions to be regulated on multimedia player, can be to captions It is finely adjusted, because the fine setting interval of setting is general all smaller, it is thus possible to improve the matching degree of captions and audio, and then Improve the Experience Degree of user.
Based on the scheme disclosed in above-mentioned steps S102 to step S106, it can know, by determining multimedia mistake Journey sound intermediate frequency play at the beginning of between and the end time, and according to the audio of determination play at the beginning of between and the end time determine Adjustment parameter, finally according to adjustment parameter to captions to be regulated at the beginning of between and/or the end time be adjusted, wherein, adjust Between saving at the beginning of parameter is used for captions to be regulated and/or the end time is adjusted, and adjusts to captioning synchronization to be regulated Played in audio, reached the purpose for making audio and captioning synchronization, it is achieved thereby that the quick technology for making captions and audio sync Effect, and then solve in audio playing process, audio and the nonsynchronous technical problem of captions.
In a kind of optional embodiment, Fig. 4 shows a kind of method flow diagram of optional regulation captions, such as Fig. 4 institutes Show, before step S102 is performed, i.e., it is determined that multimedia process sound intermediate frequency play at the beginning of between and the end time it Before, the method for adjusting captions also comprises the following steps:
Step S402, obtain multimedia identification information;
Step S404, the identification information of subtitle file is obtained, wherein, subtitle file includes at least one captions to be regulated;
Step S406, judges whether multimedia identification information matches with the identification information of subtitle file;
Step S408, in the case where the identification information of multimedia identification information and subtitle file matches, determine word Curtain file be and the subtitle file corresponding to multimedia.
It should be noted that same multimedia file there may be multiple subtitle files, therefore, it is necessary to from multiple captions Found in file and multimedia file matching degree highest subtitle file.Above-mentioned multimedia identification information can be but unlimited In multimedia title, numbering etc., the identification information of subtitle file can be but be not limited to the title of subtitle file, numbering etc.. In addition, each subtitle file may include multiple captions, for example, including multiple captions in subtitle file Z, such as:
1
00:00:00.248——>00:00:02.898
‘You’re a shoe!You’re a shoe,you’re a shoe’.
2
00:00:02.652——>00:00:06.036
And today I just stopped and I said,‘What if I don’t wanna be a shoe
Captions corresponding to above label 1 and label 2 are the captions in subtitle file Z.
In a kind of optional embodiment, multimedia entitled " the Kung Fu Panda 3- high definition versions " that is currently played, The background processor of multimedia player by web search to multiple subtitle files, this multiple subtitle file it is entitled:" work( Husband panda 2 ", " panda Adventures of Pei " and " Kung Fu Panda 3 ".After subtitle file is searched, processor is to multimedia name Title is matched with the title of subtitle file, selects matching degree highest subtitle file as the captions corresponding with the multimedia File.
In an alternative embodiment, when multiple identification information identical subtitle files be present, background processor The subtitle file corresponding with multimedia is determined according to the download of subtitle file, for example, selection subtitle file download is most High subtitle file is as the subtitle file corresponding with multimedia.
After the subtitle file corresponding with multimedia is determined from multiple subtitle files, it is also necessary to from subtitle file It is determined that needing the captions adjusted, that is, determine captions to be regulated.Wherein it is determined that one kind that the method for captions to be regulated is as shown in Figure 5 The method flow diagram of optional regulation captions, after step S408 is performed, i.e., it is determined that subtitle file is right for multimedia After the subtitle file answered, the method for adjusting captions also comprises the following steps:
Step S502, obtain the mark sub-information corresponding with audio broadcasting;
Step S504, it is determined that the captions in the subtitle file to match with mark sub-information identify;
Step S506, captions to be regulated are determined according to captions mark.
It should be noted that captions to be regulated comprise at least following information:Captions mark, time row information and captions row letter Breath.Wherein, captions are identified for distinguishing each captions, between time row information is identified at the beginning of captions and the end time, Captions row information is the captions to display in multimedia player.For example,
1
00:00:00.248——>00:00:02.898
‘You’re a shoe!You’re a shoe,you’re a shoe’.
Wherein, " 1 " identifies for captions, and 00:00:00.248——>00:00:02.898 is time row information, ' You ' re a shoe!You ' re a shoe, you ' re a shoe ' are captions row information.
Specifically, from the foregoing, the multimedia audio being currently played there is also a mark, by the way that this is marked Know and matched with the captions mark in subtitle file, it may be determined that the captions corresponding with the audio.I.e. when user clicks on Fig. 3 In label 1 button when, multimedia stops playing, and now, it is temporary that the background processor of multimedia player gets multimedia Audio before stopping, and captions to be regulated corresponding in subtitle file are found according to the label of audio.
It should be noted that in above-described embodiment of the application, subtitle file can be srt subtitle files.
In a kind of optional embodiment, a kind of method flow diagram of optional regulation captions as shown in Figure 6, step S102, that is, determine multimedia process sound intermediate frequency play at the beginning of between and the end time, specifically comprise the following steps:
Step S602, the time row information of captions to be regulated is obtained, wherein, time row information comprises at least one of following: Between at the beginning of captions to be regulated, the end time of captions to be regulated and time separator;
Step S604, according to time separator obtain time row information at the beginning of between and/or the end time.
It should be noted that above-mentioned time separator is a kind of separator, between at the beginning of to captions and at the end of Between split.For example, time row information is " 00:00:00.248——>00:00:02.898 ", now, time separator is “——>", the time " 00 before separator:00:00.248 " be captions at the beginning of between, the time " 00 after separator: 00:02.898 " between the end of captions, and thus, the background processor of multimedia player is by identifying in subtitle file Time separator " --->" can get at the beginning of captions to be regulated between and the end time.
It should be noted that between at the beginning of according to adjustment parameter to captions to be regulated and/or the end time adjusts After section, it is also necessary to which the captions after regulation are carried out into corresponding, specific method one kind as shown in Figure 7 with the multimedia audio played The method flow diagram of optional regulation captions, after step S106 is performed, i.e., according to adjustment parameter to captions to be regulated After time started and/or end time are adjusted, the method for adjusting captions also comprises the following steps:
Step S702, obtain regulation after captions to be regulated at the beginning of between and the end time;
Step S704, captions to be regulated are combined with audio according to time started and end time, after being adjusted Multimedia.
Specifically, corresponding mark self-information and the captions mark phase of the captions to be regulated after regulation will be played with audio It is corresponding, the audio corresponding with captions to be regulated is obtained, by between at the beginning of the captions after regulation and end time and audio Time it is corresponding so that captions are corresponding with audio, that is, it is synchronous with audio to complete captions.
In a kind of optional embodiment, captions to be regulated are mutually tied with audio according to time started and end time Close, after the multimedia after being adjusted, can also carry out following steps:
Step S706, determine the audio to be played in multimedia;
Step S708, in the case where receiving the instruction of loop play, loop play audio to be played;
Step S710, if receiving switching command, stop playing audio to be played, and the sound after loop play switching Frequently;
Step S712, if receiving the instruction for stopping playing, stop loop play audio, wherein, audio comprises at least It is one of following:Audio after audio to be played and switching.
Specifically, when playing audio, user by click on the re-reading button in Fig. 3 (i.e. in Fig. 3 label 1 pair The button answered) audio being currently played can be got, the audio played is to need to carry out loop play to wait to broadcast The audio put.After audio to be played is got, the background processor of multimedia player receives the finger of loop play Order, and loop play is carried out to audio to be played, until user presses re-reading button again, stopping carrying out loop play Audio.Wherein, after user presses re-reading button for the second time, the instruction received by the background processor of multimedia player To stop the instruction playing.In addition, during the audio that loop play is playing, if user presses broadcasting upper one Bar sentence or the button for playing next sentence, that is, it is sound corresponding to a upper sentence for the audio to switch the audio played Audio corresponding to frequency or next sentence of the audio, and the audio after loop play switching.
It should be noted that above-mentioned audio to be played can be but be not limited to sentence, word etc., and in user again Before pressing re-reading button, multimedia player will loop play audio always, unlimited cycle-index.
Embodiment 2
According to embodiments of the present invention, a kind of device embodiment for adjusting captions is additionally provided.
Fig. 8 is the apparatus structure schematic diagram of regulation captions according to embodiments of the present invention, as shown in figure 8, the device includes: First determining module 801, the second determining module 803 and adjustment module 805.
First determining module 801, for determine multimedia process sound intermediate frequency play at the beginning of between and the end time.
It should be noted that multimedia is the synthesis of media, the medias such as text, sound and image are generally comprised Form, i.e. multimedia can include but is not limited to the forms such as audio, video, image, word.
In a kind of optional embodiment, the multimedia player installed on the subscriber terminal plays multimedia, uses Audio in the multimedia that family finds to play and the captions shown by screen are inconsistent, and now, user passes through to multimedia Device is operated accordingly, between getting at the beginning of the audio of broadcasting and the end time.Specifically, after multimedia player Platform processor carries out speech processes to the audio file of whole multimedia file, by between every two word in audio file Interval time whole audio file is divided into multiple sentences, if for example, interval time be more than predetermined interval (for example, 1 Second), then the audio file is divided into two sentences by processor, otherwise without division.Wherein, examined after interval time Measure occur for the first time voice time be at the beginning of the sentence between (between at the beginning of i.e. above-mentioned audio broadcasting), similarly, The time that voice occurs in detected last time before next interval time is the end time of the sentence.
In addition it is also necessary to explanation, after audio is divided into multiple sentences according to time interval, to each sentence It is identified, for example, a label or title are set for every sentence, in order to corresponding with captions by label, so as to reach To captions and the technique effect of audio sync.
In addition, above-mentioned audio file includes multiple audios, audio file is corresponding with whole multimedia file File, and audio is the file corresponding to some multi-media segment, for example, the audio files corresponding to the video of 2 seconds.
It should also be noted that, above-mentioned user terminal can be but be not limited to computer, mobile phone, flat board etc..
Second determining module 803, for according to the audio of determination play at the beginning of between and the end time determine regulation ginseng Number, wherein, adjustment parameter be used for captions to be regulated at the beginning of between and/or the end time be adjusted, and adjust to waiting to adjust Captioning synchronization is saved to play in audio.
It should be noted that above-mentioned adjustment parameter be to captions to be regulated at the beginning of between and/or the end time adjust The increment (increment includes incrementss and decrement) of section, carrys out captions to be regulated in multimedia player by using adjustment parameter Between at the beginning of middle display and/or the end time, so that captions and audio sync.
In a kind of optional embodiment, captions to be regulated are " And today I just stopped and I said,‘What if I don’t wanna be a shoe", at the beginning of the captions between be 00:00:02.652, at the end of Between be 00:00:06.036, and at the beginning of the audio corresponding with the captions between be 00:00:03.652, the end time 00: 00:06.536, captions are asynchronous with audio, and now it is poor to watch multimedia experience effect by user.From the foregoing, it will be observed that captions The time difference of 1 second between at the beginning of time started and audio be present, the end time of captions and the end time of audio are present 0.5 second Time difference, thus, user can determine that the adjustment parameter for adjusting captions to be regulated.
Adjustment module 805, for according to adjustment parameter to captions to be regulated at the beginning of between and/or the end time adjust Section.
In a kind of optional embodiment, a kind of display interface of optional multimedia player as shown in Figure 2 shows It is intended to, in fig. 2, A is multimedia region, and B is adjustment region, and C is the vernier control panel in adjustment region.Wherein, It can select to finely tune the specific time interval of captions when user clicks on fine setting interval, under default situations, finely tune at intervals of 0.5 Second.Specifically, user clicks on vernier control panel after fine setting interval (for example, selection fine setting was at intervals of 0.5 second) is determined On button, so that it may between at the beginning of to captions and/or the end time is adjusted.Wherein, except can be to currently just in captions Outside time started and/or end time are adjusted, can also to the upper audio or next audio corresponding to the captions, Captions corresponding to captions corresponding to a upper audio and next audio are adjusted.In addition, above-mentioned audio can be sentence, It can also be word.
In an alternative embodiment, the schematic diagram of vernier control panel is as shown in figure 3, in figure 3, the table of label 1 Give instructions in reply and read button, for multiple loop play audio, wherein, after pressing re-reading button, multimedia player, which starts the cycle over, to be broadcast Playback frequency, if user presses re-reading button again, stop loop play audio;Label 2 represents a sentence, label 3 The end time of increase captions to be regulated is represented, i.e., adjusts the end time to the right, label 4 represents to reduce the end of captions to be regulated Time, i.e., the end time is adjusted to the left, label 5 represents next sentence, and label 6 is represented at the beginning of increasing captions to be regulated Between, i.e., the time started is adjusted to the right, and label 7 is represented between reducing at the beginning of captions to be regulated, i.e., adjusts the time started to the left.By The above understands, the function of label 3,4,6 and 7 is to captions or reads aloud section and be finely adjusted, wherein, in figure 3, user The operation finely tuned to the left between at the beginning of have selected to captions.
It should be noted that the fine setting interval by setting the captions to be regulated on multimedia player, can be to captions It is finely adjusted, because the fine setting interval of setting is general all smaller, it is thus possible to improve the matching degree of captions and audio, and then Improve the Experience Degree of user.
From the foregoing, it will be observed that by determine multimedia process sound intermediate frequency play at the beginning of between and the end time, and according to Between at the beginning of the audio broadcasting of determination and the end time determines adjustment parameter, finally according to adjustment parameter to captions to be regulated Time started and/or end time are adjusted, wherein, adjustment parameter be used for captions to be regulated at the beginning of between and/or tie The beam time is adjusted, and adjusts to captioning synchronization to be regulated and played in audio, has reached the purpose for making audio and captioning synchronization, It is achieved thereby that quickly making captions and the technique effect of audio sync, and then solve in audio playing process, audio and word The nonsynchronous technical problem of curtain.
It should be noted that above-mentioned first determining module 801, the second determining module 803 and adjustment module 805 correspond to Step S102 to step S106 in embodiment 1, three modules are identical with example and application scenarios that corresponding step is realized, But it is not limited to the disclosure of that of above-described embodiment 1.
Optionally, adjusting the device of captions also includes:First acquisition module, the second acquisition module, the first judge module with And the 3rd determining module.Wherein, the first acquisition module, for obtaining multimedia identification information;Second acquisition module, for obtaining The identification information of subtitle file is taken, wherein, subtitle file includes at least one captions to be regulated;First judge module, for sentencing Whether the multimedia identification information that breaks matches with the identification information of subtitle file;3rd determining module, in multimedia mark In the case that the identification information of knowledge information and subtitle file matches, determine that subtitle file is and the captions corresponding to multimedia are literary Part.
It should be noted that above-mentioned first acquisition module, the second acquisition module, the first judge module and the 3rd determine mould The step S402 to step S408 that block corresponds in embodiment 1, the example and application that four modules are realized with corresponding step Scene is identical, but is not limited to the disclosure of that of above-described embodiment 1.
Optionally, captions to be regulated comprise at least following information:Captions mark, time row information and captions row information.
Optionally, adjusting the device of captions also includes:3rd acquisition module, the 4th determining module and the 5th determine mould Block.Wherein, the 3rd acquisition module, for obtaining the mark sub-information corresponding with audio broadcasting;4th determining module, for true Captions in the fixed subtitle file to match with mark sub-information identify;5th determining module, determined for being identified according to captions Captions to be regulated.
Implement it should be noted that above-mentioned 3rd acquisition module, the 4th determining module and the 5th determining module correspond to Step S502 to step S506 in example 1, three modules are identical with example and application scenarios that corresponding step is realized, but not It is limited to the disclosure of that of above-described embodiment 1.
Optionally, the first determining module includes:4th acquisition module and the 5th acquisition module.Wherein, the 4th mould is obtained Block, for obtaining the time row information of captions to be regulated, wherein, time row information comprises at least one of following:Captions to be regulated At the beginning of between, the end time of captions to be regulated and time separator;5th acquisition module, for according to time separator Obtain time row information at the beginning of between and/or the end time.
It should be noted that the step that above-mentioned 4th acquisition module and the 5th acquisition module correspond in embodiment 1 S602 to step S604, two modules are identical with example and application scenarios that corresponding step is realized, but are not limited to above-mentioned reality Apply the disclosure of that of example 1.
Optionally, adjusting the device of captions also includes:6th acquisition module and adjusting module.Wherein, the 6th mould is obtained Block, for obtain adjust after captions to be regulated at the beginning of between and the end time;Adjusting module, for according to the time started and Captions to be regulated are combined by the end time with audio, the multimedia after being adjusted.
It should be noted that the step S702 that above-mentioned 6th acquisition module and adjusting module correspond in embodiment 1 is extremely Step S704, two modules are identical with example and application scenarios that corresponding step is realized, but are not limited to the institute of above-described embodiment 1 Disclosure.
Optionally, adjusting the device of captions also includes:3rd determining module, playing module, handover module and stopping mould Block.Wherein, the 3rd determining module, for determining the audio to be played in multimedia;Playing module, for receiving circulation In the case of the instruction of broadcasting, loop play audio to be played;Handover module, if for receiving switching command, stop Play audio to be played, and the audio after loop play switching;Stopping modular, if for receiving the finger for stopping playing Order, stop loop play audio, wherein, audio comprises at least one of following:Audio after audio to be played and switching.
Implement it should be noted that above-mentioned 3rd determining module, playing module, handover module and stopping modular correspond to Step S706 to step S712 in example 1, four modules are identical with example and application scenarios that corresponding step is realized, but not It is limited to the disclosure of that of above-described embodiment 1.
Another aspect according to embodiments of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein, the method that program performs the regulation captions in embodiment 1.
Another aspect according to embodiments of the present invention, a kind of processor being additionally provided, the processor is used for operation program, its In, the method for adjusting captions in embodiment 1 is performed when program is run.
Another aspect according to embodiments of the present invention, a kind of terminal is additionally provided, including:Display, for multimedia File is shown;Processor, the processor operation program, wherein, held when program is run for the data exported from display The method of regulation captions in row embodiment 1.
Another aspect according to embodiments of the present invention, a kind of terminal is additionally provided, including:Display, for multimedia File is shown;Storage medium, for storage program, wherein, program is operationally held for the data exported from display The method of regulation captions in row embodiment 1.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (11)

  1. A kind of 1. method for adjusting captions, it is characterised in that including:
    Determine multimedia process sound intermediate frequency play at the beginning of between and the end time;
    Between at the beginning of being played according to the audio of determination and the end time determines adjustment parameter, wherein, the adjustment parameter For between at the beginning of to captions to be regulated and/or the end time is adjusted, and adjust to the captioning synchronization to be regulated in The audio plays;
    According to the adjustment parameter to the captions to be regulated at the beginning of between and/or the end time be adjusted.
  2. 2. according to the method for claim 1, it is characterised in that it is determined that the beginning that multimedia process sound intermediate frequency plays Before time and end time, methods described also includes:
    Obtain the multimedia identification information;
    The identification information of subtitle file is obtained, wherein, the subtitle file includes at least one captions to be regulated;
    Judge whether the multimedia identification information matches with the identification information of the subtitle file;
    In the case where the identification information of the multimedia identification information and the subtitle file matches, the captions are determined File is the subtitle file corresponding to the multimedia.
  3. 3. according to the method for claim 2, it is characterised in that the captions to be regulated comprise at least following information:Captions Mark, time row information and captions row information, wherein, it is determined that the subtitle file is the captions corresponding to the multimedia After file, methods described also includes:
    Obtain the mark sub-information corresponding with audio broadcasting;
    It is determined that the captions in the subtitle file to match with the mark sub-information identify;
    The captions to be regulated are determined according to captions mark.
  4. 4. according to the method for claim 3, it is characterised in that at the beginning of determining that multimedia process sound intermediate frequency plays Between and the end time, including:
    The time row information of the captions to be regulated is obtained, wherein, the time row information comprises at least one of following:It is described to treat Between adjusting at the beginning of captions, the end time of the captions to be regulated and time separator;
    Between at the beginning of being obtained according to the time separator in the time row information and/or the end time.
  5. 5. according to the method for claim 4, it is characterised in that according to the adjustment parameter to the captions to be regulated After time started and/or end time are adjusted, methods described also includes:
    Obtain regulation after the captions to be regulated at the beginning of between and the end time;
    The captions to be regulated are combined with the audio according to the time started and end time, it is more after being adjusted Media.
  6. 6. according to the method for claim 5, it is characterised in that after the multimedia after being adjusted, methods described is also Including:
    Determine the audio to be played in the multimedia;
    In the case where receiving the instruction of loop play, audio to be played described in loop play;
    If receiving switching command, stop playing the audio to be played, and the audio after loop play switching;
    If receiving the instruction for stopping playing, stop loop play audio, wherein, the audio comprises at least one of following: Audio after audio to be played and switching.
  7. A kind of 7. device for adjusting captions, it is characterised in that including:
    First determining module, for determine multimedia process sound intermediate frequency play at the beginning of between and the end time;
    Second determining module, for according to the audio of determination play at the beginning of between and the end time determine adjustment parameter, Wherein, between at the beginning of the adjustment parameter is used for captions to be regulated and/or the end time is adjusted, and adjusts to described Captioning synchronization to be regulated plays in the audio;
    Adjustment module, for according to the adjustment parameter to the captions to be regulated at the beginning of between and/or the end time carry out Regulation.
  8. A kind of 8. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, described program right of execution The method that profit requires the regulation captions described in any one in 1 to 6.
  9. A kind of 9. processor, it is characterised in that the processor is used for operation program, wherein, right of execution when described program is run The method that profit requires the regulation captions described in any one in 1 to 6.
  10. A kind of 10. terminal, it is characterised in that including:
    Display, for being shown to multimedia file;
    Processor, the processor operation program, wherein, held when described program is run for the data exported from the display The method of regulation captions in row claim 1 to 6 described in any one.
  11. A kind of 11. terminal, it is characterised in that including:
    Display, for being shown to multimedia file;
    Storage medium, for storage program, wherein, described program operationally performs for the data exported from the display The method of regulation captions in claim 1 to 6 described in any one.
CN201711018332.2A 2017-10-26 2017-10-26 The method and apparatus for adjusting captions Pending CN107809679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711018332.2A CN107809679A (en) 2017-10-26 2017-10-26 The method and apparatus for adjusting captions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711018332.2A CN107809679A (en) 2017-10-26 2017-10-26 The method and apparatus for adjusting captions

Publications (1)

Publication Number Publication Date
CN107809679A true CN107809679A (en) 2018-03-16

Family

ID=61591255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711018332.2A Pending CN107809679A (en) 2017-10-26 2017-10-26 The method and apparatus for adjusting captions

Country Status (1)

Country Link
CN (1) CN107809679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471436A (en) * 2023-04-12 2023-07-21 央视国际网络有限公司 Information processing method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104986A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Audio frequency and subtitle synchronizing method and device
CN104104990A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Method and device for adjusting subtitles in video
CN104301771A (en) * 2013-07-15 2015-01-21 中兴通讯股份有限公司 Method and device for adjusting playing progress of video file
CN104967910A (en) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 Multimedia play progress control method and apparatus
US20160007054A1 (en) * 2009-09-22 2016-01-07 Caption Colorado Llc Caption and/or Metadata Synchronization for Replay of Previously or Simultaneously Recorded Live Programs
JP5879169B2 (en) * 2012-03-26 2016-03-08 日本放送協会 Subtitle synchronized playback apparatus and program thereof
CN106792097A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 Audio signal captions matching process and device
CN107105352A (en) * 2017-05-16 2017-08-29 青岛海信电器股份有限公司 Captioning synchronization method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160007054A1 (en) * 2009-09-22 2016-01-07 Caption Colorado Llc Caption and/or Metadata Synchronization for Replay of Previously or Simultaneously Recorded Live Programs
JP5879169B2 (en) * 2012-03-26 2016-03-08 日本放送協会 Subtitle synchronized playback apparatus and program thereof
CN104301771A (en) * 2013-07-15 2015-01-21 中兴通讯股份有限公司 Method and device for adjusting playing progress of video file
CN104104986A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Audio frequency and subtitle synchronizing method and device
CN104104990A (en) * 2014-07-29 2014-10-15 小米科技有限责任公司 Method and device for adjusting subtitles in video
CN104967910A (en) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 Multimedia play progress control method and apparatus
CN106792097A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 Audio signal captions matching process and device
CN107105352A (en) * 2017-05-16 2017-08-29 青岛海信电器股份有限公司 Captioning synchronization method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
万力勇: "《用户生成性学习资源研究》", 31 May 2016, 华中师范大学出版社 *
冉新义: "《现代教育技术应用》", 31 January 2017, 厦门大学出版社 *
陈三明: "《新概念交互式微课程设计制作快捷技术》", 31 October 2015, 南开大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471436A (en) * 2023-04-12 2023-07-21 央视国际网络有限公司 Information processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN101483767B (en) Method and apparatus for recording and playing back content data
US6185369B1 (en) Apparatus and method for synchronously reproducing multi-angle data
EP1604519B1 (en) Apparatus and method for simultaneously utilizing audio visual data
CN105959773A (en) Multimedia file processing method and device
CN103226961B (en) A kind of playing method and device
EP2242043A1 (en) Information processing apparatus with text display function, and data acquisition method
US20070260634A1 (en) Apparatus, system, method, and computer program product for synchronizing the presentation of media content
CN100367791C (en) Contents storage system, home server apparatus, information supply apparatus, integrated circuit, and program
US20050080631A1 (en) Information processing apparatus and method therefor
WO2005083592A1 (en) Method and apparatus for locating content in a program
US20100223059A1 (en) Method and apparatus for playing dynamic audio and video menus
CN105142029B (en) The editing system and its clipping method of a kind of interdynamic video
US20050198123A1 (en) Network conference system
EP1293914A2 (en) Apparatus, method and processing program for summarizing image information
CN105898500A (en) Network video play method and device
CN109618229A (en) Association playback method, device, server and the storage medium of audio-video
KR20050082063A (en) Audio and video player synchronizing ancillary word and image to audio and method thereof
JP2009194452A (en) Information processing apparatus, information processing method and program
CN110933459A (en) Event video clipping method, device, server and readable storage medium
CN107864393A (en) The method and device that video is shown with captioning synchronization
CN105828254A (en) Audio adjusting method and device
CN107809679A (en) The method and apparatus for adjusting captions
CN101751967A (en) Multimedia file producing and playing method, multimedia file producing device and player
CN104965872B (en) A kind of information processing method and electronic equipment
CN114268829A (en) Video processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180316

RJ01 Rejection of invention patent application after publication