CN104853081A - Breakpoint filming method, device and mobile terminal - Google Patents

Breakpoint filming method, device and mobile terminal Download PDF

Info

Publication number
CN104853081A
CN104853081A CN201410055613.5A CN201410055613A CN104853081A CN 104853081 A CN104853081 A CN 104853081A CN 201410055613 A CN201410055613 A CN 201410055613A CN 104853081 A CN104853081 A CN 104853081A
Authority
CN
China
Prior art keywords
video file
data
video
shooting
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410055613.5A
Other languages
Chinese (zh)
Other versions
CN104853081B (en
Inventor
罗琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410055613.5A priority Critical patent/CN104853081B/en
Publication of CN104853081A publication Critical patent/CN104853081A/en
Application granted granted Critical
Publication of CN104853081B publication Critical patent/CN104853081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a breakpoint filming method, device and mobile terminal, and belongs to the multi-medium processing field; the method comprises the following steps: collecting video data when receiving a filming signal in a breakpoint filming process; writing the collected video data into a video film matched with the filming signal, and filming signals triggered at different time are matched with different video files; splicing the video files matched with the filming signals triggered at different time to the same video file. A convention breakpoint filming method cannot well distinguish the video data of different filming time in the video file, and cannot singly process the video data of each filming time period; the method and device of the application allow the video data of each filming time period to singly match one video file, thus singly processing the video data of different filming time periods.

Description

Breakpoint image pickup method, device and mobile terminal
Technical field
The embodiment of the present invention relates to multi-media processing field, particularly a kind of breakpoint image pickup method, device and mobile terminal.
Background technology
Micro-video sharing is current popular a kind of function on the mobile terminals such as such as smart mobile phone, panel computer and multimedia player.User can take several seconds brief videos by smart mobile phone and be shared with good friend, and micro-video can be diffused information as microblogging.
User can use breakpoint shoot function to take micro-video.Breakpoint shooting refers to that user carries out the shooting gimmick of taking in the mode of " shooting-suspend-shooting-suspend " class.Current breakpoint image pickup method, comprising: a frame frame video data, when receiving the shooting signal of user, is write video file by mobile terminal; Mobile terminal, when receiving the time-out shooting signal of user, suspends to this video file write video data; Repeat front 2 steps until all gather to this video file by the video data of different shooting time section; Finally, the video data of shooting time section write different in this video file is merged and is spliced into one section of continuous print video by the Video processing storehouse FFmpeg that increases income by mobile terminal.
In the process realizing the embodiment of the present invention, inventor finds that background technology at least exists following problem: the video data including each shooting time section in the video file that above-mentioned breakpoint image pickup method obtains, cannot well distinguish between the video data of each shooting time section, make to process separately the video data of each shooting time section, such as, in breakpoint shooting process, the video data that a certain shooting time section has been taken is carried out delete processing.
Summary of the invention
The video data of each shooting time section in video file well cannot be distinguished in order to solve current breakpoint image pickup method, the follow-up problem cannot carrying out process separately to the video data of each shooting time section, embodiments provides a kind of breakpoint image pickup method, device and mobile terminal.Described technical scheme is as follows:
First aspect, provide a kind of breakpoint image pickup method, described method comprises:
In breakpoint shooting process, when receiving shooting signal, gather video data at every turn;
The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different;
The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file.
Second aspect, provide a kind of breakpoint filming apparatus, described device, comprising:
Data acquisition module, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Data write. module, for described video data write and the video file corresponding to described shooting signal that will collect, the video file that the shooting signal correspondence that different time triggers is different;
File combination module, each self-corresponding video file splicing of the shooting signal for being triggered by described different time is to same video file.
The third aspect, provides a kind of mobile terminal, and described mobile terminal comprises the device as above described in second aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By in breakpoint shooting process, when receiving shooting signal, gather video data at every turn; The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different; The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file; Solve the video data that current breakpoint image pickup method well cannot distinguish each shooting time section in video file, the problem of process separately cannot be carried out the video data of each shooting time section; Reach a video data corresponding video file separately of each shooting time section, the effect of process separately can be carried out the video data of each shooting time section.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the breakpoint image pickup method that one embodiment of the invention provides;
Fig. 2 A is the method flow diagram of the breakpoint image pickup method that another embodiment of the present invention provides;
Fig. 2 B and Fig. 2 C is the interface alternation schematic diagram involved by breakpoint image pickup method that Fig. 2 A provides;
Fig. 3 is the structural representation of the breakpoint filming apparatus that one embodiment of the invention provides;
Fig. 4 is the structural representation of the breakpoint filming apparatus that another embodiment of the present invention provides;
Fig. 5 is the structural representation of the mobile terminal that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
In each embodiment of the present invention, mobile terminal can be mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player etc.
Please refer to Fig. 1, it illustrates the method flow diagram of the breakpoint image pickup method that one embodiment of the invention provides.The present embodiment is applied to mobile terminal to illustrate with this breakpoint image pickup method.This breakpoint image pickup method, comprising:
Step 102, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Mobile terminal, when receiving the shooting signal of user, gathers video data.Such as, mobile terminal is smart mobile phone, then, during the recording button of smart mobile phone on user's Continued depression screen, gather video data.When user does not press recording button, do not gather video data.
Step 104, by the video data write and the video file corresponding to shooting signal that collect, the video file that the shooting signal that different time triggers is corresponding different;
From background technology always the video data in different shooting time section is write same video file unlike, the video data gathered when at every turn receiving shooting signal writes separately and the video file corresponding to this shooting signal by the mobile terminal in the present embodiment, the video file that the shooting signal that different time triggers is corresponding different.
Step 106, each self-corresponding video file splicing of the shooting signal triggered by different time is to same video file.
The each self-corresponding video file splicing of the shooting signal that different time in this breakpoint shooting process triggers by mobile terminal is to same video file.This video file is final shooting results.
In sum, the breakpoint image pickup method that the present embodiment provides, by breakpoint shooting process, gathers video data when receiving shooting signal at every turn; The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different; The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file; Solve the video data that current breakpoint image pickup method well cannot distinguish each shooting time section in video file, the problem of process separately cannot be carried out the video data of each shooting time section; Reach a video data corresponding video file separately of each shooting time section, the effect of process separately can be carried out the video data of each shooting time section.
Please refer to Fig. 2 A, it illustrates the method flow diagram of the breakpoint image pickup method that another embodiment of the present invention provides.The present embodiment is applied to mobile terminal to illustrate with this breakpoint image pickup method.This breakpoint image pickup method, comprising:
Step 201, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Mobile terminal, when receiving the shooting signal of user, gathers video data.When not receiving shooting signal or receive time-out shooting signal, stop gathering video data.Shooting signal can be click signal, touch signal or lasting triggering signal etc.
When shooting signal is lasting triggering signal, mobile terminal passes through the camera collection raw image data of self in the duration section of lasting triggering signal, and gathers original audio data by the microphone of self.
Be smart mobile phone for mobile terminal, the recording button 20 on the finger Continued depression screen of user produces lasting triggering signal, when mobile terminal receives this lasting triggering signal, starts to gather video data, and the recording progress bar 22 on screen advances simultaneously; When the finger of user leaves recording button 20, mobile terminal suspends collection video data, and the recording progress bar 22 on screen halts simultaneously.If during the recording button 20 of the finger of user again on Continued depression screen, mobile terminal starts again to gather video data, and the recording progress bar 22 on screen advances again; When the finger of user leaves again recording button 20, mobile terminal suspends again collection video data, the recording progress bar 22 on screen halts again, as shown in Figure 2 B.This process may be repeatedly.
Step 202, by the video data write and the video file corresponding to shooting signal that collect, the video file that the shooting signal that different time triggers is corresponding different.
Each shooting signal can trigger shooting process once, and the video data collected in each middle shooting process can write and the video file corresponding to shooting signal by mobile terminal, the video file that the shooting signal correspondence that different time triggers is different.
Such as, one time breakpoint shooting process comprises " shooting-suspend-shooting-suspend-shooting " 5 stages, wherein the shooting signal of 3 different time triggerings can trigger 3 middle shooting process, the video data that each shooting process collects all can be written to independently in a video file, and 3 shooting signals can corresponding 3 video files.
For each middle shooting process, comprise following sub-step:
1) raw image data in the video data collected adopts the first coded format to export the graph data after for coding by mobile terminal, and the original audio data in the video data collected is adopted the second coded format to export the voice data after for coding;
Because the data volume of raw image data and original audio data is comparatively large, usually need to carry out compressed encoding to video data.Compressed encoding can be realized by the parameter arranged in the first coded format and the second coded format.Wherein, the first coded format can comprise: resolution, code check and coded format, and such as, resolution 480*480, code check 1000kbps and coded format are H.264.Second coded format can comprise: code check, port number and coded format, such as AAC form (Advanced Audio Coding, Advanced Audio Coding).
Preferably, raw image data adopts the first coded format to export the graph data after for coding by the function of hardware acceleration that mobile terminal can call self, and/or original audio data adopts the second coded format to export the voice data after for coding by the function of hardware acceleration that mobile terminal can call self.
2) mobile terminal is by the voice data write after the graph data after coding and coding and the video file corresponding to this shooting signal, and the video file path of recording of video file.
For current raw image data, after current raw image data adopts the first coded format compression to export the graph data after for coding, mobile terminal by the view data write video file after current compression, and restarts to repeat said process to next frame raw image data.When view data after every frame compression writes video file, mobile terminal also needs the voice data corresponding with this frame image data also to write video file.
After in the middle of once, shooting process terminates, mobile terminal also needs the video file path of recording the video file that shooting process produces in the middle of this time.If whole breakpoint shooting process has the shooting signal of 3 different times to trigger 3 middle shooting process, then the video file that each shooting signal is corresponding has a video file path, and mobile terminal can be recorded to 3 video file paths.
Step 203, receives single hop processing instruction, and single hop processing instruction is used to indicate and processes the video file corresponding to a shooting signal in the shooting signal of different time triggering;
Due in breakpoint shooting process, the video data that user exists certain middle shooting process gathers carries out the independent demand processed." process " herein includes but not limited to: delete, increase dynamic special efficacy, increase background music, increase watermark, increase filter, regulate brightness and regulate contrast etc.So, mobile terminal can receive the single hop processing instruction for carrying out process separately to certain section of video data that user triggers, and this single hop processing instruction is used to indicate and processes the video file corresponding to a shooting signal in the shooting signal of different time triggering.
In conjunction with reference to figure 2C, record progress bar 22 and can use every line to represent the video data of different shooting time section shooting, user can click back and delete button 26 to delete nearest one section of video data; User also can choose wherein one section record progress bar (in figure with separate every line totally 4 sections record progress bars and illustrate) trigger single hop processing instruction to this section of video data.
Step 204, by the video file indicated by the video file path searching that recorded and single hop processing instruction;
Because mobile terminal have recorded the video file path of video file corresponding to each shooting signal, so mobile terminal is by the video file path searching that recorded and the video file indicated by single hop processing instruction.
Step 205, performs process to finding video file;
Mobile terminal performs deletion according to single hop processing instruction to the video file found, increases dynamic special efficacy, increases background music, increases watermark, increases filter, regulates brightness or regulates at least one process in contrast.
Such as, the recording progress bar 22 that mobile terminal shows is by distinguishing the video file corresponding to different shooting signal every line 24, user can by return delete button 26 delete nearest one shooting signal corresponding to video file, again to take another section of video data.
Above-mentioned steps 203 to step 204 is optional step.
Step 206, each self-corresponding video file splicing of the shooting signal triggered by different time is to same video file.
Last at breakpoint shooting process, each self-corresponding video file splicing of the shooting signal that different time triggers by mobile terminal is to same video file.Also namely:
1) mobile terminal reads each self-corresponding video file of shooting signal of different time triggering according to the video file path of having recorded;
The video file that difference is taken signal corresponding according to the video file path of having recorded by mobile terminal successively reads in internal memory.
2) view data in each video file is spliced to same video track by mobile terminal in order, and the voice data in each video file is spliced to same audio track in order;
3) the splicing result of video track and the splicing result of audio track are write same video file by mobile terminal.
Also, namely in above-mentioned splicing, multiple video file can be carried out splicing by mobile terminal successively.Such as, 1st video file and the 2nd video file first splice by mobile terminal in order, then the 3rd video file whether also existing and do not splice is detected, if when there is the 3rd video file, mobile terminal continues to splice the splicing result of the 3rd video file and the 1st, 2 video file.By that analogy, until by all video file splicings to same video file.
So far, mobile terminal can obtain a video file by breakpoint shooting process.
In sum, the breakpoint image pickup method that the present embodiment provides, by breakpoint shooting process, gathers video data when receiving shooting signal at every turn; The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different; The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file; Solve the video data that current breakpoint image pickup method well cannot distinguish each shooting time section in video file, the problem of process separately cannot be carried out the video data of each shooting time section; Reach a video data corresponding video file separately of each shooting time section, the effect of process separately can be carried out the video data of each shooting time section.
Also by the video data that middle shooting process gathers is write video file with compression coding mode, make the data volume of video file very little, applicable mobile terminal and network side carry out the transmission of video file.
Also by video data is write in the process of video file with compression coding mode, utilize the function of hardware acceleration of mobile terminal to carry out video compression, improve the write efficiency of video data.
In a concrete example, mobile terminal can be the electronic equipment that the operation of American apple Company has iOS operating system, and each assembly in the multimedia basics framework AVFoundation of regarding multimedia exploitation in the move operation Development Framework that whole breakpoint shooting process can be provided by American apple company or interface realize.Specific as follows:
1, mobile terminal adopts multimedia capture equipment input interface AVCaptureDeviceInput initialization camera and microphone;
2, after breakpoint shooting starts, mobile terminal adopts multimedia capture assembly AVCaptureSession to configure startup one shooting flow process;
3, when receiving shooting signal, mobile terminal adopts multimedia capture video data output interface AVCaptureVideoDataOutput to obtain the original video data of camera collection, and mobile terminal adopts multimedia capture voice data output interface AVCaptureAudioDataOutput to obtain the original audio data of microphone collection;
4, mobile terminal also arranges interface AVAssetWriterInpu by multimedia coding and arranges the first coded system and be: 480X480 resolution, 1000kbps code check, H264 coded format, and arranges the second coded system and be: AAC coded format;
5, mobile terminal adopts multimedia coding assembly AVAssetWriter to be adopted by the raw image data collected the first coded format to export the graph data after for coding, and the original audio data collected adopted the second coded format to export the voice data after for coding, then by the voice data write after the graph data after coding and coding and the video file corresponding to shooting signal.Multimedia coding assembly AVAssetWriter can use the function of hardware acceleration in iOS system.And the video file path of mobile terminal this video file of usage data record in internal memory.
Above-mentioned steps 3 to step 5 is once middle shooting process, repeats the collection that step 3 to step 5 completes the video data corresponding to shooting signal that different time triggers.
6, mobile terminal travels through the video file path of having recorded, each video file is read in internal memory, adopt multimedia splicing component AVMutableComposition the view data in each video file to be extracted in order and be spliced in same multimedia splicing video track AVMutableCompositionTrack, the voice data in each video file is extracted in order and is spliced in another multimedia splicing audio track AVMutableCompositionTrack;
7, mobile terminal adopts multimedia to derive assembly AVAssetExportSession and the result of multimedia splicing component AVMutableComposition is output into final video file.
Obviously, this breakpoint image pickup method can rely on the multimedia development framework of mobile terminal self to realize completely, without the need to the Video processing storehouse that third party increases income, only needs the very little program of data volume to realize.
Please refer to Fig. 3, it illustrates the block diagram of the breakpoint filming apparatus that one embodiment of the invention provides.This breakpoint filming apparatus can realize becoming all or part of of mobile terminal by software, hardware or both combinations.This breakpoint filming apparatus, comprising:
Data acquisition module 320, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Data write. module 340, for described video data write and the video file corresponding to described shooting signal that will collect, the video file that the shooting signal correspondence that different time triggers is different;
File combination module 360, each self-corresponding video file splicing of the shooting signal for being triggered by described different time is to same video file.
In sum, the breakpoint filming apparatus that the present embodiment provides, by breakpoint shooting process, gathers video data when receiving shooting signal at every turn; The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different; The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file; Solve the video data that current breakpoint image pickup method well cannot distinguish each shooting time section in video file, the problem of process separately cannot be carried out the video data of each shooting time section; Reach a video data corresponding video file separately of each shooting time section, the effect of process separately can be carried out the video data of each shooting time section.
Please refer to Fig. 4, it illustrates the block diagram of the breakpoint filming apparatus that one embodiment of the invention provides.This breakpoint filming apparatus can realize becoming all or part of of mobile terminal by software, hardware or both combinations.This breakpoint filming apparatus, comprising:
Data acquisition module 320, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Data write. module 340, for described video data write and the video file corresponding to described shooting signal that will collect, the video file that the shooting signal correspondence that different time triggers is different;
File combination module 360, each self-corresponding video file splicing of the shooting signal for being triggered by described different time is to same video file.
Alternatively, described Data write. module 340, comprising: data encoding unit and data write unit;
Described data encoding unit, for being adopted by the raw image data in the described video data collected the first coded format to export the graph data after for coding, and the second coded format the original audio data in the described video data collected is adopted to export the voice data after for coding;
Described data write unit, for writing the voice data after the graph data after described coding and described coding with the video file corresponding to described shooting signal, and records the video file path of described video file.
Alternatively, described data encoding unit, described raw image data adopts described first coded format to export the graph data after for coding by the function of hardware acceleration for calling described mobile terminal, and/or described original audio data adopts described second coded format to export the voice data after for coding by the function of hardware acceleration calling described mobile terminal.
Alternatively, described file combination module 360, comprising:
Document reading unit, sequential concatenation unit and File write unit;
Described document reading unit, for reading each self-corresponding video file of shooting signal that described different time triggers according to the video file path of having recorded;
Described sequential concatenation unit, for the view data in each video file is spliced to same video track in order, and is spliced to same audio track in order by the voice data in each video file;
Described File write unit, for writing same video file by the splicing result of described video track and the splicing result of described audio track.
Alternatively, described device, also comprises: command reception module 382, ff module 384 and document processing module 386;
Described command reception module 382, for receiving single hop processing instruction, the video file corresponding to a shooting signal that described single hop processing instruction is used to indicate in the shooting signal triggered described different time processes;
Described ff module 384, for the video file indicated by the video file path searching by having recorded and described single hop processing instruction;
Described document processing module 386, for performing described process to finding described video file.
Alternatively, described document processing module, for performing deletion to the described video file found, increasing dynamic special efficacy, increase background music, increase watermark, increase filter, regulate brightness and regulating at least one process in contrast.
Alternatively, described data acquisition module 320, for when described shooting signal is for continuing triggering signal, by raw image data described in the camera collection of mobile terminal in the duration section of described lasting triggering signal, and gather described original audio data by the microphone of described mobile terminal.
In sum, the breakpoint filming apparatus that the present embodiment provides, by breakpoint shooting process, gathers video data when receiving shooting signal at every turn; The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different; The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file; Solve the video data that current breakpoint image pickup method well cannot distinguish each shooting time section in video file, the problem of process separately cannot be carried out the video data of each shooting time section; Reach a video data corresponding video file separately of each shooting time section, the effect of process separately can be carried out the video data of each shooting time section.
Also by the video data that middle shooting process gathers is write video file with compression coding mode, make the data volume of video file very little, applicable mobile terminal and network side carry out the transmission of video file.
Also by video data is write in the process of video file with compression coding mode, utilize the function of hardware acceleration of mobile terminal to carry out video compression, improve the write efficiency of video data.
It should be noted that: the breakpoint filming apparatus that above-described embodiment provides is when carrying out breakpoint shooting, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the breakpoint filming apparatus that above-described embodiment provides and breakpoint image pickup method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Fig. 5, it illustrates the structural representation of the mobile terminal that one embodiment of the present of invention provide.This mobile terminal 500 is provided with that Video processing, video are social, the client of video sharing and so on, described client for implementing the breakpoint image pickup method provided in above-described embodiment, specifically:
Mobile terminal 500 can comprise RF (Radio Frequency, radio frequency) circuit 510, the memory 520 including one or more computer-readable recording mediums, input unit 530, display unit 540, transducer 550, voicefrequency circuit 560, short range wireless transmission module 570, include the parts such as processor 580 and power supply 590 that more than or processes core.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 580 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 510 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 510 can also by radio communication and network and other devices communicatings.Radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Memory 520 can be used for storing software program and module, such as, memory 520 may be used for storing Preset Time list, the software program of storage of collected voice signal can also be used for, realize the software program that the software program of keyword identification, the software program realizing continuous speech recognition and realization arrange prompting item, binding relationship storing WAP (wireless access point) and user account etc. can also be used for.Processor 580 is stored in software program and the module of memory 520 by running, thus perform the application of various function and data processing, function of the function " receiving the retrieval lines inputted to graphically " in the such as embodiment of the present invention, " detecting the information model whether existing and mate with retrieval lines " etc.Memory 520 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile terminal 500.In addition, memory 520 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 520 can also comprise Memory Controller, to provide the access of processor 580 and input unit 530 pairs of memories 520.
Input unit 530 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 530 can comprise Touch sensitive surface 531 and other input equipments 532.Touch sensitive surface 531, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 531 or near Touch sensitive surface 531 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 531 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 580, and the order that energy receiving processor 580 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 531.Except Touch sensitive surface 531, input unit 530 can also comprise other input equipments 532.Particularly, other input equipments 532 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 540 can be used for the various graphical user interface showing information or the information being supplied to user and the mobile terminal 500 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 540 can comprise display floater 541, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 541.Further, Touch sensitive surface 531 can cover on display floater 541, when Touch sensitive surface 531 detects thereon or after neighbouring touch operation, send processor 580 to determine the type of touch event, on display floater 541, provide corresponding vision to export with preprocessor 580 according to the type of touch event.Although in Figure 5, Touch sensitive surface 531 and display floater 541 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 531 and display floater 541 integrated and realize input and output function.
Mobile terminal 500 also can comprise at least one transducer 550, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 541, proximity transducer when mobile terminal 500 moves in one's ear, can cut out display floater 541 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for mobile terminal 500 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 560, loud speaker 561, microphone 562 can provide the audio interface between user and mobile terminal 500.Voicefrequency circuit 560 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 561, by loud speaker 561 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 562, voice data is converted to after being received by voicefrequency circuit 560, after again voice data output processor 580 being processed, through RF circuit 510 to send to another mobile terminal, or export voice data to memory 520 to process further.Voicefrequency circuit 560 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 500.
Short range wireless transmission module 570 can be WIFI (wireless fidelity, Wireless Fidelity) module or bluetooth module etc.By short range wireless transmission module 570, mobile terminal 500 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 5 shows short range wireless transmission module 570, be understandable that, it does not belong to must forming of mobile terminal 500, can omit in the scope of essence not changing invention as required completely.
Processor 580 is control centres of mobile terminal 500, utilize the various piece of various interface and the whole mobile terminal of connection, software program in memory 520 and/or module is stored in by running or performing, and call the data be stored in memory 520, perform various function and the deal with data of mobile terminal 500, thus integral monitoring is carried out to mobile terminal.Optionally, processor 580 can comprise one or more process core; Optionally, processor 580 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 580.
Mobile terminal 500 also comprises the power supply 590 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 580 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 590 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, mobile terminal 500 can also comprise camera, bluetooth module etc., does not repeat them here.
Mobile terminal 500 also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to perform breakpoint image pickup method described in above-mentioned Fig. 1 or Fig. 2 A embodiment by more than one or one processor.
It should be added that, in another embodiment, mobile terminal can comprise the parts more more or less than Fig. 5, or combines some parts, or different parts are arranged, realize all or part of function.
In addition, can also be implemented as the computer program performed by CPU according to method of the present invention, this computer program can store in a computer-readable storage medium.When this computer program is performed by CPU, perform the above-mentioned functions limited in method of the present invention.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a breakpoint image pickup method, is characterized in that, described method comprises:
In breakpoint shooting process, when receiving shooting signal, gather video data at every turn;
The described video data collected is write and the video file corresponding to described shooting signal, the video file that the shooting signal that different time triggers is corresponding different;
The each self-corresponding video file splicing of the shooting signal triggered by described different time is to same video file.
2. method according to claim 1, is characterized in that, described by the video data write that collects and the video file corresponding to described shooting signal, the corresponding different video file of the shooting signal that different time triggers, comprising:
Adopted by raw image data in the described video data collected the first coded format to export the graph data after for coding, and the original audio data in the described video data collected adopted the second coded format to export the voice data after for coding;
By the voice data write after the graph data after described coding and described coding with the video file corresponding to described shooting signal, and record the video file path of described video file.
3. method according to claim 2, it is characterized in that, described first coded format that adopted by raw image data in the described video data collected exports the graph data after for coding, and the original audio data in the described video data collected adopted the second coded format to export the voice data after for coding, comprising:
Described raw image data adopts described first coded format to export the graph data after for coding by the function of hardware acceleration calling described mobile terminal, and/or described original audio data adopts described second coded format to export the voice data after for coding by the function of hardware acceleration calling described mobile terminal.
4. method according to claim 2, is characterized in that, each self-corresponding video file splicing of the described shooting signal triggered by described different time, to same video file, comprising:
The each self-corresponding video file of shooting signal of described different time triggering is read according to the video file path of having recorded;
View data in each video file is spliced to same video track in order, and the voice data in each video file is spliced to same audio track in order;
The splicing result of described video track and the splicing result of described audio track are write same video file.
5. method according to claim 2, is characterized in that, before each self-corresponding video file splicing to same video file of the described shooting signal triggered by described different time, also comprises:
Receive single hop processing instruction, the video file that described single hop processing instruction is used to indicate corresponding to a shooting signal in the shooting signal triggered described different time processes;
By the video file indicated by the video file path searching that recorded and described single hop processing instruction;
Described process is performed to finding described video file.
6. method according to claim 5, is characterized in that, describedly performs described process to finding described video file, comprising:
Deletion performed to the described video file found, increases dynamic special efficacy, increase background music, increase watermark, increase filter, regulate brightness and regulate at least one process in contrast.
7. method according to claim 2, is characterized in that, described in breakpoint shooting process, gathers video data at every turn, comprising when receiving shooting signal:
When described shooting signal is for continuing triggering signal, by raw image data described in the camera collection of mobile terminal in the duration section of described lasting triggering signal, and gather described original audio data by the microphone of described mobile terminal.
8. a breakpoint filming apparatus, is characterized in that, described device, comprising:
Data acquisition module, in breakpoint shooting process, gathers video data when receiving shooting signal at every turn;
Data write. module, for described video data write and the video file corresponding to described shooting signal that will collect, the video file that the shooting signal correspondence that different time triggers is different;
File combination module, each self-corresponding video file splicing of the shooting signal for being triggered by described different time is to same video file.
9. device according to claim 8, is characterized in that, described Data write. module, comprising:
Data encoding unit and data write unit;
Described data encoding unit, for being adopted by the raw image data in the described video data collected the first coded format to export the graph data after for coding, and the second coded format the original audio data in the described video data collected is adopted to export the voice data after for coding;
Described data write unit, for writing the voice data after the graph data after described coding and described coding with the video file corresponding to described shooting signal, and records the video file path of described video file.
10. device according to claim 9, is characterized in that,
Described data encoding unit, described raw image data adopts described first coded format to export the graph data after for coding by the function of hardware acceleration for calling described mobile terminal, and/or described original audio data adopts described second coded format to export the voice data after for coding by the function of hardware acceleration calling described mobile terminal.
11. devices according to claim 9, is characterized in that, described file combination module, comprising:
Document reading unit, sequential concatenation unit and File write unit;
Described document reading unit, for reading each self-corresponding video file of shooting signal that described different time triggers according to the video file path of having recorded;
Described sequential concatenation unit, for the view data in each video file is spliced to same video track in order, and is spliced to same audio track in order by the voice data in each video file;
Described File write unit, for writing same video file by the splicing result of described video track and the splicing result of described audio track.
12. devices according to claim 9, is characterized in that, described device, also comprises:
Command reception module, ff module and document processing module;
Described command reception module, for receiving single hop processing instruction, the video file corresponding to a shooting signal that described single hop processing instruction is used to indicate in the shooting signal triggered described different time processes;
Described ff module, for the video file indicated by the video file path searching by having recorded and described single hop processing instruction;
Described document processing module, for performing described process to finding described video file.
13. devices according to claim 12, is characterized in that,
Described document processing module, for performing deletion to the described video file found, increasing dynamic special efficacy, increase background music, increase watermark, increase filter, regulate brightness and regulating at least one process in contrast.
14. devices according to claim 9, is characterized in that,
Described data acquisition module, for when described shooting signal is for continuing triggering signal, by raw image data described in the camera collection of mobile terminal in the duration section of described lasting triggering signal, and gather described original audio data by the microphone of described mobile terminal.
15. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprise as arbitrary in claim 9 to 14 as described in device.
CN201410055613.5A 2014-02-19 2014-02-19 Breakpoint image pickup method, device and mobile terminal Active CN104853081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410055613.5A CN104853081B (en) 2014-02-19 2014-02-19 Breakpoint image pickup method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410055613.5A CN104853081B (en) 2014-02-19 2014-02-19 Breakpoint image pickup method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN104853081A true CN104853081A (en) 2015-08-19
CN104853081B CN104853081B (en) 2019-03-15

Family

ID=53852418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410055613.5A Active CN104853081B (en) 2014-02-19 2014-02-19 Breakpoint image pickup method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104853081B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131470A (en) * 2016-06-24 2016-11-16 维沃移动通信有限公司 A kind of method of video record and mobile terminal
CN106254776A (en) * 2016-08-22 2016-12-21 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106303238A (en) * 2016-08-16 2017-01-04 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106331479A (en) * 2016-08-22 2017-01-11 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106899802A (en) * 2017-01-13 2017-06-27 深圳天珑无线科技有限公司 Method and its system are compiled during a kind of faithful record of mobile terminal phonotape and videotape file
CN107609051A (en) * 2017-08-22 2018-01-19 阿里巴巴集团控股有限公司 A kind of image rendering method, device and electronic equipment
CN108322673A (en) * 2018-01-24 2018-07-24 北京小米移动软件有限公司 Video generation method and video-generating device
CN108718395A (en) * 2018-06-08 2018-10-30 深圳市云智易联科技有限公司 A kind of method and automobile data recorder of segmenting video recording
CN109217980A (en) * 2017-07-03 2019-01-15 腾讯科技(深圳)有限公司 A kind of coding/decoding capability configuration method, equipment and computer storage medium
CN110798744A (en) * 2019-11-08 2020-02-14 北京字节跳动网络技术有限公司 Multimedia information processing method, device, electronic equipment and medium
US11551721B2 (en) 2017-09-25 2023-01-10 Beijing Dajia Internet Information Technology Co., Ltd. Video recording method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281500A (en) * 2013-04-24 2013-09-04 贵阳朗玛信息技术股份有限公司 Method and device for processing videos

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281500A (en) * 2013-04-24 2013-09-04 贵阳朗玛信息技术股份有限公司 Method and device for processing videos

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
_: "Twitter Buys Vine,a Video Clip Company That Never Launched", 《ALL THINGS D》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131470A (en) * 2016-06-24 2016-11-16 维沃移动通信有限公司 A kind of method of video record and mobile terminal
CN106303238B (en) * 2016-08-16 2019-10-25 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106303238A (en) * 2016-08-16 2017-01-04 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106331479A (en) * 2016-08-22 2017-01-11 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106254776A (en) * 2016-08-22 2016-12-21 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106331479B (en) * 2016-08-22 2020-04-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106899802A (en) * 2017-01-13 2017-06-27 深圳天珑无线科技有限公司 Method and its system are compiled during a kind of faithful record of mobile terminal phonotape and videotape file
CN109217980A (en) * 2017-07-03 2019-01-15 腾讯科技(深圳)有限公司 A kind of coding/decoding capability configuration method, equipment and computer storage medium
CN107609051A (en) * 2017-08-22 2018-01-19 阿里巴巴集团控股有限公司 A kind of image rendering method, device and electronic equipment
US11551721B2 (en) 2017-09-25 2023-01-10 Beijing Dajia Internet Information Technology Co., Ltd. Video recording method and device
CN108322673A (en) * 2018-01-24 2018-07-24 北京小米移动软件有限公司 Video generation method and video-generating device
CN108718395A (en) * 2018-06-08 2018-10-30 深圳市云智易联科技有限公司 A kind of method and automobile data recorder of segmenting video recording
CN108718395B (en) * 2018-06-08 2021-05-11 深圳市云智易联科技有限公司 Segmented video recording method and automobile data recorder
CN110798744A (en) * 2019-11-08 2020-02-14 北京字节跳动网络技术有限公司 Multimedia information processing method, device, electronic equipment and medium
US11893054B2 (en) 2019-11-08 2024-02-06 Beijing Bytedance Network Technology Co., Ltd. Multimedia information processing method, apparatus, electronic device, and medium

Also Published As

Publication number Publication date
CN104853081B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN104853081A (en) Breakpoint filming method, device and mobile terminal
CN103280232B (en) audio recording method, device and terminal device
CN104967679A (en) Information recommendation system, method and device
CN104735671A (en) Malicious call recognition method and device
CN104243671A (en) Volume adjustment method and device and electronic device
CN104978176A (en) Application program interface calling method and device
CN103269374A (en) Method, device and equipment for recording synchronization
CN104427083A (en) Volume adjusting method and device
CN104618794A (en) Method and device for playing video
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN105187692A (en) Video recording method and device
CN104602100A (en) Method and device for recording video and audio in applications
CN105187733A (en) Video processing method, device and terminal
CN104123120A (en) Method, device and system for filtering page data of browser
CN104426963A (en) Terminal associating method and terminal
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN104243538A (en) Resource sharing method and system
CN104036536A (en) Generating method and apparatus of stop motion animation
CN103368828B (en) A kind of message temporary storage and system
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN105635828A (en) Play control method, play control device and electronic equipment comprising play control device
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN110032321A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN104853193A (en) Video compression method, device and electronic equipment
CN103607489B (en) A kind of method, device and terminating unit eliminating current sound

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant