The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of video recording method, to realize the record to video segment
System.
Second object of the present invention is to propose a kind of video recording device.
Third object of the present invention is to propose a kind of electronic equipment.
For up to above-mentioned purpose, first aspect present invention embodiment proposes a kind of video recording method, including:
In to target video playing process, multiple picture conversion is carried out respectively and obtains plurality of pictures, and records the mesh
Mark the audio stream of video;
The plurality of pictures is synthesized as two field picture, video flowing is obtained;
The video flowing and the audio stream synthesize to the video segment recorded.
Alternatively, it is described to target video playing process in a kind of possible implementation of the embodiment of the present invention
In, multiple picture conversion is carried out respectively obtains plurality of pictures, and the audio stream of the target video is recorded, including:
In the target video playing process, when detect user perform start record operation when, record is detected
The system time point of the operation for starting to record, is used as start time point;
Since the start time point, picture conversion is carried out to the target video, when picture each time is converted, meter
The time point of nomogram piece conversion and the difference of the start time point, the difference are converted as this picture obtained picture
Timestamp;
Since the start time point, the audio stream of the target video is recorded, the audio stream sound intermediate frequency will be played
The time point of fragment and the difference of the start time point, are used as the timestamp of correspondence audio fragment;
When detecting the operation that user's execution end is recorded, stop carrying out picture conversion, and mesh described in stop recording
Mark the audio stream of video.
Alternatively, it is described that the target video is schemed in a kind of possible implementation of the embodiment of the present invention
Piece is converted, including:
When carrying out picture conversion to the target video, it is displayed in the screen including the target video and sets in advance
Fixed target visual control is converted to control picture;
Each control picture is synthesized, the picture that generation picture conversion is obtained.
Alternatively, it is described to regard the plurality of pictures as frame in a kind of possible implementation of the embodiment of the present invention
Image is synthesized, and obtains video flowing, including:
For each pictures, using the picture as two field picture, wherein, the timestamp of the picture is the two field picture
Timestamp;
According to the timestamp of each two field picture, each two field picture is synthesized, the video flowing is obtained.
Alternatively, it is described by the video flowing and the sound in a kind of possible implementation of the embodiment of the present invention
Frequency stream synthesize the video segment recorded, including:
When being synthesized to the video flowing and the audio stream, by the timestamp of each audio fragment in the audio stream,
It is synchronous with the timestamp progress time shaft of each two field picture in the video flowing, the video segment recorded.
Alternatively, it is described as the behaviour for detecting end recording in a kind of possible implementation of the embodiment of the present invention
When making, stopping is carried out before picture conversion, and the audio stream of target video described in stop recording, in addition to:
When detecting the operation that user's execution pause is recorded, pause carries out picture conversion and pause records the target and regarded
The audio stream of frequency;
When detecting the operation for recovering to record, the duration that pause is recorded is calculated;
Since detecting user and performing at the time of recovery is recorded, proceed picture conversion, in the conversion of picture each time
When, the duration that the pause is recorded is individually subtracted in the time point for calculating picture conversion, and subtracts obtained by the start time point
Result, obtain the timestamp of picture that the conversion of this picture is obtained;
Since the start time point, the audio stream of the target video is recorded, calculates and plays the audio stream middle pitch
The duration that the pause is recorded is individually subtracted in the time point of frequency fragment, and subtracts the result obtained by the start time point, obtains
To the timestamp of correspondence audio fragment.
Alternatively, it is described to carry out multiple picture conversion respectively in a kind of possible implementation of the embodiment of the present invention
After obtaining plurality of pictures, in addition to:
Increase default pictorial element in the picture;Described image element includes watermark picture.
Alternatively, it is described to regard the plurality of pictures as frame in a kind of possible implementation of the embodiment of the present invention
Image is synthesized, and obtains video flowing, including:
Default Target Photo is increased in the plurality of pictures that picture conversion is obtained;
The Target Photo and picture are converted into obtained plurality of pictures to be synthesized as different two field pictures, depending on
Frequency flows.
Alternatively, it is described to regard the plurality of pictures as frame in a kind of possible implementation of the embodiment of the present invention
Image is synthesized, and obtains video flowing, including:
On the picture that the corresponding picture conversion that is added to of default Target Photo is obtained, synthesising picture is obtained;Wherein, it is described
The transparency of Target Photo reduces with the increase of timestamp, and the transparency for the picture that the picture conversion is obtained is with timestamp
Increase and increase;
The synthesising picture is synthesized as two field picture, video flowing is obtained.
The video recording method of the embodiment of the present invention, by target video playing process, repeatedly being schemed respectively
Piece conversion obtains plurality of pictures, and records the audio stream of the target video, synthesizes, obtains as two field picture to plurality of pictures
To after video flowing, video flowing and audio stream synthesize to the video segment recorded, it is achieved thereby that to target video
Recording, solve the technical problem that mobile terminal can not also be recorded to video segment in the prior art, pass through the present invention
Embodiment meets the demand that user watches repeatedly.
For up to above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of video recording device, including:
Playing module, plurality of pictures is obtained in target video playing process, carrying out multiple picture conversion respectively,
And record the audio stream of the target video;
Two field picture module, for the plurality of pictures to be synthesized as two field picture, obtains video flowing;
Module is recorded, for carrying out synthesizing the video segment recorded the video flowing and the audio stream.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the playing module, including:
First probe unit, in the target video playing process, starting what is recorded when detecting user and performing
During operation, record detects the system time point of the operation for starting to record, and is used as start time point;
Picture conversion unit, for since the start time point, picture conversion being carried out to the target video, every
During picture conversion, time point and the difference of the start time point of picture conversion are calculated, the difference is regard as this
The timestamp for the picture that picture conversion is obtained;
Recording unit, it is described by playing for since the start time point, recording the audio stream of the target video
The time point of audio stream sound intermediate frequency fragment and the difference of the start time point, are used as the timestamp of correspondence audio fragment;
Second probe unit, for when detecting the operation that user's execution end is recorded, stopping carrying out picture conversion, with
And the audio stream of target video described in stop recording.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the picture conversion unit is specific to use
In:
When carrying out picture conversion to the target video, it is displayed in the screen including the target video and sets in advance
Fixed target visual control is converted to control picture;Each control picture is synthesized, the picture that generation picture conversion is obtained.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the two field picture module, specifically for:
For each pictures, using the picture as two field picture, wherein, the timestamp of the picture is the two field picture
Timestamp;According to the timestamp of each two field picture, each two field picture is synthesized, the video flowing is obtained.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the recording module, specifically for:
When being synthesized to the video flowing and the audio stream, by the timestamp of each audio fragment in the audio stream,
It is synchronous with the timestamp progress time shaft of each two field picture in the video flowing, the video segment recorded.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the playing module, in addition to:
3rd probe unit, for when detect user perform pause record operation when, pause carry out picture conversion and
Pause records the audio stream of the target video;
4th probe unit, for when detecting the operation that user's execution recovery is recorded, calculating the duration of pause recording;
At the time of detecting recovery and recording, proceed picture conversion, when picture each time is converted, calculate picture conversion
The duration that the pause is recorded is individually subtracted in time point, and subtracts the result obtained by the start time point, obtains this figure
The timestamp for the picture that piece conversion is obtained;Since the start time point, the audio stream of the target video is recorded, calculating is broadcast
The duration that the pause is recorded is individually subtracted in the time point for putting the audio stream sound intermediate frequency fragment, and subtracts the initial time
Result obtained by point, obtains the timestamp of correspondence audio fragment.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, described device, in addition to:
Editor module, for increasing default pictorial element in the picture;Described image element includes watermark picture.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the two field picture module, including:
Adding unit, for default Target Photo to be increased in the plurality of pictures that picture conversion is obtained;
First synthesis unit, different frame figures is used as the Target Photo and picture to be converted into obtained plurality of pictures
As being synthesized, video flowing is obtained.
Alternatively, in a kind of possible implementation of the embodiment of the present invention, the two field picture module, including:
Superpositing unit, for the picture for obtaining the corresponding picture conversion that is added to of default Target Photo, is synthesized
Picture;Wherein, the transparency of the Target Photo reduces with the increase of timestamp, the picture that picture conversion is obtained it is saturating
Lightness increases with the increase of timestamp;
Second synthesis unit, for the synthesising picture to be synthesized as two field picture, obtains video flowing.
The video recording device of the embodiment of the present invention, by target video playing process, repeatedly being schemed respectively
Piece conversion obtains plurality of pictures, and records the audio stream of the target video, synthesizes, obtains as two field picture to plurality of pictures
To after video flowing, video flowing and audio stream synthesize to the video segment recorded, it is achieved thereby that to target video
Recording, solve the technical problem that mobile terminal can not also be recorded to video segment in the prior art, pass through the present invention
Embodiment meets the demand that user watches repeatedly.
For up to above-mentioned purpose, third aspect present invention embodiment proposes electronic equipment, including:Housing, processor, storage
Device, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged on
On circuit board;Power circuit, for being powered for each circuit or device of above-mentioned electronic equipment;Memory is used to store executable
Program code;The executable program code that processor is stored by reading in memory is corresponding with executable program code to run
Program, for performing the video recording method described in first aspect.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings the video recording method and device of the embodiment of the present invention described.
A kind of schematic flow sheet for video recording method that Fig. 1 is provided by the embodiment of the present invention, the present embodiment is provided
The video record that can apply under live scene of method, the video record under scene of game can also be applied to, in addition, also
The present embodiment of application scenarios in the video record that can apply under Video chat scene, to(for) video record are not limited.
As shown in figure 1, video recording method comprises the following steps:
Step 101, in target video playing process, multiple picture conversion is carried out respectively and obtains plurality of pictures, and is remembered
Record the audio stream of target video.
Specifically, in target video playing process, when detecting the operation for starting to record, record, which is detected, starts record
The system time point of the operation of system, is used as start time point.Since start time point, picture conversion is carried out to target video,
When picture each time is converted, the time point of picture conversion and the difference of start time point are calculated, the difference is regard as this figure
The timestamp for the picture that piece conversion is obtained.Meanwhile, since the start time point, the audio stream of target video is recorded, will be played
The time point of the audio stream sound intermediate frequency fragment and the difference of start time point, are used as the timestamp of correspondence audio fragment.Work as spy
Measure terminate record operation when, stop carry out picture conversion, and target video described in stop recording audio stream.
Step 102, plurality of pictures is synthesized as two field picture, obtains video flowing.
Specifically, for each pictures, using the picture as two field picture, wherein, the timestamp of two field picture is the picture
Timestamp.According to the order of the timestamp of each two field picture, on the time shaft of video, each two field picture is synthesized, obtained
Video flowing.
Step 103, video flowing and audio stream synthesize to the video segment recorded.
Specifically, when being synthesized to video flowing and audio stream, by the timestamp of each audio fragment in audio stream, with video
The timestamp of each two field picture carries out time shaft synchronization, the video segment recorded in stream.
As a kind of possible implementation, the method that the present embodiment is provided can be by the shifting based on IOS operating platforms
Dynamic terminal is performed, and IOS is the Mobile operating system of Apple Inc.'s exploitation, is mainly used in the mobile devices such as iPhone or iPad, IOS
Operating platform provides a kind of method, specified visual control (UIView) and the sub- UIView included can be generated as into one
Pictures, in the present embodiment, when picture is converted each time, mobile terminal is in this way, preassigned for user
UIView and the sub- UIView included are converted into a pictures, so as to complete this picture conversion, and obtain this figure
The picture of piece conversion.
User is when specifying UIView, it is possible to specify shows whole UIView in the screen of the target video, also may be used
To be this to be not construed as limiting in the UIView the present embodiment of part.
In the present embodiment, multiple figures are obtained by target video playing process, carrying out multiple picture conversion respectively
Piece, and the audio stream of the target video is recorded, synthesized to plurality of pictures as two field picture, obtain after video flowing, incite somebody to action
Video flowing synthesize the video segment recorded with audio stream, it is achieved thereby that the recording to target video, is solved existing
There is the technical problem that mobile terminal can not also be recorded to video segment in technology, user is met by the embodiment of the present invention
The demand watched repeatedly.
For an embodiment in clear explanation, another video recording method is present embodiments provided, the present embodiment is carried
The method of confession be can apply under live application scenarios, and for recording live video, Fig. 2 is provided by the embodiment of the present invention
The schematic flow sheet of another video recording method, as shown in Fig. 2 the video recording method, comprises the following steps:
Step 201, when detecting user's long-press " recording button screen ", during record user's long-press " recording button screen "
System time point, regard the time point as start time point.
Specifically, in the present embodiment, long-press " recording button screen " is the operation for starting to record, and the head of a household is used when detecting
During by " recording button screen ", start to perform video record task.Video record task video record task opening timing device, from
And multiple picture conversion is carried out with certain predetermined time interval and the audio stream of target video is recorded.When being generated due to video, need
The timestamp of each two field picture is determined according to system time point, therefore, video record task needs starting to perform video record
During task, record system current point in time (startTime) is used as start time point first.
Step 202, the file for preserving the video segment recorded is created.
Specifically, video record task creates a file in the file system of mobile terminal, and this document is used to preserve
The video segment finally recorded.In general, video record task is named using fixed title to this document, because
This, as a kind of possible way of realization, is not present the file of the title, then in file system in the file system of mobile terminal
In a newly-built file.As another way of realization, the file of the existing title, then delete in the file system of mobile terminal
After already present file, the file of the newly-built title in file system.After establishment file, target video is opened
Audio stream input source and video flowing input source, preparation start record.
Step 203, picture conversion is carried out to target video, obtains the picture that the conversion of this picture is obtained, and watermark figure
Piece is merged on the picture that the conversion of this picture is obtained.
Specifically, each visual control specified in screen is converted into corresponding control figure by video record task
Piece, and then according to the relative position between each visual control, each control picture is synthesized into the figure that pictures conversion is obtained
Piece.In the present embodiment, after picture conversion obtains picture, edlin can also be entered to the picture, by default watermark picture
On the picture that this picture conversion that is added to is obtained.In the present embodiment, specifically watermark can be used as using source video sequence pattern identification
The content of picture.
Step 204, time point and the difference of the start time point of picture conversion are calculated, is turned difference as this picture
Change the timestamp of obtained picture.
Specifically, the time point of this picture of video record task record conversion, i.e. current point in time
(currentTime), and start time point (startTime) difference (Δ vt=currentTime-startTime), by difference
Value (Δ vt) converts the timestamp of obtained picture as this picture.
Step 205, this picture is converted into obtained picture as the two field picture in video flowing, is added to regarding for recording
In frequency fragment.
Specifically, video record task carries out the timestamp (Δ vt) that this picture converts the obtained picture and picture
Binding, and then operating system specific data type is converted into, a two field picture is obtained, the two field picture is added in the form of video flowing
Into the video segment of recording.
Step 206, the audio stream of main broadcaster, obtains audio fragment in the target video that record player is played, and will play
The time point of the audio stream sound intermediate frequency fragment and the difference of start time point, are used as the timestamp of correspondence audio fragment.
Step 207, audio fragment and corresponding timestamp are converted into audio stream, according to audio stream sound intermediate frequency fragment when
Between stamp and two field picture timestamp, by the way of time shaft is synchronous, audio fragment is inserted into correspondence two field picture position.
It should be noted that, it is necessary to repeat step 203- steps 207 in recording process, until record terminate or
Pause.
Step 208, when detecting the operation that user's execution end is recorded, stop carrying out picture conversion, and stopping is remembered
The audio stream of the target video is recorded, terminates to record.
Wherein, in the present embodiment, the operation for terminating to record is specially to unclamp " recording button screen ".
Specifically, when detecting user and performing the operation of release " recording button screen ", Off Timer, audio is closed
Stream input source simultaneously terminates video record task.
Step 209, using default Target Photo as two field picture, the frame with converting the formation of obtained plurality of pictures to picture
Image is synthesized, the video segment recorded.
Wherein, Target Photo can be advertising pictures.
Specifically, using default Target Photo as two field picture, the frame with converting the formation of obtained plurality of pictures to picture
Image, which is synthesized, at least has two kinds of possible implementations.
As a kind of possible implementation, the picture that the corresponding picture conversion that is added to of default Target Photo is obtained
On, obtain synthesising picture;Wherein, the transparency of the Target Photo reduces with the increase of timestamp, and the picture is converted
To the transparency of picture increase with the increase of timestamp.
As alternatively possible implementation, by default Target Photo increase to picture conversion obtain described in multiple
In picture, the Target Photo and picture are converted into obtained plurality of pictures and synthesized as different two field pictures.
In general, it can be synthesized using Target Photo as last several two field pictures, that is to say, that insert Target Photo
After the picture that last or the conversion of several pictures are obtained.So that user is clear after the video segment that viewing is recorded
Look at the advertising message of popularization.
Step 210, the video segment for calling player preview to record.
Further, after preview, show the control for the video segment to be shared, preserved or cancelled, by with
Family selects required operation from sharing, preserving or cancelling.
In the present embodiment, multiple figures are obtained by target video playing process, carrying out multiple picture conversion respectively
Piece, and the audio stream of the target video is recorded, synthesized to plurality of pictures as two field picture, obtain after video flowing, incite somebody to action
Video flowing synthesize the video segment recorded with audio stream, it is achieved thereby that the recording to target video, is solved existing
There is the technical problem that mobile terminal can not also be recorded to video segment in technology, user is met by the embodiment of the present invention
The demand watched repeatedly.
For an embodiment in clear explanation, the present embodiment additionally provides another video recording method, and Fig. 3 is the present invention
The schematic flow sheet for another video recording method that embodiment is provided, the method that the present embodiment is provided can realize breakpoint
Record, on the basis of the video recording method that Fig. 2 is provided, after step 207, as shown in figure 3, also including:
Step 301, when detecting the operation that user's execution pause is recorded, pause carries out picture conversion and suspends record mesh
Mark the audio stream of video.
Specifically, the operation for suspending recording in the present embodiment is specifically as follows the button of click " screen is recorded in pause ".When
When detecting the button of user's click " screen is recorded in pause ", pause carries out picture conversion and suspends the audio of record target video
Stream namely no longer performs step 203- steps 207, but does not influence the broadcasting of target video, namely live in the present embodiment
Broadcasting.
Step 302, when detecting the operation that user's execution recovery is recorded, the duration of pause recording is calculated.
Specifically, the operation for recovering to record in the present embodiment is specifically as follows click " continuing recording screen " button.From spy
When measuring the operation that user's execution pause is recorded, video record task carries out timing, until detecting click, " continuation is recorded
The operation of screen " button, the duration that the duration that timing is obtained is recorded as pause.
Step 303, continue to carry out picture conversion to target video, obtain the picture that the conversion of this picture is obtained, Yi Jigen
The corresponding timestamp of duration calculation recorded according to pause.
Specifically, since detecting user and performing at the time of recovery is recorded, continue executing with and picture is carried out to target video
The step of conversion.But the calculation of timestamp, different with a upper embodiment, specifically, video record task is every
During picture conversion, the duration that pause is recorded is individually subtracted in the time point for calculating picture conversion, and subtracts start time point
The result of gained, obtains the timestamp for the picture that the conversion of this picture is obtained.
Further, watermark picture can also be merged on the picture that picture conversion is obtained.
Step 304, this picture is converted into obtained picture as the two field picture in video flowing, is added to regarding for recording
In frequency fragment.
Step 305, continue the audio stream of record target video, obtain audio fragment and corresponding timestamp.
Specifically, in the corresponding timestamp of calculating audio fragment, by the time point of audio stream plays sound intermediate frequency fragment point
The duration that pause is recorded is not subtracted, and subtracts the result obtained by start time point, obtains the timestamp of correspondence audio fragment.
Step 306, audio fragment and corresponding timestamp are converted into audio stream, according to audio stream sound intermediate frequency fragment when
Between stamp and two field picture timestamp, by the way of time shaft is synchronous, audio fragment is inserted into correspondence two field picture position.
It should be noted that, it is necessary to repeat step 303- steps 306 in recording process, until record terminate or
Again pause for.When performing multiple pause, suspend the when a length of total duration repeatedly suspended recorded.
In the present embodiment, multiple figures are obtained by target video playing process, carrying out multiple picture conversion respectively
Piece, and the audio stream of the target video is recorded, synthesized to plurality of pictures as two field picture, obtain after video flowing, incite somebody to action
Video flowing synthesize the video segment recorded with audio stream, it is achieved thereby that the recording to target video, is solved existing
There is the technical problem that mobile terminal can not also be recorded to video segment in technology, user is met by the embodiment of the present invention
The demand watched repeatedly.
In order to realize above-described embodiment, the present invention also proposes a kind of video recording device.
Fig. 4 is a kind of structural representation of video recording device provided in an embodiment of the present invention, as shown in figure 4, the video
Record device includes:Playing module 41, two field picture module 42 and recording module 43.
Playing module 41, multiple figures are obtained in target video playing process, carrying out multiple picture conversion respectively
Piece, and record the audio stream of the target video.
Two field picture module 42, for the plurality of pictures to be synthesized as two field picture, obtains video flowing.
Module 43 is recorded, for carrying out synthesizing the video segment recorded the video flowing and the audio stream.
Based on above-described embodiment, as a kind of possible implementation, the embodiments of the invention provide the record of another video
Device processed, Fig. 5 is the structural representation of the structural representation of another video recording device provided in an embodiment of the present invention, is being schemed
On the basis of 4, as shown in figure 5, playing module 41, including:First probe unit 411, picture conversion unit 412, recording unit
413 and second probe unit 414.
First probe unit 411, in the target video playing process, starting to record when detecting user and performing
Operation when, record detect it is described start record operation system time point, be used as start time point.
Picture conversion unit 412, for since the start time point, picture conversion to be carried out to the target video,
When picture each time is converted, calculate the difference of time point and the start time point of picture conversion, using the difference as
The timestamp for the picture that the conversion of this picture is obtained.
Recording unit 413, for since the start time point, recording the audio stream of the target video, will be played
The time point of the audio stream sound intermediate frequency fragment and the difference of the start time point, are used as the timestamp of correspondence audio fragment.
Second probe unit 414, for when detecting the operation that user's execution end is recorded, stopping carrying out picture turn
Change, and target video described in stop recording audio stream.
Wherein, picture conversion unit 412, specifically for:When carrying out picture conversion to the target video, it is displayed on
Target visual control set in advance is converted to control picture in screen including the target video;Each control picture is entered
Row synthesis, the picture that generation picture conversion is obtained.
Two field picture module 42, specifically for:For each pictures, using the picture as two field picture, wherein, the figure
The timestamp of piece is the timestamp of the two field picture;According to the timestamp of each two field picture, each two field picture is synthesized, institute is obtained
State video flowing.
Module 43 is recorded, specifically for:When being synthesized to the video flowing and the audio stream, by the audio stream
The timestamp of each audio fragment, synchronous with the timestamp progress time shaft of each two field picture in the video flowing, that is recorded regards
Frequency fragment.
Further, playing module 41, in addition to:3rd probe unit 415 and the 4th probe unit 416.
3rd probe unit 415, for when detecting the operation that user's execution pause is recorded, pause to carry out picture conversion
The audio stream of the target video is recorded with pause.
4th probe unit 416, for when detect user perform recover record operation when, calculate pause record when
It is long;At the time of detecting recovery and recording, proceed picture conversion, when picture each time is converted, calculate picture and turn
The duration that the pause is recorded is individually subtracted in the time point of change, and subtracts the result obtained by the start time point, obtains this
The timestamp for the picture that secondary picture conversion is obtained;Since the start time point, the audio stream of the target video is recorded, is counted
The duration that the pause is recorded is individually subtracted in the time point for calculating the broadcasting audio stream sound intermediate frequency fragment, and subtracts the starting
Result obtained by time point, obtains the timestamp of correspondence audio fragment.
Further, video recording device, in addition to:Editor module 44.
Editor module 44, for increasing default pictorial element in the picture;Described image element includes watermark figure
Piece.
Further, as a kind of possible implementation, two field picture module 42, including:Adding unit and the first synthesis are single
Member.
Adding unit, for default Target Photo to be increased in the plurality of pictures that picture conversion is obtained.
First synthesis unit, different frame figures is used as the Target Photo and picture to be converted into obtained plurality of pictures
As being synthesized, video flowing is obtained.
As alternatively possible implementation, two field picture module 42, including:Superpositing unit and the second synthesis unit.
Superpositing unit, for the picture for obtaining the corresponding picture conversion that is added to of default Target Photo, is synthesized
Picture;Wherein, the transparency of the Target Photo reduces with the increase of timestamp, the picture that picture conversion is obtained it is saturating
Lightness increases with the increase of timestamp.
Second synthesis unit, for the synthesising picture to be synthesized as two field picture, obtains video flowing.
It should be noted that the foregoing explanation to video recording method embodiment is also applied for the video of the embodiment
Record device, here is omitted.
In the embodiment of the present invention, obtain many by target video playing process, carrying out multiple picture conversion respectively
Pictures, and record the audio stream of the target video, are synthesized to plurality of pictures as two field picture, obtain video flowing it
Afterwards, video flowing and audio stream synthesize to the video segment recorded, it is achieved thereby that the recording to target video, is solved
Mobile terminal can not also be recorded to video segment in the prior art technical problem, is met by the embodiment of the present invention
The demand that user watches repeatedly.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described
Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the not be the same as Example or the feature of example and non-be the same as Example or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, fragment or the portion of the code of one or more executable instructions for the step of realizing custom logic function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wirings
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from
Scattered logic circuit, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can be compiled
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and retouching above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
The embodiment of the present invention also provides a kind of electronic equipment, and electronic equipment includes the device described in foregoing any embodiment.
Fig. 6 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve implemented shown in Fig. 1-5 of the present invention
The flow of example, as shown in fig. 6, above-mentioned electronic equipment can include:Housing 41, processor 42, memory 43, circuit board 44 and electricity
Source circuit 45, wherein, circuit board 44 is placed in the interior volume that housing 41 is surrounded, and processor 42 and memory 43 are arranged on circuit
On plate 44;Power circuit 45, for being powered for each circuit or device of above-mentioned electronic equipment;Memory 43 is used to store and can hold
Line program code;Processor 42 is run and executable program generation by reading the executable program code stored in memory 43
The corresponding program of code, for performing the video recording method described in foregoing any embodiment.
Processor 42 to the specific implementation procedure and processor 42 of above-mentioned steps by run executable program code come
The step of further performing, may refer to the description of Fig. 1-5 illustrated embodiments of the present invention, will not be repeated here.
The electronic equipment exists in a variety of forms, includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work(
Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server is total including processor, hard disk, internal memory, system
Line etc., server is similar with general computer architecture, but is due to need to provide highly reliable service, therefore in processing energy
Require higher in terms of power, stability, reliability, security, scalability, manageability.
(5) other electronic equipments with data interaction function.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.