CN102801942B - The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph - Google Patents

The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph Download PDF

Info

Publication number
CN102801942B
CN102801942B CN201210257061.7A CN201210257061A CN102801942B CN 102801942 B CN102801942 B CN 102801942B CN 201210257061 A CN201210257061 A CN 201210257061A CN 102801942 B CN102801942 B CN 102801942B
Authority
CN
China
Prior art keywords
picture
recording key
triggered
predetermined time
recorded video
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
CN201210257061.7A
Other languages
Chinese (zh)
Other versions
CN102801942A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201210257061.7A priority Critical patent/CN102801942B/en
Publication of CN102801942A publication Critical patent/CN102801942A/en
Application granted granted Critical
Publication of CN102801942B publication Critical patent/CN102801942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The method and apparatus that the invention discloses a kind of recorded video and generation GIF Dynamic Graph, wherein, the method for recorded video comprises: the instruction control camera of the preparation recorded video of sending according to user starts to find a view; In the time that being triggered, recording key preserves picture until recording key is released; By the picture generating video of preserving. This programme starts to record in the time that recording key is triggered, and finishes to record when release, than prior art, can help user to send more accurately to start the instruction of recording and finishing to record, and has effectively avoided the response delay causing because of waste motion.

Description

The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph
Technical field
The present invention relates to image processing field, more specifically, relate to a kind of recorded video and generate GIFThe method and apparatus of Dynamic Graph.
Background technology
In the prior art, increasing electronic equipment (for example computer, notebook, panel computer,The mobile terminals such as mobile phone) can connect or itself carry camera, user can use easilyThese electronic equipments are taken pictures or recorded video.
Conventionally in carrying out recorded video, user need to click or touch recording key, at this momentCamera starts to record, and then clicks or touch stop key and finish to record. Because needWant user to click or touch just can complete once and record for twice, cumbersome, and due to twice of peopleThis traditional method for recording between action, certainly exists a time period, so cannot make user's essenceReally control recording time.
Summary of the invention
In view of this side that, the object of the invention is to propose a kind of recorded video and generate GIF Dynamic GraphMethod and device, it can help user to control more accurately recording time.
In order to achieve the above object, the present invention proposes a kind of method of recorded video, comprising:
The instruction control camera of the preparation recorded video of sending according to user starts to find a view;
In the time that being triggered, recording key preserves picture until recording key is released;
By the picture generating video of preserving.
This programme starts to record in the time that recording key is triggered, and finishes to record, than existing skill when releaseArt, can make user send more accurately to start the instruction of recording and finishing to record, and has effectively avoidedThe response delay causing because of waste motion.
As technique scheme preferably, the instruction control of the preparation recorded video of sending according to userAfter camera starts to find a view, also comprise step: preserve picture with the first predetermined time interval and form in advanceLook at frame;
In the time that being triggered, recording key preserves picture until the d/d step of recording key comprises: work as recording keyWhile being triggered, preserve preview frame until recording key is released. The present embodiment is on the one hand for user provides pre-Look at image, also image has been carried out to buffer memory on the other hand, smooth and easy while having ensured recorded video.
As technique scheme preferably, in the time that recording key is triggered, preserve preview frame until recording keyD/d step comprises: in the time that recording key is triggered with the second predetermined time interval from described preview frameMiddle extraction is also preserved picture until recording key is released;
Wherein, described the first predetermined time interval is less than or equal to described the second predetermined time interval. ThisScheme is extracted preview frame at a certain time interval, on the successional basis that ensures recorded video, savesEconomize memory space.
The present invention also proposes a kind of method of the GIF of generation Dynamic Graph, comprising:
The instruction control camera of the preparation recorded video of sending according to user starts to find a view;
In the time that being triggered, recording key preserves picture until recording key is released;
The picture of preserving is generated to GIF Dynamic Graph.
The method can make user send more accurately to start the instruction of recording and finishing to record, and hasEffect has been avoided the response delay that causes because of waste motion, thus ensure can not produce after recorded video unnecessaryPicture.
As technique scheme preferably, the instruction control of the preparation recorded video of sending according to userAfter camera starts to find a view, also comprise step: preserve picture with the first predetermined time interval and form in advanceLook at frame;
In the time that being triggered, recording key preserves picture until the d/d step of recording key comprises: work as recording keyWhile being triggered, preserve preview frame until recording key is released. The present embodiment is on the one hand for user provides pre-Look at image, also image has been carried out to buffer memory on the other hand, smooth and easy while having ensured recorded video.
As technique scheme preferably, in the time that recording key is triggered, preserve preview frame until recording keyD/d step comprises: in the time that recording key is triggered with the second predetermined time interval from described preview frameMiddle extraction is also preserved picture until recording key is released;
Wherein, described the first predetermined time interval is less than or equal to described the second predetermined time interval. ThisScheme is extracted preview frame at a certain time interval, on the successional basis that ensures recorded video, savesEconomize memory space.
As technique scheme preferably, also comprise: in the time that recording key is triggered, preserve picture untilRecording key is released in process, finishes if the quantity of the picture of preserving reaches the higher limit setting in advanceRecord. Arrange and improved the benefit that user experiences the upper limit and be that reminding user generates the picture number of GIFEnough, save memory space.
As technique scheme preferably, the picture of preservation is generated to GIF Dynamic Graph and comprises: will useThe picture that family is selected from the picture of preserving generates GIF Dynamic Graph. This scheme has improved user's experience.
As technique scheme preferably, the picture of preservation is generated to GIF Dynamic Graph and comprises: according toThe picture of preserving is generated GIF Dynamic Graph by the special efficacy that user selects. It is more that this scheme can meet userDemand.
Accordingly, the present invention also proposes a kind of device of recorded video, comprising:
First module of finding a view, for the instruction control camera of the preparation recorded video sent according to userStart to find a view;
First records module, for preserving picture until recording key is released in the time that recording key is triggered;
Generating video module, for by preserve picture generating video.
As technique scheme preferably, also comprise:
The first previewing module, for the instruction control camera of the preparation recorded video sent according to userAfter starting to find a view, preserve picture with the first predetermined time interval and form preview frame;
Described first record module for preserve preview frame in the time that recording key is triggered until recording key quiltDischarge.
As technique scheme preferably, described first records module in the time that recording key is triggeredExtract from described preview frame with the second predetermined time interval and preserve picture until recording key is released;
Wherein, described the first predetermined time interval is less than or equal to described the second predetermined time interval.
A device that generates GIF Dynamic Graph, comprising:
Second module of finding a view, for the instruction control camera of the preparation recorded video sent according to userStart to find a view;
Second records module, for preserving picture until recording key is released in the time that recording key is triggered;
Generate GIF module, for the picture of preserving is generated to GIF Dynamic Graph.
As technique scheme preferably, also comprise:
The second previewing module, for the instruction control camera of the preparation recorded video sent according to userAfter starting to find a view, preserve picture with the first predetermined time interval and form preview frame; Described second recordsModule for preserving preview frame until recording key is released in the time that recording key is triggered.
As technique scheme preferably, described second records module in the time that recording key is triggeredExtract from described preview frame with the second predetermined time interval and preserve picture until recording key is released;
Wherein, described the first predetermined time interval is less than or equal to described the second predetermined time interval.
As technique scheme preferably, described second records module also for being triggered when recording keyShi Baocun picture, until recording key is released in process, if the quantity of the picture of preserving reaches sets in advanceHigher limit finish to record.
As technique scheme preferably, described generation GIF module also for by user from preservingThe picture of selecting in picture generates GIF Dynamic Graph.
As technique scheme preferably, described generation GIF module is also for selecting according to userThe picture of preserving is generated GIF Dynamic Graph by special efficacy.
Other features and advantages of the present invention will be set forth in the following description, and, partly fromIn description, become apparent, or understand by implementing the present invention. Object of the present invention and itsHe can tie by specifically noted in write description, claims and accompanying drawing advantageStructure is realized and is obtained.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Brief description of the drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for description, withEmbodiments of the invention one are used from explanation the present invention, are not construed as limiting the invention. At accompanying drawingIn:
Fig. 1 is the flow chart of the preferred embodiment of the method for the recorded video that proposes of the present invention;
Fig. 2 is the flow chart of a specific embodiment of the method for the recorded video that proposes of the present invention;
Fig. 3 is the flow chart of the preferred embodiment of the method for the generation GIF Dynamic Graph that proposes of the present invention;
Fig. 4 is the flow process of another specific embodiment of the method for the generation GIF Dynamic Graph that proposes of the present inventionFigure;
Fig. 5 is the flow process of the another specific embodiment of the method for the generation GIF Dynamic Graph that proposes of the present inventionFigure;
Fig. 6 is the structural representation of the preferred embodiment of the device of the recorded video that proposes of the present invention;
Fig. 7 is the structural representation of the preferred embodiment of the device of the generation GIF Dynamic Graph that proposes of the present inventionFigure;
Fig. 8 is the schematic diagram that uses the embodiment of the device of the recorded video of the present invention's proposition.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that this place retouchesThe preferred embodiment of stating only, for description and interpretation the present invention, is not intended to limit the present invention.
Be illustrated in figure 1 the preferred embodiment of the method for a kind of recorded video of the present invention's proposition, its bagDraw together:
Step S11: the instruction control camera of the preparation recorded video of sending according to user starts to find a view,The software that in the present embodiment, user can have been started to recorded video is considered as user and has sent and prepare recordThe instruction of video processed;
Step S12: preserve picture until recording key is released in the time that recording key is triggered; In this enforcementIn example, if recording key is button, triggers and refer to that recording key is pressed so, discharge and refer to recording key quiltUnclamp; If recording key is membrane keyboard or pressure membrane keyboard, triggers and refer to that recording key is touched or quilt soPressure touches, and discharges and refers to that recording key is released;
Step S13: by the picture generating video of preserving.
The present embodiment starts to record in the time that recording key is triggered, and finishes to record, than existing when releaseTechnology, can make user send more accurately to start the instruction of recording and finishing to record, and effectively avoidsThe response delay causing because of waste motion.
For example, need to record the demand of very short video of duration for the user who has, traditionalMethod for recording is to be triggered to discharge to start to record, and is again triggered to discharge and just finishes to record, and needs twiceClick or touch action just can complete once and record, and after application the present invention, because the present invention is recordingKey be triggered and discharge during this period of time in just record, user only needs one click or touch actionJust can complete and record, therefore, can record being less than between twice double hit that prior art cannot completeThe video of duration.
Be illustrated in figure 2 the specific embodiment of the method for a kind of recorded video of the present invention's proposition, its bagDraw together:
Step S21: the instruction control camera of the preparation recorded video of sending according to user starts to find a view;
Step S22: preserve picture with the first predetermined time interval and form preview frame, for example, in this realityExecute in example, the first predetermined time interval is 25ms, that is to say, in this step, every 25ms protectsDeposit a pictures and form a frame preview frame of finding a view to current;
Step S23: preserve preview frame until recording key is released in the time that recording key is triggered;
It should be noted in the discussion above that above-mentioned steps S23 is in carrying out, step S22 is still carrying out,Constantly form preview frame for preserving preview frame in step S23;
Preferably, in step S23, can also be with between second scheduled time in the time that recording key is triggeredEvery extracting picture and preserve until recording key is released from described preview frame; For example, can say secondPredetermined time interval is set to 200ms, and also, every 200ms extracts and preserve one from preview framePicture; Wherein, the first predetermined time interval should be less than or equal to described the second predetermined time interval;
Step S24: by the picture generating video of preserving.
In the present embodiment, increase the step that forms preview, on the one hand for user provides preview image,Also image has been carried out to buffer memory on the other hand, smooth and easy while having ensured recorded video. In addition this programme,Extract at a certain time interval preview frame, on the successional basis that ensures recorded video, savedMemory space.
GIF(GraphicsInterchangeFormat, graphic interchange format) be a kind of image fileForm, is characterized in can depositing multiple image in a gif file, if will be stored in a GIFThe multiple image of file is read and is shown on screen, just can form the simplest animation. Several at presentAll related softwares all support to show GIF Dynamic Graph in prior art, also have and be much arranged on computerOr software support user oneself in mobile terminal makes GIF Dynamic Graph. Traditional fabrication GIF Dynamic GraphMethod be to record after one section of video, picture in video is generated to GIF Dynamic Graph. Tradition is recorded and is lookedThe defect of frequency method mentions above, and user cannot send accurately and start to record and end is recordedInstruction, this will cause because the video duration obtaining that action postpones to cause is greater than the requirement of user institute, therefore can offer the picture that user is unnecessary.
The present invention proposes a kind of method of the GIF of generation Dynamic Graph, and preferred embodiment as shown in Figure 3, wrapsDraw together:
Step S31: the instruction control camera of the preparation recorded video of sending according to user starts to find a view;In the present embodiment, user can have been started to the software that generates GIF Dynamic Graph is considered as user and has sentPrepare the instruction of recorded video;
Step S32: preserve picture until recording key is released in the time that recording key is triggered; In this enforcementIn example, if recording key is button, triggers and refer to that recording key is pressed so, discharge and refer to recording key quiltUnclamp; If recording key is membrane keyboard or pressure membrane keyboard, triggers and refer to that recording key is touched or quilt soPressure touches, and discharges and refers to that recording key is released;
Step S33: the picture of preserving is generated to GIF Dynamic Graph.
The method can make user send more accurately to start the instruction of recording and finishing to record, and hasEffect has been avoided the response delay that causes because of waste motion, thus ensure can not produce after recorded video unnecessaryPicture.
As shown in Figure 4, the present invention proposes an a kind of specific embodiment of method of the GIF of generation Dynamic GraphComprise:
Step S41: the instruction control camera of the preparation recorded video of sending according to user starts to find a view;
Step S42: preserve picture with the first predetermined time interval and form preview frame; For example,, in this realityExecute in example, the first predetermined time interval is 25ms, that is to say, in this step, every 25ms protectsDeposit a pictures and form a frame preview frame of finding a view to current;
Step S43: preserve preview frame until recording key is released in the time that recording key is triggered;
Preferably, in this step, can also be with the second predetermined time interval in the time that recording key is triggeredFrom described preview frame, extract picture and preserve until recording key is released; In the present embodiment, secondPredetermined time interval is set to 200ms, and also, every 200ms preserves a pictures from preview frame;
Step S44: the picture of preserving is generated to GIF Dynamic Graph.
In the present embodiment, increase the step that forms preview, on the one hand for user provides preview image,Also image has been carried out to buffer memory on the other hand, smooth and easy while having ensured recorded video. In addition this programme,Extract at a certain time interval preview frame, on the successional basis that ensures recorded video, savedMemory space.
As shown in Figure 5, another of method that the present invention proposes a kind of GIF of generation Dynamic Graph specifically implementedExample comprises:
Step S51: the instruction control camera of the preparation recorded video of sending according to user starts to find a view;
Step S52: preserve picture with the first predetermined time interval and form preview frame;
Step S53: carry from described preview frame with the second predetermined time interval in the time that recording key is triggeredGet picture and preserve until recording key is released; This step can repeat, and that is to say userAfter pinning, discharge recording key and completing and once record, after photographed scene or posture, again pin and dischargeRecording key completes next time and records, until stop recording; Preferably, in this step, can also superviseThe quantity of picture is preserved in control, finishes record if the quantity of the picture of preserving reaches the higher limit setting in advanceSystem; The benefit that the upper limit is set is that the picture number of reminding user generation GIF is enough, has saved and has depositedStorage space;
Step S54: after stopping recording, to user, user therefrom selects to need by the picture presentation of preservingThe picture of wanting, the picture that user is selected generates GIF Dynamic Graph.
Now, although carried out the step of repeatedly recording, because each recorded video control is accurate,Therefore in recording process, do not preserve too much unnecessary picture, and recording of user can also haveMore changeableization, and can also generate GIF Dynamic Graph according to user's selection, improve user's experience.
In another embodiment of the present invention, the special efficacy that can also select according to user is by the picture of preservingGenerate GIF Dynamic Graph. This special efficacy can include but not limited to rotation, cutting, filter, frame, justOrder, inverted order etc., can meet the more demand of user.
As shown in Figure 6, be the preferred embodiment of the device of a kind of recorded video of proposing of the present invention, shouldDevice comprises:
First module 601 of finding a view, takes the photograph for the instruction control of the preparation recorded video sent according to userPicture head starts to find a view;
First records module 602, for preserve picture in the time that recording key is triggered until recording key releasedPut;
Generating video module 603, for by preserve picture generating video.
Preferably, this device can also comprise:
The first previewing module, for the instruction control camera of the preparation recorded video sent according to userAfter starting to find a view, preserve picture with the first predetermined time interval and form preview frame;
Described first records module 602 for preserving preview frame until recording key in the time that recording key is triggeredBe released.
Described first record module 602 also in the time that recording key is triggered with the second predetermined time intervalFrom described preview frame, extract and preserve picture until recording key is released; Wherein, described first is predeterminedThe time interval is less than or equal to described the second predetermined time interval.
The present invention also proposes a kind of device of the GIF of generation Dynamic Graph, as shown in Figure 7, comprising:
Second module 701 of finding a view, takes the photograph for the instruction control of the preparation recorded video sent according to userPicture head starts to find a view;
Second records module 702, for preserve picture in the time that recording key is triggered until recording key releasedPut;
Generate GIF module 703, for the picture of preserving is generated to GIF Dynamic Graph.
Preferably, this device can also comprise the second previewing module, for the preparation of sending according to userAfter the instruction control camera of recorded video starts to find a view, preserve picture with the first predetermined time intervalForm preview frame;
Second records module 702 for preserve preview frame in the time that recording key is triggered until recording key is releasedPut.
Second record module 702 also in the time that recording key is triggered with the second predetermined time interval from instituteState and in preview frame, extract and preserve picture until recording key is released; Wherein, described first scheduled timeInterval is less than or equal to described the second predetermined time interval.
Above-mentioned second records module 702 also for preserving picture until recording key in the time that recording key is triggeredBe released in process, finish to record if the quantity of the picture of preserving reaches the higher limit setting in advance.
Generate GIF module 703 and can also be used for the picture generation that user is selected from the picture of preservingGIF Dynamic Graph, and the picture of preserving is generated GIF Dynamic Graph by the special efficacy of selecting according to user.
Illustrate the application of installation of the recorded video that the present invention is proposed below in carrying cameraThe embodiment of smart mobile phone. Device 200 profits of the recorded video that as shown in Figure 8, the present invention proposesThe camera SDK(SoftwareDevelopmentKit providing with smart mobile phone, software development workTool bag) camera 100 of mobile phone is conducted interviews, find a view to control camera 100, and from mobile phoneThe camera middle preservation picture of finding a view.
Those skilled in the art will appreciate that the present invention does not improve camera itself,And only utilized the view finding function of camera, therefore, the present invention can connect or be built-in with shootingOn the electronic equipment of head, use; In addition, the present invention need to monitor being triggered of recording key and discharge, andIt is of the prior art any that the arranging of recording key can adopt, and it also can have different shapesFormula, for example, can be touch, mechanical push-key type, or mouse click type, therefore,Need to be corresponding to the monitoring that arranges to realize the state to recording key of recording key.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system,Or computer program. Therefore, the present invention can adopt complete hardware implementation example, complete implement softwareExample or in conjunction with the form of the embodiment of software and hardware aspect. And the present invention can adopt at oneOr multiple computer-usable storage medium that wherein include computer usable program code (comprise but notBe limited to magnetic disc store and optical memory etc.) form of the upper computer program of implementing.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer journeyThe flow chart of order product and/or block diagram are described. Should understand and can be realized by computer program instructionsEach flow process in flow chart and/or block diagram and/or square frame and flow chart and/or block diagramIn flow process and/or the combination of square frame. Can provide these computer program instructions to all-purpose computer,The processor of special-purpose computer, Embedded Processor or other programmable data processing device is to produce oneIndividual machine, makes the instruction of carrying out by the processor of computer or other programmable data processing deviceProduce for realizing at flow process of flow chart or multiple flow process and/or square frame or many of block diagramThe device of the function of specifying in individual square frame.
These computer program instructions also can be stored in can vectoring computer or other programmable data placeIn the computer-readable memory of reason equipment with ad hoc fashion work, make to be stored in this computer-readableInstruction in memory produces the manufacture that comprises command device, and this command device is realized at flow chart oneThe function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing deviceUpper, make to carry out sequence of operations step to produce computer on computer or other programmable deviceThe processing realizing, thus the instruction of carrying out on computer or other programmable device is provided for realizingIn flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame, specifyThe step of function.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the present inventionThe spirit and scope of the present invention. Like this, if these amendments of the present invention and modification belong to the present invention's powerProfit require and the scope of equivalent technologies within, the present invention is also intended to comprise these and changes and modification existsIn.

Claims (6)

1. a method for recorded video, is characterized in that, comprises the following steps:
The instruction control camera of the preparation recorded video of sending according to user starts to find a view;
Preserve picture with the first predetermined time interval and form preview frame;
Repeat and in the time that recording key is triggered, preserve picture until the d/d step of recording key;
Wherein, describedly in the time that being triggered, recording key preserves picture until recording key is released comprises: work as recordWhen key processed is triggered, extract from described preview frame with the second predetermined time interval and preserve picture untilRecording key is released; Wherein, described the first predetermined time interval is less than or equal to the described second pre-timingBetween interval; In the time that being triggered, recording key preserves picture until recording key is released in process, if preserveThe quantity of picture reaches the higher limit setting in advance and finishes to record;
After stopping recording, by the picture generating video of preserving.
2. a synthetic image interchange format (GIF, GraphicsInterchangeFormat) is dynamicThe method of figure, is characterized in that, comprises the following steps:
The instruction control camera of the preparation recorded video of sending according to user starts to find a view;
Preserve picture with the first predetermined time interval and form preview frame;
Repeat and in the time that recording key is triggered, preserve picture until the d/d step of recording key;
Wherein, describedly in the time that being triggered, recording key preserves picture until recording key is released comprises: work as recordWhen key processed is triggered, extract from described preview frame with the second predetermined time interval and preserve picture untilRecording key is released; Wherein, described the first predetermined time interval is less than or equal to the described second pre-timingBetween interval; In the time that being triggered, recording key preserves picture until recording key is released in process, if preserveThe quantity of picture reaches the higher limit setting in advance and finishes to record;
After stopping recording, the picture of preserving is generated to GIF Dynamic Graph.
3. method according to claim 2, is characterized in that, the picture of preserving is generated to GIFThe step of Dynamic Graph comprises: the picture that user is selected from the picture of preserving generates GIF Dynamic Graph.
4. method according to claim 2, is characterized in that, the picture of preserving is generated to GIFThe step of Dynamic Graph comprises: the picture of preserving is generated GIF Dynamic Graph by the special efficacy of selecting according to user.
5. a device for recorded video, is characterized in that, comprising:
First module of finding a view, for the instruction control camera of the preparation recorded video sent according to userStart to find a view;
The first previewing module, for the instruction control camera of the preparation recorded video sent according to userAfter starting to find a view, preserve picture with the first predetermined time interval and form preview frame;
First records module, preserves picture until recording key for repeating in the time that recording key is triggeredD/d step; Wherein, describedly in the time that being triggered, recording key preserves picture until recording key is releasedComprise: in the time that recording key is triggered, extracts and preserve from described preview frame with the second predetermined time intervalPicture until recording key be released; Wherein, described the first predetermined time interval is less than or equal to describedTwo predetermined time intervals; In the time that being triggered, recording key preserves picture until recording key is released in process,If the quantity of the picture of preserving reaches the higher limit setting in advance and finishes to record;
Generating video module, for after stopping recording, by the picture generating video of preserving.
6. a device that generates GIF Dynamic Graph, is characterized in that, comprising:
Second module of finding a view, for the instruction control camera of the preparation recorded video sent according to userStart to find a view;
The second previewing module, for the instruction control camera of the preparation recorded video sent according to userAfter starting to find a view, preserve picture with the first predetermined time interval and form preview frame;
Second records module, preserves picture until recording key for repeating in the time that recording key is triggeredD/d step; Wherein, describedly in the time that being triggered, recording key preserves picture until recording key is releasedComprise: in the time that recording key is triggered, extracts and preserve from described preview frame with the second predetermined time intervalPicture until recording key be released; Wherein, described the first predetermined time interval is less than or equal to describedTwo predetermined time intervals; In the time that being triggered, recording key preserves picture until recording key is released in process,If the quantity of the picture of preserving reaches the higher limit setting in advance and finishes to record;
Generate GIF module, for after stopping recording, by the picture generation GIF Dynamic Graph of preserving.
CN201210257061.7A 2012-07-23 2012-07-23 The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph Active CN102801942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210257061.7A CN102801942B (en) 2012-07-23 2012-07-23 The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210257061.7A CN102801942B (en) 2012-07-23 2012-07-23 The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph

Publications (2)

Publication Number Publication Date
CN102801942A CN102801942A (en) 2012-11-28
CN102801942B true CN102801942B (en) 2016-05-11

Family

ID=47200897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210257061.7A Active CN102801942B (en) 2012-07-23 2012-07-23 The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph

Country Status (1)

Country Link
CN (1) CN102801942B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595520B (en) * 2013-07-05 2022-06-10 华为技术有限公司 Method and device for generating multimedia file
CN103607457B (en) * 2013-11-20 2018-01-16 广州三人行壹佰教育科技有限公司 Take down notes processing method, device, terminal, server and system
CN103731552B (en) * 2013-12-20 2015-11-25 小米科技有限责任公司 A kind of shooting changing method of mobile terminal, device and electronic equipment
CN103927115B (en) * 2014-03-17 2017-03-22 联想(北京)有限公司 Information processing method and electronic equipment
CN104268917B (en) * 2014-09-28 2017-07-11 厦门幻世网络科技有限公司 A kind of method and its device that 3D animations are converted into GIF Dynamic Graphs
CN106161743B (en) * 2015-04-03 2020-08-25 腾讯科技(深圳)有限公司 Media resource processing method, device and terminal
CN106558088B (en) * 2015-09-24 2020-04-24 腾讯科技(深圳)有限公司 Method and device for generating GIF file
CN105323483B (en) * 2015-10-27 2018-06-29 广东欧珀移动通信有限公司 GIF picture shootings and playback method and GIF picture shootings and play system
WO2018085982A1 (en) * 2016-11-08 2018-05-17 深圳市大疆创新科技有限公司 Video recording method and apparatus, and photographing device
CN107707968A (en) * 2017-08-18 2018-02-16 广州爱美互动网络科技有限公司 A kind of video web page turns the data processing method and device of GIF pictures
CN109151520B (en) * 2018-09-26 2021-09-07 北京大米未来科技有限公司 Method, device, electronic equipment and medium for generating video
CN110784652A (en) * 2019-11-15 2020-02-11 北京达佳互联信息技术有限公司 Video shooting method and device, electronic equipment and storage medium
CN112905088B (en) 2021-02-07 2022-11-04 北京蜂巢世纪科技有限公司 Video shooting control method and device
CN113316016A (en) * 2021-05-28 2021-08-27 Tcl通讯(宁波)有限公司 Video processing method and device, storage medium and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616259A (en) * 2008-06-25 2009-12-30 奥林巴斯映像株式会社 Camera head and image capture method
CN101783858A (en) * 2009-01-19 2010-07-21 洪奇麟 Photo taking device
CN102340630A (en) * 2010-07-16 2012-02-01 捷讯研究有限公司 Camera focus and shutter control

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3137041B2 (en) * 1997-07-08 2001-02-19 株式会社ニコン Electronic still camera
JPH11298784A (en) * 1998-04-08 1999-10-29 Fuji Photo Film Co Ltd Electronic camera and its operation control method, and device and method for generating animation gif

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616259A (en) * 2008-06-25 2009-12-30 奥林巴斯映像株式会社 Camera head and image capture method
CN101783858A (en) * 2009-01-19 2010-07-21 洪奇麟 Photo taking device
CN102340630A (en) * 2010-07-16 2012-02-01 捷讯研究有限公司 Camera focus and shutter control

Also Published As

Publication number Publication date
CN102801942A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102801942B (en) The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
RU2018118194A (en) The way to record, edit and recreate a computer session
WO2020029526A1 (en) Method for adding special effect to video, device, terminal apparatus, and storage medium
CN108989609A (en) Video cover generation method, device, terminal device and computer storage medium
TW201342047A (en) Recording and playback of trace and video log data for programs
CN102546933A (en) Method for setting cell phone wallpaper rapidly
JP6413018B2 (en) Video capture processing method, system and apparatus
RU2011124896A (en) STARTING ANIMATION ACTIONS AND ACTIONS OF MEDIA OBJECTS
CN109348155A (en) Video recording method, device, computer equipment and storage medium
CN113923391B (en) Method, apparatus and storage medium for video processing
CN103702041A (en) Method and device for realizing pause continuation shooting of video
CN106879263B (en) Shooting method and mobile device
CN107786803A (en) A kind of image generating method, device and terminal device
EP3684048B1 (en) A method for presentation of images
CN106485653B (en) User terminal and panoramic picture dynamic thumbnail generation method
WO2015184861A1 (en) Method and device for processing audio and image information, and terminal device
CN110312077B (en) Video shooting method and device, electronic equipment and storage medium
JP6231702B2 (en) Apparatus, method and computer program product for video enhanced photo browsing
TW201547204A (en) Portable device, manipulation method and non-transitory computer readable storage medium
WO2019015411A1 (en) Screen recording method and apparatus, and electronic device
CN104486553B (en) A kind of distant view photograph image pickup method and terminal
CN104105003A (en) Method and device for playing video
CN103546709A (en) Method and system for generating video shooting title and intelligent electronic equipment
JP2014204411A (en) Conference recording system, conference recording device, conference recording-reproduction method, and computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102, No. 50, block B, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant