CN104853081B - Breakpoint image pickup method, device and mobile terminal - Google Patents

Breakpoint image pickup method, device and mobile terminal Download PDF

Info

Publication number
CN104853081B
CN104853081B CN201410055613.5A CN201410055613A CN104853081B CN 104853081 B CN104853081 B CN 104853081B CN 201410055613 A CN201410055613 A CN 201410055613A CN 104853081 B CN104853081 B CN 104853081B
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.)
Active
Application number
CN201410055613.5A
Other languages
Chinese (zh)
Other versions
CN104853081A (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

This application discloses a kind of breakpoint image pickup method, device and mobile terminals, belong to multi-media processing field.The described method includes: acquiring video data when receiving shooting signal every time in breakpoint shooting process;By the collected video data write-in and video file corresponding to the shooting signal, the shooting signal of different time triggering corresponds to different video files;The corresponding video file of shooting signal that the different time triggers is spliced to same video file.Present application addresses the video datas that current breakpoint image pickup method can not distinguish each shooting time section in video file well, the problem of can not individually be handled the video data of each shooting time section;The video data for having reached each shooting time section individually corresponds to a video file, the effect that can be individually handled the video data of each shooting time section.

Description

Breakpoint image pickup method, device and mobile terminal
Technical field
The present embodiments relate to multi-media processing field, in particular to a kind of breakpoint image pickup method, device and movement are eventually End.
Background technique
Micro- video sharing be at present on the mobile terminals such as smart phone, tablet computer and multimedia player very A kind of popular function.User can shoot several seconds brief videos by smart phone to be shared with good friend, so that micro- video Information can be propagated as microblogging.
Breakpoint shooting function can be used to shoot micro- video in user.Breakpoint shooting refers to user with " shooting-pause-bat Take the photograph-suspend " the shooting gimmick that is shot of the mode of class.Current breakpoint image pickup method, comprising: mobile terminal is receiving use When the shooting signal at family, video file is written into a frame frame video data;Mobile terminal is in the pause shooting letter for receiving user Number when, suspend to the video file be written video data;Preceding 2 steps are repeated until by the video data of different shooting time sections It all acquires to the video file;Finally, mobile terminal by open source video handle library FFmpeg will in the video file it is different The video data of shooting time section write-in merges and is spliced into one section of continuous video.
During realizing the embodiment of the present invention, inventor has found background technique the prior art has at least the following problems: above-mentioned It include the video data of each shooting time section, the view of each shooting time section in the video file that breakpoint image pickup method obtains Frequency can not be distinguished well between, so that the video data of each shooting time section can not individually be handled, for example, In breakpoint shooting process, the video data that a certain shooting time section has been shot carries out delete processing.
Summary of the invention
The video of each shooting time section in video file can not be distinguished well in order to solve current breakpoint image pickup method Data, the subsequent the problem of video data of each shooting time section can not individually being handled, the embodiment of the invention provides A kind of breakpoint image pickup method, device and mobile terminal.The technical solution is as follows:
In a first aspect, providing a kind of breakpoint image pickup method, which comprises
In breakpoint shooting process, video data is acquired when receiving shooting signal every time;
By the collected video data write-in and video file corresponding to the shooting signal, different time triggering Shooting signal correspond to different video files;
The corresponding video file of shooting signal that the different time triggers is spliced to same video file.
Second aspect provides a kind of breakpoint filming apparatus, described device, comprising:
Data acquisition module acquires video data when in breakpoint shooting process, receiving shooting signal every time;
Data write. module, for the collected video data to be written and video corresponding to the shooting signal The shooting signal of file, different time triggering corresponds to different video files;
File combination module, the corresponding video file of shooting signal for triggering the different time splice to Same video file.
The third aspect, provides a kind of mobile terminal, and the mobile terminal includes device described in second aspect as above.
Technical solution provided in an embodiment of the present invention has the benefit that
Video data is acquired when by breakpoint shooting process, receiving shooting signal every time;It will be collected described Video data write-in and video file corresponding to the shooting signal, the shooting signal of different time triggering correspond to different views Frequency file;The corresponding video file of shooting signal that the different time triggers is spliced to same video file;It solves Current breakpoint image pickup method can not distinguish the video data of each shooting time section in video file well, can not be to each The problem of video data of shooting time section is individually handled;The video data for having reached each shooting time section individually corresponds to One video file, the effect that the video data of each shooting time section can be individually handled.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the method flow diagram of breakpoint image pickup method provided by one embodiment of the present invention;
Fig. 2A be another embodiment of the present invention provides breakpoint image pickup method method flow diagram;
Fig. 2 B and Fig. 2 C are interface alternation schematic diagrames involved in breakpoint image pickup method provided by Fig. 2A;
Fig. 3 is the structural schematic diagram of breakpoint filming apparatus provided by one embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides breakpoint filming apparatus structural schematic diagram;
Fig. 5 is the structural schematic diagram of mobile terminal provided by one embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
In each embodiment of the present invention, mobile terminal can be mobile phone, tablet computer, E-book reader, MP3 and play Device (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio layer Face 3) player etc..
Referring to FIG. 1, it illustrates the method flow diagrams of breakpoint image pickup method provided by one embodiment of the present invention.This reality It applies example and mobile terminal is applied to illustrate with the breakpoint image pickup method.The breakpoint image pickup method, comprising:
Step 102, in breakpoint shooting process, video data is acquired when receiving shooting signal every time;
Mobile terminal acquires video data in the shooting signal for receiving user.For example, mobile terminal is intelligent hand Machine, then smart phone acquires video data in the recording button on user's Continued depression screen.Recording is not pressed in user to press When button, video data is not acquired.
Step 104, collected video data is written and shoots video file corresponding to signal, different time triggering Shooting signal correspond to different video files;
Always the video data in different shooting time sections is written unlike same video file from background technique, this The video data acquired when receiving shooting signal every time is separately written and the shooting signal institute by the mobile terminal in embodiment The shooting signal of corresponding video file, different time triggering corresponds to different video files.
Step 106, the corresponding video file of shooting signal that different time triggers is spliced to same video file.
The corresponding video file of shooting signal that mobile terminal triggers different time in this breakpoint shooting process Splice to same video file.The video file is final shooting result.
In conclusion breakpoint image pickup method provided in this embodiment, by receiving bat every time in breakpoint shooting process Video data is acquired when taking the photograph signal;By the collected video data write-in and the text of video corresponding to the shooting signal The shooting signal of part, different time triggering corresponds to different video files;The shooting signal that the different time is triggered is respectively Corresponding video file splices to same video file;Video file can not be distinguished well by solving current breakpoint image pickup method In each shooting time section video data, the problem of can not individually be handled the video data of each shooting time section; The video data for having reached each shooting time section individually corresponds to a video file, can be to the video of each shooting time section The effect that data are individually handled.
Please refer to Fig. 2A, it illustrates another embodiment of the present invention provides breakpoint image pickup method method flow diagram.This Embodiment is applied to mobile terminal with the breakpoint image pickup method to illustrate.The breakpoint image pickup method, comprising:
Step 201, in breakpoint shooting process, video data is acquired when receiving shooting signal every time;
Mobile terminal acquires video data in the shooting signal for receiving user.Do not receive shooting signal or When receiving pause shooting signal, stop acquisition video data.Shooting signal can be click signal, touch signal or lasting touching Signal etc..
When shooting signal is to continue trigger signal, mobile terminal is in the duration of lasting trigger signal by certainly The camera of body acquires raw image data, and acquires original audio data by the microphone of itself.
By taking mobile terminal is smart phone as an example, the recording button 20 on the finger Continued depression screen of user is held to generate Continuous trigger signal when mobile terminal receives the lasting trigger signal, starts to acquire video data, the recording progress bar on screen 22 advance simultaneously;When the finger of user, which leaves, records button 20, mobile terminal pause acquires video data, the recording on screen Progress bar 22 is simultaneously stopped advance.If the finger of user again recording button 20 on Continued depression screen when, mobile terminal Start to acquire video data again, the recording progress bar 22 on screen advances again;When the finger of user again leave recording by When button 20, mobile terminal suspends acquisition video data again, the recording progress bar 22 on screen halts again, such as Fig. 2 B institute Show.This process may be repeated as many times.
Step 202, collected video data is written and shoots video file corresponding to signal, different time triggering Shooting signal correspond to different video files.
Each shooting signal can trigger primary intermediate shooting process, and mobile terminal can will acquire in each intermediate shooting process The video data write-in arrived and video file corresponding to shooting signal, the shooting signal of different time triggering correspond to different Video file.
For example, breakpoint shooting process includes " shooting-pause-shooting-pause-shooting " 5 stages, wherein 3 not Shooting signal with time trigger can trigger 3 intermediate shooting process, and each collected video data of shooting process can all be write Enter into an independent video file, 3 shooting signals can correspond to 3 video files.
For each intermediate shooting process, including following sub-step:
1) raw image data in collected video data is used the output of the first coded format to compile by mobile terminal Graph data after code, and use the output of the second coded format for coding the original audio data in collected video data Audio data afterwards;
Since the data volume of raw image data and original audio data is larger, it usually needs compressed to video data Coding.Compressed encoding can be realized by the parameter in the first coded format of setting and the second coded format.Wherein, it first compiles Code format may include: resolution ratio, code rate and coded format, for example, resolution ratio 480*480, code rate 1000kbps and coding lattice Formula is H.264.Second coded format may include: code rate, port number and coded format, such as AAC format (Advanced Audio Coding, Advanced Audio Coding).
Preferably, mobile terminal can call the function of hardware acceleration of itself by raw image data using the first coding lattice Formula output is the graph data after coding, and/or, mobile terminal can call the function of hardware acceleration of itself by original audio number According to use the second coded format output for encode after audio data.
2) mobile terminal by after the graph data and coding after coding audio data write-in with the shooting signal corresponding to Video file in, and record the video file path of video file.
For current raw image data, current raw image data use the first coded format compression output for After graph data after coding, video file is written in the image data after current compression by mobile terminal, and is restarted under One frame raw image data repeats the above process.When video file is written in every compressed image data of frame, mobile terminal is also needed Video file is also written into audio data corresponding with the frame image data.
After primary intermediate shooting process, mobile terminal also needs to record view caused by the intermediate shooting process of this time The video file path of frequency file.If entire breakpoint shooting process has the shooting signal of 3 different times to trigger 3 intermediate shootings Process, then the corresponding video file of each shooting signal has a video file path, and mobile terminal will record to 3 videos File path.
Step 203, single hop process instruction is received, single hop process instruction is used to indicate the shooting signal to different time triggering In a shooting signal corresponding to video file handled;
Some intermediate shooting process video data collected is carried out individually since in breakpoint shooting process, user exists The demand of processing." processing " herein include but is not limited to: delete, increase dynamic special efficacy, increase background music, increase watermark, Increase filter, adjust brightness and adjust contrast etc..So mobile terminal can receive user's triggering for certain section of video The single hop process instruction that data are individually handled, the single hop process instruction are used to indicate the shooting signal to different time triggering In a shooting signal corresponding to video file handled.
In conjunction with reference Fig. 2 C, recording progress bar 22 can be used every line the video counts for representing different shooting time section shootings According to user, which can click back, deletes button 26 to delete nearest one section of video data;User can also choose wherein one section record into Degree item (in figure with every line it is separated totally 4 sections record progress bars and illustrated) the single hop processing to trigger to this section of video data refers to It enables.
Step 204, the video file path searching by having recorded and video file indicated by single hop process instruction;
As mobile terminal had recorded it is each shooting signal corresponding to video file video file path, so Mobile terminal passes through video file indicated by the video file path searching recorded and single hop process instruction.
Step 205, processing is executed to finding video file;
Mobile terminal executes deletion to the video file found according to single hop process instruction, increases dynamic special efficacy, increase Background music increases watermark, increases the processing of at least one of filter, adjusting brightness or adjusting contrast.
For example, the recording progress bar 22 shown on mobile terminal every line 24 by distinguishing corresponding to different shooting signals Video file, user can delete button 26 and delete video file corresponding to nearest shooting signal by returning, with again Shoot another section of video data.
Above-mentioned steps 203 to step 204 is optional step.
Step 206, the corresponding video file of shooting signal that different time triggers is spliced to same video file.
In breakpoint shooting process finally, the corresponding video text of shooting signal that mobile terminal triggers different time Part splices to same video file.Namely:
1) mobile terminal is respectively corresponded to according to the shooting signal that different time triggering is read in the video file path recorded Video file;
Mobile terminal successively reads the corresponding video file of different shooting signals according to the video file path recorded Into memory.
2) image data in each video file is spliced to same video track by mobile terminal in order, and by each view Audio data in frequency file is spliced to same audio track in order;
3) same video file is written in the splicing result of the splicing result of video track and audio track by mobile terminal.
Namely in above-mentioned splicing, multiple video files can successively be carried out splicing by mobile terminal.For example, Mobile terminal first in sequence splices the 1st video file and the 2nd video file, then detects whether that there is also not 3rd video file of splicing, if it exists when the 3rd video file, mobile terminal continues to the 3rd video file and the 1st, 2 The splicing result of a video file is spliced.And so on, until splicing all video files to same video file.
So far, mobile terminal can obtain a video file by breakpoint shooting process.
In conclusion breakpoint image pickup method provided in this embodiment, by receiving bat every time in breakpoint shooting process Video data is acquired when taking the photograph signal;By the collected video data write-in and the text of video corresponding to the shooting signal The shooting signal of part, different time triggering corresponds to different video files;The shooting signal that the different time is triggered is respectively Corresponding video file splices to same video file;Video file can not be distinguished well by solving current breakpoint image pickup method In each shooting time section video data, the problem of can not individually be handled the video data of each shooting time section; The video data for having reached each shooting time section individually corresponds to a video file, can be to the video of each shooting time section The effect that data are individually handled.
Also by the way that video file is written with compression coding mode in intermediate shooting process video data collected, so that view The data volume very little of frequency file is suitble to mobile terminal and network side to carry out the transmission of video file.
Also by utilizing the hard of mobile terminal during video file is written with compression coding mode in video data Part acceleration function carries out video compress, improves the write efficiency of video data.
In a specific example, the operation that mobile terminal can be American Apple Inc's product has iOS operating system Electronic equipment, entire breakpoint shooting process can be by related more in moving operation Development Framework that American Apple Inc provides Various components or interface in the multimedia basics frame AVFoundation of Media Development are realized.It is specific as follows:
1, mobile terminal initializes camera using multimedia capture equipment input interface AVCaptureDeviceInput And microphone;
2, after breakpoint shooting starts, mobile terminal is opened using multimedia capture component AVCaptureSession configuration Move a shooting process;
3, when receiving shooting signal, mobile terminal uses multimedia capture video data output interface AVCaptureVideoDataOutput obtains the original video data of camera acquisition, and mobile terminal uses multimedia capture sound Frequency data output interface AVCaptureAudioDataOutput obtains the original audio data of microphone acquisition;
4, mobile terminal is also arranged interface AVAssetWriterInpu by multimedia coding and the first coding mode is arranged Are as follows: 480X480 resolution ratio, 1000kbps code rate, H264 coded format, and the second coding mode is set are as follows: AAC coded format;
5, mobile terminal using multimedia coding component AVAssetWriter by collected raw image data using the The output of one coded format is the graph data after coding, and collected original audio data is exported using the second coded format For the audio data after coding, then the audio data after the graph data and coding after coding is written and shooting signal institute is right The video file answered.Multimedia coding component AVAssetWriter is able to use the function of hardware acceleration in iOS system.And The video file path of the mobile terminal usage data record video file in memory.
Above-mentioned steps 3 to step 5 is primary intermediate shooting process, repeats step 3 to step 5 and completes different time triggering Shoot the acquisition of video data corresponding to signal.
6, mobile terminal traverses the video file path recorded, each video file is read into memory, using more Image data in each video file is extracted in order and is spliced to by media splicing component AVMutableComposition In same multimedia splicing video track AVMutableCompositionTrack, by the audio data in each video file It extracts and is spliced in another multimedia splicing audio track AVMutableCompositionTrack in order;
7, mobile terminal exports component AVAssetExportSession for multimedia splicing component using multimedia The processing result of AVMutableComposition is exported into final video file.
Obviously, which can fully rely on the multimedia development frame of mobile terminal itself to realize, nothing The video processing library for needing third party to increase income, it is only necessary to which the program of data volume very little can be realized.
Referring to FIG. 3, it illustrates the structural block diagrams of breakpoint filming apparatus provided by one embodiment of the present invention.This is disconnected Point filming apparatus can pass through all or part of software, hardware or both being implemented in combination with as mobile terminal.The breakpoint Filming apparatus, comprising:
Data acquisition module 320 acquires video counts when in breakpoint shooting process, receiving shooting signal every time According to;
Data write. module 340, for will collected video data write-in with corresponding to the shooting signal The shooting signal of video file, different time triggering corresponds to different video files;
File combination module 360, the corresponding video file of shooting signal for triggering the different time are spelled It is connected to same video file.
In conclusion breakpoint filming apparatus provided in this embodiment, by receiving bat every time in breakpoint shooting process Video data is acquired when taking the photograph signal;By the collected video data write-in and the text of video corresponding to the shooting signal The shooting signal of part, different time triggering corresponds to different video files;The shooting signal that the different time is triggered is respectively Corresponding video file splices to same video file;Video file can not be distinguished well by solving current breakpoint image pickup method In each shooting time section video data, the problem of can not individually be handled the video data of each shooting time section; The video data for having reached each shooting time section individually corresponds to a video file, can be to the video of each shooting time section The effect that data are individually handled.
Referring to FIG. 4, it illustrates the structural block diagrams of breakpoint filming apparatus provided by one embodiment of the present invention.This is disconnected Point filming apparatus can pass through all or part of software, hardware or both being implemented in combination with as mobile terminal.The breakpoint Filming apparatus, comprising:
Data acquisition module 320 acquires video counts when in breakpoint shooting process, receiving shooting signal every time According to;
Data write. module 340, for will collected video data write-in with corresponding to the shooting signal The shooting signal of video file, different time triggering corresponds to different video files;
File combination module 360, the corresponding video file of shooting signal for triggering the different time are spelled It is connected to same video file.
Optionally, the Data write. module 340, comprising: data encoding unit and data write unit;
The data encoding unit, for compiling the raw image data in the collected video data using first Code format output is the graph data after coding, and the original audio data in the collected video data is used second Coded format output is the audio data after coding;
The data write unit, for the audio data after the graph data and the coding after the coding to be written In video file corresponding to the shooting signal, and record the video file path of the video file.
Optionally, the data encoding unit, for calling the function of hardware acceleration of the mobile terminal will be described original Image data uses the first coded format output for the graph data after coding, and/or, call the hard of the mobile terminal The original audio data is used the second coded format output for the audio data after coding by part acceleration function.
Optionally, the file combination module 360, comprising:
Document reading unit, sequential concatenation unit and File write unit;
The document reading unit, for reading the bat of the different time triggering according to the video file path recorded Take the photograph the corresponding video file of signal;
The sequential concatenation unit, for the image data in each video file to be spliced to same video in order Rail, and the audio data in each video file is spliced to same audio track in order;
The File write unit, for the splicing result of the splicing result of the video track and the audio track to be written Same video file.
Optionally, described device, further includes: command reception module 382, file search module 384 and document processing module 386;
Described instruction receiving module 382, for receiving single hop process instruction, the single hop process instruction is used to indicate to institute Video file corresponding to a shooting signal in the shooting signal of different time triggering is stated to be handled;
The file search module 384 refers to for the video file path searching by having recorded with single hop processing Enable indicated video file;
The document processing module 386, for executing the processing to finding the video file.
Optionally, the document processing module, for executing deletion to the video file found, increasing dynamic spy It imitates, increases background music, increase watermark, increase the processing of at least one of filter, adjusting brightness and adjusting contrast.
Optionally, the data acquisition module 320 is used for when the shooting signal is to continue trigger signal, described Continue to acquire the raw image data by the camera of mobile terminal in the duration of trigger signal, and by described The microphone of mobile terminal acquires the original audio data.
In conclusion breakpoint filming apparatus provided in this embodiment, by receiving bat every time in breakpoint shooting process Video data is acquired when taking the photograph signal;By the collected video data write-in and the text of video corresponding to the shooting signal The shooting signal of part, different time triggering corresponds to different video files;The shooting signal that the different time is triggered is respectively Corresponding video file splices to same video file;Video text can not be distinguished well by solving current breakpoint image pickup method The video data of each shooting time section in part can not be asked what the video data of each shooting time section was individually handled Topic;The video data for having reached each shooting time section individually corresponds to a video file, can be to each shooting time section The effect that video data is individually handled.
Also by the way that video file is written with compression coding mode in intermediate shooting process video data collected, so that view The data volume very little of frequency file is suitble to mobile terminal and network side to carry out the transmission of video file.
Also by utilizing the hard of mobile terminal during video file is written with compression coding mode in video data Part acceleration function carries out video compress, improves the write efficiency of video data.
It should be understood that breakpoint filming apparatus provided by the above embodiment is when carrying out breakpoint shooting, only with above-mentioned each The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion Divide function.In addition, breakpoint filming apparatus provided by the above embodiment and breakpoint image pickup method embodiment belong to same design, have Body realizes that process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 5, the structural schematic diagram of the mobile terminal provided it illustrates one embodiment of the present of invention.The movement Terminal 500 is equipped with the client of video processing, video social activity, video sharing etc, and the client is for implementing above-mentioned reality The breakpoint image pickup method provided in example is provided, specifically:
Mobile terminal 500 may include RF (Radio Frequency, radio frequency) circuit 510, include one or one with Memory 520, input unit 530, display unit 540, the sensor 550, voicefrequency circuit of upper computer readable storage medium 560, short range wireless transmission module 570, include one or more than one the processor 580 and power supply of processing core 590 equal components.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted to mobile terminal It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.Wherein:
RF circuit 510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 580 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 510 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 510 can also be communicated with network and other equipment by wireless communication.Wireless communication, which can be used, appoints (Global System of Mobile communication, the whole world are moved for one communication standard or agreement, including but not limited to GSM Dynamic communication system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), 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, for example, storage Device 520 can be used for storing preset time list, can be also used for the software program of storage acquisition voice signal, realizes keyword The software program of identification, the software program for realizing continuous speech recognition and the software program for realizing setting prompting item, may be used also Wireless access point and the binding relationship of user account etc. for storage.Processor 580 is stored in memory 520 by operation Software program and module, thereby executing in various function application and data processing, such as the embodiment of the present invention " receive with Function, function of " detecting whether exist and the retrieval matched information model of lines " of the retrieval lines of graphical data-in " etc. Deng.Memory 520 can mainly include storing program area and storage data area, wherein storing program area can storage program area, extremely Application program (such as sound-playing function, image player function etc.) needed for a few function etc.;Storage data area can store Created data (such as audio data, phone directory etc.) etc. are used according to mobile terminal 500.In addition, memory 520 can be with It can also include nonvolatile memory, for example, at least disk memory, a flash memory including high-speed random access memory Device or other volatile solid-state parts.Correspondingly, memory 520 can also include Memory Controller, to provide place Manage the access of device 580 and input unit 530 to memory 520.
Input unit 530 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 530 may include touching Sensitive surfaces 531 and other input equipments 532.Touch sensitive surface 531, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 531 or near touch sensitive surface 531), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 531 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 580, and can receive processor 580 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 531.In addition to touch sensitive surface 531, input unit 530 can also include other input equipments 532.Specifically, Other input equipments 532 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or the information and mobile terminal that are supplied to user 500 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai It constitutes.Display unit 540 may include display panel 541, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 541.Further, touch sensitive surface 531 can be covered on display panel 541, when touch sensitive surface 531 detects on it Or after neighbouring touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 580 according to touch The type of event provides corresponding visual output on display panel 541.Although in Fig. 5, touch sensitive surface 531 and display panel 541 be to realize input and input function as two independent components, but in some embodiments it is possible to by touch sensitive surface 531 integrate with display panel 541 and realize and output and input function.
Mobile terminal 500 may also include at least one sensor 550, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 541, proximity sensor can when mobile terminal 500 is moved in one's ear, Close display panel 541 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 500 etc. other Sensor, details are not described herein.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile terminal 500. Electric signal after the audio data received conversion can be transferred to loudspeaker 561, be converted by loudspeaker 561 by voicefrequency circuit 560 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is connect by voicefrequency circuit 560 Audio data is converted to after receipts, then by after the processing of audio data output processor 580, another shifting is sent to through RF circuit 510 Dynamic terminal, or audio data is exported to memory 520 to be further processed.Voicefrequency circuit 560 is also possible that earplug Jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 500.
Short range wireless transmission module 570 can be WIFI (wireless fidelity, Wireless Fidelity) module or Bluetooth module etc..Mobile terminal 500 can help user to send and receive e-mail, browse by short range wireless transmission module 570 Webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 show short distance without Line transmission module 570, but it is understood that, and it is not belonging to must be configured into for mobile terminal 500, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Processor 580 is the control centre of mobile terminal 500, utilizes various interfaces and the entire mobile terminal of connection Various pieces by running or execute the software program and/or module that are stored in memory 520, and are called and are stored in Data in reservoir 520 execute the various functions and processing data of mobile terminal 500, to carry out whole prison to mobile terminal Control.Optionally, processor 580 may include one or more processing cores;Optionally, processor 580 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 580.
Mobile terminal 500 further includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 580 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 590 can also include one or more direct current or AC power source, recharging system, electricity The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 500 can also include camera, bluetooth module etc., and details are not described herein.
Mobile terminal 500 further includes having perhaps one of them or one of more than one program of memory and one Procedure above is stored in memory, and is configured to execute above-mentioned Fig. 1 or Fig. 2A reality by one or more than one processor Apply breakpoint image pickup method described in example.
It should be added that in another embodiment, mobile terminal may include more more or fewer than Fig. 5 Component combines certain components or different component layouts, perhaps to realize all or part of function.
In addition, being also implemented as the computer program executed by CPU, the computer program according to the method for the present invention It may be stored in a computer readable storage medium.When the computer program is executed by CPU, executes and limited in method of the invention Fixed above-mentioned function.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of breakpoint image pickup method, which is characterized in that the described method includes:
In breakpoint shooting process, video data is acquired when receiving shooting signal every time;
Use the output of the first coded format for the figure after coding the raw image data in the collected video data Data, and use the output of the second coded format for the sound after coding the original audio data in the collected video data Frequency evidence;
By the audio data write-in after the graph data and the coding after the coding and view corresponding to the shooting signal In frequency file, and record the video file path of the video file;
Single hop process instruction is received, the single hop process instruction is used to indicate one in the shooting signal to different time triggering Video file corresponding to shooting signal is handled;
Pass through video file indicated by the video file path searching recorded and the single hop process instruction;
The processing is executed to the video file is found;
The corresponding video file of shooting signal that the different time triggers is spliced to same video file.
2. the method according to claim 1, wherein the original graph by the collected video data It, and will be original in the collected video data as data use the output of the first coded format as the graph data after encoding Audio data uses the output of the second coded format for the audio data after coding, comprising:
Call the function of hardware acceleration of mobile terminal that the raw image data is used the first coded format output to compile Graph data after code, and/or, call the function of hardware acceleration of the mobile terminal will be described in original audio data use The output of second coded format is the audio data after coding.
3. the method according to claim 1, wherein the shooting signal that the different time is triggered is respectively Corresponding video file splices to same video file, comprising:
The corresponding video file of shooting signal of the different time triggering is read according to the video file path recorded;
Image data in each video file is spliced to same video track in order, and by the audio in each video file Data are spliced to same audio track in order;
Same video file is written into the splicing result of the splicing result of the video track and the audio track.
4. the method according to claim 1, wherein described pair finds the video file and executes the place Reason, comprising:
Deletion is executed to the video file found, increases dynamic special efficacy, increase background music, increase watermark, increase filter Mirror adjusts at least one of brightness and adjusting contrast processing.
5. receiving shooting every time the method according to claim 1, wherein described in breakpoint shooting process Video data is acquired when signal, comprising:
When the shooting signal is to continue trigger signal, in the duration for continuing trigger signal eventually by movement The camera at end acquires the raw image data, and acquires the original audio number by the microphone of the mobile terminal According to.
6. a kind of breakpoint filming apparatus, which is characterized in that described device, comprising:
Data acquisition module acquires video data when in breakpoint shooting process, receiving shooting signal every time;
Data encoding unit, for the raw image data in the collected video data is defeated using the first coded format It is out the graph data after coding, and the original audio data in the collected video data is used into the second coded format Output is the audio data after coding;
Data write unit, for the audio data after the graph data and the coding after the coding to be written and the bat It takes the photograph in video file corresponding to signal, and records the video file path of the video file;
Command reception module, for receiving single hop process instruction, the single hop process instruction, which is used to indicate, triggers different time Shooting signal in a shooting signal corresponding to video file handled;
File search module, for the video file path searching by having recorded and view indicated by the single hop process instruction Frequency file;
Document processing module, for executing the processing to finding the video file;
File combination module, the corresponding video file of shooting signal for triggering the different time splice to same Video file.
7. device according to claim 6, which is characterized in that
The data encoding unit, for calling the function of hardware acceleration of mobile terminal will be described in raw image data use The output of first coded format is the graph data after coding, and/or, call the function of hardware acceleration of the mobile terminal will be described Original audio data uses the second coded format output for the audio data after coding.
8. device according to claim 6, which is characterized in that the file combination module, comprising:
Document reading unit, sequential concatenation unit and File write unit;
The document reading unit, for reading the shooting letter of the different time triggering according to the video file path recorded Number corresponding video file;
The sequential concatenation unit, for the image data in each video file to be spliced to same video track in order, and Audio data in each video file is spliced to same audio track in order;
The File write unit, it is same for the splicing result of the splicing result of the video track and the audio track to be written Video file.
9. device according to claim 6, which is characterized in that
The document processing module, for executing deletion to the video file found, increasing dynamic special efficacy, increase background Music increases watermark, increases the processing of at least one of filter, adjusting brightness and adjusting contrast.
10. device according to claim 6, which is characterized in that
The data acquisition module is used for when the shooting signal is to continue trigger signal, in the lasting trigger signal The raw image data is acquired by the camera of mobile terminal in duration, and passes through the Mike of the mobile terminal Original audio data described in elegance collection.
11. a kind of mobile terminal, which is characterized in that the mobile terminal includes the device as described in claim 6 to 10 is any.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, for realizing any breakpoint shooting side of the claims 1 to 5 when the computer program is executed by processor Method.
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 CN104853081A (en) 2015-08-19
CN104853081B true 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)

Families Citing this family (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
CN106303238B (en) * 2016-08-16 2019-10-25 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN106331479B (en) * 2016-08-22 2020-04-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106254776A (en) * 2016-08-22 2016-12-21 北京金山安全软件有限公司 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
CN109217980B (en) * 2017-07-03 2020-11-06 腾讯科技(深圳)有限公司 Encoding and decoding capacity configuration method, device and computer storage medium
CN107609051A (en) * 2017-08-22 2018-01-19 阿里巴巴集团控股有限公司 A kind of image rendering method, device and electronic equipment
CN107613235B (en) 2017-09-25 2019-12-27 北京达佳互联信息技术有限公司 Video recording method and device
CN108322673B (en) * 2018-01-24 2021-08-10 北京小米移动软件有限公司 Video generation method and video generation device
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

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》;20121009;第1页第4段

Also Published As

Publication number Publication date
CN104853081A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104853081B (en) Breakpoint image pickup method, device and mobile terminal
CN103632165B (en) A kind of method of image procossing, device and terminal device
EP3029678A1 (en) Recording method, playing method, device, terminal and system
CN104967900A (en) Video generating method and video generating device
CN103280232B (en) audio recording method, device and terminal device
CN103594103A (en) Audio processing method and related device
CN104036536B (en) The generation method and device of a kind of stop-motion animation
CN108268835A (en) sign language interpretation method, mobile terminal and computer readable storage medium
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN104796743A (en) Content item display system, method and device
CN103313139A (en) History display method and device and electronic device
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN104978176A (en) Application program interface calling method and device
CN105187692A (en) Video recording method and device
CN104159136A (en) Interaction information acquisition method, terminal, server and system
CN103269374A (en) Method, device and equipment for recording synchronization
CN105187733A (en) Video processing method, device and terminal
CN103744592A (en) Information processing method and terminal
CN103500227A (en) Video frame storage management method, related device and related communication system
CN105635828A (en) Play control method, play control device and electronic equipment comprising play control device
CN104853193B (en) Video-frequency compression method, device and electronic equipment
CN103458286A (en) Television channel switching method and device
CN103607489B (en) A kind of method, device and terminating unit eliminating current sound
US10136115B2 (en) Video shooting method and apparatus
CN104967864A (en) Video merging method and apparatus

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