CN108271432B - Video recording method, device and shooting equipment - Google Patents
Video recording method, device and shooting equipment Download PDFInfo
- Publication number
- CN108271432B CN108271432B CN201680061067.3A CN201680061067A CN108271432B CN 108271432 B CN108271432 B CN 108271432B CN 201680061067 A CN201680061067 A CN 201680061067A CN 108271432 B CN108271432 B CN 108271432B
- Authority
- CN
- China
- Prior art keywords
- rate
- recording
- video
- parameter
- video image
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/92—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television 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
Description
本专利文件披露的内容包含受版权保护的材料。该版权为版权所有人所有。版权所有人不反对任何人复制专利与商标局的官方记录和档案中所存在的该专利文件或该专利披露。The disclosure of this patent document contains material that is subject to copyright protection. This copyright belongs to the copyright owner. The copyright owner has no objection to the reproduction by anyone of the patent document or the patent disclosure as it exists in the official records and archives of the Patent and Trademark Office.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种视频录制方法、装置及拍摄设备。The present application relates to the field of communication technologies, and in particular, to a video recording method, device, and shooting device.
背景技术Background technique
随着终端技术以及图像处理技术的不断发展,照相机、摄像机等拍摄设备得到广泛使用。该拍摄设备可用于拍照、摄像、录像等等,为用户的学习、生活、工作带来极大便利。With the continuous development of terminal technology and image processing technology, shooting equipment such as cameras and video cameras are widely used. The shooting device can be used for photographing, video recording, video recording, etc., which brings great convenience to the user's study, life and work.
现有的拍摄技术中,在进行录像操作时,拍摄设备往往不能调节录制速度,只能按照指定的视频播放速度去录制,这就降低了视频录制的灵活性。在需要获取慢动作视频时,只能先拍摄高帧率的视频,再对该视频进行处理以改变帧率,从而得到该慢动作视频;同理,需要获取快动作视频时,只能先拍摄低帧率的视频,再对该视频进行处理以改变帧率,从而得到该快动作视频。然而,先拍摄再处理的方式会导致得到的视频较大,且录制效率较低,无法满足用户的拍摄需求。In the existing shooting technology, when performing a video recording operation, the shooting device often cannot adjust the recording speed, and can only record at a specified video playback speed, which reduces the flexibility of video recording. When you need to obtain a slow-motion video, you can only shoot a video with a high frame rate first, and then process the video to change the frame rate to obtain the slow-motion video; similarly, when you need to obtain a fast-motion video, you can only shoot first A video with a low frame rate, and then the video is processed to change the frame rate to obtain the fast motion video. However, the method of shooting first and then processing will result in a larger video and lower recording efficiency, which cannot meet the shooting needs of users.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种视频录制方法、装置及拍摄设备,能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。Embodiments of the present invention provide a video recording method, device, and shooting device, which can record videos according to a recording rate required by users, thereby improving video recording efficiency and flexibility.
第一方面,本发明实施例提供了一种视频录制方法,包括:In a first aspect, an embodiment of the present invention provides a video recording method, including:
获取拍摄设备在播放视频图像时的播放速率;Get the playback rate of the shooting device when playing the video image;
获取基于用户选择指令确定出的录制速率参数;Obtain the recording rate parameter determined based on the user's selection instruction;
基于所述播放速率和所述录制速率参数对所述视频图像进行录制。The video image is recorded based on the playback rate and the recording rate parameter.
第二方面,本发明实施例还提供了一种视频录制装置,包括:In a second aspect, an embodiment of the present invention further provides a video recording device, including:
获取模块,用于获取拍摄设备在播放视频图像时的播放速率;an acquisition module, used to acquire the playback rate of the shooting device when playing the video image;
所述获取模块,还用于获取基于用户选择指令确定出的录制速率参数;The obtaining module is further configured to obtain the recording rate parameter determined based on the user's selection instruction;
录制模块,用于基于所述获取模块获取的所述播放速率和所述录制速率参数对所述视频图像进行录制。A recording module, configured to record the video image based on the playback rate and the recording rate parameter acquired by the acquiring module.
第三方面,本发明实施例还提供了一种拍摄设备,包括:存储器和处理器,所述处理器与所述存储器连接;其中,In a third aspect, an embodiment of the present invention further provides a photographing device, including: a memory and a processor, where the processor is connected to the memory; wherein,
所述存储器,用于存储程序指令;the memory for storing program instructions;
所述处理器,用于调用所述存储器中存储的程序指令执行:The processor is configured to invoke the program instructions stored in the memory to execute:
获取拍摄设备在播放视频图像时的播放速率;Get the playback rate of the shooting device when playing the video image;
获取基于用户选择指令确定出的录制速率参数;Obtain the recording rate parameter determined based on the user's selection instruction;
基于所述播放速率和所述录制速率参数对所述视频图像进行录制。The video image is recorded based on the playback rate and the recording rate parameter.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
本发明实施例可通过获取拍摄设备在播放视频图像时的播放速率以及基于用户选择指令确定出的录制速率参数,以基于该播放速率和该录制速率参数对视频图像进行录制,使得能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。In this embodiment of the present invention, the video image can be recorded based on the playback rate and the recording rate parameter by acquiring the playback rate of the shooting device when playing the video image and the recording rate parameter determined based on the user's selection instruction, so that the video image can be recorded according to user requirements. Recording video at the recording rate, thus improving the recording efficiency and flexibility of the video.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明实施例提供的一种视频录制方法的流程示意图;1 is a schematic flowchart of a video recording method provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种视频录制方法的流程示意图;2 is a schematic flowchart of another video recording method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种线程管理示意图;3 is a schematic diagram of a thread management provided by an embodiment of the present invention;
图4是本发明实施例提供的一种视频录制装置的结构示意图;4 is a schematic structural diagram of a video recording device provided by an embodiment of the present invention;
图5是本发明实施例提供的一种拍摄设备的结构示意图;5 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention;
图6是本发明实施例提供的另一种拍摄设备的结构示意图。FIG. 6 is a schematic structural diagram of another photographing device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书中的术语“第一”、“第二”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "first", "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or modules is not limited to the listed steps or modules, but optionally also includes unlisted steps or modules, or optionally also includes Other steps or modules inherent to these processes, methods, products or devices.
可选地,本发明实施例的技术方案可具体应用于手机(如Android手机、iOS手机等)、平板电脑、移动互联网设备(mobile internet devices,简称MID)、个人数字助理(personal digital assistant,简称PDA)、摄像机、照相机等具有录像功能的设备中。Optionally, the technical solutions of the embodiments of the present invention may be specifically applied to mobile phones (such as Android mobile phones, iOS mobile phones, etc.), tablet computers, mobile internet devices (MID for short), and personal digital assistants (personal digital assistant, short for short). PDA), video cameras, cameras and other devices with video recording function.
进一步可选地,该拍摄设备中可设置传感器(sensor)以用于采集图像,并可根据拍摄帧率以及输出图像的帧率来实现慢动作、正常速度、缩时摄影效果的切换等等。其中,假设拍摄时在单位时间内如1秒内获取图像帧数为M张(即帧率为Mfps),而播放时按照每单位时间N张进行播放(即帧率为Nfps),若M大于N,即为慢速模式,则可得到一个慢动作效果;若M小于N,即为快速模式,则可得到一个快动作效果;若M等于N,即为正常模式,则可得到一个正常播放效果。其中,M和N均大于0。例如,假设拍摄设备在高帧率(如120p)拍摄,输出30p的视频,即为4x慢动作摄影,如果1s拍摄1张照片,30s输出1秒钟30p的视频,即为30x缩时摄影。Further optionally, a sensor may be set in the photographing device for capturing images, and switching between slow motion, normal speed, time-lapse photography effects, and the like may be implemented according to the shooting frame rate and the frame rate of the output image. Among them, it is assumed that the number of image frames acquired in a unit time, such as 1 second, is M frames (that is, the frame rate is Mfps), and the playback is performed according to N frames per unit time (that is, the frame rate is Nfps), if M is greater than N, that is, slow mode, you can get a slow-motion effect; if M is less than N, that is, fast mode, you can get a fast-motion effect; if M is equal to N, that is normal mode, you can get a normal playback Effect. Wherein, both M and N are greater than 0. For example, assuming that the shooting device shoots at a high frame rate (such as 120p) and outputs a 30p video, it is 4x slow-motion photography. If a photo is taken in 1s, a 30p video for 1 second is output in 30s, which is 30x time-lapse photography.
本发明实施例公开了一种视频录制方法、装置及拍摄设备,能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。以下分别详细说明。The embodiments of the present invention disclose a video recording method, device and shooting device, which can record videos according to the recording rate required by users, thereby improving the video recording efficiency and flexibility. Detailed descriptions are given below.
请参见图1,图1是本发明实施例提供的一种视频录制方法的流程示意图。具体地,如图1所示,本发明实施例的所述视频录制方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a video recording method provided by an embodiment of the present invention. Specifically, as shown in FIG. 1 , the video recording method according to the embodiment of the present invention may include the following steps:
101、获取拍摄设备在播放视频图像时的播放速率。101. Acquire the playback rate of the shooting device when playing the video image.
102、获取基于用户选择指令确定出的录制速率参数。102. Acquire the recording rate parameter determined based on the user selection instruction.
具体地,在进行视频录制时,可根据用户需求来确定该视频录制的录制速率参数。比如,可提供多个速率按键(比如在拍摄设备本身或与该拍摄设备连接的云台上设置该速率按键)以供用户选择录制速率参数,或者通过输出一个包括多种录制速率的交互界面以供用户选择录制速率参数,或者通过输出一个窗口以使用户直接输入该录制速率参数等等,对于该录制速率参数的确定方式,本发明实施例不做限定。其中,该录制速率参数可以是具体的速率值,如15fps、30fps、60fps、120fps等等;或者,该录制速率参数还可以是用于指示放慢录制速率或加快录制速率的速率变化值,如加快3倍(+3x)、放慢4倍(-4x)等等。Specifically, when video recording is performed, a recording rate parameter of the video recording can be determined according to user requirements. For example, multiple rate buttons can be provided (for example, the rate buttons can be set on the shooting device itself or on a PTZ connected to the shooting device) for the user to select the recording rate parameters, or by outputting an interactive interface including multiple recording rates to For the user to select the recording rate parameter, or by outputting a window to allow the user to directly input the recording rate parameter, etc., the method for determining the recording rate parameter is not limited in this embodiment of the present invention. Wherein, the recording rate parameter may be a specific rate value, such as 15fps, 30fps, 60fps, 120fps, etc.; or, the recording rate parameter may also be a rate change value used to indicate slowing down the recording rate or speeding up the recording rate, such as 3x faster (+3x), 4x slower (-4x), etc.
103、基于所述播放速率和所述录制速率参数对所述视频图像进行录制。103. Record the video image based on the playback rate and the recording rate parameter.
具体地,在确定出播放视频时的播放速率以及需求的录制速率参数之后,即可基于该播放速率和该录制速率参数对视频图像进行录制,比如可基于该播放速率和该录制速率参数计算写入速率,以基于该写入速率写入视频数据,从而完成视频录制。其中,该播放速率可以与该拍摄设备的拍摄速率相匹配,从而可实现一边拍摄视频一边录制,拍摄完成即可录制完成,视频录制的灵活性及效率较高。Specifically, after determining the playback rate when playing the video and the required recording rate parameter, the video image can be recorded based on the playback rate and the recording rate parameter. For example, the recording rate can be calculated based on the playback rate and the recording rate parameter. input rate to write video data based on the write rate to complete video recording. The playback rate can be matched with the shooting rate of the shooting device, so that the video can be recorded while shooting, and the recording can be completed after shooting, and the video recording has high flexibility and efficiency.
在本发明实施例中,可通过获取拍摄设备在播放视频图像时的播放速率以及基于用户选择指令确定出的录制速率参数,以基于该播放速率和该录制速率参数对视频图像进行录制,使得能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。In the embodiment of the present invention, the video image can be recorded based on the playback rate and the recording rate parameter by acquiring the playback rate of the shooting device when playing the video image and the recording rate parameter determined based on the user's selection instruction, so that it is possible to record the video image based on the playback rate and the recording rate parameter. The video is recorded at the recording rate required by the user, thereby improving the recording efficiency and flexibility of the video.
进一步地,请参见图2,图2是本发明实施例提供的另一种视频录制方法的流程示意图。具体地,如图2所示,本发明实施例的所述视频录制方法可以包括以下步骤:Further, please refer to FIG. 2, which is a schematic flowchart of another video recording method provided by an embodiment of the present invention. Specifically, as shown in FIG. 2 , the video recording method according to the embodiment of the present invention may include the following steps:
201、获取拍摄设备在播放视频图像时的播放速率。201. Acquire a playback rate of a shooting device when playing a video image.
202、获取基于用户选择指令确定出的录制速率参数。202. Acquire the recording rate parameter determined based on the user selection instruction.
可选地,所述获取基于用户选择指令确定出的录制速率参数,可以具体为:获取所述拍摄设备的设备参数信息;基于所述设备参数信息确定出所述拍摄设备所支持的至少一组录制速率参数;显示包括所述至少一组录制速率参数的交互界面;接收用户针对所述至少一组录制速率参数输入的选择指令,该选择指令种可指示有确定出的录制速率参数。从而能够基于该选择指令确定用户需求的录制速率参数。Optionally, the acquiring the recording rate parameter determined based on the user's selection instruction may specifically include: acquiring device parameter information of the photographing device; determining at least one group supported by the photographing device based on the device parameter information recording rate parameters; displaying an interactive interface including the at least one group of recording rate parameters; receiving a selection instruction input by the user for the at least one group of recording rate parameters, where the selection instruction may indicate the determined recording rate parameters. Therefore, the recording rate parameter required by the user can be determined based on the selection instruction.
具体地,由于不同拍摄设备支持的帧率范围可能不同,则可通过获取拍摄设备的设备参数信息,如设备型号等,来确定出该拍摄设备能够支持的帧率,以确定出录制的最慢速度或最快速率是正常速度的倍数,从而能够基于拍摄设备支持的帧率来进行视频录制。可选地,在确定出拍摄设备能够支持的帧率之后,可以输出该支持帧率对应的录制速率以供用户选择,以使用户从中选择出一个速率作为录制速率进行视频录制。在其他可选的实施例中,用户还可通过点击预设按键输入该录制速率参数,如通过点击设置于拍摄设备或者设置于与该拍摄设备连接的云台上的速率按键输入该录制速率参数。Specifically, since the range of frame rates supported by different shooting devices may be different, the frame rate that the shooting device can support can be determined by obtaining the device parameter information of the shooting device, such as the device model, to determine the slowest recording speed. The speed or fastest rate is a multiple of the normal speed, enabling video recording based on the frame rate supported by the capture device. Optionally, after determining the frame rate that the shooting device can support, the recording rate corresponding to the supported frame rate can be output for the user to select, so that the user can select a rate as the recording rate for video recording. In other optional embodiments, the user can also input the recording rate parameter by clicking a preset button, such as inputting the recording rate parameter by clicking a rate button set on the photographing device or on a PTZ connected to the photographing device .
203、基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率。203. Calculate, based on the playing rate and the recording rate parameter, a writing rate of the video data corresponding to the video image.
204、按照所述写入速率对所述视频图像进行录制。204. Record the video image according to the writing rate.
可选地,所述基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率,可以具体为:当所述录制速率参数指示的录制模式确定为快速模式时,确定所述录制速率参数与所述播放速率的第一比值;基于所述播放速率、所述快速模式和所述第一比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。具体地,当检测到用户选择的录制速率参数对应为快速模式,则可获取该录制速率参数与该播放速率的倍数,即第一比值,并可基于该第一比值对录制的视频进行快动作处理并写入文件进行存储。例如,假设获取的播放速率为30fps,检测到用户点击设置的速率按键“+3x”,则可确定该“+3x”对应的录制模式为快速模式,该第一比值为3,并可计算得到该写入速率为120fps,则可按照该录制速率参数对播放速率加快3倍的写入速率写入视频数据。Optionally, calculating the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter may be specifically: when the recording mode indicated by the recording rate parameter is determined to be a fast mode , determine the first ratio between the recording rate parameter and the playback rate; calculate the write rate based on the playback rate, the fast mode, and the first ratio, and use the calculated write rate as The writing rate of the video data corresponding to the video image. Specifically, when it is detected that the recording rate parameter selected by the user corresponds to the fast mode, the multiple of the recording rate parameter and the playback rate, that is, the first ratio, can be obtained, and a fast action can be performed on the recorded video based on the first ratio. Process and write to file for storage. For example, assuming that the obtained playback rate is 30fps, and it is detected that the user clicks the set rate button "+3x", it can be determined that the recording mode corresponding to the "+3x" is the fast mode, and the first ratio is 3, which can be calculated as The writing rate is 120fps, and video data can be written at a writing rate that is 3 times faster than the playback rate according to the recording rate parameter.
可选地,所述基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率,可以具体为:当所述录制速率参数指示的录制模式确定为慢速模式时,确定所述播放速率与所述录制速率参数的第二比值;基于所述播放速率、所述慢速模式和所述第二比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。具体地,可通过获取拍摄设备所支持的帧率范围和正常的播放速率,确定出支持的最大帧率是该播放速率的倍数,以进一步确定出慢速的范围。当检测到用户选择的录制速率对应为慢速模式,则可获取该播放速率与录制速率参数的倍数,即第二比值,并基于该第二比值对录制的视频进行慢动作处理并写入文件进行存储。例如,假设获取的播放速率为60fps,检测到用户点击设置的速率按键“-2x”,则可确定该“-2x”对应的录制模式为慢速模式,该第二比值为2,并可计算得到该写入速率为30fps,则可按照该录制速率参数对播放速率放慢2倍的写入速率写入视频数据。Optionally, calculating the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter may be specifically: when the recording mode indicated by the recording rate parameter is determined to be slow mode, determine the second ratio of the playback rate to the recording rate parameter; calculate the write rate based on the playback rate, the slow mode and the second ratio, and use the calculated write rate The rate is the writing rate of the video data corresponding to the video image. Specifically, by acquiring the frame rate range supported by the shooting device and the normal playback rate, it is determined that the maximum supported frame rate is a multiple of the playback rate, so as to further determine the slow speed range. When it is detected that the recording rate selected by the user corresponds to the slow mode, the multiple of the playback rate and the recording rate parameter, that is, the second ratio, can be obtained, and based on the second ratio, the recorded video is processed in slow motion and written to a file to store. For example, assuming that the acquired playback rate is 60fps, and it is detected that the user clicks the set rate button "-2x", it can be determined that the recording mode corresponding to the "-2x" is the slow mode, the second ratio is 2, and can be calculated If the writing rate is 30fps, video data can be written at a writing rate that slows down the playback rate by 2 times according to the recording rate parameter.
可选地,该录制参数还可以是具体的速率值,则还可将用户可对拍摄设备进行操作输入的录制速率参数指示的速率值作为该写入速率。Optionally, the recording parameter may also be a specific rate value, and the rate value indicated by the recording rate parameter that the user can operate and input to the photographing device may also be used as the writing rate.
205、接收基于用户操作输入的速率更改指令。205. Receive a rate change instruction input based on a user operation.
206、响应所述速率更改指令,暂停对所述视频图像的录制,并获取所述速率更改指令对应的新的录制速率参数。206. In response to the rate modification instruction, suspend the recording of the video image, and acquire a new recording rate parameter corresponding to the rate modification instruction.
207、基于所述播放速率和所述新的录制速率参数对所述视频图像进行录制。207. Record the video image based on the playback rate and the new recording rate parameter.
在录制过程中,还可检测是否接收到用于指示更改录制速率的速率更改指令,以便于在确认接收到用户更改指令时进行录制速率更改,从而实现对录制速率的灵活调整。其中,该速率更改指令中携带后更改后的录制速率信息,即新的录制速率参数。例如,可预先在拍摄设备上增加指示录制速率的速率按键,如在拍摄设备的手持云台上增加加速/减速(+/-)的速率按键,通过点击该速率按键,可以切换sensor的工作模式为120p、30p、1p或更多。用户可以通过操作拍摄设备的手持云台上的按键,即可更改制定的视频录制速率,从而实现录像过程中智能调速、快慢速的结合。During the recording process, it is also possible to detect whether a rate change instruction for instructing to change the recording rate is received, so that the recording rate can be changed when it is confirmed that the user's change instruction is received, thereby realizing flexible adjustment of the recording rate. The rate change instruction carries the changed recording rate information, that is, the new recording rate parameter. For example, a rate button indicating the recording rate can be added on the shooting device in advance. For example, an acceleration/deceleration (+/-) rate button can be added on the handheld gimbal of the shooting device. By clicking the rate button, the working mode of the sensor can be switched. be 120p, 30p, 1p or more. Users can change the specified video recording rate by operating the buttons on the handheld PTZ of the shooting device, so as to realize the combination of intelligent speed regulation and fast and slow speed during the recording process.
进一步可选地,在一些实施例中,还可在检测到该录制速率参数输入或者拍摄设备暂停播放视频图像时,停止对所述视频图像进行录制。进一步地,可在获取到新的写入速率时,按照新的写入速率继续录制。Further optionally, in some embodiments, the recording of the video image may also be stopped when the input of the recording rate parameter is detected or the recording device pauses to play the video image. Further, when a new writing rate is obtained, recording can be continued according to the new writing rate.
进一步可选地,在一些实施例中,还可基于所述视频图像进行对象跟踪。其中,该对象跟踪(tracking)所使用的线程、该视频图像播放所使用的线程与该视频图像录制所使用的线程可相互独立。其中,tracking是指在图像里选择一个特定的目标(如人、动物等),所述目标移动时,视频录制装置可以跟随所述目标移动,以使所述目标始终处于所述视频录制装置拍摄的图像或视频之内,tracking用的是可以是与录制的视频图像相同的图像,可以是不同的图像。tracking利用图像可以为拍摄获取的原始图,以保证跟踪的效率;而录制的视频图像可以是原始图,也可以是被处理过的图像。Further optionally, in some embodiments, object tracking can also be performed based on the video image. The thread used for object tracking, the thread used for video image playback, and the thread used for video image recording may be independent of each other. Wherein, tracking refers to selecting a specific target (such as a person, an animal, etc.) in the image. When the target moves, the video recording device can move with the target, so that the target is always in the shooting position of the video recording device. Within the recorded image or video, the tracking used can be the same image as the recorded video image, or a different image. Tracking can use the original image obtained by shooting to ensure the efficiency of tracking; and the recorded video image can be the original image or the processed image.
具体地,如图3所示,在本发明实施例中,视频流的独立线程负责处理视频流数据,并可将视频流复制成多份数据。其中,一份可通过中央处理器(central processing unit,简称CPU)进行帧率调节并交给视频录制线程做录制视频操作;一份可交给视频显示线程通过图像处理器(graphics processing unit,简称GPU)做视频显示;一份可交给tracking线程通过GPU处理。从而可通过多线程下的多路资源调度,实现同时显示视频、录制视频以及tracking,并通过CPU或GPU的合理的资源分配处理,确保了录制速率的快速灵活切换,以及视频快速合成。Specifically, as shown in FIG. 3 , in this embodiment of the present invention, an independent thread of a video stream is responsible for processing video stream data, and can copy the video stream into multiple pieces of data. Among them, one can be adjusted by the central processing unit (CPU) for frame rate adjustment and handed over to the video recording thread for recording video operations; GPU) for video display; a copy can be handed over to the tracking thread for processing by the GPU. In this way, video can be displayed, recorded and tracked at the same time through multi-threaded resource scheduling, and through reasonable resource allocation processing by CPU or GPU, fast and flexible switching of recording rates and fast video synthesis are ensured.
举例来说,当基于用户需求对已存储的视频图像或者当前正在拍摄的视频图像进行录制时,用户可进行录制速率的选择并点击开始录制,从而触发根据该选择的录制速率参数和该录制的视频图像对应的播放速率进行视频录制。具体地,可在本地的文件夹的指定目录新建一个文件,同时新建一个写入线程进行线程轮循,在需要录制的视频处于非暂停状态下时,可根据用户设置的目标录制速度是按照慢速模式还是快速模式进行录制视频的视频数据写入,通过修改视频回调数据的时间来写入数据到文件中。进一步地,在视频录制过程中,若用户需要修改录制速率,在接收到用户输入的速率修改指令,比如用户点击了另外一个录制速率触发的速率录制指令时,可先暂停录制,并获得的用户设置的最新录制速率,即新的录制速率参数。检测该新的录制速率参数为慢速模式或快速模式,并基于新的录制速率参数去设置视频回调帧率,即确定出新的写入速率。进一步地,可将暂停模式关闭,以保证写入线程继续写入数据。当用户点击停止录制时,或者视频播放完成时,写入完成,即可关闭线程。此时完成录制。For example, when recording a stored video image or a video image currently being shot based on user requirements, the user can select a recording rate and click to start recording, thereby triggering the recording rate parameter according to the selection and the recording rate. Video recording is performed at the playback rate corresponding to the video image. Specifically, a new file can be created in the specified directory of the local folder, and a new writing thread can be created to perform thread rotation. When the video to be recorded is in a non-paused state, the recording speed can be set according to the target recording speed set by the user. The video data of the recorded video is written in the fast mode or the fast mode, and the data is written to the file by modifying the time of the video callback data. Further, in the process of video recording, if the user needs to modify the recording rate, after receiving the rate modification instruction input by the user, for example, when the user clicks the rate recording instruction triggered by another recording rate, the recording can be paused first, and the user can obtain the rate modification instruction. The latest recording rate set, that is, the new recording rate parameter. It is detected that the new recording rate parameter is a slow mode or a fast mode, and the video callback frame rate is set based on the new recording rate parameter, that is, a new writing rate is determined. Further, the pause mode can be turned off to ensure that the writing thread continues to write data. When the user clicks to stop recording, or when the video playback is completed, the writing is completed, and the thread can be closed. The recording is now complete.
在本发明实施例中,可通过一个独立写入线程的控制以及写入视频数据速率的更改来保证录制和其他操作同步进行,从而较优地实现多路操作,如可一边进行视频显示,一边调速录像,并同时支持tracking,使得能够实现一次得到快慢相间的视频,这就减少了生成视频的等待时间。同时,通过对GPU和CPU的合理资源分配,使得多路数据操作仍能同时流畅地进行,并能够通过修改回调的视频数据的时间进行写入即修改录制视频的写入速率,来防止丢帧现象的发生,从而有效提升了视频录制的效率、灵活性和可靠性。In the embodiment of the present invention, the synchronization of recording and other operations can be ensured through the control of an independent writing thread and the change of the writing video data rate, so that multiple operations can be implemented optimally. Speed-adjusted video recording and support for tracking at the same time make it possible to obtain alternately fast and slow videos at one time, which reduces the waiting time for generating videos. At the same time, through the reasonable resource allocation of GPU and CPU, multi-channel data operations can still be performed smoothly at the same time, and the writing rate of recorded video can be modified by modifying the time of the recalled video data to prevent frame loss. phenomenon, thus effectively improving the efficiency, flexibility and reliability of video recording.
请参见图4,图4是本发明实施例提供的一种视频录制装置10的结构示意图。具体地,如图4所示,本发明实施例的所述视频录制装置10可以包括获取模块11以及录制模块12。其中,Please refer to FIG. 4 , which is a schematic structural diagram of a
所述获取模块11,用于获取拍摄设备在播放视频图像时的播放速率。The obtaining
所述获取模块11,还用于获取基于用户选择指令确定出的录制速率参数。The obtaining
具体地,在需要进行视频录制时,获取模块11可根据用户需求来确定该视频录制的录制速率参数。其中,该录制速率参数可以是具体的速率值,或者,该录制速率参数还可以是用于指示放慢录制速率或加快录制速率的速率变化值,等等,本发明实施例不做限定。Specifically, when video recording is required, the
所述录制模块12,用于基于所述获取模块11获取的所述播放速率和所述录制速率参数对所述视频图像进行录制。The
可选地,所述录制模块12可具体用于:Optionally, the
基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率;Calculate the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter;
按照所述写入速率对所述视频图像进行录制。The video image is recorded at the write rate.
具体地,在获取模块11确定出播放视频时的播放速率以及需求的录制速率参数之后,录制模块12即可基于该播放速率和该录制速率参数对视频图像进行录制,比如可基于该播放速率和该录制速率参数计算写入速率,以基于该写入速率写入视频数据,从而完成视频录制。其中,该播放速率可以与该拍摄设备的拍摄速率相匹配,从而可实现一边拍摄视频一边录制,拍摄完成即可录制完成,视频录制的灵活性及效率较高。Specifically, after the
可选地,所述录制模块12在基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率时,可具体用于:Optionally, when calculating the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter, the
当所述录制速率参数指示的录制模式确定为快速模式时,确定所述录制速率参数与所述播放速率的第一比值;When the recording mode indicated by the recording rate parameter is determined to be the fast mode, determining a first ratio between the recording rate parameter and the playback rate;
基于所述播放速率、所述快速模式和所述第一比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。A write rate is calculated based on the play rate, the fast mode and the first ratio, and the calculated write rate is used as the write rate of the video data corresponding to the video image.
具体地,当检测到用户选择的录制速率对应为快速模式,录制模块12则可获取该录制速率参数与该播放速率的倍数,即第一比值,并可基于该第一比值对录制的视频进行快动作处理并写入文件进行存储。Specifically, when it is detected that the recording rate selected by the user corresponds to the fast mode, the
可选地,所述录制模块12在基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率时,可具体用于:Optionally, when calculating the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter, the
当所述录制速率参数指示的录制模式确定为慢速模式时,确定所述播放速率与所述录制速率参数的第二比值;When the recording mode indicated by the recording rate parameter is determined to be the slow mode, determining a second ratio of the playback rate to the recording rate parameter;
基于所述播放速率、所述慢速模式和所述第二比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。A write rate is calculated based on the play rate, the slow mode and the second ratio, and the calculated write rate is used as the write rate of the video data corresponding to the video image.
具体地,当检测到用户选择的录制速率对应为慢速模式,录制模块12则可获取该播放速率与录制速率参数的倍数,即第二比值,并基于该第二比值对录制的视频进行慢动作处理并写入文件进行存储。Specifically, when it is detected that the recording rate selected by the user corresponds to the slow mode, the
进一步可选地,所述获取模块11在获取基于用户选择指令确定出的录制速率参数时,可具体用于:Further optionally, when the
获取所述拍摄设备的设备参数信息;obtain device parameter information of the shooting device;
基于所述设备参数信息确定出所述拍摄设备所支持的至少一组录制速率参数;determining at least one set of recording rate parameters supported by the shooting device based on the device parameter information;
显示包括所述至少一组录制速率参数的交互界面;displaying an interactive interface including the at least one set of recording rate parameters;
接收用户针对所述至少一组录制速率参数输入的选择指令,所述选择指令指示有确定出的录制速率参数。A selection instruction input by the user for the at least one set of recording rate parameters is received, and the selection instruction indicates that there are determined recording rate parameters.
进一步可选地,所述装置10还可包括:Further optionally, the
控制模块13,用于当接收到基于用户操作输入的速率更改指令时,暂停对所述视频图像的录制;a control module 13, configured to suspend the recording of the video image when receiving a rate change instruction input based on a user operation;
所述获取模块11,还可用于获取所述速率更改指令对应的新的录制速率参数;The
所述录制模块12,还可用于基于所述获取模块11获取的所述播放速率和所述新的录制速率参数对所述视频图像进行录制。The
在录制过程中,控制模块13还可检测是否接收到用于指示更改录制速率的速率更改指令,以便于在确认接收到用户更改指令时进行录制速率更改,从而实现对录制速率的灵活调整。其中,该速率更改指令中携带后更改后的录制速率信息,即新的录制速率参数。During the recording process, the control module 13 can also detect whether a rate change instruction for instructing to change the recording rate is received, so as to change the recording rate when it is confirmed that the user's change instruction is received, so as to realize flexible adjustment of the recording rate. The rate change instruction carries the changed recording rate information, that is, the new recording rate parameter.
进一步可选地,在一些实施例中,Further optionally, in some embodiments,
所述控制模块13,还可用于当检测到所述录制速率参数输入时,停止对所述视频图像进行录制。The control module 13 is further configured to stop recording the video image when the input of the recording rate parameter is detected.
具体地,控制模块13还可在检测到该录制速率参数输入或者拍摄设备暂停播放视频图像时,控制停止视频录制。Specifically, the control module 13 may also control to stop the video recording when detecting that the recording rate parameter is input or the photographing device pauses to play the video image.
进一步可选地,在一些实施例中,所述装置10还可包括:Further optionally, in some embodiments, the
跟踪模块14,用于基于所述视频图像进行对象跟踪;a
其中,所述对象跟踪所使用的线程、所述视频图像播放所使用的线程与所述视频图像录制所使用的线程可相互独立。Wherein, the thread used for the object tracking, the thread used for the video image playback, and the thread used for the video image recording may be independent of each other.
具体地,通过CPU或GPU的合理的资源分配处理以及多线程下的多路资源调度,则实现了同时显示视频、录制视频以及tracking,确保了录制速率的快速灵活切换,以及视频的快速合成。Specifically, through reasonable resource allocation processing by CPU or GPU and multi-channel resource scheduling under multi-threading, simultaneous video display, video recording, and tracking are realized, which ensures fast and flexible switching of recording rates and fast video synthesis.
在本发明实施例中,可通过获取拍摄设备在播放视频图像时的播放速率以及基于用户选择指令确定出的录制速率参数,以基于该播放速率和该录制速率参数对视频图像进行录制,使得能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。In the embodiment of the present invention, the video image can be recorded based on the playback rate and the recording rate parameter by acquiring the playback rate of the shooting device when playing the video image and the recording rate parameter determined based on the user's selection instruction, so that it is possible to record the video image based on the playback rate and the recording rate parameter. The video is recorded at the recording rate required by the user, thereby improving the recording efficiency and flexibility of the video.
本发明实施例还提供了一种计算机存储介质,该计算机存储介质中存储有程序指令,该程序指令执行时可包括如图1至图3对应实施例的视频录制方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, where program instructions are stored in the computer storage medium, and when the program instructions are executed, they may include some or all of the steps of the video recording method in the embodiments corresponding to FIGS. 1 to 3 .
请参见图5,图5是本发明实施例提供的一种拍摄设备的结构示意图。如图5所示,本发明实施例的所述拍摄设备1可包括视频录制装置10以及与该视频录制装置10连接的云台20。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a photographing device provided by an embodiment of the present invention. As shown in FIG. 5 , the photographing apparatus 1 in the embodiment of the present invention may include a
具体地,该视频录制装置10可参照上述图4对应实施例中的视频录制装置10的相关描述,此处不赘述。进一步地,通过该云台20可实现自动跟随所选目标,利用三轴增稳可过滤运动中的颠簸和抖动,利用三轴移动延时摄影等等功能,从而带来更具动感的视觉效果。Specifically, for the
再请参见图6,图6是本发明实施例提供的另一种拍摄设备的结构示意图,本发明实施例中的所述拍摄设备1可包括:通信接口300、存储器200和处理器100,所述处理器100分别与所述通信接口300及所述存储器200连接。Referring to FIG. 6 again, FIG. 6 is a schematic structural diagram of another photographing device provided by an embodiment of the present invention. The photographing device 1 in the embodiment of the present invention may include: a
所述通信接口300可包括标准的各种按键、触摸屏、摄像头、扬声器等,还可以包括有线接口、无线接口等。The
所述存储器200可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,简称RAM);存储器200也可以包括非易失性存储器(non-volatilememory),例如快闪存储器(flash memory)等;存储器200还可以包括上述种类的存储器的组合。存储器200可存储操作系统、至少一个功能所需的程序指令等。在本发明实施例中,该操作系统可以是Android系统、iOS系统或Windows操作系统等等。The
所述处理器100可以包括中央处理器(central processing unit,简称CPU)、图像处理器(graphics processing unit,简称GPU)。所述处理器100还可以进一步包括硬件芯片。硬件芯片可以是专用集成电路(application-specific integrated circuit,简称ASIC),可编程逻辑器件(programmable logic device,简称PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,简称CPLD),现场可编程逻辑门阵列(field-programmable gate array,简称FPGA)等。The
可选地,所述存储器200还用于存储程序指令。所述处理器100可以调用所述程序指令,实现如本申请图1至图3实施例中所示的视频录制方法。Optionally, the
具体地,所述处理器100可调用所述存储器200中存储的程序指令执行:Specifically, the
获取拍摄设备在播放视频图像时的播放速率;Get the playback rate of the shooting device when playing the video image;
获取基于用户选择指令确定出的录制速率参数;Obtain the recording rate parameter determined based on the user's selection instruction;
基于所述播放速率和所述录制速率参数对所述视频图像进行录制。The video image is recorded based on the playback rate and the recording rate parameter.
可选地,所述处理器100在执行所述基于所述播放速率和所述录制速率参数对所述视频图像进行录制时,具体执行以下步骤:Optionally, when performing the recording of the video image based on the playback rate and the recording rate parameter, the
基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率;Calculate the writing rate of the video data corresponding to the video image based on the playback rate and the recording rate parameter;
按照所述写入速率对所述视频图像进行录制。The video image is recorded at the write rate.
可选地,所述处理器100在执行所述基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率时,具体执行以下步骤:Optionally, when the
当所述录制速率参数指示的录制模式确定为快速模式时,确定所述录制速率参数与所述播放速率的第一比值;When the recording mode indicated by the recording rate parameter is determined to be the fast mode, determining a first ratio between the recording rate parameter and the playback rate;
基于所述播放速率、所述快速模式和所述第一比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。A write rate is calculated based on the play rate, the fast mode and the first ratio, and the calculated write rate is used as the write rate of the video data corresponding to the video image.
可选地,所述处理器100在执行所述基于所述播放速率和所述录制速率参数,计算所述视频图像对应的视频数据的写入速率时,具体执行以下步骤:Optionally, when the
当所述录制速率参数指示的录制模式确定为慢速模式时,确定所述播放速率与所述录制速率参数的第二比值;When the recording mode indicated by the recording rate parameter is determined to be the slow mode, determining a second ratio of the playback rate to the recording rate parameter;
基于所述播放速率、所述慢速模式和所述第二比值计算写入速率,并将计算得到的所述写入速率作为所述视频图像对应的视频数据的写入速率。A write rate is calculated based on the play rate, the slow mode and the second ratio, and the calculated write rate is used as the write rate of the video data corresponding to the video image.
可选地,所述处理器100在执行所述获取基于用户选择指令确定出的录制速率参数时,具体执行以下步骤:Optionally, when the
获取所述拍摄设备的设备参数信息;obtain device parameter information of the shooting device;
基于所述设备参数信息确定出所述拍摄设备所支持的至少一组录制速率参数;determining at least one set of recording rate parameters supported by the shooting device based on the device parameter information;
显示包括所述至少一组录制速率参数的交互界面;displaying an interactive interface including the at least one set of recording rate parameters;
通过所述通信接口300接收用户针对所述至少一组录制速率参数输入的选择指令,所述选择指令指示有确定出的录制速率参数。A selection instruction input by the user for the at least one set of recording rate parameters is received through the
可选地,所述处理器100还执行以下步骤:Optionally, the
通过所述通信接口300接收基于用户操作输入的速率更改指令;Receive a rate change instruction based on user operation input through the
响应所述速率更改指令,暂停对所述视频图像的录制,并获取所述速率更改指令对应的新的录制速率参数;In response to the rate change instruction, suspend the recording of the video image, and obtain a new recording rate parameter corresponding to the rate change instruction;
基于所述播放速率和所述新的录制速率参数对所述视频图像进行录制。The video image is recorded based on the playback rate and the new recording rate parameter.
可选地,所述处理器100还执行以下步骤:Optionally, the
当检测到所述录制速率参数输入时,停止对所述视频图像进行录制。When the input of the recording rate parameter is detected, the recording of the video image is stopped.
可选地,所述处理器100还执行以下步骤:Optionally, the
基于所述视频图像进行对象跟踪;object tracking based on the video image;
其中,所述对象跟踪所使用的线程、所述视频图像播放所使用的线程与所述视频图像录制所使用的线程相互独立。Wherein, the thread used for the object tracking, the thread used for the video image playback and the thread used for the video image recording are independent of each other.
在本发明实施例中,可通过获取拍摄设备在播放视频图像时的播放速率以及基于用户选择指令确定出的录制速率参数,以基于该播放速率和该录制速率参数对视频图像进行录制,使得能够按照用户需求的录制速率录制视频,从而提升了视频的录制效率及灵活性。In the embodiment of the present invention, the video image can be recorded based on the playback rate and the recording rate parameter by acquiring the playback rate of the shooting device when playing the video image and the recording rate parameter determined based on the user's selection instruction, so that it is possible to record the video image based on the playback rate and the recording rate parameter. The video is recorded at the recording rate required by the user, thereby improving the recording efficiency and flexibility of the video.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present invention. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the division of the above functional modules is used for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the apparatus described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (18)
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 CN108271432A (en) | 2018-07-10 |
| CN108271432B true CN108271432B (en) | 2020-12-29 |
Family
ID=62109056
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011435919.5A Withdrawn CN112584074A (en) | 2016-11-08 | 2016-11-08 | Video recording method and shooting equipment |
| CN201680061067.3A Expired - Fee Related CN108271432B (en) | 2016-11-08 | 2016-11-08 | Video recording method, device and shooting equipment |
Family Applications Before (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) | CN112584074A (en) |
| WO (1) | WO2018085982A1 (en) |
Families Citing this family (7)
| 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 |
| CN112653920B (en) * | 2020-12-18 | 2022-05-24 | 北京字跳网络技术有限公司 | Video processing method, device, equipment and storage medium |
| CN112686109B (en) * | 2020-12-22 | 2024-06-21 | 北京百度网讯科技有限公司 | Offline video file extraction method, device, electronic device and storage medium |
| CN113286106B (en) * | 2021-06-18 | 2023-04-25 | 深圳传音通讯有限公司 | Video recording method, mobile terminal and storage medium |
| CN113923392A (en) * | 2021-10-15 | 2022-01-11 | 维沃移动通信有限公司 | Video recording method, video recording device and electronic equipment |
Citations (6)
| 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 |
| 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 device and information processing method |
| 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 |
| CN102970542A (en) * | 2012-11-30 | 2013-03-13 | 上海晨思电子科技有限公司 | Video data conversion method and device and intelligent television |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8577205B2 (en) * | 1998-07-30 | 2013-11-05 | Tivo Inc. | Digital video recording system |
| AU2002353058A1 (en) * | 2001-12-03 | 2003-06-17 | Nnovia, Inc. | Apparatus and method for storing and retrieving digital real time signals in their native format |
| US9052386B2 (en) * | 2002-02-06 | 2015-06-09 | Nice Systems, Ltd | Method and apparatus for video frame sequence-based object tracking |
| US7260035B2 (en) * | 2003-06-20 | 2007-08-21 | Matsushita Electric Industrial Co., Ltd. | Recording/playback device |
| JP2009177531A (en) * | 2008-01-24 | 2009-08-06 | Panasonic Corp | Image recording apparatus, image reproducing apparatus, recording medium, image recording method, and program |
| CN102547192B (en) * | 2010-12-21 | 2017-12-29 | 新奥特(北京)视频技术有限公司 | A kind of method that fluid drive broadcasting and playback function are set to video image |
| CN102801942B (en) * | 2012-07-23 | 2016-05-11 | 小米科技有限责任公司 | The method and apparatus of a kind of recorded video and generation GIF Dynamic Graph |
| CN104539837A (en) * | 2014-11-28 | 2015-04-22 | 广东欧珀移动通信有限公司 | Method and device for recording variable-speed playback video |
| CN104660948B (en) * | 2015-03-09 | 2018-01-16 | 广东欧珀移动通信有限公司 | A kind of video recording method and device |
| CN104967803B (en) * | 2015-07-01 | 2018-01-19 | 广东欧珀移动通信有限公司 | A kind of video recording method and device |
| 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 |
-
2016
- 2016-11-08 CN CN202011435919.5A patent/CN112584074A/en not_active Withdrawn
- 2016-11-08 CN CN201680061067.3A patent/CN108271432B/en not_active Expired - Fee Related
- 2016-11-08 WO PCT/CN2016/105046 patent/WO2018085982A1/en not_active Ceased
Patent Citations (6)
| 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 |
| 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 device and information processing method |
| CN101466006A (en) * | 2009-01-05 | 2009-06-24 | 浙江大学 | Method for storing real-time data of video collection system |
| CN102970542A (en) * | 2012-11-30 | 2013-03-13 | 上海晨思电子科技有限公司 | Video data conversion method and device and intelligent television |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018085982A1 (en) | 2018-05-17 |
| CN112584074A (en) | 2021-03-30 |
| CN108271432A (en) | 2018-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108271432B (en) | Video recording method, device and shooting equipment | |
| US10447874B2 (en) | Display control device and display control method for automatic display of an image | |
| CN111066315B (en) | An apparatus, method, and readable medium configured to process and display image data | |
| CN108900902B (en) | Method, device, terminal equipment and storage medium for determining video background music | |
| KR101871364B1 (en) | Continuous video capture during switch between video capture devices | |
| EP3226537B1 (en) | Mobile terminal and method for controlling the same | |
| CN103248818B (en) | Image capture method and related image capture system | |
| KR102811359B1 (en) | Real-time video special effects system and method | |
| CN104967803B (en) | A kind of video recording method and device | |
| JP6321301B2 (en) | Video special effect processing method, apparatus, terminal device, program, and recording medium | |
| CN112653920B (en) | Video processing method, device, equipment and storage medium | |
| JP2021530146A (en) | Video recording methods, devices, terminal equipment and storage media | |
| US20160321833A1 (en) | Method and apparatus for generating moving photograph based on moving effect | |
| JP2023505347A (en) | Methods and Electronic Devices for Displaying Application Icons | |
| CN112714253B (en) | Video recording method and device, electronic equipment and readable storage medium | |
| KR20140067511A (en) | Photographing device for displaying image and methods thereof | |
| CN105847636A (en) | Video recording method and mobile terminal | |
| KR20180026216A (en) | Display apparatus and controlling method thereof | |
| US9888206B2 (en) | Image capturing control apparatus that enables easy recognition of changes in the length of shooting time and the length of playback time for respective settings, control method of the same, and storage medium | |
| WO2023134583A1 (en) | Video recording method and apparatus, and electronic device | |
| WO2022161268A1 (en) | Video photographing method and apparatus | |
| US11076121B2 (en) | Apparatus and associated methods for video presentation | |
| WO2013099704A1 (en) | Information processing device, information processing method, and program | |
| CN112954212B (en) | Video generation method, device and equipment | |
| KR101645427B1 (en) | Operation method of camera apparatus through user interface |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201229 |