CN108271432A - Video recording method, device and capture apparatus - Google Patents

Video recording method, device and capture apparatus Download PDF

Info

Publication number
CN108271432A
CN108271432A CN201680061067.3A CN201680061067A CN108271432A CN 108271432 A CN108271432 A CN 108271432A CN 201680061067 A CN201680061067 A CN 201680061067A CN 108271432 A CN108271432 A CN 108271432A
Authority
CN
China
Prior art keywords
rate
recording
video image
parameter
rate parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201680061067.3A
Other languages
Chinese (zh)
Other versions
CN108271432B (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.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology 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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Priority to CN202011435919.5A priority Critical patent/CN112584074A/en
Publication of CN108271432A publication Critical patent/CN108271432A/en
Application granted granted Critical
Publication of CN108271432B publication Critical patent/CN108271432B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • 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)
  • Studio Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A kind of video recording method, device and capture apparatus, wherein, the method includes:(101) playback rate of the capture apparatus when playing video image is obtained;(102) the recording rate parameter determined based on user's selection instruction is obtained;(103) video image is recorded based on the playback rate and the recording rate parameter.It, can be according to the recording rate recorded video of user demand, so as to improve the recording efficiency of video and flexibility using the embodiment of the present invention.

Description

Video recording method, device and capture apparatus
This patent document disclosure includes material protected by copyright.The copyright is all for copyright holder.Copyright holder does not oppose that the patent document or the patent in the presence of anyone replicates the proce's-verbal of Patent&Trademark Office and archives disclose.
Technical field
This application involves field of communication technology more particularly to a kind of video recording methods, device and capture apparatus.
Background technique
With the continuous development of terminal technology and image processing techniques, the capture apparatus such as camera, video camera are used widely.The capture apparatus can be used for taking pictures, imaging, record a video etc., carry out great convenience for the study, life, work belt of user.
In existing technique for taking, when carrying out video recording operation, capture apparatus tends not to adjust recorded speed, can only go to record according to specified video playout speed, this reduces the flexibilities of video record.When needing to obtain slow motion video, the video of high frame per second can only be first shot, then handled the video to change frame per second, to obtain the slow motion video;Similarly, when needing to obtain fast motion video, the video of low frame per second can only be first shot, then handled the video to change frame per second, to obtain the fast motion video.However, the video that the mode for first shooting reprocessing will lead to is larger, and recording efficiency is lower, is unable to satisfy the shooting demand of user.
Summary of the invention
The embodiment of the present invention provides a kind of video recording method, device and capture apparatus, can be according to the recording rate recorded video of user demand, to improve the recording efficiency and flexibility of video.
In a first aspect, the embodiment of the invention provides a kind of video recording methods, comprising:
Obtain playback rate of the capture apparatus when playing video image;
Obtain the recording rate parameter determined based on user's selection instruction;
The video image is recorded based on the playback rate and the recording rate parameter.
Second aspect, the embodiment of the invention also provides a kind of video recording devices, comprising:
Module is obtained, for obtaining playback rate of the capture apparatus when playing video image;
The acquisition module is also used to obtain the recording rate parameter determined based on user's selection instruction;
Module is recorded, the playback rate and the recording rate parameter for being obtained based on the acquisition module record the video image.
The third aspect, the embodiment of the invention also provides a kind of capture apparatus, comprising: memory and processor, the processor are connect with the memory;Wherein,
The memory, for storing program instruction;
The processor, for calling the program instruction stored in the memory to execute:
Obtain playback rate of the capture apparatus when playing video image;
Obtain the recording rate parameter determined based on user's selection instruction;
The video image is recorded based on the playback rate and the recording rate parameter.
The implementation of the embodiments of the present invention has the following beneficial effects:
The embodiment of the present invention can pass through playback rate of the acquisition capture apparatus when playing video image and the recording rate parameter determined based on user's selection instruction, to be recorded based on the playback rate and the recording rate parameter to video image, make it possible to the recording rate recorded video according to user demand, to improve the recording efficiency and flexibility of video.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of video recording method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another video recording method provided in an embodiment of the present invention;
Fig. 3 is a kind of thread management schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of video recording device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of capture apparatus provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another capture apparatus provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification etc. are for distinguishing different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that cover and non-exclusive include.Such as contain series of steps or the process, method, system, product or equipment of module are not limited to listed step or module, but optionally further comprising the step of not listing or module, or optionally further comprising other steps or module intrinsic for these process, methods, product or equipment.
Optionally, the technical solution of the embodiment of the present invention can be applied particularly to mobile phone (such as Android phone, iOS mobile phone), tablet computer, mobile internet device (mobile internet devices, abbreviation MID), personal digital assistant (personal digital assistant, abbreviation PDA), video camera, camera etc. is in the equipment of recording function.
Still optionally further, settable sensor (sensor) and according to shooting frame rate and can export the frame per second of image and realize slow motion, normal speed, the switching of lapse photography effect etc. with for acquiring image in the capture apparatus.Wherein, assuming that as obtained number of image frames in 1 second be M (frame per second Mfps) within the unit time when shooting, and (i.e. frame per second is Nfps) is played out according to N per unit time when playing, if M is greater than N, a slow motion then can be obtained in as slow speed mode;If M is less than N, as quick mode, then a fast motion effect can be obtained;If M is equal to N, as normal mode, then a normal play effect can be obtained.Wherein, M and N are all larger than 0.For example, it is assumed that capture apparatus is shot at high frame per second (such as 120p), the video of 30p, as 4x slow motion are exported, if 1s shoots 1 photo, 30s exports the video of 1 second 30p, as 30x lapse photography.
The embodiment of the invention discloses a kind of video recording method, device and capture apparatus, can be according to the recording rate recorded video of user demand, to improve the recording efficiency and flexibility of video.It is described in detail individually below.
Referring to Figure 1, Fig. 1 is a kind of flow diagram of video recording method provided in an embodiment of the present invention. Specifically, as shown in Figure 1, the video recording method of the embodiment of the present invention may comprise steps of:
101, playback rate of the capture apparatus when playing video image is obtained.
102, the recording rate parameter determined based on user's selection instruction is obtained.
Specifically, when carrying out video record, the recording rate parameter of the video record can be determined according to user demand.Such as, it can provide multiple rate keys (for example the rate key is set on capture apparatus itself or the holder connecting with the capture apparatus) and record rate parameter for selection by the user, or rate parameter is recorded for selection by the user by the interactive interfaces that output one includes a variety of recording rates, or by one window of output so that user directly inputs the recording rate parameter etc., for the method for determination of the recording rate parameter, the embodiment of the present invention is without limitation.Wherein, which can be specific rate value, such as 15fps, 30fps, 60fps, 120fps;Alternatively, the recording rate parameter can also be the rate changing value for being used to indicate and slowing down and recording rate or accelerate to record rate, such as accelerates 3 times (+3x), slows down 4 times (- 4x).
103, the video image is recorded based on the playback rate and the recording rate parameter.
Specifically, after the recording rate parameter for determining playback rate and demand when playing video, video image can be recorded based on the playback rate and the recording rate parameter, for example writing rate can be calculated based on the playback rate and the recording rate parameter, video data is written based on the writing rate, to complete video record.Wherein, which can match with the capture rate of the capture apparatus, record while shooting video to can realize, shooting completes that completion can be recorded, and the flexibility of video record and efficiency are higher.
In embodiments of the present invention, playback rate of the acquisition capture apparatus when playing video image and the recording rate parameter determined based on user's selection instruction can be passed through, to be recorded based on the playback rate and the recording rate parameter to video image, make it possible to the recording rate recorded video according to user demand, to improve the recording efficiency and flexibility of video.
Further, Fig. 2 is referred to, Fig. 2 is the flow diagram of another video recording method provided in an embodiment of the present invention.Specifically, as shown in Fig. 2, the video recording method of the embodiment of the present invention may comprise steps of:
201, playback rate of the capture apparatus when playing video image is obtained.
202, the recording rate parameter determined based on user's selection instruction is obtained.
Optionally, described to obtain the recording rate parameter determined based on user's selection instruction, it can be with specifically: Obtain the device parameter information of the capture apparatus;At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;Display includes at least one set of interactive interface for recording rate parameter;User is received at least one set of selection instruction for recording rate parameter input, which can refer to be shown with the recording rate parameter determined.So as to determine the recording rate parameter of user demand based on the selection instruction.
Specifically, since the frame per second range that different capture apparatus are supported may be different, the device parameter information of acquisition capture apparatus can then be passed through, such as device model, to determine frame per second that the capture apparatus can be supported, to determine the most jogging speed recorded or most rapid rate is the multiple of normal speed, video record is carried out so as to the frame per second supported based on capture apparatus.Optionally, after determining frame per second that capture apparatus can be supported, the corresponding recording rate of the support frame per second can be exported for selection by the user, so that user, which therefrom selects a rate as rate is recorded, carries out video record.In other alternative-embodiments, user can also input the recording rate parameter by clicking programmable button, such as by clicking the rate key-press input recording rate parameter for being set to capture apparatus or being set on the holder connecting with the capture apparatus.
203, it is based on the playback rate and the recording rate parameter, calculates the writing rate of the corresponding video data of the video image.
204, the video image is recorded according to said write rate.
Optionally, it is described to be based on the playback rate and the recording rate parameter, calculate the writing rate of the corresponding video data of the video image, it can be with specifically: when the recording mode of the recording rate parameter instruction is determined as quick mode, determine first ratio for recording rate parameter and the playback rate;Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.Specifically, when the recording rate parameter for detecting user's selection corresponds to quick mode, the multiple of the recording rate parameter and the playback rate, i.e. the first ratio can be then obtained, and can deal with based on video progress snap-action of first ratio to recording and file is written and store.Such as, assuming that the playback rate obtained is 30fps, detect that user clicks the rate key "+3x " of setting, it then can determine that "+the 3x " corresponding recording mode is quick mode, first ratio is 3, and it is 120fps that the writing rate, which can be calculated, then video data can be written according to the writing rate that the recording rate parameter accelerates 3 times to playback rate.
Optionally, described to be based on the playback rate and the recording rate parameter, the writing rate of the corresponding video data of the video image is calculated, it can be with specifically: when the recording mould of the recording rate parameter instruction When formula is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.Specifically, it can determine that the maximum frame per second supported is the multiple of the playback rate, by obtaining the frame per second range and normal playback rate that capture apparatus is supported to further determine that out range at a slow speed.When the recording rate for detecting user's selection corresponds to slow speed mode, then it can obtain the playback rate and record the multiple of rate parameter, i.e. the second ratio, and based on second ratio carry out slow motion to the video of recording and deal with and file is written to store.Such as, assuming that the playback rate obtained is 60fps, detect that user clicks the rate key " -2x " of setting, it then can determine that "-the 2x " corresponding recording mode is slow speed mode, second ratio is 2, and it is 30fps that the writing rate, which can be calculated, then video data can be written according to the writing rate that the recording rate parameter slows down 2 times to playback rate.
Optionally, which can also be specific rate value, then user can also be carried out to the rate value for recording rate parameter instruction of operation input to capture apparatus as the writing rate.
205, the rate change directive inputted based on user's operation is received.
206, the rate change directive is responded, suspends the recording to the video image, and obtain the corresponding new recording rate parameter of the rate change directive.
207, the video image is recorded based on the playback rate and the new recording rate parameter.
It in recording process, also can detect whether to receive the rate change directive for being used to indicate change recording rate, in order to carry out recording rate change when confirmation receives user's change directive, so that realization is adjusted flexibly to rate is recorded.Wherein, the recording rate information after being changed after being carried in the rate change directive, i.e., new recording rate parameter.Such as, the rate key that rate is recorded in instruction can be increased on capture apparatus in advance, the rate key for increasing acceleration/deceleration (+/-) such as on the hand-held holder of capture apparatus, by clicking the rate key, the operating mode that can switch sensor is 120p, 30p, 1p or more.User can change the video record rate of formulation by the key on the hand-held holder of operation capture apparatus, to realize intelligent speed-regulating in video process, fast combination at a slow speed.
Still optionally further, in some embodiments, can also be when detecting that recording rate parameter input or capture apparatus pause play video image, the video image is recorded in stopping.Further, can continue to record according to new writing rate when getting new writing rate.
Still optionally further, in some embodiments, it can also be carried out based on the video image to image tracing.Wherein, this plays used thread to thread used in image tracing (tracking), the video image and the used thread of video image recording can be mutually indepedent.Wherein, tracking refers to one specific target (such as people, animal) of selection in image, when the target is mobile, video recording device can follow the target mobile, so that the target is in always within the image or video of the video recording device shooting, tracking's is that can be image identical with the video image recorded, and can be different image.The original graph that tracking can be obtained using image for shooting, to guarantee the efficiency of tracking;And the video image recorded can be original graph, be also possible to processed image.
Specifically, as shown in figure 3, in embodiments of the present invention, the separate threads of video flowing are responsible for handling video stream data, and video flowing can be copied into more parts of data.Wherein, portion, which can pass through central processing unit (central processing unit, abbreviation CPU) progress frame rate adjustment and give video record thread, does recorded video operation;Portion can give video display line journey and do video by image processor (graphics processing unit, abbreviation GPU) and show;Portion can give tracking thread and be handled by GPU.So as to realize while showing video, recorded video and tracking by the multichannel scheduling of resource under multithreading, and pass through the reasonable resource allocation process of CPU or GPU, it is ensured that record the fast and flexible switching and video rapid synthesis of rate.
For example, when the video image shot based on user demand to stored video image or currently is recorded, user can carry out the selection for recording rate and click starts to record, so that triggering carries out video record according to the recording rate parameter playback rate corresponding with the video image of the recording of the selection.Specifically, a file can be created in the specified directory of local file, a newly-built write-in thread carries out thread repeating query simultaneously, when needing the video recorded to be under non-halted state, it can be the video data write-in for carrying out recorded video according to slow speed mode or quick mode according to the target recorded speed of user setting, be write data in file by modifying the time of video callback data.Further, during video record, if user, which needs to modify, records rate, in the modifying rates instruction for receiving user's input, such as user click another record rate triggering rate record command when, recording, and the newest recording rate of the user setting obtained, i.e., new recording rate parameter can first be suspended.Detecting the new recording rate parameter is slow speed mode or quick mode, and goes setting video to adjust back frame per second based on new recording rate parameter, that is, determines new writing rate.Further, park mode can be closed, to guarantee that write-in thread continues to write to data.When stopping recording when the user clicks or when video playing is completed, write-in is completed, and can close thread.At this time It completes to record.
In embodiments of the present invention, the control of thread can be independently written by one and the change of video data rate is written to guarantee to record carry out synchronous with other operations, to more preferably realize multiplexed operation, such as video can be carried out on one side to show, speed regulation video recording on one side, and tracking is supported simultaneously, make it possible to realize and once obtain the alternate video of speed, this reduces the waiting time for generating video.Simultaneously, it is distributed by the reasonable resource to GPU and CPU, so that multichannel data operation remains to carry out glibly simultaneously, and the writing rate for modifying recorded video can be written by the time of the video data of modification readjustment, the generation of frame losing phenomenon is prevented, to effectively improve the efficiency of video record, flexibility and reliability.
Fig. 4 is referred to, Fig. 4 is a kind of structural schematic diagram of video recording device 10 provided in an embodiment of the present invention.Specifically, as shown in figure 4, the video recording device 10 of the embodiment of the present invention may include obtaining module 11 and recording module 12.Wherein,
The acquisition module 11, for obtaining playback rate of the capture apparatus when playing video image.
The acquisition module 11, is also used to obtain the recording rate parameter determined based on user's selection instruction.
Specifically, when needing to carry out video record, the recording rate parameter of the video record can be determined according to user demand by obtaining module 11.Wherein, which can be specific rate value, alternatively, the recording rate parameter can also be the rate changing value, etc. for being used to indicate and slowing down and recording rate or accelerate to record rate, the embodiment of the present invention is without limitation.
The recording module 12, the playback rate and the recording rate parameter for being obtained based on the acquisition module 11 record the video image.
Optionally, the recording module 12 can be specifically used for:
Based on the playback rate and the recording rate parameter, the writing rate of the corresponding video data of the video image is calculated;
The video image is recorded according to said write rate.
Specifically, after the recording rate parameter that acquisition module 11 determines playback rate and demand when playing video, video image can be recorded based on the playback rate and the recording rate parameter by recording module 12, for example writing rate can be calculated based on the playback rate and the recording rate parameter, video data is written based on the writing rate, to complete video record.Wherein, which can match with the capture rate of the capture apparatus, record while shooting video to can realize, shooting completes that completion can be recorded, and the flexibility of video record and efficiency are higher.
Optionally, the recording module 12 can be specifically used for when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter:
When the recording mode of the recording rate parameter instruction is determined as quick mode, first ratio for recording rate parameter and the playback rate is determined;
Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
Specifically, when the recording rate for detecting user's selection corresponds to quick mode, the multiple of the recording rate parameter and the playback rate, i.e. the first ratio can then be obtained by recording module 12, and can be dealt with based on video progress snap-action of first ratio to recording and file is written and stored.
Optionally, the recording module 12 can be specifically used for when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter:
When the recording mode of the recording rate parameter instruction is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;
Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
Specifically, when the recording rate for detecting user's selection corresponds to slow speed mode, the playback rate can then be obtained and record the multiple of rate parameter by recording module 12, i.e. the second ratio, and is dealt with based on video progress slow motion of second ratio to recording and file is written and stored.
Still optionally further, the module 11 that obtains can be specifically used in the recording rate parameter that acquisition is determined based on user's selection instruction:
Obtain the device parameter information of the capture apparatus;
At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;
Display includes at least one set of interactive interface for recording rate parameter;
User is received at least one set of selection instruction for recording rate parameter input, the selection instruction instruction has the recording rate parameter determined.
Still optionally further, described device 10 may also include that
Control module 13, for suspending the recording to the video image when receiving the rate change directive based on user's operation input;
The acquisition module 11, it may also be used for obtain the corresponding new recording rate parameter of the rate change directive;
The recording module 12, it may also be used for the playback rate and the new recording rate parameter obtained based on the acquisition module 11 records the video image.
In recording process, control module 13, which also can detect whether to receive, is used to indicate the rate change directive that rate is recorded in change, in order to carry out recording rate change when confirmation receives user's change directive, so that realization is adjusted flexibly to rate is recorded.Wherein, the recording rate information after being changed after being carried in the rate change directive, i.e., new recording rate parameter.
Still optionally further, in some embodiments,
The control module 13, it may also be used for when detecting recording rate parameter input, the video image is recorded in stopping.
Specifically, control module 13 can also be when detecting that recording rate parameter input or capture apparatus pause play video image, and control stops video record.
Still optionally further, in some embodiments, described device 10 may also include that
Tracking module 14, for being carried out based on the video image to image tracing;
Wherein, it is described to thread used in image tracing, the video image play used in thread and the video image record used thread can be mutually indepedent.
Specifically, by the multichannel scheduling of resource under the reasonable resource allocation process and multithreading of CPU or GPU, then realize while showing video, recorded video and tracking, it is ensured that record the fast and flexible switching and the rapid synthesis of video of rate.
In embodiments of the present invention, playback rate of the acquisition capture apparatus when playing video image and the recording rate parameter determined based on user's selection instruction can be passed through, to be recorded based on the playback rate and the recording rate parameter to video image, make it possible to the recording rate recorded video according to user demand, to improve the recording efficiency and flexibility of video.
The embodiment of the invention also provides a kind of computer storage medium, it is stored with program instruction in the computer storage medium, which may include such as Fig. 1 to some or all of the video recording method of Fig. 3 corresponding embodiment step when executing.
Fig. 5 is referred to, Fig. 5 is a kind of structural schematic diagram of capture apparatus provided in an embodiment of the present invention.As shown in figure 5, the capture apparatus 1 of the embodiment of the present invention may include video recording device 10 and with this The holder 20 that video recording device 10 connects.
Specifically, which can refer to the associated description of the video recording device 10 in above-mentioned Fig. 4 corresponding embodiment, not repeat herein.Further, it can be realized by the holder 20 and follow selected target automatically, may filter that jolting in movement using three-axis stability augmentation and shaken, using the mobile time-lapse photography of three axis etc. function, to bring more dynamic visual effect.
Fig. 6 is referred to again, Fig. 6 is the structural schematic diagram of another capture apparatus provided in an embodiment of the present invention, the capture apparatus 1 in the embodiment of the present invention can include: communication interface 300, memory 200 and processor 100, the processor 100 are connect with the communication interface 300 and the memory 200 respectively.
The communication interface 300 may include the various keys of standard, touch screen, camera, loudspeaker etc., can also include wireline interface, wireless interface etc..
The memory 200 may include volatile memory (volatile memory), such as random access memory (random-access memory, abbreviation RAM);Memory 200 also may include nonvolatile memory (non-volatile memory), such as flash memory (flash memory) etc.;Memory 200 can also include the combination of the memory of mentioned kind.Memory 200 can program instruction needed for storage program area, at least one function etc..In embodiments of the present invention, which can be android system, iOS system or Windows operating system etc..
The processor 100 may include central processing unit (central processing unit, abbreviation CPU), image processor (graphics processing unit, abbreviation GPU).The processor 100 can further include hardware chip.Hardware chip can be specific integrated circuit (application-specific integrated circuit, abbreviation ASIC), programmable logic device (programmable logic device, abbreviation PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices (complex programmable logic device, abbreviation CPLD), field programmable gate array (field-programmable gate array, abbreviation FPGA) etc..
Optionally, the memory 200 is also used to store program instruction.The processor 100 can call described program to instruct, and realize the video recording method as shown in the application Fig. 1 to Fig. 3 embodiment.
Specifically, the processor 100 can call the program instruction stored in the memory 200 to execute:
Obtain playback rate of the capture apparatus when playing video image;
Obtain the recording rate parameter determined based on user's selection instruction;
The video image is recorded based on the playback rate and the recording rate parameter.
Optionally, the processor 100 execute it is described the video image is recorded based on the playback rate and the recording rate parameter when, specifically execute following steps:
Based on the playback rate and the recording rate parameter, the writing rate of the corresponding video data of the video image is calculated;
The video image is recorded according to said write rate.
Optionally, the processor 100 described specifically executes following steps when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter executing:
When the recording mode of the recording rate parameter instruction is determined as quick mode, first ratio for recording rate parameter and the playback rate is determined;
Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
Optionally, the processor 100 described specifically executes following steps when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter executing:
When the recording mode of the recording rate parameter instruction is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;
Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
Optionally, the processor 100 specifically executes following steps when executing the recording rate parameter that the acquisition is determined based on user's selection instruction:
Obtain the device parameter information of the capture apparatus;
At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;
Display includes at least one set of interactive interface for recording rate parameter;
User is received at least one set of selection instruction for recording rate parameter input by the communication interface 300, and the selection instruction instruction has the recording rate parameter determined.
Optionally, the processor 100 also executes following steps:
The rate change directive inputted based on user's operation is received by the communication interface 300;
The rate change directive is responded, suspends the recording to the video image, and obtain the corresponding new recording rate parameter of the rate change directive;
The video image is recorded based on the playback rate and the new recording rate parameter.
Optionally, the processor 100 also executes following steps:
When detecting recording rate parameter input, the video image is recorded in stopping.
Optionally, the processor 100 also executes following steps:
It is carried out based on the video image to image tracing;
Wherein, described mutually indepedent to thread used in thread used in thread used in image tracing, video image broadcasting and video image recording.
In embodiments of the present invention, playback rate of the acquisition capture apparatus when playing video image and the recording rate parameter determined based on user's selection instruction can be passed through, to be recorded based on the playback rate and the recording rate parameter to video image, make it possible to the recording rate recorded video according to user demand, to improve the recording efficiency and flexibility of video.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the part being described in detail in some embodiment, reference can be made to the related descriptions of other embodiments.
In several embodiments provided by the present invention, it should be understood that disclosed device and method may be implemented in other ways.Such as, the apparatus embodiments described above are merely exemplary, such as, the division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
It is described this unit may or may not be physically separated as illustrated by the separation member, component shown as a unit may or may not be physical unit, it can in one place, or may be distributed over multiple network units.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit, can store can in a computer It reads in storage medium.Above-mentioned SFU software functional unit is stored in a storage medium, it uses including some instructions so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the part steps of each embodiment the method for the present invention.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various media that can store program code such as random access memory (Random Access Memory, RAM), magnetic or disk.
Those skilled in the art can be understood that, for convenience and simplicity of description, only the example of the division of the above functional modules, in practical application, it can according to need and be completed by different functional modules above-mentioned function distribution, the internal structure of device is divided into different functional modules, to complete all or part of the functions described above.The specific work process of the device of foregoing description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;Although present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it is still possible to modify the technical solutions described in the foregoing embodiments, or equivalent substitution of some or all of the technical features;And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (24)

  1. A kind of video recording method characterized by comprising
    Obtain playback rate of the capture apparatus when playing video image;
    Obtain the recording rate parameter determined based on user's selection instruction;
    The video image is recorded based on the playback rate and the recording rate parameter.
  2. The method according to claim 1, wherein described record the video image based on the playback rate and the recording rate parameter, comprising:
    Based on the playback rate and the recording rate parameter, the writing rate of the corresponding video data of the video image is calculated;
    The video image is recorded according to said write rate.
  3. According to the method described in claim 2, it is characterized in that, it is described be based on the playback rate and the recording rate parameter, calculate the writing rate of the corresponding video data of the video image, comprising:
    When the recording mode of the recording rate parameter instruction is determined as quick mode, first ratio for recording rate parameter and the playback rate is determined;
    Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  4. According to the method described in claim 2, it is characterized in that, it is described be based on the playback rate and the recording rate parameter, calculate the writing rate of the corresponding video data of the video image, comprising:
    When the recording mode of the recording rate parameter instruction is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;
    Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  5. Method according to claim 1-4, which is characterized in that described to obtain the recording rate parameter determined based on user's selection instruction, comprising:
    Obtain the device parameter information of the capture apparatus;
    At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;
    Display includes at least one set of interactive interface for recording rate parameter;
    User is received at least one set of selection instruction for recording rate parameter input, the selection instruction instruction has the recording rate parameter determined.
  6. Method according to claim 1-5, which is characterized in that the method also includes:
    Receive the rate change directive inputted based on user's operation;
    The rate change directive is responded, suspends the recording to the video image, and obtain the corresponding new recording rate parameter of the rate change directive;
    The video image is recorded based on the playback rate and the new recording rate parameter.
  7. Method according to claim 1-6, which is characterized in that the method also includes:
    When detecting recording rate parameter input, the video image is recorded in stopping.
  8. Method according to claim 1-7, which is characterized in that the method also includes:
    It is carried out based on the video image to image tracing;
    Wherein, described mutually indepedent to thread used in thread used in thread used in image tracing, video image broadcasting and video image recording.
  9. A kind of video recording device characterized by comprising
    Module is obtained, for obtaining playback rate of the capture apparatus when playing video image;
    The acquisition module is also used to obtain the recording rate parameter determined based on user's selection instruction;
    Module is recorded, the playback rate and the recording rate parameter for being obtained based on the acquisition module record the video image.
  10. Device according to claim 9, which is characterized in that the recording module is specifically used for:
    Based on the playback rate and the recording rate parameter, the corresponding video counts of the video image are calculated According to writing rate;
    The video image is recorded according to said write rate.
  11. Device according to claim 10, which is characterized in that the recording module is being based on the playback rate and the recording rate parameter, is specifically used for when calculating the writing rate of the corresponding video data of the video image:
    When the recording mode of the recording rate parameter instruction is determined as quick mode, first ratio for recording rate parameter and the playback rate is determined;
    Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  12. Device according to claim 10, which is characterized in that the recording module is being based on the playback rate and the recording rate parameter, is specifically used for when calculating the writing rate of the corresponding video data of the video image:
    When the recording mode of the recording rate parameter instruction is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;
    Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  13. According to the described in any item devices of claim 9-12, which is characterized in that the module that obtains is specifically used in the recording rate parameter that acquisition is determined based on user's selection instruction:
    Obtain the device parameter information of the capture apparatus;
    At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;
    Display includes at least one set of interactive interface for recording rate parameter;
    User is received at least one set of selection instruction for recording rate parameter input, the selection instruction instruction has the recording rate parameter determined.
  14. According to the described in any item devices of claim 9-13, which is characterized in that described device is also wrapped It includes:
    Control module, for suspending the recording to the video image when receiving the rate change directive based on user's operation input;
    The acquisition module is also used to obtain the corresponding new recording rate parameter of the rate change directive;
    The recording module is also used to record the video image based on the playback rate and the new recording rate parameter.
  15. According to the described in any item devices of claim 9-14, which is characterized in that
    The control module is also used to when detecting recording rate parameter input, and the video image is recorded in stopping.
  16. According to the described in any item devices of claim 9-15, which is characterized in that described device further include:
    Tracking module, for being carried out based on the video image to image tracing;
    Wherein, described mutually indepedent to thread used in thread used in thread used in image tracing, video image broadcasting and video image recording.
  17. A kind of capture apparatus characterized by comprising memory and processor, the processor are connect with the memory;Wherein,
    The memory, for storing program instruction;
    The processor, for calling the program instruction stored in the memory to execute:
    Obtain playback rate of the capture apparatus when playing video image;
    Obtain the recording rate parameter determined based on user's selection instruction;
    The video image is recorded based on the playback rate and the recording rate parameter.
  18. Equipment according to claim 17, which is characterized in that the processor execute it is described the video image is recorded based on the playback rate and the recording rate parameter when, specifically execute following steps:
    Based on the playback rate and the recording rate parameter, the corresponding video counts of the video image are calculated According to writing rate;
    The video image is recorded according to said write rate.
  19. Equipment according to claim 18, which is characterized in that the processor described specifically executes following steps when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter executing:
    When the recording mode of the recording rate parameter instruction is determined as quick mode, first ratio for recording rate parameter and the playback rate is determined;
    Based on the playback rate, the quick mode and the first ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  20. Equipment according to claim 18, which is characterized in that the processor described specifically executes following steps when calculating the writing rate of the corresponding video data of the video image based on the playback rate and the recording rate parameter executing:
    When the recording mode of the recording rate parameter instruction is determined as slow speed mode, the playback rate and second ratio for recording rate parameter are determined;
    Based on the playback rate, the slow speed mode and the second ratio calculation writing rate, and using the said write rate being calculated as the writing rate of the corresponding video data of the video image.
  21. The described in any item equipment of 7-20 according to claim 1, which is characterized in that the equipment further includes communication interface;The processor specifically executes following steps when executing the recording rate parameter that the acquisition is determined based on user's selection instruction:
    Obtain the device parameter information of the capture apparatus;
    At least one set of recording rate parameter that the capture apparatus is supported is determined based on the device parameter information;
    Display includes at least one set of interactive interface for recording rate parameter;
    User is received at least one set of selection instruction for recording rate parameter input by the communication interface, and the selection instruction instruction has the recording rate parameter determined.
  22. The described in any item equipment of 7-21 according to claim 1, which is characterized in that the processor also executes following steps:
    The rate change directive inputted based on user's operation is received by the communication interface;
    The rate change directive is responded, suspends the recording to the video image, and obtain the corresponding new recording rate parameter of the rate change directive;
    The video image is recorded based on the playback rate and the new recording rate parameter.
  23. The described in any item equipment of 7-22 according to claim 1, which is characterized in that the processor also executes following steps:
    When detecting recording rate parameter input, the video image is recorded in stopping.
  24. The described in any item equipment of 7-23 according to claim 1, which is characterized in that the processor also executes following steps:
    It is carried out based on the video image to image tracing;
    Wherein, described mutually indepedent to thread used in thread used in thread used in image tracing, video image broadcasting and video image recording.
CN201680061067.3A 2016-11-08 2016-11-08 Video recording method and device and shooting equipment Expired - Fee Related CN108271432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011435919.5A CN112584074A (en) 2016-11-08 2016-11-08 Video recording method and shooting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/105046 WO2018085982A1 (en) 2016-11-08 2016-11-08 Video recording method and apparatus, and photographing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011435919.5A Division CN112584074A (en) 2016-11-08 2016-11-08 Video recording method and shooting equipment

Publications (2)

Publication Number Publication Date
CN108271432A true CN108271432A (en) 2018-07-10
CN108271432B CN108271432B (en) 2020-12-29

Family

ID=62109056

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201680061067.3A Expired - Fee Related CN108271432B (en) 2016-11-08 2016-11-08 Video recording method and device and shooting equipment
CN202011435919.5A Withdrawn CN112584074A (en) 2016-11-08 2016-11-08 Video recording method and shooting equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011435919.5A Withdrawn CN112584074A (en) 2016-11-08 2016-11-08 Video recording method and shooting equipment

Country Status (2)

Country Link
CN (2) CN108271432B (en)
WO (1) WO2018085982A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653920A (en) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 Video processing method, device, equipment, storage medium and computer program product
CN113286106A (en) * 2021-06-18 2021-08-20 深圳传音通讯有限公司 Video recording method, mobile terminal and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737884B (en) * 2018-05-31 2022-05-10 腾讯科技(深圳)有限公司 Content recording method and equipment, storage medium and electronic equipment
CN115086554A (en) * 2019-08-20 2022-09-20 华为技术有限公司 Video special effect generation method and terminal
CN111294509A (en) * 2020-01-22 2020-06-16 Oppo广东移动通信有限公司 Video shooting method, device, terminal and storage medium
CN112686109B (en) * 2020-12-22 2024-06-21 北京百度网讯科技有限公司 Method and device for extracting offline video file, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1206136A2 (en) * 2000-11-08 2002-05-15 Kabushiki Kaisha Toshiba Apparatus and method for recording video data
US20030190157A1 (en) * 2001-12-03 2003-10-09 Laurent Aubry Apparatus and method for storing and retrieving digital real time signals in their native format
US20040257939A1 (en) * 2003-06-20 2004-12-23 Takashi Kawamura Recording/playback device
CN1606334A (en) * 2003-07-18 2005-04-13 索尼株式会社 Image pickup apparatus and control unit therefor
CN101321271A (en) * 2007-06-08 2008-12-10 佳能株式会社 Information processing apparatus and information processing method
US20090033745A1 (en) * 2002-02-06 2009-02-05 Nice Systems, Ltd. Method and apparatus for video frame sequence-based object tracking
US20090136215A1 (en) * 1998-07-30 2009-05-28 Barton James M Digital video recorder system with an integrated dvd recording device
CN101466006A (en) * 2009-01-05 2009-06-24 浙江大学 Method for storing real-time data of video collection system
CN101543048A (en) * 2006-11-30 2009-09-23 索尼株式会社 Imaging apparatus, method of controlling imaging apparatus, program for the method, and recording medium saving the program
CN102547192A (en) * 2010-12-21 2012-07-04 新奥特(北京)视频技术有限公司 Method for setting automatic speed-changing playing and playback functions to video images
CN102970542A (en) * 2012-11-30 2013-03-13 上海晨思电子科技有限公司 Video data conversion method and device and intelligent television
CN104539837A (en) * 2014-11-28 2015-04-22 广东欧珀移动通信有限公司 Method and device for recording variable speed playback video
CN104660948A (en) * 2015-03-09 2015-05-27 深圳市欧珀通信软件有限公司 Video recording method and device
CN104967803A (en) * 2015-07-01 2015-10-07 广东欧珀移动通信有限公司 Video recording method and video recording device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009177531A (en) * 2008-01-24 2009-08-06 Panasonic Corp Image recording device, image reproducing device, recording medium, image recording method, and program
CN102801942B (en) * 2012-07-23 2016-05-11 小米科技有限责任公司 The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph
CN105049918A (en) * 2015-07-08 2015-11-11 成都西可科技有限公司 Method for separating local recorded video and network live video
CN105245812B (en) * 2015-10-20 2018-09-04 广东欧珀移动通信有限公司 A kind of method and terminal of video record

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090136215A1 (en) * 1998-07-30 2009-05-28 Barton James M Digital video recorder system with an integrated dvd recording device
EP1206136A2 (en) * 2000-11-08 2002-05-15 Kabushiki Kaisha Toshiba Apparatus and method for recording video data
US20030190157A1 (en) * 2001-12-03 2003-10-09 Laurent Aubry Apparatus and method for storing and retrieving digital real time signals in their native format
US20090033745A1 (en) * 2002-02-06 2009-02-05 Nice Systems, Ltd. Method and apparatus for video frame sequence-based object tracking
US20040257939A1 (en) * 2003-06-20 2004-12-23 Takashi Kawamura Recording/playback device
CN1606334A (en) * 2003-07-18 2005-04-13 索尼株式会社 Image pickup apparatus and control unit therefor
CN101543048A (en) * 2006-11-30 2009-09-23 索尼株式会社 Imaging apparatus, method of controlling imaging apparatus, program for the method, and recording medium saving the program
CN101321271A (en) * 2007-06-08 2008-12-10 佳能株式会社 Information processing apparatus and information processing method
CN101466006A (en) * 2009-01-05 2009-06-24 浙江大学 Method for storing real-time data of video collection system
CN102547192A (en) * 2010-12-21 2012-07-04 新奥特(北京)视频技术有限公司 Method for setting automatic speed-changing playing and playback functions to video images
CN102970542A (en) * 2012-11-30 2013-03-13 上海晨思电子科技有限公司 Video data conversion method and device and intelligent television
CN104539837A (en) * 2014-11-28 2015-04-22 广东欧珀移动通信有限公司 Method and device for recording variable speed playback video
CN104660948A (en) * 2015-03-09 2015-05-27 深圳市欧珀通信软件有限公司 Video recording method and device
CN104967803A (en) * 2015-07-01 2015-10-07 广东欧珀移动通信有限公司 Video recording method and video recording device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653920A (en) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 Video processing method, device, equipment, storage medium and computer program product
US12003884B2 (en) 2020-12-18 2024-06-04 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, device, storage medium and computer program product
CN113286106A (en) * 2021-06-18 2021-08-20 深圳传音通讯有限公司 Video recording method, mobile terminal and storage medium

Also Published As

Publication number Publication date
WO2018085982A1 (en) 2018-05-17
CN112584074A (en) 2021-03-30
CN108271432B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN108271432A (en) Video recording method, device and capture apparatus
CN113475092B (en) Video processing method and mobile device
CN105210379B (en) Display control unit, display control method
CN113453040B (en) Short video generation method and device, related equipment and medium
US9369662B2 (en) Smart gallery and automatic music video creation from a set of photos
KR101871364B1 (en) Continuous video capture during switch between video capture devices
US20180217995A1 (en) Media file processing method and device, and media file sharing method and device in social media application
CN108900771A (en) A kind of method for processing video frequency, device, terminal device and storage medium
WO2017083204A1 (en) Device and method for creating videoclips from omnidirectional video
CN105830066A (en) Tagging images with emotional state information
US8811797B2 (en) Switching between time order and popularity order sending of video segments
CN103839562A (en) Video creation system
US20120307068A1 (en) Surround video recording
CN107277412B (en) Video recording method and device, graphics processor and electronic equipment
CN113747047B (en) Video playing method and device
CN111475675B (en) Video processing system
CN112218154B (en) Video acquisition method and device, storage medium and electronic device
WO2024055797A9 (en) Method for capturing images in video, and electronic device
CN105549847B (en) A kind of image display method and user terminal at playback of songs interface
WO2024007290A1 (en) Video acquisition method, electronic device, storage medium, and program product
WO2023185809A1 (en) Video data generation method and apparatus, and electronic device and storage medium
CN112822419A (en) Method and equipment for generating video information
WO2022262536A1 (en) Video processing method and electronic device
WO2022142642A1 (en) Method and device for playing back video information
CN116193049A (en) Video processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201229

CF01 Termination of patent right due to non-payment of annual fee