CN107484018B - A kind of video interception method, mobile terminal - Google Patents
A kind of video interception method, mobile terminal Download PDFInfo
- Publication number
- CN107484018B CN107484018B CN201710641271.9A CN201710641271A CN107484018B CN 107484018 B CN107484018 B CN 107484018B CN 201710641271 A CN201710641271 A CN 201710641271A CN 107484018 B CN107484018 B CN 107484018B
- Authority
- CN
- China
- Prior art keywords
- subtitle
- picture
- subtitles
- time
- point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015654 memory Effects 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 16
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 230000015572 biosynthetic process Effects 0.000 claims description 2
- 238000003786 synthesis reaction Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides a kind of video interception method and mobile terminal, this method comprises: the first sart point in time of screenshot is chosen, in the first picture of first sart point in time interception target video;The the first end time point for choosing screenshot obtains in the target video at least two subtitles in from first sart point in time to the period of the first end time point;At least two subtitles are added on first picture in the display order in the target video according at least two subtitles, obtain the first video interception of at least two subtitles described in including.The effect of video interception can be improved in the embodiment of the present invention.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of video interception methods, mobile terminal.
Background technique
With the rapid development of mobile terminals, the video playback capability that mobile terminal has is stronger and stronger, a large number of users
Video can be watched by mobile terminal.User is when watching video, it is often necessary to save and share some pictures liked.It is existing
Mobile terminal support video interception, screenshot can be saved in local, then user can check or be shared in photograph album
Friend.For the video with subtitle, existing video interception can only intercept a current picture, and the current picture of interception is only
Including a subtitle, the content of subtitle expression is limited, and caption content abundant can not be presented.As it can be seen that existing video is cut
There is effect difference in figure.
Summary of the invention
The embodiment of the present invention provides the operating method and mobile terminal of a kind of mobile terminal, to solve existing video interception
There is a problem of effect difference.
In a first aspect, the embodiment of the invention provides a kind of video interception methods, which comprises choose the of screenshot
Time point at the beginning, in the first picture of first sart point in time interception target video;
The the first end time point for choosing screenshot obtains in the target video from first sart point in time to described
At least two subtitles in the period of first end time point;
Institute is added on first picture in the display order in the target video according at least two subtitles
At least two subtitles are stated, the first video interception of at least two subtitles described in including is obtained.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, and the mobile terminal includes: the first screenshot mould
Block, for choosing the first sart point in time of screenshot, in the first picture of first sart point in time interception target video;
First obtains module, for choosing the first end time point of screenshot, obtains in the target video from described the
At least two subtitles in time point to the period of the first end time point at the beginning;
Adding module, for display order of at least two subtitles in the target video according to described first
At least two subtitles are added on picture, obtain the first video interception of at least two subtitles described in including.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, and the mobile terminal includes: memory, processing
Device and it is stored in the computer program that can be run on the memory and on the processor;It is characterized in that, the processing
Device realizes the step in video interception method above-mentioned when executing the computer program.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, the computer program realizes the step in video interception method above-mentioned when being executed by processor
Suddenly.
In this way, choosing the first sart point in time of screenshot in the embodiment of the present invention, intercepted in first sart point in time
First picture of target video;The the first end time point for choosing screenshot, obtains in the target video since described first
At least two subtitles in time point to the period of the first end time point;According at least two subtitles described
Display order in target video adds at least two subtitles on first picture, obtains including at least two described
First video interception of subtitle.At least two subtitles are shown in the picture intercepted in this way at one, can be on the picture of interception
User provides more caption contents, improves the effect of video interception.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow chart of video interception method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another video interception method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of video interception provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of another video interception provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of another video interception provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram for talking with screenshot provided in an embodiment of the present invention;
Fig. 7 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 10 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 11 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 12 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 13 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It is a kind of flow chart of video interception provided in an embodiment of the present invention, the video interception method referring to Fig. 1, Fig. 1
Can be applied to include video playback capability mobile terminal, as shown in Figure 1, comprising the following steps:
Step 101, the first sart point in time for choosing screenshot, the of first sart point in time interception target video
One picture.
In the present embodiment, the first sart point in time can be any point-in-time in the video of user's viewing, Ke Yitong
Time setting instruction is crossed to be configured the first sart point in time.After the first time started for choosing screenshot, video is being played
The first picture occurred in first sart point in time is intercepted in the process.Target video can be the video of user's viewing.
For example, if user watches the video of 1 hour of duration, the broadcasting of a length of 1 hour video when described
Cheng Zhong can choose 30 points of 1 second first sart point in times as screenshot, can also choose 32 points 20 seconds as screenshot first
Sart point in time, if 30 points be within 1 second screenshot the first sart point in times, when video playing was by 30 points and 1 second, interception video this
When corresponding picture as first picture, if 32 points of 20 seconds first sart point in times for being, in video playing to 32 points
At 20 seconds, interception video at this time corresponding picture as first picture.
In the embodiment of the present invention, the video has corresponding first subtitle in the first sart point in time, if the target
The subtitle of video is embedded subtitle, includes first subtitle in the first picture of interception, if the first subtitle is plug-in subtitle, cuts
It does not include the first subtitle in the first picture taken.
Step 102, the first end time point for choosing screenshot.
In the present embodiment, the first end time point be first sart point in time after to video terminate between appoint
One time.
For example, if the video of user's a length of 1 hour when watching, the broadcasting of a length of 1 hour video when described
In the process, if choosing 30 points of 1 second first sart point in times as screenshot, 30 points can be chosen and arrive video knot later within 1 second
Any time between beam is as the first end time point, for example, can choose 30 points is used as the first end time point in 30 seconds,
It can choose 35 points and be used as the first end time point in 4 seconds.
Step 103 obtains in the target video from first sart point in time to the first end time point
At least two subtitles in period.
In the step 103, at least two subtitles in the target video of acquisition can be plug-in subtitle, or embedded
Subtitle.In addition, can be two subtitles from the first sart point in time to the subtitle the first end time point, or 3
The a plurality of subtitles such as item or 5, herein with no restrictions.
For example, can when a length of 1 hour target video in choose 30 points of first time starteds being used as 1 second
Point chooses 30 points of first end time points being used as 5 seconds, obtains 3 subtitles from 30 points 5 seconds 1 second to 30 points.
Step 104, display order of at least two subtitles in the target video according to are in first picture
At least two subtitles described in upper addition obtain the first video interception of at least two subtitles described in including.
In the present embodiment, every subtitle in target video has the corresponding display time, can be with according to the display time
Determine the display order of subtitle in video.According to the display order of at least two articles of subtitles in the target video
At least two subtitles are added on one picture, it can be ensured that the continuity of caption content, it is ensured that user is understood that subtitle is believed
Breath.
For example, include two subtitles if being divided to 1 second to the first end time point 2 minutes and 3 seconds from the first sart point in time 2,
It is the subtitle " in order to train them, just tumbling from small with boy " that video time 2 divides 1 second respectively, video time 2 divides 3 seconds words
Curtain " just having suffered all kinds of the cynical of village from small " then adds subtitle " in order to train them, from small just with male on the first picture
Child's wrestling ", and adds subtitle " just having suffered all kinds of the cynical of village from small ", obtains including subtitle " in order to train them, from small
Just with boy tumble " and subtitle " just having suffered all kinds of the cynical of village from small " video interception.User sees in video interception
When coherent a plurality of subtitle, it is possible to understand that the fast understanding subtitle meaning.
In the embodiment of the present invention, the mobile terminal can be with are as follows: mobile phone, tablet computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
The video interception method of the embodiment of the present invention chooses the first sart point in time of screenshot, when described first starts
Between point interception target video the first picture;The the first end time point for choosing screenshot, obtains in the target video from described
First sart point in time is at least two subtitles in the period of the first end time point;According at least two words
Curtain adds at least two subtitles in the display order in the target video on first picture, obtains including described
First video interception of at least two subtitles.At least two subtitles are shown in the picture intercepted in this way at one, it can be in interception
More caption contents are provided for user on picture, improve the effect of video interception.
Referring to fig. 2, Fig. 2 is the flow chart of another video interception method provided in an embodiment of the present invention, and the video is cut
Drawing method is applied to the mobile terminal including video playback capability, the main distinction in the present embodiment with embodiment shown in FIG. 1
It is, increases the step of determining the first end time point, as shown in Figure 2, comprising the following steps:
Step 201, the first sart point in time for choosing screenshot, the of first sart point in time interception target video
One picture.
In the present embodiment, the first sart point in time can be any point-in-time in the video of user's viewing.Target view
Frequency can be the video of user's viewing, instruction can be arranged by the time and set in target video to the first sart point in time
It sets.After choosing the first time started of screenshot, interception occurs in first sart point in time during playing video
First picture.The video has corresponding first subtitle in the first sart point in time.The subtitle of the video can be plug-in word
Curtain may be to embed subtitle, if the subtitle of target video is plug-in subtitle, not will include the first subtitle in first picture.
It include the first subtitle in first picture if the subtitle of target video is embedded subtitle.
For example for, referring to Fig. 3, Fig. 3 is a kind of schematic diagram of video interception provided in an embodiment of the present invention, figure
It include the first picture 31 and the first subtitle picture 32 in 3, the first picture 31 is when the subtitle of video is plug-in subtitle, first
The picture of sart point in time interception, the height of the first picture 31 indicate that the width of the first picture 31 is indicated with PIC_W with PIC_H,
It does not include video in the first picture 31 in the corresponding first plug-in subtitle of the first sart point in time.First subtitle picture 32 includes
It is shown in the corresponding first plug-in subtitle S1 of the first sart point in time, the first subtitle picture 32 in the plug-in caption stream of video
The content of first plug-in subtitle S1 is " AAAAAAAAAAABBBBBB ", and the width of the first subtitle picture 32 is indicated with S1_W, first
The height of subtitle picture 32 is indicated with S1_H.
It is the schematic diagram of another video interception provided in an embodiment of the present invention please refer to Fig. 5, Fig. 5, includes in Fig. 5
5th picture 51, the 5th picture 51 be when the subtitle of video is embedded subtitle, in the picture of the first sart point in time interception, the
It include video in five pictures 51 in the first sart point in time corresponding first embedded subtitle S01,51 height PIC_H of the 5th picture
It indicates, the height of the first embedded subtitle S01 is indicated with STR_H.
Step 202 extracts the first acoustic signature tone color in first sart point in time, judges whether to occur and described the
The second voice feature tone color that one voice feature has different timbres.
In the present embodiment, video has corresponding first subtitle in first sart point in time, and starts first
Time point plays personage's voice corresponding with first subtitle.The first acoustic signature tone color is extracted in the first sart point in time,
Extract the feature tone color of personage's voice corresponding with first subtitle.
In the step 202, when the second voice feature tone color for occurring having different timbres with the first acoustic signature, say
The personage for speaking frankly words changes, and executes step 203.As the second people for not having appearance to have different timbres with the first acoustic signature
When acoustic signature tone color, illustrate that personage's talker's object does not change, process terminates, or continuously carries out step 202, until going out
The second voice feature tone color now having different timbres with the first acoustic signature executes step 203.It should be noted that Fig. 2 institute
The flow chart shown is not limited thereto so that process terminates as an example.
Step 203, the time of occurrence for the former frame picture that picture will be corresponded to when there is the second voice feature tone color are true
It is set to the first end time point.
In the step 203, going out for the former frame picture of picture will be corresponded to when by that the second voice feature tone color will occur
It is determined as the first end time point between current, personage can be lighted from the first time started and is accurately sentenced time of continuously speaking
It is disconnected.
Optionally, the step 202 in the embodiment of the present invention to step 203 can be replaced by following steps:
The setting instruction of the first end time point is received, is arranged to instruct according to the first end time point and determines the of screenshot
End time point.
Specifically, button can be arranged for the time on video playing interface in the first end time point setting instruction
The setting of sending instructs.
Step 204 obtains in the target video from first sart point in time to the first end time point
At least two subtitles in period.
In embodiments of the present invention, which may comprise steps of:
If the subtitle of target video is plug-in subtitle, obtains from the plug-in caption stream of target video and opened from described first
At least two subtitles to begin in time point to the period of the first end time point.Referring to Fig. 3, in Fig. 3
One subtitle picture 32 is target video in the corresponding first plug-in subtitle S1 of the first sart point in time.Please refer to Fig. 4, Fig. 4
It is the schematic diagram of another video interception provided in an embodiment of the present invention, the second subtitle picture 41 in Fig. 4 is in target video
The second plug-in subtitle S2 in from first sart point in time to the period of the first end time point, the second subtitle figure
The width of piece 41 indicates that the height of the second subtitle picture 41 is indicated with S2_H with S2_W, shown in the second subtitle picture 41
The content of two plug-in subtitle S2 is " String C ".It is understood that from first sart point in time to first knot
Plug-in subtitle in the period at beam time point can also be including the plug-in subtitle of third, the 4th plug-in subtitle, herein with no restrictions.
In embodiments of the present invention, which may comprise steps of:
If the subtitle of target video is embedded subtitle, identify in the target video from the first sart point in time to the first knot
The embedded subtitle of each frame picture at beam time point, wherein the subtitle in first picture is the first embedded subtitle;
Judge in the target video in from the first sart point in time to the adjacent two frames picture of the first end time point
Whether embedded subtitle identical, if the embedded subtitle in the adjacent two frames picture is not identical, intercept the adjacent two frames picture it
In after show a frame picture embedded subtitle as the second embedded subtitle, the described first embedded subtitle and described second are embedded
Subtitle is as at least two subtitles.
Specifically, including target video referring to Fig. 5, in the 5th picture 51 in Fig. 5 in the first sart point in time
The particular content of corresponding first embedded subtitle S01, the first embedded subtitle S01 are " to train them, just to be fallen from small with boy
Fall ".It include the 6th picture 52 in Fig. 5, the 6th picture 52 is in target video from the picture after first sart point in time,
It include the second embedded subtitle S02 in 6th picture 52, the particular content of the second embedded subtitle S02 is " just to have suffered all kinds of entirely from small
Village it is cynical ".It is understood that from first sart point in time to the period of the first end time point
Interior embedded subtitle can also include that third embeds subtitle, the 4th embedded subtitle, herein with no restrictions.
Step 205, display order of at least two subtitles in the target video according to are in first picture
At least two subtitles described in upper addition obtain the first video interception of at least two subtitles described in including.
In the present embodiment, which may comprise steps of:
If the subtitle of target video is plug-in subtitle, obtain the caption strips numbers of at least two subtitles, subtitle height and
The captions displaying location of the picture of the target video shows the subtitle that the first plug-in subtitle is added to first picture
Show position, obtain include the first plug-in subtitle target picture, the first plug-in subtitle be first sart point in time pair
The subtitle answered;
Bitmap file is created according to the height of first picture and subtitle height;
The target picture and the second plug-in subtitle are successively added on institute's bitmap file, obtain include it is described at least
First video interception of two subtitles, the second plug-in subtitle are to remove the described first plug-in subtitle at least two subtitles
Outer plug-in subtitle.
Specifically, it is obtained in the first subtitle picture 32 referring to Fig. 3 when the subtitle of video is plug-in subtitle
Display position SHOW_H in the picture of the video of subtitle height S1_H and subtitle, by the first subtitle picture 32
One plug-in subtitle S1 is added to picture position corresponding to the display position SHOW_H of first picture 31, for example, according to from
The information such as font type, type size and the font color of the subtitle obtained in plug-in caption stream are placed in the middle by the first plug-in subtitle S1
Alignment is shown in picture position corresponding to the display position SHOW_H of the first picture 31, obtains including the first plug-in subtitle S1
Second picture 33.Please refer to Fig. 4, the second subtitle picture 41 in Fig. 4 is from first sart point in time to described the
The the second plug-in subtitle S2 obtained in the period of 1 end time point.
If from the first sart point in time to only obtaining the first plug-in word in the period of the first end time point
When the curtain plug-in subtitle S2 of S1 and second, the height S2_H according to the plug-in subtitle S2 of the height PIC_H and second of the first picture 31 is true
The height for positioning map file, the width of bitmap file is determined according to the width PIC_W of the first picture.By the second picture in Fig. 3
33 and second second plug-in subtitle S2 shown in subtitle picture 41 successively add on institute's bitmap file, obtain including described
The third picture 42 of the one plug-in plug-in subtitle S2 of subtitle S1 and second.If from the first sart point in time to first end time
It further include the plug-in subtitle of third, the 4th plug-in word in the period of point in addition to the first above-mentioned plug-in subtitle, the second plug-in subtitle
When a plurality of subtitles such as curtain, successively by a plurality of subtitle addition such as the plug-in subtitle of third, the 4th plug-in subtitle on bitmap file.Bitmap
The height of file is determined according to the height of the first picture 31 and the height of every subtitle.Referring to Fig. 4, in Fig. 4 the 4th
Picture 43 is the video interception for including a plurality of subtitle, and a plurality of subtitle is from first sart point in time to first knot
Obtained in period at beam time point, the content of every subtitle be followed successively by " AAAAAAAAAAABBBBBB ", " String C " and
Subtitle " String D " etc..
In the present embodiment, which may comprise steps of:
If the subtitle of target video is embedded subtitle, by it is described include the first embedded subtitle the first picture and described second
Embedded subtitle synthesizes the video interception including at least two subtitles.
Specifically, if from the first sart point in time to only including in first in the period of the first end time point
Embedding subtitle and the second embedded subtitle, referring to Fig. 5, including the 5th picture 51, the 6th picture 52, the 5th picture 51 in Fig. 5
For the first picture of the first sart point in time interception, the 5th picture 51 includes the first embedded subtitle S01, and the 6th picture 52 is first
Picture after sart point in time includes the second embedded subtitle S02 in the 6th picture 52.It is intercepted in second from the 6th picture 52
5th picture 51 and the second embedded subtitle S02 are synthesized the 7th picture 53, wrapped in the 7th picture 53 by the picture of embedding subtitle S02
Include the first embedded embedded subtitle S02 of subtitle S01 and second.If from the first sart point in time to the first end time point when
Between only include the first embedded subtitle, the second embedded subtitle and third in section and embed subtitle, please refer to the 8th picture 54 in Fig. 5,
It includes in first that 8th picture 54, which is from first sart point in time to acquisition in the period of the first end time point,
When embedding subtitle S01, the second embedded subtitle S02 and third embed subtitle S03, by the 5th picture 51 of the first sart point in time interception
Subtitle S03 is embedded with the second embedded subtitle S02 and third to synthesize, obtains the 8th picture 54, includes in first in the 8th picture 54
Embedding subtitle S01, the second embedded subtitle S02 and third embed subtitle S03.
Optionally, after step 205, the video interception method can with the following steps are included:
The time for the second voice feature tone color occur is determined as the second sart point in time, when described second starts
Between point interception the second picture;
Judge whether the third party's acoustic signature tone color for occurring having different timbres with the second voice feature, if occur with it is described
Third party's acoustic signature tone color that second voice feature has different timbres will occur corresponding to picture when third party's acoustic signature tone color
The time of occurrence of former frame picture is as the second end time point;
It obtains in the target video in from second sart point in time to the period of the second end time point
Target subtitle, according to the sequencing of second sart point in time to the second end time point in second picture
The upper addition target subtitle, obtains the second video interception;
First video interception and the second video interception are synthesized into dialogue screenshot.
Specifically, referring to Fig. 6, Fig. 6 is a kind of schematic diagram for talking with screenshot provided in an embodiment of the present invention.In Fig. 6,
9th picture 61 includes a plurality of subtitle from first sart point in time to the first end time point, in the tenth picture 62
Including from second sart point in time to a plurality of subtitle of the second end time point, by the 9th picture 61 and the tenth picture
62 are synthesized together to obtain dialogue screenshot, can show the different continuous conversation contents of personage simultaneously, show subtitle when improving screenshot
Effect.
The video interception method of the embodiment of the present invention chooses the first sart point in time of screenshot, when described first starts
Between point interception target video the first picture;The first acoustic signature tone color is extracted in first sart point in time, is judged whether
There is the second voice feature tone color having different timbres with the first acoustic signature;If occurring and the first acoustic signature tone color
The second different voice feature tone colors, will correspond to the appearance of the former frame picture of picture when there is the second voice feature tone color
Time is determined as the first end time point;Obtaining in the target video terminates from first sart point in time to described first
At least two subtitles in the period at time point;According to the display order of at least two subtitles in the target video
At least two subtitles are added on first picture, obtain the first video interception of at least two subtitles described in including.
At least two subtitles are shown in the picture intercepted in this way at one, can be provided in more subtitles on the picture of interception for user
Hold, improves the effect of video interception.
It is the structure chart that the present invention implements a kind of mobile terminal provided referring to Fig. 7, Fig. 7, as shown in fig. 7, mobile terminal
700 include that the first screen capture module 701, first obtains module 702, adding module 703, in which:
First screen capture module 701 is intercepted for choosing the first sart point in time of screenshot in first sart point in time
First picture of target video;
First acquisition module 702 obtains in the target video for choosing the first end time point of screenshot from described
First sart point in time is at least two subtitles in the period of the first end time point;
Adding module 703, for display order of at least two subtitles in the target video according to described
At least two subtitles are added on first picture, obtain the first video interception of at least two subtitles described in including.
It optionally, is the structure chart for another mobile terminal that the present invention implements offer referring to Fig. 8, Fig. 8, as shown in figure 8,
Described first, which obtains module 702, includes:
Receiving submodule 7021, for receiving the setting instruction of the first end time point, according to the first end time point
The the first end time point for instructing and determining screenshot is set.
It optionally, is the structure chart for another mobile terminal that the present invention implements offer referring to Fig. 9, Fig. 9, as shown in figure 9,
Described first, which obtains module 702, includes:
First judging submodule 7022, for extracting the first acoustic signature tone color, judgement in first sart point in time
Whether the second voice feature tone color that with the first acoustic signature has different timbres is occurred;
Submodule 7023 is determined, if the second voice distinctive tone for occurring having different timbres with the first acoustic signature
The time of occurrence that the former frame picture of picture is corresponded to when there is the second voice feature tone color is determined as at the end of first by color
Between point.
It optionally, is the structure chart for another mobile terminal that the present invention implements offer referring to Figure 10, Figure 10, such as Figure 10 institute
Show, the adding module 703 includes:
Acquisition submodule 7031 obtains at least two subtitles if being plug-in subtitle at least two subtitles
Caption strips number, subtitle height and the target video picture captions displaying location, the first plug-in subtitle is added to institute
The captions displaying location for stating the first picture, obtain include the first plug-in subtitle target picture, the first plug-in subtitle
For the corresponding subtitle of first sart point in time;
Submodule 7032 is created, for creating bitmap file according to the height and subtitle height of first picture;
Submodule 7033 is added, for successively adding the target picture and the second plug-in subtitle in institute's bitmap file
On, the first video interception of at least two subtitles described in including is obtained, the second plug-in subtitle is at least two subtitles
In plug-in subtitle in addition to the described first plug-in subtitle.
As shown in figure 11, it is the structure chart for another mobile terminal that the present invention implements offer referring to Figure 11, Figure 11, such as schemes
Shown in 11, the first acquisition module 702 includes:
It identifies submodule 7024, if the subtitle for the target video is embedded subtitle, identifies in the target video
From the first sart point in time to the embedded subtitle of each frame picture of the first end time point, wherein in first picture
Subtitle is the first embedded subtitle;
Second judgment submodule 7025, at the end of judging in the target video from the first sart point in time to first
Between embedded subtitle in the adjacent two frames picture put it is whether identical, if the embedded subtitle in the adjacent two frames picture is not identical,
The embedded subtitle of the frame picture shown after intercepting among the adjacent two frames picture is as the second embedded subtitle, by described first
Embedded subtitle and the second embedded subtitle are as at least two subtitles.
As shown in figure 12, it is the structure chart for another mobile terminal that the present invention implements offer referring to Figure 12, Figure 12, such as schemes
Shown in 12, the mobile terminal 700 further include:
Second screen capture module 704, when for the time for the second voice feature tone color occur to be determined as the second beginning
Between point, second sart point in time intercept the second picture;
Judgment module 705, third party's acoustic signature for judging whether to occur having different timbres with the second voice feature
It is special will to there is the third voice if there is the third party's acoustic signature tone color having different timbres with the second voice feature for tone color
The time of occurrence of the former frame picture of picture is corresponded to when levying tone color as the second end time point;
Second obtains module 706, for obtaining in the target video from second sart point in time to described second
Target subtitle in the period of end time point, according to second sart point in time to the elder generation of the second end time point
Sequence adds the target subtitle on second picture afterwards, obtains the second video interception;
Synthesis module 707, for first video interception and the second video interception to be synthesized dialogue screenshot.
It should be noted that above-mentioned mobile terminal 700 can be embodiment of the method in the embodiment of the present invention in the present embodiment
In any embodiment mobile terminal, any embodiment of mobile terminal all may be used in embodiment of the method in the embodiment of the present invention
To be realized by the above-mentioned mobile terminal 700 in the present embodiment, and reach identical beneficial effect, details are not described herein again.
It is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 13, mobile terminal referring to Figure 13, Figure 13
1300 include: at least one processor 1301, memory 1302, at least one user interface 1303 and network interface 1304.It moves
Various components in dynamic terminal 1300 are coupled by bus system 1305.It is understood that bus system 1305 for realizing
Connection communication between these components.Bus system 1305 further includes power bus, control bus in addition to including data/address bus
And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1305 in Figure 13, it is mobile
Terminal 1300 further includes video player 1306, and video player 1306 passes through bus system 1305 and each group of mobile terminal
Part connection.
Wherein, user interface 1303 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1302 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1302 of system and method described herein is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 1302 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 13021 and application program 13022.
Wherein, operating system 13021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 13022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 13022.
In embodiments of the present invention, mobile terminal 1300 further include: be stored on memory 1302 and can be in processor
The computer program run on 1301, computer program realize following steps when being executed by processor 1301:
The first sart point in time for choosing screenshot, in the first picture of first sart point in time interception target video;
The the first end time point for choosing screenshot obtains in the target video from first sart point in time to described
At least two subtitles in the period of first end time point;
Institute is added on first picture in the display order in the target video according at least two subtitles
At least two subtitles are stated, the first video interception of at least two subtitles described in including is obtained.
The method that the embodiments of the present invention disclose can be applied in processor 1301, or real by processor 1301
It is existing.Processor 1301 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1301 or software form.Above-mentioned
Processor 1301 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1302, processor 1301 reads the information in memory 1302, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, the first end time point of the selection screenshot that processor 1301 executes, comprising:
The setting instruction of the first end time point is received, is arranged to instruct according to the first end time point and determines the of screenshot
End time point;Or
The first acoustic signature tone color is extracted in first sart point in time, judges whether to occur special with first voice
Levy the second voice feature tone color having different timbres;
If there is the second voice feature tone color having different timbres with the first acoustic signature, second voice will occur
The time of occurrence that the former frame picture of picture is corresponded to when feature tone color is determined as the first end time point.
Optionally, the display of at least two subtitles in the target video according to that processor 1301 executes
Sequence adds at least two subtitles on first picture, and the first video for obtaining at least two subtitles described in including is cut
Figure, comprising:
If at least two subtitles are plug-in subtitle, caption strips number, the subtitle height of at least two subtitles are obtained
And the captions displaying location of the picture of the target video, the first plug-in subtitle is added to the subtitle of first picture
Display position, obtain include the first plug-in subtitle target picture, the first plug-in subtitle be first sart point in time
Corresponding subtitle;
Bitmap file is created according to the height of first picture and subtitle height;
The target picture and the second plug-in subtitle are successively added on institute's bitmap file, obtain include it is described at least
First video interception of two subtitles, the second plug-in subtitle are to remove the described first plug-in subtitle at least two subtitles
Outer plug-in subtitle.
Optionally, from first sart point in time to institute in the acquisition target video that processor 1301 executes
State at least two subtitles in the period of the first end time point, comprising:
If the subtitle of the target video is embedded subtitle, identify in the target video from the first sart point in time to the
The embedded subtitle of each frame picture of 1 end time point, wherein the subtitle in first picture is the first embedded subtitle;
Judge in the target video in from the first sart point in time to the adjacent two frames picture of the first end time point
Whether embedded subtitle identical, if the embedded subtitle in the adjacent two frames picture is not identical, intercept the adjacent two frames picture it
In after show a frame picture embedded subtitle as the second embedded subtitle, the described first embedded subtitle and described second are embedded
Subtitle is as at least two subtitles.
Optionally, following steps can also be realized when computer program is executed by processor 1301:
The time for the second voice feature tone color occur is determined as the second sart point in time, when described second starts
Between point interception the second picture;
Judge whether the third party's acoustic signature tone color for occurring having different timbres with the second voice feature, if occur with it is described
Third party's acoustic signature tone color that second voice feature has different timbres will occur corresponding to picture when third party's acoustic signature tone color
The time of occurrence of former frame picture is as the second end time point;
It obtains in the target video in from second sart point in time to the period of the second end time point
Target subtitle, according to the sequencing of second sart point in time to the second end time point in second picture
The upper addition target subtitle, obtains the second video interception;
First video interception and the second video interception are synthesized into dialogue screenshot.
It should be noted that above-mentioned mobile terminal 1300 can be embodiment of the method in the embodiment of the present invention in the present embodiment
In any embodiment mobile terminal, any embodiment of mobile terminal all may be used in embodiment of the method in the embodiment of the present invention
To be realized by the above-mentioned mobile terminal 1300 in the present embodiment, and reach identical beneficial effect, details are not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium
There is computer program, the computer program realizes following steps when being executed by processor:
The first sart point in time for choosing screenshot, in the first picture of first sart point in time interception target video;
The the first end time point for choosing screenshot obtains in the target video from first sart point in time to described
At least two subtitles in the period of first end time point;
Institute is added on first picture in the display order in the target video according at least two subtitles
At least two subtitles are stated, the first video interception of at least two subtitles described in including is obtained.
Optionally, computer program, which is performed, can also be achieved following steps:
The setting instruction of the first end time point is received, is arranged to instruct according to the first end time point and determines the of screenshot
End time point;Or
The first acoustic signature tone color is extracted in first sart point in time, judges whether to occur special with first voice
Levy the second voice feature tone color having different timbres;
If there is the second voice feature tone color having different timbres with the first acoustic signature, second voice will occur
The time of occurrence that the former frame picture of picture is corresponded to when feature tone color is determined as the first end time point.
Optionally, computer program, which is performed, can also be achieved following steps:
If at least two subtitles are plug-in subtitle, caption strips number, the subtitle height of at least two subtitles are obtained
And the captions displaying location of the picture of the target video, the first plug-in subtitle is added to the subtitle of first picture
Display position, obtain include the first plug-in subtitle target picture, the first plug-in subtitle be first sart point in time
Corresponding subtitle;
Bitmap file is created according to the height of first picture and subtitle height;
The target picture and the second plug-in subtitle are successively added on institute's bitmap file, obtain include it is described at least
First video interception of two subtitles, the second plug-in subtitle are to remove the described first plug-in subtitle at least two subtitles
Outer plug-in subtitle.
Optionally, computer program, which is performed, can also be achieved following steps: if the subtitle of the target video is embedded
Subtitle identifies the embedded word in the target video from the first sart point in time to each frame picture of the first end time point
Curtain, wherein the subtitle in first picture is the first embedded subtitle;
Judge in the target video in from the first sart point in time to the adjacent two frames picture of the first end time point
Whether embedded subtitle identical, if the embedded subtitle in the adjacent two frames picture is not identical, intercept the adjacent two frames picture it
In after show a frame picture embedded subtitle as the second embedded subtitle, the described first embedded subtitle and described second are embedded
Subtitle is as at least two subtitles.
Optionally, computer program, which is performed, can also be achieved following steps: the second voice feature tone color will occurs
Time be determined as the second sart point in time, second sart point in time intercept the second picture;
Judge whether the third party's acoustic signature tone color for occurring having different timbres with the second voice feature, if occur with it is described
Third party's acoustic signature tone color that second voice feature has different timbres will occur corresponding to picture when third party's acoustic signature tone color
The time of occurrence of former frame picture is as the second end time point;
It obtains in the target video in from second sart point in time to the period of the second end time point
Target subtitle, according to the sequencing of second sart point in time to the second end time point in second picture
The upper addition target subtitle, obtains the second video interception;
First video interception and the second video interception are synthesized into dialogue screenshot.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of video interception method characterized by comprising
The first sart point in time for choosing screenshot, in the first picture of first sart point in time interception target video;
The the first end time point for choosing screenshot obtains in the target video from first sart point in time to described first
At least two subtitles in the period of end time point;
According at least two subtitles the display order in the target video added on first picture it is described extremely
Few two subtitles, obtain the first video interception of at least two subtitles described in including;
The step of first end time point for choosing screenshot, comprising:
The first acoustic signature tone color is extracted in first sart point in time, judges whether occur and the first acoustic signature sound
The second different voice feature tone color of color;
If there is the second voice feature tone color having different timbres with the first acoustic signature, the second voice feature will occur
The time of occurrence that the former frame picture of picture is corresponded to when tone color is determined as the first end time point.
2. the method according to claim 1, wherein described, at least two subtitles are regarded in the target according to
Display order in frequency adds at least two subtitles on first picture, obtains including at least two subtitles
The step of first video interception, comprising:
If at least two subtitles are plug-in subtitle, caption strips number, subtitle height and the institute of at least two subtitles are obtained
First plug-in subtitle is added to the Subtitle Demonstration of first picture by the captions displaying location for stating the picture of target video
Position, obtain include the first plug-in subtitle target picture, the first plug-in subtitle is that first sart point in time is corresponding
Subtitle;
Bitmap file is created according to the height of first picture and subtitle height;
The target picture and the second plug-in subtitle are successively added on institute's bitmap file, obtain including at least two described
First video interception of subtitle, the second plug-in subtitle is at least two subtitles for described in addition to the described first plug-in subtitle
Plug-in subtitle.
3. the method according to claim 1, wherein described obtain in the target video since described first
The step of at least two subtitles in time point to the period of the first end time point, comprising:
If the subtitle of the target video is embedded subtitle, identify in the target video from the first sart point in time to the first knot
The embedded subtitle of each frame picture at beam time point, wherein the subtitle in first picture is the first embedded subtitle;
Judge in the target video embedded in from the first sart point in time to the adjacent two frames picture of the first end time point
Whether subtitle is identical, if the embedded subtitle in the adjacent two frames picture is not identical, after intercepting among the adjacent two frames picture
The embedded subtitle of one frame picture of display is as the second embedded subtitle, by the described first embedded subtitle and the second embedded subtitle
As at least two subtitles.
4. the method according to claim 1, wherein described, at least two subtitles are regarded in the target according to
Display order in frequency adds at least two subtitles on first picture, obtains including at least two subtitles
After first video interception, the method also includes:
The time for the second voice feature tone color occur is determined as the second sart point in time, in second sart point in time
Intercept the second picture;
Judge whether the third party's acoustic signature tone color for occurring having different timbres with the second voice feature, if occurring and described second
Third party's acoustic signature tone color that voice feature has different timbres, will correspond to the previous of picture when there is third party's acoustic signature tone color
The time of occurrence of frame picture is as the second end time point;
Obtain in the target video mesh in from second sart point in time to the period of the second end time point
Marking-up curtain adds on second picture according to the sequencing of second sart point in time to the second end time point
Add the target subtitle, obtains the second video interception;
First video interception and the second video interception are synthesized into dialogue screenshot.
5. a kind of mobile terminal characterized by comprising
First screen capture module, for choosing the first sart point in time of screenshot, in first sart point in time interception target view
First picture of frequency;
First acquisition module is obtained in the target video and is opened from described first for choosing the first end time point of screenshot
At least two subtitles to begin in time point to the period of the first end time point;
Adding module, for display order of at least two subtitles in the target video according in first picture
At least two subtitles described in upper addition obtain the first video interception of at least two subtitles described in including;
Described first, which obtains module, includes:
First judging submodule judges whether occur for extracting the first acoustic signature tone color in first sart point in time
The second voice feature tone color having different timbres with the first acoustic signature;
Submodule is determined, if the second voice feature tone color for occurring having different timbres with the first acoustic signature, will occur
The time of occurrence that the former frame picture of picture is corresponded to when the second voice feature tone color is determined as the first end time point.
6. mobile terminal according to claim 5, which is characterized in that the adding module includes:
Acquisition submodule obtains the caption strips of at least two subtitles if being plug-in subtitle at least two subtitles
First plug-in subtitle is added to described first and drawn by the captions displaying location of the picture of number, subtitle height and the target video
The captions displaying location in face, obtain include the first plug-in subtitle target picture, the first plug-in subtitle is described the
Time point corresponding subtitle at the beginning;
Submodule is created, for creating bitmap file according to the height and subtitle height of first picture;
Addition submodule is obtained for successively adding the target picture and the second plug-in subtitle in institute's bitmap file
The first video interception including at least two subtitles, the second plug-in subtitle are at least two subtitles except described
Plug-in subtitle outside first plug-in subtitle.
7. mobile terminal according to claim 5, which is characterized in that described first, which obtains module, includes:
It identifies submodule, if the subtitle for the target video is embedded subtitle, identifies in the target video and opened from first
Begin time point to the first end time point each frame picture embedded subtitle, wherein subtitle in first picture is the
One embedded subtitle;
Second judgment submodule, for judging in the target video from the first sart point in time to the phase of the first end time point
Whether the embedded subtitle in adjacent two frame pictures is identical, if the embedded subtitle in the adjacent two frames picture is not identical, described in interception
The embedded subtitle of the frame picture shown after among adjacent two frames picture is as the second embedded subtitle, by the described first embedded subtitle
With the described second embedded subtitle as at least two subtitles.
8. mobile terminal according to claim 5, which is characterized in that further include:
Second screen capture module, for the time for the second voice feature tone color occur to be determined as the second sart point in time,
Second sart point in time intercepts the second picture;
Judgment module, third party's acoustic signature tone color for judging whether to occur having different timbres with the second voice feature, if
There is the third party's acoustic signature tone color having different timbres with the second voice feature, when third party's acoustic signature tone color will occur
The time of occurrence of the former frame picture of corresponding picture is as the second end time point;
Second obtains module, for obtaining in the target video from second sart point in time to second end time
Target subtitle in the period of point, exists according to the sequencing of second sart point in time to the second end time point
The target subtitle is added on second picture, obtains the second video interception;
Synthesis module, for first video interception and the second video interception to be synthesized dialogue screenshot.
9. a kind of mobile terminal, comprising: memory, processor and be stored on the memory and can transport on the processor
Capable computer program;It is characterized in that, the processor realizes that Claims 1-4 such as is appointed when executing the computer program
Step in video interception method described in meaning one.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence is realized when the computer program is executed by processor as in the described in any item video interception methods of Claims 1-4
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710641271.9A CN107484018B (en) | 2017-07-31 | 2017-07-31 | A kind of video interception method, mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710641271.9A CN107484018B (en) | 2017-07-31 | 2017-07-31 | A kind of video interception method, mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107484018A CN107484018A (en) | 2017-12-15 |
CN107484018B true CN107484018B (en) | 2019-05-17 |
Family
ID=60598382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710641271.9A Active CN107484018B (en) | 2017-07-31 | 2017-07-31 | A kind of video interception method, mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107484018B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259991B (en) * | 2018-03-14 | 2020-11-27 | 阿里巴巴(中国)有限公司 | Video processing method and device |
CN108495162A (en) * | 2018-03-14 | 2018-09-04 | 优酷网络技术(北京)有限公司 | Method for processing video frequency and device |
CN108924626B (en) * | 2018-08-17 | 2021-02-23 | 腾讯科技(深圳)有限公司 | Picture generation method, device, equipment and storage medium |
CN112929745B (en) * | 2018-12-18 | 2022-04-08 | 腾讯科技(深圳)有限公司 | Video data processing method, device, computer readable storage medium and equipment |
CN110381366B (en) * | 2019-07-09 | 2021-12-17 | 新华智云科技有限公司 | Automatic event reporting method, system, server and storage medium |
CN111010610B (en) * | 2019-12-18 | 2022-01-28 | 维沃移动通信有限公司 | Video screenshot method and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103260082A (en) * | 2013-05-21 | 2013-08-21 | 王强 | Video processing method and device |
CN103634605B (en) * | 2013-12-04 | 2017-02-15 | 百度在线网络技术(北京)有限公司 | Processing method and device for video images |
CN105338419B (en) * | 2015-10-29 | 2018-07-31 | 网易传媒科技(北京)有限公司 | A kind of generation method and equipment of the subtitle collection of choice specimens |
CN105871681A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Subtitle adding method and device |
CN106454151A (en) * | 2016-10-18 | 2017-02-22 | 珠海市魅族科技有限公司 | Video image stitching method and device |
-
2017
- 2017-07-31 CN CN201710641271.9A patent/CN107484018B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107484018A (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107484018B (en) | A kind of video interception method, mobile terminal | |
CN108156520B (en) | Video playing method and device, electronic equipment and storage medium | |
CN105847636B (en) | A kind of video capture method and mobile terminal | |
CN106254941A (en) | Method for processing video frequency and device | |
CN109327727A (en) | Live streaming method for stream processing and plug-flow client in a kind of WebRTC | |
CN111491174A (en) | Virtual gift acquisition and display method, device, equipment and storage medium | |
CN109729420A (en) | Image processing method and device, mobile terminal and computer readable storage medium | |
CN112560605B (en) | Interaction method, device, terminal, server and storage medium | |
CN106331822B (en) | Method and device for playing multiple videos and electronic equipment | |
CN109525851A (en) | Live broadcasting method, device and storage medium | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
US11533442B2 (en) | Method for processing video with special effects, storage medium, and terminal device thereof | |
CN109788212A (en) | A kind of processing method of segmenting video, device, terminal and storage medium | |
CN105740029A (en) | Content presentation method, user equipment and system | |
CN107786887A (en) | A kind of method and device for showing displaying information | |
CN110471530A (en) | It is a kind of based on children's book equipped AR interactive learning method, apparatus, medium | |
CN107024990B (en) | A kind of method and mobile terminal attracting children's self-timer | |
CN107358659A (en) | More pictures fusion display methods and storage device based on 3D technology | |
CN110475140A (en) | Barrage data processing method, device, computer readable storage medium and computer equipment | |
CN113112614A (en) | Interaction method and device based on augmented reality | |
CN109104619B (en) | Image processing method and device for live broadcast | |
CN112528936B (en) | Video sequence arrangement method, device, electronic equipment and storage medium | |
CN106598387A (en) | Method and device for displaying housing resource information | |
CN106504077A (en) | A kind of method and device for showing information of real estate | |
CN114697703B (en) | Video data generation method and device, electronic equipment and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |