CN106254776A - Video processing method and device and electronic equipment - Google Patents

Video processing method and device and electronic equipment Download PDF

Info

Publication number
CN106254776A
CN106254776A CN201610702501.3A CN201610702501A CN106254776A CN 106254776 A CN106254776 A CN 106254776A CN 201610702501 A CN201610702501 A CN 201610702501A CN 106254776 A CN106254776 A CN 106254776A
Authority
CN
China
Prior art keywords
video
shooting
instruction
video segment
disk file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610702501.3A
Other languages
Chinese (zh)
Inventor
包立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610702501.3A priority Critical patent/CN106254776A/en
Publication of CN106254776A publication Critical patent/CN106254776A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a video processing method and device and electronic equipment, and relates to the field of multimedia technology application. The method comprises the following steps: in a shooting mode, when a first shooting operation input by a user is received, shooting a current image of a first scene; obtaining a first video clip according to the first shooting operation, and writing the first video clip into a disk file; when a second shooting operation input by the user is received again, shooting a current image of a second scene; obtaining a second video clip according to the second shooting operation, and writing the second video clip into the disk file; and obtaining first video data from the disk file, wherein the first video data comprises a first video segment and a second video segment which are continuous in time sequence. The invention realizes that the mobile phone can automatically synthesize the shot multiple video clips into one video and form the video clips required by the user into one video, thereby saving the time of the user and reducing the complexity of video processing.

Description

The processing method of a kind of video, device and electronic equipment
Technical field
The present invention relates to multimedia technology application field, particularly relate to the processing method of a kind of video, device and electronics and set Standby.
Background technology
Along with universalness and the forth generation communication system of mobile Internet are (English: the 4th Generation Communication system, is called for short: arrival 4G), as the third-largest social carrier after word and picture, short-sighted frequency Share the development trend that very likely can become next generation communication.User will increasingly be accustomed to making in social platform, sharing And watch short-sighted frequency.User, when making short-sighted frequency, has various different demand, and some user only needs to shoot one section and regards After Pin, can share;But some user wishes after the shooting short-sighted frequency of multistage, is one by the multistage Video Composition of shooting Long video is shared.
In existing style of shooting, user utilizes filming apparatus (such as, the shooting on electronic equipment (such as: mobile phone) Head) carry out the shooting of video.Under a certain scene, user clicks on the shooting application on mobile phone, enters screening-mode;Click on phase again The shooting push button answered, current picture can be shot by mobile phone.When user unclamps shooting push button, video capture terminates, To a video.If the user desired that change a scene to record another section of video again, then repeat abovementioned steps.Obtain another again Individual video, and twice shooting can form two independent videos.If the user desired that two sections of Video Composition by shooting are one Video plays out, then need, by video editing tool, to be spliced by two sections of videos, but said process is the most complicated, also wave Take user time, reduce Consumer's Experience.
Summary of the invention
In view of this, the embodiment of the present invention provides the processing method of a kind of video, device and electronic equipment, it is possible to solve existing Have in technology, when being a video by multistage Video Composition, the problem that process is complicated.
First aspect, the embodiment of the present invention provides the processing method of a kind of video, and described method includes:
Under screening-mode, when receiving the first shooting operation of user's input, the present image of the first scene is entered Row shooting, described first shooting operation includes the first enabled instruction and the first pause instruction;
According to described first enabled instruction and described first pause instruction, obtain the first video segment, and by described first In video segment write disk file;
When again receiving the second shooting operation of described user input, the present image of the second scene is clapped Taking the photograph, described second shooting operation includes the second enabled instruction and the second pause instruction;
According to described second enabled instruction and described second pause instruction, obtain the second video segment, and by described second Video segment writes in described disk file;
From described disk file, obtaining the first video data, described first video data includes continuous print institute in sequential State the first video segment and described second video segment.
In conjunction with first aspect, in the first embodiment of first aspect, described first enabled instruction and described second Enabled instruction is the operation that described user presses shooting push button.
In conjunction with first aspect, in the second embodiment of first aspect, described method also includes:
When receiving the pause instruction of described user input, stop writing regarding of current shooting in described disk file Frequently fragment;
Described pause instruction is the operation that described user unclamps shooting push button.
In conjunction with first aspect, in the third embodiment of first aspect, described from described disk file.Obtained Before taking the first video data, described method also includes:
Receiving the END instruction of described user input, described END instruction is the operation that described user presses stop button;
According to described END instruction, stop shooting.
In conjunction with first aspect, in the 4th kind of embodiment of first aspect, described by described for the write of described video segment In disk file, specifically include:
According to Video coding storehouse, described first video segment or described second video segment are write described disk file In.
In conjunction with first aspect, in the 5th kind of embodiment of first aspect, described from described disk file, obtain One video data, specifically includes:
From described disk file, read described first video segment and described second video segment;
It is decoded described first video segment and described second video segment processing, obtains described first video counts According to.
Second aspect, the embodiment of the present invention provides the processing means of a kind of video, and described device includes:
Receive unit, under screening-mode, receive the first shooting operation of user's input, described first shooting operation Including the first enabled instruction and the first pause instruction;
Shooting unit, for the described first shooting operation received according to described reception unit, works as the first scene Front image shoots;
Writing unit, for according to described first enabled instruction and described first pause instruction, obtains the first video segment, And by described first video segment write disk file;
Described reception unit is additionally operable to, and receives the second shooting operation of described user input, described second shooting operation bag Include the second enabled instruction and the second pause instruction;
Described shooting unit is additionally operable to, when described second shooting again received according to described reception unit operates, right The present image of the second scene shoots;
Said write unit is additionally operable to, and according to described second enabled instruction and described second pause instruction, obtains second and regards Frequently fragment, and described second video segment is write in described disk file;
Processing unit, for from described disk file, obtains the first video data, when described first video data includes First video segment described in continuous print and described second video segment in sequence.
In conjunction with second aspect, in the first embodiment of second aspect, described the first of described reception unit reception Enabled instruction and described second enabled instruction are the operation that described user presses shooting push button.
In conjunction with second aspect, in the second embodiment of second aspect, described device also includes:
Stop element, during for receiving the pause instruction of described user input when described reception unit, stops to described Disk file writes the video segment of current shooting;
Described pause instruction is the operation that described user unclamps shooting push button.
In conjunction with the second embodiment of second aspect and second aspect, at the third embodiment of second aspect In, described reception unit is additionally operable to, and receives the END instruction of described user input, and described END instruction is that described user presses and stops The only operation of button;
Described stop element is additionally operable to, and according to described END instruction, stops shooting.
In conjunction with second aspect, in the 4th kind of embodiment of second aspect, said write unit specifically for, according to regarding Frequently code database, writes described first video segment or described second video segment in described disk file.
In conjunction with second aspect, in the 5th kind of embodiment of second aspect, described processing unit specifically for, from described In disk file, read described first video segment and described second video segment;
It is decoded described first video segment and described second video segment processing, obtains described first video counts According to.
The third aspect, the embodiment of the present invention provides an electronic equipment, described electronic equipment to include: housing, processor, storage Device, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and is arranged on On circuit board;Power circuit, powers for each circuit or the device for above-mentioned electronic equipment;Memorizer is used for storing and can perform Program code;Processor runs corresponding with executable program code by reading the executable program code of storage in memorizer Program, for performing aforementioned arbitrary described method.
Fourth aspect, the embodiment of the present invention additionally provides a kind of storage medium, is used for storing application program, described application journey Sequence is for performing the processing method of a kind of video that the embodiment of the present invention is provided.
5th aspect, the embodiment of the present invention additionally provides a kind of application program, and being used for performing the embodiment of the present invention is provided The processing method of a kind of video.
The processing method of a kind of video, device and the electronic equipment that the embodiment of the present invention provides, shoots under the first scene First video segment, by the first video segment write disk file.After changing photographed scene, clap under the second photographed scene Take the photograph the second video segment, by the second video segment write disk file, the most repeatedly, until user terminates shooting.At disk In file, forming the first video data, this video data has continuous print video segment in sequential.The present invention can be about to shoot certainly Multistage video segment synthesize a video, it is possible to solve in prior art, when being a video by multistage Video Composition, Process is complicated, wastes user time, the problem reducing Consumer's Experience.Achieve and save user time, reduce Video processing Fussy degree.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
The flow chart of the processing method of a kind of video that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the processing method of the another kind of video that Fig. 2 provides for the embodiment of the present invention;
The time diagram of the video segment that Fig. 3-1, Fig. 3-2 provide for the embodiment of the present invention;
The processing means structural representation of a kind of video that Fig. 4 provides for the embodiment of the present invention;
A kind of electronic equipment hardware architecture diagram that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under not making creative work premise all its Its embodiment, broadly falls into the scope of protection of the invention.
Below in conjunction with the accompanying drawings 1, describe the scheme that the embodiment of the present invention provides in detail, Fig. 1 provides for the embodiment of the present invention The flow chart of the processing method of a kind of video, subject of implementation can be electronic equipment in embodiments of the present invention.Described electronic equipment The mobile device such as smart mobile phone, panel computer can be specially.As it is shown in figure 1, the method for the present embodiment specifically includes following steps:
Body electronics performed below illustrates as a example by mobile phone.
Step 110, under screening-mode, when receive user input first shooting operation time, the first scene is worked as Front image shoots, and the first shooting operation includes the first enabled instruction and the first pause instruction.
In the present embodiment, user uses mobile phone to carry out video capture.User first clicks on the camera application (example on mobile phone As, the camera applications in mobile phone), mobile phone enters the shooting dress in screening-mode, and calling mobile phone according to the click commands of user Put (such as, the photographic head in mobile phone) present image in scene is shot.
In the present embodiment, user inputs the first shooting operation.First shooting operation includes the first enabled instruction and first temporary Stop instruction.
Under screening-mode, first user inputs the first enabled instruction, and this first enabled instruction is that user presses in mobile phone The operation of shooting push button.It should be noted that in this step, user presses the operation of shooting push button for long by operation.
Mobile phone receives the first enabled instruction, and according to this instruction, the present image in the first scene is shot by mobile phone.
In the present embodiment, after user is to the current image shot in the first scene, user wishes to change scene, accurate For shooting the image in another scene, now, user inputs the first pause instruction, and this first pause instruction is user pine Opening the operation of shooting push button, this first pause instruction is also that user is short by the operation of shooting push button.
Mobile phone receives the first pause instruction, stops shooting the present image in the first scene.
Step 120, according to the first enabled instruction and the first pause instruction, obtain the first video segment, and by the first video In fragment write disk file.
In the present embodiment, embedded in mobile phone Video coding storehouse.Wherein, non-limiting as example, this Video coding storehouse is permissible By ffmepg increase income computer program realize.
Described ffmepg be a set of can be used to record, converted digital audio, video, and increasing income of stream can be translated into Computer program.That includes audio/video code database, this audio/video code database can be to all kinds sound/image coding and decoding. Described ffmepg program computer program of increasing income is known technology, no longer repeats at this.
According to the first enabled instruction and the first pause instruction, mobile phone obtains the first video segment v1.Mobile phone is compiled by video Code storehouse, by (such as, disk file F) in the storage medium of the first video segment v1 write mobile phone.Storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM).
Step 130, when again receive described user input second shooting operation time, the present image to the second scene Shooting, the second shooting operation includes the second enabled instruction and the second pause instruction.
In the present embodiment, after user is to the current image shot in the first scene, user changes scene, and it is right to prepare Image in second scene shoots.User inputs the second shooting operation again, and this second shooting operation includes the second startup Instruction and the second pause instruction.
User inputs the second enabled instruction again, and this second enabled instruction is that user presses shooting push button in mobile phone again Operation.It should be noted that in this step, user presses the operation of shooting push button for long by operation.
Mobile phone receives the second enabled instruction, and according to this instruction, the present image in the second scene is shot by mobile phone.
It is understood that in the present embodiment, the first scene and the second scene can be that same scene can also be for difference Scene.
In the present embodiment, after user is to the current image shot in the second scene, user wishes to change scene, accurate For shooting the image in another scene, now, user inputs the second pause instruction again, and this second pause instruction is for using The operation of shooting push button is unclamped at family, and this second pause instruction is also that user is short by the operation of shooting push button.
Mobile phone receives the second pause instruction, stops shooting the present image in the second scene.
Step 140, according to the second enabled instruction and the second pause instruction, obtain the second video segment, and by described second Video segment writes in described disk file.
In the present embodiment, according to the second enabled instruction and the second pause instruction, mobile phone obtains the second video segment v2.Mobile phone By Video coding storehouse, also the second video segment v2 is written in disk file F again.
It should be noted that mobile phone is by the second video segment v2 write and the first same disk file F of video segment v1 In so that in disk file F, the first video segment v1 and the second video segment v2 is continuous video data.
Step 150, from described disk file, obtain the first video data, described first video data includes in sequential First video segment described in continuous print and described second video segment.
In the present embodiment, mobile phone from disk file F, the first video data stored, this first video data Including the first video segment v1 of continuous print in sequential and the second video segment v2.
The present embodiment, shoots the first video segment under the first scene, by the first video segment write disk file F. After changing photographed scene, under the second photographed scene, shoot the second video segment, by the second video segment write disk file F In, the most repeatedly, until user terminates shooting.Now, in disk file F, form the first video data (this first video counts According to including continuous print video segment in sequential).From disk file F, obtaining this first video data, said method can be about to certainly The multistage video segment of shooting synthesizes a video, it is possible to solve, in prior art, to regard being one by multistage Video Composition Frequently time, process is complicated, wastes user time, the problem reducing Consumer's Experience.Achieve and save user time, reduce video The fussy degree processed.
Below in conjunction with the accompanying drawings 2, describe the scheme that the embodiment of the present invention provides in detail, Fig. 2 provides for the embodiment of the present invention The flow chart of the processing method of another kind of video, subject of implementation can be electronic equipment in embodiments of the present invention.Described electronics sets For being specially the mobile device such as smart mobile phone, panel computer.As in figure 2 it is shown, the method for the present embodiment specifically includes following step Rapid:
Following executive agent electronic equipment illustrates as a example by mobile phone.
Step 200, under screening-mode, receive user input the first enabled instruction.
In the present embodiment, user uses mobile phone to carry out video capture.User first clicks on the camera application (example on mobile phone As, the camera applications in mobile phone), mobile phone enters the shooting dress in screening-mode, and calling mobile phone according to the click commands of user Put (such as, the photographic head in mobile phone) present image in scene is shot.
Under screening-mode, first user inputs the first enabled instruction, and this first enabled instruction is that user presses in mobile phone The operation of shooting push button.It should be noted that in this step, user presses the operation of shooting push button for long by operation.
Mobile phone receives the first enabled instruction.
Step 201, according to the first enabled instruction, the present image of the first scene is shot.
Step 202, the first pause instruction of reception user's input.
In the present embodiment, after user is to the current image shot in the first scene, user wishes to change scene, accurate For shooting the image in another scene, now, user inputs the first pause instruction, and this first pause instruction is user pine Opening the operation of shooting push button, this first pause instruction is also that user is short by the operation of shooting push button.
Mobile phone receives the first pause instruction
Step 203, according to the first pause instruction, stop the present image in the first scene is shot.
Step 204, according to the first enabled instruction and the first pause instruction, obtain the first video segment, and by the first video In fragment write disk file.
In the present embodiment, mobile phone, according to the first enabled instruction and the first pause instruction, obtains the first video segment, and by Process in disk file F of one video segment write mobile phone is similar, the most not with step 120 step of said method embodiment Repeat again.
Step 205, the second enabled instruction of reception user's input.
In the present embodiment, after user is to the current image shot in the first scene, user changes scene, and it is right to prepare Image in second scene shoots.User inputs the second enabled instruction again.This second enabled instruction be user again by The operation of shooting push button in lower mobile phone.It should be noted that in this step, user presses the operation of shooting push button for long by behaviour Make.
Mobile phone receives the second enabled instruction.
Step 206, according to the second enabled instruction, the present image of the second scene is shot.
Step 207, the second pause instruction of reception user's input.
In the present embodiment, after user is to the current image shot in the second scene, user wishes to change scene, accurate For shooting the image in another scene, now, user inputs the second pause instruction again, and this second pause instruction is for using The operation of shooting push button is unclamped at family, and this second pause instruction is also that user is short by the operation of shooting push button.
Mobile phone receives the second pause instruction.
Step 208, according to the second pause instruction, stop the present image in the second scene is shot.
Step 209, according to the second enabled instruction and the second pause instruction, obtain the second video segment, and by the second video In fragment write disk file.
In the present embodiment, mobile phone, according to the second enabled instruction and the second pause instruction, obtains the second video segment, and by Process in disk file F of two video segment write mobile phones is similar, the most not with step 140 step of said method embodiment Repeat again.
Step 210, the END instruction of reception user's input, this END instruction is the operation that user presses stop button.
In the present embodiment, after to the image taking in scene, user's end of input instructs, and this END instruction is for using The operation of stop button in mobile phone is pressed at family, and this END instruction also for pressing the operation of stop button with the head of a household.
In this step, described END instruction can be stopping (or completing) button that user clicks on mobile phone;Or, mobile phone After receiving pause instruction, handset identity the most also receives other instructions of user's input.If mobile phone Do not receive other instructions of user's input in the given time, then mobile phone determines that shooting terminates.If mobile phone is in the scheduled time Inside receive other instructions of user's input, then other instructions that mobile phone inputs according to user, perform respective operations.
It should be noted that other instructions of user's input can be the enabled instruction of user's input.
Step 211, according to END instruction, stop shooting.
Step 212, from disk file, obtain the first video data, this first video data includes continuous print in sequential First video segment and the second video segment.
In the present embodiment, from disk file, mobile phone reads the first video segment and the second video segment.Mobile phone is to first Video segment and the second video segment are decoded processing, and obtain the first video data.
As shown in figure 3-1, the first video data includes two video segments to first video data, and each video segment with It is continuous print in previous video fragment sequential.
In figure 3, after mobile phone receives the first enabled instruction, start shooting, after mobile phone receives the first pause instruction, stop Only the present image in scene is shot, form the first video segment v1, and by the first video segment write disk file F In., mobile phone, according to the first pause instruction, also stops writing the first video segment v1 in disk file F.Mobile phone receives again After second enabled instruction, start shooting, after mobile phone receives the second pause instruction, stop the present image in scene is clapped Take the photograph, form the second video segment v2, and by the second video segment write disk file F.Mobile phone repeats abovementioned steps, directly To receiving END instruction, terminate shooting.
Include carrying out as a example by the first video segment and the second video segment it is understood that aforementioned by the first video data Illustrating, during actual photographed, the first video data obtained may particularly include: the first video segment v1, the second piece of video Section v2 ..., the n-th video segment vn, as shown in figure 3-2.
The present embodiment, shoots the first video segment under the first scene, by the first video segment write disk file F. After changing photographed scene, under the second photographed scene, shoot the second video segment, by the second video segment write disk file F In, the most repeatedly, until user terminates shooting.Now, in disk file F, form the first video data (this first video counts According to including continuous print video segment in sequential).From disk file F, obtaining this first video data, said method can be about to certainly The multistage video segment of shooting synthesizes a video, it is possible to solve, in prior art, to regard being one by multistage Video Composition Frequently time, process is complicated, wastes user time, the problem reducing Consumer's Experience.Achieve and save user time, reduce video The fussy degree processed.
The processing means structural representation of a kind of video that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, described dress Put and may include that reception unit 410, shooting unit 420, writing unit 430 and processing unit 440.
Wherein, described reception unit 410, under screening-mode, receive the first shooting operation of user's input, described First shooting operation includes the first enabled instruction and the first pause instruction;
Shooting unit 420, for the described first shooting operation received according to described reception unit, to the first scene Present image shoots;
Writing unit 430, for according to described first enabled instruction and described first pause instruction, obtains the first piece of video Section, and by described first video segment write disk file;
Described reception unit 410 is additionally operable to, and receives the second shooting operation of described user input, described second shooting operation Including the second enabled instruction and the second pause instruction;
Described shooting unit 420 is additionally operable to, when described second shooting again received according to described reception unit operates, The present image of the second scene is shot;
Said write unit 430 is additionally operable to, and according to described second enabled instruction and described second pause instruction, obtains second Video segment, and described second video segment is write in described disk file;
Processing unit 440, for from described disk file, obtains the first video data, described first video data bag Include the first video segment described in continuous print and described second video segment in sequential.
Further, described reception unit 410 receives described first enabled instruction and described second enabled instruction are institute State user and press the operation of shooting push button.
Further, described device also includes: stop element 450, for receiving described use when described reception unit 410 During the pause instruction that family inputs, stop writing the video segment of current shooting in described disk file;
Described pause instruction is the operation that described user unclamps shooting push button
Further, described reception unit 410 is additionally operable to, and receives the END instruction of described user input, and described end refers to Order presses the operation of stop button for described user;
Described stop element 450 is additionally operable to, and according to described END instruction, stops shooting.
Further, said write unit 430 specifically for, according to Video coding storehouse, by described first video segment or Described second video segment writes in described disk file.
Further, described processing unit 440 specifically for, from described disk file, read described first piece of video Section and described second video segment;
It is decoded described first video segment and described second video segment processing, obtains described first video counts According to.
The processing means of the video of the present embodiment, may be used for performing the technical scheme of embodiment of the method shown in Fig. 1, Fig. 2, It is similar with technique effect that it realizes principle, and here is omitted.
Correspondingly, the processing means of a kind of video that the embodiment of the present invention provides can also be used with another kind of structure realization.This regards The processing means of frequency may be provided in electronic equipment.A kind of electronic equipment hardware configuration that Fig. 5 provides for the embodiment of the present invention shows It is intended to, it is possible to achieve the flow process of Fig. 1-2 illustrated embodiment of the present invention, as it is shown in figure 5, above-mentioned electronic equipment may include that housing 51, processor 52, memorizer 53, circuit board 54 and power circuit 55, wherein, circuit board 54 is placed in the space that housing 51 surrounds Inside, processor 52 and memorizer 53 are arranged on circuit board 54;Power circuit 55, for each electricity for above-mentioned electronic equipment Road or device are powered;Memorizer 53 is a kind of storage medium, is used for storing executable application programs code;Processor 52 is by reading In access to memory 53, the executable application programs code of storage runs the program corresponding with executable program code, is used for performing The processing method of a kind of video that previous embodiment is provided.
Processor 52 to concrete process and the processor 52 of performing of above-mentioned steps by running executable program code The step performed further, may refer to the description of Fig. 1-2 illustrated embodiment of the present invention, does not repeats them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data Communication is main target.This class of electronic devices includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, with And low-end mobile phone etc..
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes merit Can, the most also possess mobile Internet access characteristic.This class of electronic devices includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia.This kind equipment includes: audio frequency, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) other have the electronic equipment of data interaction function.
It should be noted that in this article, such as term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.
For device embodiment, owing to it is substantially similar to embodiment of the method, so the comparison described is simple Single, relevant part sees the part of embodiment of the method and illustrates.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or more wiring Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can be with storing in memory and by suitably instructing execution Software or firmware that system performs realize.Such as, if realized with hardware, with the most the same, available Any one or their combination in following technology well known in the art realize: have for data signal realizes logic merit The discrete logic of the logic gates of energy, has the special IC of suitable combination logic gate circuit, programmable gate Array (PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, describing apparatus above is to be divided into various units/modules to be respectively described with function.Certainly, exist Implement the function of each unit/module to be realized in same or multiple softwares and/or hardware during the present invention.
As seen through the above description of the embodiments, those skilled in the art it can be understood that to the present invention can The mode adding required general hardware platform by software realizes.Based on such understanding, technical scheme essence On the part that in other words prior art contributed can embody with the form of software product, this computer software product Can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs some of each embodiment of the present invention or embodiment Method described in part.

Claims (10)

1. the processing method of a video, it is characterised in that described method includes:
Under screening-mode, when receiving the first shooting operation of user's input, the present image of the first scene is clapped Taking the photograph, described first shooting operation includes the first enabled instruction and the first pause instruction;
According to described first enabled instruction and described first pause instruction, obtain the first video segment, and by described first video In fragment write disk file;
When again receiving the second shooting operation of described user input, the present image of the second scene is shot, institute State the second shooting operation and include the second enabled instruction and the second pause instruction;
According to described second enabled instruction and described second pause instruction, obtain the second video segment, and by described second video Fragment writes in described disk file;
From described disk file, obtaining the first video data, described first video data includes in sequential described in continuous print One video segment and described second video segment.
The processing method of video the most according to claim 1, it is characterised in that described first enabled instruction and described second Enabled instruction is the operation that described user presses shooting push button.
The processing method of video the most according to claim 1, it is characterised in that described method also includes:
When receiving the pause instruction of described user input, stop writing the piece of video of current shooting in described disk file Section;
Described pause instruction is the operation that described user unclamps shooting push button.
The processing method of video the most according to claim 1, it is characterised in that described from described disk file, obtains Before first video data, described method also includes:
Receiving the END instruction of described user input, described END instruction is the operation that described user presses stop button;
According to described END instruction, stop shooting.
The processing method of video the most according to claim 1, it is characterised in that described by described for the write of described video segment In disk file, specifically include:
According to Video coding storehouse, described first video segment or described second video segment are write in described disk file.
The processing method of video the most according to claim 1, it is characterised in that described from described disk file, obtains First video data, specifically includes:
From described disk file, read described first video segment and described second video segment;
It is decoded described first video segment and described second video segment processing, obtains described first video data.
7. the processing means of a video, it is characterised in that described device includes:
Receiving unit, under screening-mode, receive the first shooting operation of user's input, described first shooting operation includes First enabled instruction and the first pause instruction;
Shooting unit, for the described first shooting operation received according to described reception unit, the current figure to the first scene As shooting;
Writing unit, is used for according to described first enabled instruction and described first pause instruction, obtains the first video segment, and will In described first video segment write disk file;
Described reception unit is additionally operable to, and receives the second shooting operation of described user input, and described second shooting operation includes the Two enabled instructions and the second pause instruction;
Described shooting unit is additionally operable to, when described second shooting again received according to described reception unit operates, to second The present image of scene shoots;
Said write unit is additionally operable to, and according to described second enabled instruction and described second pause instruction, obtains the second piece of video Section, and described second video segment is write in described disk file;
Processing unit, for from described disk file, obtains the first video data, and described first video data includes in sequential First video segment described in continuous print and described second video segment.
Device the most according to claim 7, it is characterised in that described reception unit receive described first enabled instruction and Described second enabled instruction is the operation that described user presses shooting push button.
Device the most according to claim 7, it is characterised in that described device also includes:
Stop element, during for receiving the pause instruction of described user input when described reception unit, stops to described disk File writes the video segment of current shooting;
Described pause instruction is the operation that described user unclamps shooting push button.
10. an electronic equipment, it is characterised in that described electronic equipment includes: housing, processor, memorizer, circuit board and electricity Source circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power supply Circuit, powers for each circuit or the device for above-mentioned electronic equipment;Memorizer is used for storing executable program code;Process Device runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, is used for holding Row processing method described in aforementioned any claim 1-6.
CN201610702501.3A 2016-08-22 2016-08-22 Video processing method and device and electronic equipment Pending CN106254776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610702501.3A CN106254776A (en) 2016-08-22 2016-08-22 Video processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610702501.3A CN106254776A (en) 2016-08-22 2016-08-22 Video processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106254776A true CN106254776A (en) 2016-12-21

Family

ID=57595635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610702501.3A Pending CN106254776A (en) 2016-08-22 2016-08-22 Video processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106254776A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
CN108848332A (en) * 2018-08-27 2018-11-20 深圳艺达文化传媒有限公司 The segmentation image pickup method and Related product of promotion video
CN108900771A (en) * 2018-07-19 2018-11-27 北京微播视界科技有限公司 A kind of method for processing video frequency, device, terminal device and storage medium
CN108965706A (en) * 2018-07-19 2018-12-07 北京微播视界科技有限公司 Video capture method, apparatus, terminal device and storage medium
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device
CN111309228A (en) * 2020-02-12 2020-06-19 北京字节跳动网络技术有限公司 Multimedia processing method and device and electronic equipment
CN111314793A (en) * 2020-03-16 2020-06-19 上海掌门科技有限公司 Video processing method, apparatus and computer readable medium
CN112217987A (en) * 2020-09-10 2021-01-12 北京达佳互联信息技术有限公司 Shooting control method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100092150A1 (en) * 2008-10-13 2010-04-15 Samsung Electronics Co., Ltd. Successive video recording method using udta information and portable device therefor
CN103813121A (en) * 2014-02-18 2014-05-21 厦门美图之家科技有限公司 Method and apparatus for recording video
CN104796602A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for combination of video files
CN104853081A (en) * 2014-02-19 2015-08-19 腾讯科技(北京)有限公司 Breakpoint filming method, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100092150A1 (en) * 2008-10-13 2010-04-15 Samsung Electronics Co., Ltd. Successive video recording method using udta information and portable device therefor
CN103813121A (en) * 2014-02-18 2014-05-21 厦门美图之家科技有限公司 Method and apparatus for recording video
CN104853081A (en) * 2014-02-19 2015-08-19 腾讯科技(北京)有限公司 Breakpoint filming method, device and mobile terminal
CN104796602A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for combination of video files

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696B (en) * 2018-07-19 2020-04-14 北京微播视界科技有限公司 Video shooting method and device, terminal equipment and storage medium
US11284005B2 (en) 2018-07-19 2022-03-22 Beijing Microlive Vision Technology Co., Ltd. Video processing method and apparatus, terminal device, and storage medium
CN108900771A (en) * 2018-07-19 2018-11-27 北京微播视界科技有限公司 A kind of method for processing video frequency, device, terminal device and storage medium
CN108965706A (en) * 2018-07-19 2018-12-07 北京微播视界科技有限公司 Video capture method, apparatus, terminal device and storage medium
US11611701B2 (en) 2018-07-19 2023-03-21 Beijing Microlive Vision Technology Co., Ltd Method and apparatus for video shooting, terminal device and storage medium
CN108900771B (en) * 2018-07-19 2020-02-07 北京微播视界科技有限公司 Video processing method and device, terminal equipment and storage medium
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
US10951823B2 (en) 2018-07-19 2021-03-16 Beijing Microlive Vision Technology Co., Ltd. Method and apparatus for capturing a video, terminal device and storage medium
CN108848332A (en) * 2018-08-27 2018-11-20 深圳艺达文化传媒有限公司 The segmentation image pickup method and Related product of promotion video
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device
CN111309228A (en) * 2020-02-12 2020-06-19 北京字节跳动网络技术有限公司 Multimedia processing method and device and electronic equipment
CN111314793A (en) * 2020-03-16 2020-06-19 上海掌门科技有限公司 Video processing method, apparatus and computer readable medium
CN112217987A (en) * 2020-09-10 2021-01-12 北京达佳互联信息技术有限公司 Shooting control method and device and storage medium
CN112217987B (en) * 2020-09-10 2023-03-24 北京达佳互联信息技术有限公司 Shooting control method and device and storage medium

Similar Documents

Publication Publication Date Title
CN106254776A (en) Video processing method and device and electronic equipment
CN106331479A (en) Video processing method and device and electronic equipment
CN108616696B (en) Video shooting method and device, terminal equipment and storage medium
CN106303238A (en) Video shooting method and device and electronic equipment
CN106331822A (en) Method and device for playing multiple videos and electronic equipment
CN103475572A (en) Method, device and system for sending multiple pictures in instant messaging application
CN111246301B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN102752540A (en) Automatic categorization method based on face recognition technology
CN110069758A (en) A kind of dissemination method of multimedia messages, device and storage medium
CN106162224A (en) Video transmission method and device and electronic equipment
CN103973955A (en) Information processing method and electronic device
CN106034170A (en) Group generation method and apparatus
CN105283917A (en) Method for cancelling noise and electronic device thereof
CN103853563A (en) Media material editing method and device
CN105632542B (en) Audio frequency playing method and device
CN113891151A (en) Audio processing method and device, electronic equipment and storage medium
CN112286481A (en) Audio output method and electronic equipment
CN103617028A (en) Collaborative document comment method and collaborative document comment device
CN106506325A (en) Picture sharing method and device
CN110139164A (en) A kind of voice remark playback method, device, terminal device and storage medium
CN104754222A (en) Terminal camera shooting method and terminal
CN103500234A (en) Method for downloading multi-media files and electronic equipment
CN111625165B (en) Media file processing method, device, terminal and storage medium
CN105260345A (en) Method and device for constructing facial characters and electronic equipment
CN103377234A (en) Method and system for adding watermark into multimedia data

Legal Events

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

Application publication date: 20161221

RJ01 Rejection of invention patent application after publication