WO2018133309A1 - Video recording method and device - Google Patents

Video recording method and device Download PDF

Info

Publication number
WO2018133309A1
WO2018133309A1 PCT/CN2017/088218 CN2017088218W WO2018133309A1 WO 2018133309 A1 WO2018133309 A1 WO 2018133309A1 CN 2017088218 W CN2017088218 W CN 2017088218W WO 2018133309 A1 WO2018133309 A1 WO 2018133309A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
control signal
information
recording
audio information
Prior art date
Application number
PCT/CN2017/088218
Other languages
French (fr)
Chinese (zh)
Inventor
钮晨霄
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018133309A1 publication Critical patent/WO2018133309A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234381Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a video recording method and apparatus.
  • the related art mobile electronic devices such as mobile phones, tablet computers, digital cameras, and the like all have shooting functions, and some of the shooting devices have functions such as slow motion shooting and time delay photography in addition to ordinary recording functions.
  • the above-mentioned shooting methods are relatively single when used, and cannot be switched to another mode, or other methods.
  • Embodiments of the present invention provide a video recording method and apparatus to at least solve the technical problem of more complicated operations when shooting high-level video in the related art.
  • a video recording method including: acquiring multimedia information generated by a terminal or preset; converting the multimedia information into a control signal in a video recording process according to a preset rule; The control signal records the video.
  • control signal is used to control at least one of the following parameters: an imaging frame rate and an imaging focal length.
  • the multimedia information includes one of the following: audio information, scene information.
  • acquiring the multimedia information generated by the terminal or preset includes at least one of the following: Receiving audio information collected by the microphone of the terminal; collecting audio information output by the audio player of the terminal in real time; parsing the pre-stored video to obtain scene information described by the pre-stored video; and parsing the image captured by the camera of the terminal to obtain corresponding information Scene information; parsing the preset mode to obtain scene information represented by the preset mode.
  • the method further includes: separately storing the scene picture recorded by the camera and the scene sound collected by the microphone; and resting the scene sound to an audio corresponding to a default frame rate. Data, synthesizing the scene picture and the audio data to generate video data.
  • converting the multimedia information into a control signal in a video recording process according to a preset rule comprises: converting the audio information into a digital rhythm signal; The signal is converted to the control signal.
  • recording a video according to the control signal includes: when recording a video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and according to The control signal corresponding to the rhythm of the audio information controls the frame rate of the video.
  • a video recording apparatus includes: an obtaining module configured to acquire multimedia information generated by a terminal or preset; and a conversion module configured to convert the multimedia information according to a preset rule A control signal during recording of the video; a recording module configured to record a video according to the control signal.
  • control signal is used to control at least one of the following parameters: an imaging frame rate and an imaging focal length.
  • the acquiring module includes at least one of: a receiving unit configured to receive audio information collected by a microphone of the terminal; and an acquiring unit configured to collect audio information output by the audio player of the terminal in real time; a parsing unit configured to pre-store the video to obtain the scene information described by the pre-stored video; the second parsing unit is configured to parse the preset mode to obtain the scene information represented by the preset mode; and the third parsing unit is configured to parse the The picture captured by the camera of the terminal is obtained with the corresponding scene information.
  • the converting module includes: a first converting unit configured to convert the audio information into a digital rhythm signal; and a second converting unit configured to set the digital rhythm The signal is converted to the control signal.
  • the recording module includes: a recording unit configured to control a focal length of the video according to a control signal corresponding to an amplitude of the audio information when recording a video, and according to The control signal corresponding to the rhythm of the audio information controls the frame rate of the video.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the multimedia information generated by the terminal or preset is acquired; the multimedia information is converted into a control signal in a video recording process according to a preset rule; and the video is recorded according to the control signal. Since the multimedia information is continuously controlled during the recording process of the video, thereby realizing a function that requires manual operation, the technical problem of more complicated operations when shooting high-level video in the related art can be solved, and the playability of the camera is improved.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of a video recording method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a video recording method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of a video recording apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a system according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a control manner according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of video output synthesis according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a system interaction method according to an embodiment of the present invention.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal of a video recording method according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the video recording method in the embodiment of the present invention, and the processor 102 executes various programs by running software programs and modules stored in the memory 104. Functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Above network Examples of networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a video recording method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 Acquire multimedia information generated by the terminal or preset.
  • Step S204 Convert the multimedia information into a control signal in the video recording process according to a preset rule
  • Step S206 recording a video according to the control signal.
  • the execution body of the foregoing steps may be a mobile phone, a tablet, a GoPro, a video recorder, etc., but is not limited thereto.
  • control signal is used to control at least one of the following parameters: camera frame rate, camera focus, resolution, focus, and other recording parameters that the camera can call.
  • the multimedia information includes one of the following: audio information, scene information, and instruction information.
  • Obtaining multimedia information generated by the terminal or preset includes at least one of the following methods:
  • the steps in this embodiment further include:
  • converting the multimedia information into the control signal in the video recording process according to the preset rule includes:
  • recording the video according to the control signal includes: when recording the video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and according to A control signal corresponding to the tempo of the audio information controls the frame rate of the video.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a video recording device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of a video recording apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • the obtaining module 30 is configured to acquire multimedia information generated by the terminal or preset;
  • the conversion module 32 is configured to convert the multimedia information into a control signal in a video recording process according to a preset rule
  • the recording module 34 is arranged to record a video according to the control signal.
  • control signal is used to control at least one of the following parameters: a camera frame rate and a camera focus.
  • the obtaining module includes at least one of the following units: a receiving unit configured to receive audio information collected by a microphone of the terminal; and an acquiring unit configured to collect audio information output by the audio player of the terminal in real time; the first analyzing unit, setting The scene information described in the pre-stored video is obtained for the pre-stored video; the second parsing unit is configured to parse the preset mode to obtain the scene information represented by the preset mode; and the third parsing unit is configured to parse the image captured by the camera of the terminal to obtain Corresponding scene information.
  • the converting module includes: a first converting unit configured to convert the audio information into a digital rhythm signal; and a second converting unit configured to convert the digital rhythm signal into a control signal.
  • the recording module includes: setting, when recording the video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and controlling according to a control signal corresponding to a tempo of the audio information The frame rate of the video.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the device applied in this embodiment may be any portable terminal device such as a mobile phone.
  • the video recording system includes a main control system module (corresponding to the video recording device in the above embodiment), a microphone module, a camera module, a music playing module, and a touch screen. Button user interaction module five parts.
  • the main control system module can read the audio information of the microphone module and the music playing module, and read the preset recording parameter template of the device; the microphone module is used to receive the external environment sound effect of the mobile phone and transmit it to the main control system to realize the external The input of the signal; the main function of the music playing module is to transmit the audio information to the main control system when playing the music to realize the identification of the internal signal; the main function of the touch screen button user interaction module is to provide the user with a customized mode.
  • the camera module receives the input signal of the main control system, and realizes the multi-variable and multi-variable video recording described by the device by controlling the real-time change of the camera frame rate and the focal length.
  • the recording mode of this embodiment can implement rich and varied video recording through various ways including but not limited to preset templates, custom parameters, external audio information, internal audio information, and the like.
  • the frame rate and the near-field change of the video recording are controlled by the varying signals in various ways. Due to the real-time change of the frame rate, it will realize the fast and slow change effect with rhythm change when it is played. It has high playability, entertainment and wide applicability, and provides a new automatic recording mode.
  • variable recording mode can be implemented in multiple manners.
  • the control system invokes the electrical signal to control the frame rate and focus variation of the video capture.
  • the terminal device microphone collects audio information such as external music, and converts the audio information into an electric control signal in real time, thereby realizing changing video recording.
  • the device manufacturer or the terminal software provider sets some fixed-change frame rate templates in advance, and the user realizes video recording by calling various built-in various scene recording templates. system. Or directly call the preset template by playing the recognized music.
  • the user can set the shooting change frequency on the basis of the preset template, and can also customize the template through the operation panel.
  • the system implements complex change shooting by calling these custom template data that was previously set.
  • FIG. 4 is a block diagram of a system structure according to an embodiment of the present invention. As shown in FIG. 4, a general framework of the entire system structure is shown.
  • the music module or the microphone module can directly convert the audio information into a digital rhythm signal and convert it into a control coding parameter by transmitting the audio information to the signal processing part of the main control system, and output it to the camera module to realize effective real-time. Control; also can recognize the music represented by the audio information, call the template parameters pre-made in the system to achieve recording control; or the main control system can call the custom video recording change rhythm parameter obtained based on the screen interactive interface, thereby achieving recording control.
  • this embodiment describes the specific implementation in two cases as an example.
  • FIG. 5 is a schematic diagram of a control mode according to an embodiment of the present invention. As shown in FIG. 5, by receiving and analyzing the melody rhythm feature and the intensity amplitude feature of the music, the control signal is obtained, and the recorded focal length change is controlled by the change of the music intensity. The speed of the melody rhythm changes to control the frame rate change during image recording.
  • the signal recognition method of melody speed and music amplitude the music amplitude is obtained by recognizing the maximum loudness of the audio information.
  • the melody length of the music is obtained by timing the intervals of the two maximum amplitudes.
  • Custom or preset templates can control recording by controlling data on the timeline. For example, it is stipulated on the time axis that shooting is performed at a low frame rate for certain periods of time and at a high frame rate for certain periods of time.
  • the terminal device plays the recorded video at a fixed frame rate, which will show a recording effect with real-time changes.
  • the audio information is separated, and the played music data is synthesized with the video data played at the normal frame rate, and finally the video data is derived.
  • FIG. 6 is a schematic diagram of video output synthesis according to an embodiment of the present invention. As shown in FIG. 6, a method for implementing post-video synthesis is described.
  • the following is a specific example to illustrate how the user can use the invention of the system to realize multi-variable video recording in a general scenario, and the terminal uses a mobile phone as an example.
  • a mobile phone is required to enter a shooting software, and a sliding change is selected to enter a multi-variable video recording.
  • the processing control system of the mobile phone has activated the camera and waits for the shooting control signal input;
  • the simple change template is used for shooting; when the user selects the custom option, the user will be allowed to adjust the default parameters to achieve the desired effect parameters and then shoot.
  • the user enters the change camera mode in the photo app.
  • the main interface prompts the user to use that mode.
  • the audio mode can be selected to use the software in the terminal, or the outdoor scene sound can be used for control. At that time, the user can receive the room. The sound played inside is recorded.
  • the system automatically recognizes the music and finds the matching preset template; or simply uses the fixed template to shoot, afterwards, the user can add his favorite music.
  • the time interval is measured in units of 2 seconds, 20 frames and 45 frames, and the final video is played at a speed of 30 frames.
  • the embodiment may further include the following solution:
  • Option 1 Recording a video and then post-processing the video recording mode.
  • This alternative solution enables recording of high frame rate video and post-processing of the video to achieve a converted recording effect.
  • the use of high frame rate is that if the normal frame rate is stretched, the effect of the video will be affected, so the full video uses a high frame rate, which can provide more post-processing space.
  • Option 2 A recording mode that can be implemented for manual fast zoom and variable frame control. Through the interactive interface of the terminal such as a mobile phone, real-time control of relevant shooting data in the case of recording enables multi-variation video recording.
  • This embodiment provides a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs to acquire multimedia information generated by the terminal or preset according to the stored program code in the storage medium
  • the processor performs, according to the stored program code in the storage medium, converting the multimedia information into a control signal in a video recording process according to a preset rule;
  • the processor performs recording of the video according to the control signal according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the video recording method and apparatus provided in this embodiment have the following beneficial effects: since the multimedia information is continuously controlled during the recording process of the video, thereby realizing functions that require manual operation, the related technology can be solved.
  • the operation of the high-level video is more complicated than the complicated technical problem, which improves the playability of the camera.

Landscapes

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

Abstract

Provided are a video recording method and device. The method comprises: acquiring multimedia information generated by a terminal or set in advance; converting, according to a preset rule, the multimedia information into a control signal for a video recording process; and recording a video according to the control signal. The present invention solves a technical problem in the prior art in which photographing a high-level video requires numerous complex operations, thereby increasing fun of operating a camera.

Description

视频录制方法及装置Video recording method and device 技术领域Technical field
本发明实施例涉及通信领域,具体而言,涉及一种视频录制方法及装置。Embodiments of the present invention relate to the field of communications, and in particular, to a video recording method and apparatus.
背景技术Background technique
相关技术中的移动电子设备如手机、平板电脑、数码相机等都具有拍摄功能,其中一些拍摄设备的除了普通录制的功能外还具有慢动作拍摄与延时摄影等功能。但是,上述的拍摄方式在使用时都比较单一,无法切换成别的方式,或者兼顾其他方式。The related art mobile electronic devices such as mobile phones, tablet computers, digital cameras, and the like all have shooting functions, and some of the shooting devices have functions such as slow motion shooting and time delay photography in addition to ordinary recording functions. However, the above-mentioned shooting methods are relatively single when used, and cannot be switched to another mode, or other methods.
这样直接导致的问题就是,如果设备使用者希望拍摄较为复杂的效果时会出现无能为力的情况,如果想拍摄出电视转播中的长远焦距变换效果,拍摄者必须具有非常高的技术水平和较好的设备。想在聚会、出游时拍摄出更有观赏性的娱乐视频将有很大困难,操作性极难。The direct problem caused by this is that if the device user wants to shoot more complicated effects, there will be a situation of powerlessness. If you want to take the long-distance focal length conversion effect in TV broadcast, the photographer must have a very high technical level and better. device. It is very difficult to take more entertaining entertainment videos during parties and outings, and it is extremely difficult to operate.
针对相关技术中存在的上述问题,目前尚未发现有效的解决方案。In view of the above problems in the related art, no effective solution has been found yet.
发明内容Summary of the invention
本发明实施例提供了一种视频录制方法及装置,以至少解决相关技术中拍摄高水平视频时操作多于复杂的技术问题。Embodiments of the present invention provide a video recording method and apparatus to at least solve the technical problem of more complicated operations when shooting high-level video in the related art.
根据本发明的一个实施例,提供了一种视频录制方法,包括:获取终端产生的或预设的多媒体信息;将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;根据所述控制信号录制视频。According to an embodiment of the present invention, a video recording method is provided, including: acquiring multimedia information generated by a terminal or preset; converting the multimedia information into a control signal in a video recording process according to a preset rule; The control signal records the video.
可选地,所述控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距。Optionally, the control signal is used to control at least one of the following parameters: an imaging frame rate and an imaging focal length.
可选地,所述多媒体信息包括以下之一:音频信息、场景信息。Optionally, the multimedia information includes one of the following: audio information, scene information.
可选地,获取终端产生的或预设的多媒体信息包括以下至少之一:接 收所述终端的麦克风采集的音频信息;采集所述终端的音频播放器实时输出的音频信息;解析预存视频得到预存视频所描述的场景信息;解析所述终端的摄像头拍摄得到的画面得到与其对应的场景信息;解析预设模式得到所述预设模式所表征的场景信息。Optionally, acquiring the multimedia information generated by the terminal or preset includes at least one of the following: Receiving audio information collected by the microphone of the terminal; collecting audio information output by the audio player of the terminal in real time; parsing the pre-stored video to obtain scene information described by the pre-stored video; and parsing the image captured by the camera of the terminal to obtain corresponding information Scene information; parsing the preset mode to obtain scene information represented by the preset mode.
可选地,在根据所述控制信号录制视频之后,所述方法还包括:将摄像头录制的场景画面和麦克风采集的场景声音分开存储;将所述场景声音还原成与缺省帧率对应的音频数据,将所述场景画面和所述音频数据合成生成视频数据。Optionally, after the video is recorded according to the control signal, the method further includes: separately storing the scene picture recorded by the camera and the scene sound collected by the microphone; and resting the scene sound to an audio corresponding to a default frame rate. Data, synthesizing the scene picture and the audio data to generate video data.
可选地,在所述多媒体信息为音频信息时,将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号包括:将所述音频信息转换成数字节奏信号;将所述数字节奏信号转变成所述控制信号。Optionally, when the multimedia information is audio information, converting the multimedia information into a control signal in a video recording process according to a preset rule comprises: converting the audio information into a digital rhythm signal; The signal is converted to the control signal.
可选地,在所述多媒体信息为音频信息时,根据所述控制信号录制视频包括:在录制视频时,根据与所述音频信息的振幅对应的控制信号控制视频的焦距,以及根据与所述音频信息的节奏对应的控制信号控制视频的帧率。Optionally, when the multimedia information is audio information, recording a video according to the control signal includes: when recording a video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and according to The control signal corresponding to the rhythm of the audio information controls the frame rate of the video.
根据本发明的另一个实施例,提供了一种视频录制装置,包括:获取模块,设置为获取终端产生的或预设的多媒体信息;转换模块,设置为将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;录制模块,设置为根据所述控制信号录制视频。According to another embodiment of the present invention, a video recording apparatus includes: an obtaining module configured to acquire multimedia information generated by a terminal or preset; and a conversion module configured to convert the multimedia information according to a preset rule A control signal during recording of the video; a recording module configured to record a video according to the control signal.
可选地,所述控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距。Optionally, the control signal is used to control at least one of the following parameters: an imaging frame rate and an imaging focal length.
可选地,所述获取模块包括以下至少之一:接收单元,设置为接收所述终端的麦克风采集的音频信息;采集单元,设置为采集所述终端的音频播放器实时输出的音频信息;第一解析单元,设置为预存视频得到预存视频所描述的场景信息;第二解析单元,设置为解析预设模式得到所述预设模式所表征的场景信息;第三解析单元,设置为解析所述终端的摄像头拍摄得到的画面得到与其对应的场景信息。 Optionally, the acquiring module includes at least one of: a receiving unit configured to receive audio information collected by a microphone of the terminal; and an acquiring unit configured to collect audio information output by the audio player of the terminal in real time; a parsing unit configured to pre-store the video to obtain the scene information described by the pre-stored video; the second parsing unit is configured to parse the preset mode to obtain the scene information represented by the preset mode; and the third parsing unit is configured to parse the The picture captured by the camera of the terminal is obtained with the corresponding scene information.
可选地,在所述多媒体信息为音频信息时,所述转换模块包括:第一转换单元,设置为将所述音频信息转换成数字节奏信号;第二转换单元,设置为将所述数字节奏信号转变成所述控制信号。Optionally, when the multimedia information is audio information, the converting module includes: a first converting unit configured to convert the audio information into a digital rhythm signal; and a second converting unit configured to set the digital rhythm The signal is converted to the control signal.
可选地,在所述多媒体信息为音频信息时,所述录制模块包括:录制单元,设置为在录制视频时,根据与所述音频信息的振幅对应的控制信号控制视频的焦距,以及根据与所述音频信息的节奏对应的控制信号控制视频的帧率。Optionally, when the multimedia information is audio information, the recording module includes: a recording unit configured to control a focal length of the video according to a control signal corresponding to an amplitude of the audio information when recording a video, and according to The control signal corresponding to the rhythm of the audio information controls the frame rate of the video.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
获取终端产生的或预设的多媒体信息;Obtaining multimedia information generated by the terminal or preset;
将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;Converting the multimedia information into a control signal in a video recording process according to a preset rule;
根据所述控制信号录制视频。Recording a video according to the control signal.
通过本发明实施例,获取终端产生的或预设的多媒体信息;将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;根据所述控制信号录制视频。由于通过多媒体信息在视频的录制过程中进行持续控制,从而实现需要手动操作才能执行的功能,可以解决相关技术中拍摄高水平视频时操作多于复杂的技术问题,提高了摄像头的可玩性。According to the embodiment of the present invention, the multimedia information generated by the terminal or preset is acquired; the multimedia information is converted into a control signal in a video recording process according to a preset rule; and the video is recorded according to the control signal. Since the multimedia information is continuously controlled during the recording process of the video, thereby realizing a function that requires manual operation, the technical problem of more complicated operations when shooting high-level video in the related art can be solved, and the playability of the camera is improved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是本发明实施例的一种视频录制方法的移动终端的硬件结构框图;1 is a block diagram showing the hardware structure of a mobile terminal of a video recording method according to an embodiment of the present invention;
图2是根据本发明实施例的视频录制方法的流程图;2 is a flowchart of a video recording method according to an embodiment of the present invention;
图3是根据本发明实施例的视频录制装置的结构框图;3 is a block diagram showing the structure of a video recording apparatus according to an embodiment of the present invention;
图4是本发明实施例的***结构框图; 4 is a block diagram showing the structure of a system according to an embodiment of the present invention;
图5是本发明实施例的控制方式示意图;FIG. 5 is a schematic diagram of a control manner according to an embodiment of the present invention; FIG.
图6是本发明实施例的视频输出合成示意图;6 is a schematic diagram of video output synthesis according to an embodiment of the present invention;
图7是本发明实施例的***交互方法示意图。FIG. 7 is a schematic diagram of a system interaction method according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种视频录制方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking a mobile terminal as an example, FIG. 1 is a hardware structural block diagram of a mobile terminal of a video recording method according to an embodiment of the present invention. As shown in FIG. 1, the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA). A memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的视频录制方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网 络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the video recording method in the embodiment of the present invention, and the processor 102 executes various programs by running software programs and modules stored in the memory 104. Functional application and data processing, that is, the above method is implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Above network Examples of networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 106 is for receiving or transmitting data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的视频录制方法,图2是根据本发明实施例的视频录制方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a video recording method running on the mobile terminal is provided. FIG. 2 is a flowchart of a video recording method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,获取终端产生的或预设的多媒体信息;Step S202: Acquire multimedia information generated by the terminal or preset.
步骤S204,将多媒体信息按照预设规则转换为视频录制过程中的控制信号;Step S204: Convert the multimedia information into a control signal in the video recording process according to a preset rule;
步骤S206,根据控制信号录制视频。Step S206, recording a video according to the control signal.
通过上述步骤,获取终端产生的或预设的多媒体信息;将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;根据所述控制信号录制视频。由于通过多媒体信息在视频的录制过程中进行持续控制,从而实现需要手动操作才能执行的功能,可以解决相关技术中拍摄高水平视频时操作多于复杂的技术问题,提高了摄像头的可玩性。Through the foregoing steps, acquiring multimedia information generated by the terminal or preset; converting the multimedia information into a control signal in a video recording process according to a preset rule; and recording a video according to the control signal. Since the multimedia information is continuously controlled during the recording process of the video, thereby realizing a function that requires manual operation, the technical problem of more complicated operations when shooting high-level video in the related art can be solved, and the playability of the camera is improved.
可选地,上述步骤的执行主体可以为手机、平板、运动相机GoPro,录像机等,但不限于此。Optionally, the execution body of the foregoing steps may be a mobile phone, a tablet, a GoPro, a video recorder, etc., but is not limited thereto.
在本实施例中,控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距、分辨率、对焦等相机可以调用的录像参数。In this embodiment, the control signal is used to control at least one of the following parameters: camera frame rate, camera focus, resolution, focus, and other recording parameters that the camera can call.
可选的,多媒体信息包括以下之一:音频信息、场景信息、指令信息。获取终端产生的或预设的多媒体信息包括以下方式至少之一: Optionally, the multimedia information includes one of the following: audio information, scene information, and instruction information. Obtaining multimedia information generated by the terminal or preset includes at least one of the following methods:
接收终端的麦克风采集的音频信息;Receiving audio information collected by the microphone of the terminal;
采集终端的音频播放器实时输出的音频信息;Acquiring audio information output by the audio player of the terminal in real time;
解析预存视频得到预存视频所描述的场景信息;Parsing the pre-stored video to obtain the scene information described by the pre-stored video;
解析终端的摄像头拍摄得到的画面得到与其对应的场景信息;Parsing the picture taken by the camera of the terminal to obtain scene information corresponding thereto;
解析预设模式得到预设模式所表征的场景信息。Parsing the preset mode to obtain the scene information represented by the preset mode.
可选的,在根据控制信号录制视频之后,本实施例的步骤还包括:Optionally, after the video is recorded according to the control signal, the steps in this embodiment further include:
S11,将摄像头录制的场景画面和麦克风采集的场景声音分开存储;S11, separately storing the scene picture recorded by the camera and the scene sound collected by the microphone;
S12,将场景声音还原成与缺省帧率对应的音频数据,将场景画面和音频数据合成生成视频数据。S12. Restore the scene sound to the audio data corresponding to the default frame rate, and combine the scene picture and the audio data to generate the video data.
在根据本实施例的一个可选实施方式中,在多媒体信息为音频信息时,将多媒体信息按照预设规则转换为视频录制过程中的控制信号包括:In an optional implementation manner of the embodiment, when the multimedia information is the audio information, converting the multimedia information into the control signal in the video recording process according to the preset rule includes:
S21,将音频信息转换成数字节奏信号;S21, converting audio information into a digital rhythm signal;
S22,将数字节奏信号转变成控制信号。S22, converting the digital rhythm signal into a control signal.
在根据本实施例的一个可选实施方式中,在多媒体信息为音频信息时,根据控制信号录制视频包括:在录制视频时,根据与音频信息的振幅对应的控制信号控制视频的焦距,以及根据与音频信息的节奏对应的控制信号控制视频的帧率。In an optional implementation manner of this embodiment, when the multimedia information is audio information, recording the video according to the control signal includes: when recording the video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and according to A control signal corresponding to the tempo of the audio information controls the frame rate of the video.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
实施例2 Example 2
在本实施例中还提供了一种视频录制装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a video recording device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的视频录制装置的结构框图,如图3所示,该装置包括:FIG. 3 is a structural block diagram of a video recording apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
获取模块30,设置为获取终端产生的或预设的多媒体信息;The obtaining module 30 is configured to acquire multimedia information generated by the terminal or preset;
转换模块32,设置为将多媒体信息按照预设规则转换为视频录制过程中的控制信号;The conversion module 32 is configured to convert the multimedia information into a control signal in a video recording process according to a preset rule;
录制模块34,设置为根据控制信号录制视频。The recording module 34 is arranged to record a video according to the control signal.
可选的,控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距。Optionally, the control signal is used to control at least one of the following parameters: a camera frame rate and a camera focus.
可选的,获取模块包括以下单元至少之一:接收单元,设置为接收终端的麦克风采集的音频信息;采集单元,设置为采集终端的音频播放器实时输出的音频信息;第一解析单元,设置为预存视频得到预存视频所描述的场景信息;第二解析单元,设置为解析预设模式得到预设模式所表征的场景信息;第三解析单元,设置为解析终端的摄像头拍摄得到的画面得到与其对应的场景信息。Optionally, the obtaining module includes at least one of the following units: a receiving unit configured to receive audio information collected by a microphone of the terminal; and an acquiring unit configured to collect audio information output by the audio player of the terminal in real time; the first analyzing unit, setting The scene information described in the pre-stored video is obtained for the pre-stored video; the second parsing unit is configured to parse the preset mode to obtain the scene information represented by the preset mode; and the third parsing unit is configured to parse the image captured by the camera of the terminal to obtain Corresponding scene information.
可选的,在多媒体信息为音频信息时,转换模块包括:第一转换单元,设置为将音频信息转换成数字节奏信号;第二转换单元,设置为将数字节奏信号转变成控制信号。Optionally, when the multimedia information is audio information, the converting module includes: a first converting unit configured to convert the audio information into a digital rhythm signal; and a second converting unit configured to convert the digital rhythm signal into a control signal.
可选的,在多媒体信息为音频信息时,录制模块包括:设置为在录制视频时,根据与音频信息的振幅对应的控制信号控制视频的焦距,以及根据与音频信息的节奏对应的控制信号控制视频的帧率。Optionally, when the multimedia information is audio information, the recording module includes: setting, when recording the video, controlling a focal length of the video according to a control signal corresponding to an amplitude of the audio information, and controlling according to a control signal corresponding to a tempo of the audio information The frame rate of the video.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。 It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例是可选实施例,用于结合具体的实例对本申请进行详细说明:This embodiment is an optional embodiment, and is used to describe the application in detail with reference to specific examples:
本实施例应用的装置可以为手机等一切携带式终端设备,视频录制***包括了主控制***模块(相当于上述实施例中的视频录制装置)、麦克风模块、摄像头模块、音乐播放模块和触屏按键用户交互模块五个部分。其中主控制***模块可以读取麦克风模块和音乐播放模块的音频信息,读取设备预设的变化录制参数模板等工作;麦克风模块用以接收手机外部环境音效并传输给主控制***,以实现外部信号的输入;音乐播放模块主要功能任务是在播放音乐时,将音频信息传输给主控制***,以实现内部信号的识别;触屏按键用户交互模块的主要功能是为用户提供了自定的模式设定;摄像头模块接收主控制***的输入信号,通过控制摄像帧率与焦距的实时变化实现本装置所描述的多功能多变化的视频录制。The device applied in this embodiment may be any portable terminal device such as a mobile phone. The video recording system includes a main control system module (corresponding to the video recording device in the above embodiment), a microphone module, a camera module, a music playing module, and a touch screen. Button user interaction module five parts. The main control system module can read the audio information of the microphone module and the music playing module, and read the preset recording parameter template of the device; the microphone module is used to receive the external environment sound effect of the mobile phone and transmit it to the main control system to realize the external The input of the signal; the main function of the music playing module is to transmit the audio information to the main control system when playing the music to realize the identification of the internal signal; the main function of the touch screen button user interaction module is to provide the user with a customized mode. Setting; the camera module receives the input signal of the main control system, and realizes the multi-variable and multi-variable video recording described by the device by controlling the real-time change of the camera frame rate and the focal length.
本实施例的录制模式,可通过多种途径(包括但不限于预设模板,自定义参数,外部音频信息,内部音频信息等)实现丰富多变的视频录制。在该视频录制模式下,通过各类途径属于变化信号从而控制视频录制的帧率与远近景变化。由于帧率的实时变化,当对其播放时会实现带有节奏变化的快慢变化效果,具有很高的可玩性,娱乐性与广泛的适用性,提供了一种全新的自动录制模式。The recording mode of this embodiment can implement rich and varied video recording through various ways including but not limited to preset templates, custom parameters, external audio information, internal audio information, and the like. In this video recording mode, the frame rate and the near-field change of the video recording are controlled by the varying signals in various ways. Due to the real-time change of the frame rate, it will realize the fast and slow change effect with rhythm change when it is played. It has high playability, entertainment and wide applicability, and provides a new automatic recording mode.
本实施例的技术方案实现容易,应用场景广泛,可通过多种方式实现多变的录制模式,下面进行举例说明:The technical solution of the embodiment is easy to implement, and the application scenarios are wide. The variable recording mode can be implemented in multiple manners.
利用终端播放的音乐信号。通过将音乐信号处理成电控制信号,控制***调用电信号来控制视频拍摄的帧率与焦距变化。Use the music signal played by the terminal. By processing the music signal into an electrical control signal, the control system invokes the electrical signal to control the frame rate and focus variation of the video capture.
利用麦克风获取外部音频信息。终端设备麦克风采集外部音乐等音频信息,实时将音频信息转换为电控制信号,从而实现变化的视频录制。Use the microphone to get external audio information. The terminal device microphone collects audio information such as external music, and converts the audio information into an electric control signal in real time, thereby realizing changing video recording.
利用预设控制模板。设备制造商或者终端软件供应商事先设定一些固定变化帧率模板,用户通过调用内置的各类场景录像模板以实现视频录 制。或通过识别的播放音乐,直接调用预设模板。Use preset control templates. The device manufacturer or the terminal software provider sets some fixed-change frame rate templates in advance, and the user realizes video recording by calling various built-in various scene recording templates. system. Or directly call the preset template by playing the recognized music.
利用自定义模板。用户可以在预设模板的基础上,自行设定拍摄变化频率,也可并通过操作面板纯自定义模板。***通过调用这些事前设定好的自定义模板数据以实现复杂的变化拍摄。Take advantage of custom templates. The user can set the shooting change frequency on the basis of the preset template, and can also customize the template through the operation panel. The system implements complex change shooting by calling these custom template data that was previously set.
***结构实施例System structure embodiment
本实施例提供了一种全新的终端录制设备方案,图4是本发明实施例的***结构框图,如图4所示,展示了整个***结构的大体框架。音乐模组或者麦克风模组通过将音频信息传输到主控制***的信号处理部分,可直接通过实时计算,将音频信息转换成数字节奏信号进而转变成控制编码参数,输出到摄像头模组实现有效实时控制;也可通过识别音频信息表示的音乐,调用***内对该音乐预制的模板参数,实现录制控制;或者主控***可调用基于屏幕交互界面获取的自定义视频录制变化节奏参数,进而实现录制控制。This embodiment provides a new terminal recording device solution. FIG. 4 is a block diagram of a system structure according to an embodiment of the present invention. As shown in FIG. 4, a general framework of the entire system structure is shown. The music module or the microphone module can directly convert the audio information into a digital rhythm signal and convert it into a control coding parameter by transmitting the audio information to the signal processing part of the main control system, and output it to the camera module to realize effective real-time. Control; also can recognize the music represented by the audio information, call the template parameters pre-made in the system to achieve recording control; or the main control system can call the custom video recording change rhythm parameter obtained based on the screen interactive interface, thereby achieving recording control.
控制方式实施例Control mode embodiment
为了解释具体的控制实现方式,本实施例阐述了两种情况下的具体实现为例进行阐述In order to explain the specific control implementation manner, this embodiment describes the specific implementation in two cases as an example.
1.选用音频模组对录制过程实现控制1. Select audio module to control the recording process
已知,音乐的基本元素包括音的高低、音的长短、音的强弱和音色。通过这些基本元素,从而形成一首歌的节奏,曲调,旋律等。图5是本发明实施例的控制方式示意图,如题图5所示,通过接收并分析音乐的旋律节奏特征与强度振幅特征,处理获得控制信号,通过音乐强弱的变化控制录制的焦距变化,通过旋律节奏的快慢变化来控制图像录制时的帧率变化。It is known that the basic elements of music include the level of the sound, the length of the sound, the strength of the sound, and the tone. Through these basic elements, the rhythm, tune, melody, etc. of a song are formed. FIG. 5 is a schematic diagram of a control mode according to an embodiment of the present invention. As shown in FIG. 5, by receiving and analyzing the melody rhythm feature and the intensity amplitude feature of the music, the control signal is obtained, and the recorded focal length change is controlled by the change of the music intensity. The speed of the melody rhythm changes to control the frame rate change during image recording.
旋律快慢和音乐振幅的信号识别方式:通过对音频信息最大响度的识别,获取音乐振幅。通过对两个最大振幅的间隔进行计时从而获取音乐的旋律长度。The signal recognition method of melody speed and music amplitude: the music amplitude is obtained by recognizing the maximum loudness of the audio information. The melody length of the music is obtained by timing the intervals of the two maximum amplitudes.
2.选用模板参数对录制过程进行控制 2. Use the template parameters to control the recording process
自定义或者预设模板可以通过对时间轴的控制数据对录制进行控制。例如,在时间轴上规定,在某些时间段利用低帧率拍摄,在某些时间段利用高帧率拍摄。Custom or preset templates can control recording by controlling data on the timeline. For example, it is stipulated on the time axis that shooting is performed at a low frame rate for certain periods of time and at a high frame rate for certain periods of time.
最终,在录制完成后,终端设备通过固定帧率播放录制的视频,展现出的将是具有实时变化的录制效果。Eventually, after the recording is completed, the terminal device plays the recorded video at a fixed frame rate, which will show a recording effect with real-time changes.
视频输出合成实施例Video output synthesis embodiment
由于在录制时使用变化的帧率录制,如果同步利用变化帧率来录制场景声音,最终呈现的音效将非常不好。因此,在最终视频合成过程中,将音频信息独立出来,将播放的音乐数据与正常帧率播放的视频数据进行合成,最终导出视频数据。Since recording is performed at a variable frame rate while recording, if the scene sound is recorded using the varying frame rate in synchronization, the resulting sound will be very bad. Therefore, in the final video synthesis process, the audio information is separated, and the played music data is synthesized with the video data played at the normal frame rate, and finally the video data is derived.
图6是本发明实施例的视频输出合成示意图,如图6所示,描述了后期视频合成的实现方法。FIG. 6 is a schematic diagram of video output synthesis according to an embodiment of the present invention. As shown in FIG. 6, a method for implementing post-video synthesis is described.
***交互方法实施例System interaction method embodiment
以下以一个具体事例来说明用户在一般场景下如何利用本***的发明实现多变化的视频录制,终端则以手机为例。The following is a specific example to illustrate how the user can use the invention of the system to realize multi-variable video recording in a general scenario, and the terminal uses a mobile phone as an example.
图7是本发明实施例的***交互方法示意图,首先,需要手机进入拍摄软件中,通过滑动选择进入多变化的视频录制,此时手机的处理控制***已经激活摄像头,并等待拍摄控制信号输入;在用户界面上有4个选择项,“自定义”、“模板”、“音频控制”、“麦克风(即外部音频控制)”;当用户选择音频模式,如果此时手机已经打开了音乐软件将可以直接进入变化录制,否则将跳转进音乐软件界面点击播放再返回开始录制;当用户选择外部音频模式,将打开麦克风接收周边的环境音效实现录制;当用户选择默认模式,将调用***自带的简单变化模板进行拍摄;当用户选择自定义选项,将允许用户对默认参数进行调节达到自己需要的效果参数再进行拍摄。7 is a schematic diagram of a system interaction method according to an embodiment of the present invention. First, a mobile phone is required to enter a shooting software, and a sliding change is selected to enter a multi-variable video recording. At this time, the processing control system of the mobile phone has activated the camera and waits for the shooting control signal input; There are 4 options on the user interface, "custom", "template", "audio control", "microphone (ie external audio control)"; when the user selects the audio mode, if the phone has already opened the music software You can directly enter the change recording, otherwise it will jump into the music software interface, click play and then return to start recording; when the user selects the external audio mode, the microphone will be turned on to receive the surrounding ambient sound effect for recording; when the user selects the default mode, the system will be called. The simple change template is used for shooting; when the user selects the custom option, the user will be allowed to adjust the default parameters to achieve the desired effect parameters and then shoot.
应用场景实施例Application scenario
在播放音乐的情况下使用 Use when playing music
用户在拍照APP中进入变化摄像模式,主界面会提示用户使用那种模式,音频模式,可以选择使用自己终端内不放的软件,也可以选择使用室外场景音效进行控制,那个时候可以通过接收房间内播放的音效进行录制。The user enters the change camera mode in the photo app. The main interface prompts the user to use that mode. The audio mode can be selected to use the software in the terminal, or the outdoor scene sound can be used for control. At that time, the user can receive the room. The sound played inside is recorded.
使用预设模板拍摄Shoot with preset templates
利用预设模板又可以有两种情况实现:在播放音乐时,***自动识别音乐,找到相匹配的预设模板;或者单纯利用固定模板拍摄,事后,使用者可以添加上自己喜欢的音乐。With the preset template, there are two situations: when playing music, the system automatically recognizes the music and finds the matching preset template; or simply uses the fixed template to shoot, afterwards, the user can add his favorite music.
利用自定义方法进行变化视频录制Custom video recording with custom methods
假设需要拍摄一个例如好莱坞大片英雄登场的快慢镜头切换的场景,只需要在自定义模式下设定录制的时间轴帧率是快慢间隔的。例如,时间间隔以2秒为单位,20帧和45帧间隔进行拍摄,最终视频通过30帧的速度进行播放。Suppose you need to shoot a scene such as a Hollywood blockbuster's fast and slow shot switching. You only need to set the recorded timeline frame rate in the custom mode to be fast and slow. For example, the time interval is measured in units of 2 seconds, 20 frames and 45 frames, and the final video is played at a speed of 30 frames.
可选的,本实施例还可以包括以下方案,方案1:录制视频再后期处理的视频录制模式。这个替代方案,可以实现录制高帧率的视频,通过对该视频的后期处理,实现变换的录制效果。高帧率的用处在于,正常帧率被拉伸的话,视频的效果会受到影响,因此全视频都利用高帧率,可以提供更多的后期处理空间。方案2:一种可以实施进行手动快速变焦与变帧控制的录制模式。通过手机等终端的交互界面,在录制情况下实时调控相关拍摄数据实现多变化的视频录制。Optionally, the embodiment may further include the following solution: Option 1: Recording a video and then post-processing the video recording mode. This alternative solution enables recording of high frame rate video and post-processing of the video to achieve a converted recording effect. The use of high frame rate is that if the normal frame rate is stretched, the effect of the video will be affected, so the full video uses a high frame rate, which can provide more post-processing space. Option 2: A recording mode that can be implemented for manual fast zoom and variable frame control. Through the interactive interface of the terminal such as a mobile phone, real-time control of relevant shooting data in the case of recording enables multi-variation video recording.
实施例4Example 4
本实施例提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:This embodiment provides a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取终端产生的或预设的多媒体信息;S1. Acquire multimedia information generated by the terminal or preset.
S2,将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号; S2, converting the multimedia information into a control signal in a video recording process according to a preset rule;
S3,根据所述控制信号录制视频。S3. Record a video according to the control signal.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行获取终端产生的或预设的多媒体信息;Optionally, in this embodiment, the processor performs to acquire multimedia information generated by the terminal or preset according to the stored program code in the storage medium;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, converting the multimedia information into a control signal in a video recording process according to a preset rule;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行根据所述控制信号录制视频。Optionally, in this embodiment, the processor performs recording of the video according to the control signal according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
如上所述,本实施例提供的一种视频录制方法及装置,具有以下有益效果:由于通过多媒体信息在视频的录制过程中进行持续控制,从而实现需要手动操作才能执行的功能,可以解决相关技术中拍摄高水平视频时操作多于复杂的技术问题,提高了摄像头的可玩性。 As described above, the video recording method and apparatus provided in this embodiment have the following beneficial effects: since the multimedia information is continuously controlled during the recording process of the video, thereby realizing functions that require manual operation, the related technology can be solved. The operation of the high-level video is more complicated than the complicated technical problem, which improves the playability of the camera.

Claims (12)

  1. 一种视频录制方法,包括:A video recording method, including:
    获取终端产生的或预设的多媒体信息;Obtaining multimedia information generated by the terminal or preset;
    将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;Converting the multimedia information into a control signal in a video recording process according to a preset rule;
    根据所述控制信号录制视频。Recording a video according to the control signal.
  2. 根据权利要求1所述的方法,其中,所述控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距。The method of claim 1, wherein the control signal is for controlling at least one of the following parameters: an imaging frame rate, an imaging focal length.
  3. 根据权利要求1所述的方法,其中,所述多媒体信息包括以下之一:音频信息、场景信息。The method of claim 1, wherein the multimedia information comprises one of: audio information, scene information.
  4. 根据权利要求3所述的方法,其中,获取终端产生的或预设的多媒体信息包括以下至少之一:The method according to claim 3, wherein the acquiring the multimedia information generated by the terminal or preset comprises at least one of the following:
    接收所述终端的麦克风采集的音频信息;Receiving audio information collected by a microphone of the terminal;
    采集所述终端的音频播放器实时输出的音频信息;Acquiring audio information output by the audio player of the terminal in real time;
    解析预存视频得到预存视频所描述的场景信息;Parsing the pre-stored video to obtain the scene information described by the pre-stored video;
    解析所述终端的摄像头拍摄得到的画面得到与其对应的场景信息;Parsing the picture captured by the camera of the terminal to obtain scene information corresponding thereto;
    解析预设模式得到所述预设模式所表征的场景信息。Parsing the preset mode to obtain scene information represented by the preset mode.
  5. 根据权利要求1所述的方法,其中,在根据所述控制信号录制视频之后,所述方法还包括:The method of claim 1, wherein after recording the video according to the control signal, the method further comprises:
    将摄像头录制的场景画面和麦克风采集的场景声音分开存储;Separate the scene picture recorded by the camera and the scene sound collected by the microphone;
    将所述场景声音还原成与缺省帧率对应的音频数据,将所述场景画面和所述音频数据合成生成视频数据。 The scene sound is restored to audio data corresponding to a default frame rate, and the scene picture and the audio data are combined to generate video data.
  6. 根据权利要求3所述的方法,其中,在所述多媒体信息为音频信息时,将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号包括:The method according to claim 3, wherein when the multimedia information is audio information, converting the multimedia information into a control signal in a video recording process according to a preset rule comprises:
    将所述音频信息转换成数字节奏信号;Converting the audio information into a digital rhythm signal;
    将所述数字节奏信号转变成所述控制信号。Converting the digital rhythm signal to the control signal.
  7. 根据权利要求3所述的方法,其中,在所述多媒体信息为音频信息时,根据所述控制信号录制视频包括:The method according to claim 3, wherein when the multimedia information is audio information, recording a video according to the control signal comprises:
    在录制视频时,根据与所述音频信息的振幅对应的控制信号控制视频的焦距,以及根据与所述音频信息的节奏对应的控制信号控制视频的帧率。At the time of recording the video, the focal length of the video is controlled according to a control signal corresponding to the amplitude of the audio information, and the frame rate of the video is controlled according to a control signal corresponding to the tempo of the audio information.
  8. 一种视频录制装置,包括:A video recording device comprising:
    获取模块,设置为获取终端产生的或预设的多媒体信息;Obtaining a module, configured to acquire multimedia information generated by the terminal or preset;
    转换模块,设置为将所述多媒体信息按照预设规则转换为视频录制过程中的控制信号;a conversion module, configured to convert the multimedia information into a control signal during a video recording process according to a preset rule;
    录制模块,设置为根据所述控制信号录制视频。A recording module is configured to record a video according to the control signal.
  9. 根据权利要求8所述的装置,其中,所述控制信号用于控制以下参数至少之一:摄像帧率、摄像焦距。The apparatus of claim 8, wherein the control signal is for controlling at least one of the following parameters: an imaging frame rate, an imaging focal length.
  10. 根据权利要求8所述的装置,其中,所述获取模块包括以下至少之一:The apparatus of claim 8, wherein the acquisition module comprises at least one of:
    接收单元,设置为接收所述终端的麦克风采集的音频信息;a receiving unit, configured to receive audio information collected by a microphone of the terminal;
    采集单元,设置为采集所述终端的音频播放器实时输出的音频信息;The collecting unit is configured to collect audio information output by the audio player of the terminal in real time;
    第一解析单元,设置为预存视频得到预存视频所描述的场景信息; a first parsing unit configured to pre-store the video to obtain scene information described by the pre-stored video;
    第二解析单元,设置为解析预设模式得到所述预设模式所表征的场景信息;a second parsing unit, configured to parse the preset mode to obtain scene information represented by the preset mode;
    第三解析单元,设置为解析所述终端的摄像头拍摄得到的画面得到与其对应的场景信息。The third analyzing unit is configured to analyze the picture captured by the camera of the terminal to obtain scene information corresponding thereto.
  11. 根据权利要求8所述的装置,其中,在所述多媒体信息为音频信息时,所述转换模块包括:The apparatus according to claim 8, wherein when the multimedia information is audio information, the converting module comprises:
    第一转换单元,设置为将所述音频信息转换成数字节奏信号;a first conversion unit configured to convert the audio information into a digital rhythm signal;
    第二转换单元,设置为将所述数字节奏信号转变成所述控制信号。A second conversion unit is configured to convert the digital rhythm signal into the control signal.
  12. 根据权利要求8所述的装置,其中,在所述多媒体信息为音频信息时,所述录制模块包括:The apparatus according to claim 8, wherein when the multimedia information is audio information, the recording module comprises:
    录制单元,设置为在录制视频时,根据与所述音频信息的振幅对应的控制信号控制视频的焦距,以及根据与所述音频信息的节奏对应的控制信号控制视频的帧率。 The recording unit is configured to, when the video is recorded, control a focal length of the video according to a control signal corresponding to the amplitude of the audio information, and control a frame rate of the video according to a control signal corresponding to a tempo of the audio information.
PCT/CN2017/088218 2017-01-17 2017-06-14 Video recording method and device WO2018133309A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710036328.2A CN108322638A (en) 2017-01-17 2017-01-17 Video recording method and device
CN201710036328.2 2017-01-17

Publications (1)

Publication Number Publication Date
WO2018133309A1 true WO2018133309A1 (en) 2018-07-26

Family

ID=62891678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088218 WO2018133309A1 (en) 2017-01-17 2017-06-14 Video recording method and device

Country Status (2)

Country Link
CN (1) CN108322638A (en)
WO (1) WO2018133309A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672836A (en) * 2018-12-28 2019-04-23 黑龙江工业学院 A kind of English study computer recording apparatus
CN116668763A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379643B (en) * 2018-11-21 2020-06-09 北京达佳互联信息技术有限公司 Video synthesis method, device, terminal and storage medium
CN109819171A (en) * 2019-02-26 2019-05-28 维沃移动通信有限公司 A kind of video capture method and terminal device
CN112188099B (en) * 2020-09-29 2022-07-01 咪咕文化科技有限公司 Video shooting control method, communication device and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110150428A1 (en) * 2009-12-22 2011-06-23 Sony Corporation Image/video data editing apparatus and method for editing image/video data
CN103338345A (en) * 2013-06-09 2013-10-02 福建星网视易信息***有限公司 Method for shooting images or videos in singing and device applying same
CN103873923A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Video processing method and system
CN106060609A (en) * 2016-05-31 2016-10-26 腾讯科技(深圳)有限公司 Method and device for acquiring picture

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640057A (en) * 2009-05-31 2010-02-03 北京中星微电子有限公司 Audio and video matching method and device therefor
CN103780843A (en) * 2014-03-03 2014-05-07 联想(北京)有限公司 Image processing method and electronic device
JP2016111386A (en) * 2014-12-02 2016-06-20 キヤノン株式会社 Control method of video editing device, video editing device, video editing method, computer program, and storing medium
CN105611252B (en) * 2015-12-31 2019-05-24 浙江大华技术股份有限公司 A kind of kinescope method and equipment of video
CN106131475A (en) * 2016-07-28 2016-11-16 努比亚技术有限公司 A kind of method for processing video frequency, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110150428A1 (en) * 2009-12-22 2011-06-23 Sony Corporation Image/video data editing apparatus and method for editing image/video data
CN103873923A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Video processing method and system
CN103338345A (en) * 2013-06-09 2013-10-02 福建星网视易信息***有限公司 Method for shooting images or videos in singing and device applying same
CN106060609A (en) * 2016-05-31 2016-10-26 腾讯科技(深圳)有限公司 Method and device for acquiring picture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672836A (en) * 2018-12-28 2019-04-23 黑龙江工业学院 A kind of English study computer recording apparatus
CN116668763A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device
CN116668763B (en) * 2022-11-10 2024-04-19 荣耀终端有限公司 Screen recording method and device

Also Published As

Publication number Publication date
CN108322638A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
WO2018133309A1 (en) Video recording method and device
US9124860B2 (en) Storing a video summary as metadata
US8432965B2 (en) Efficient method for assembling key video snippets to form a video summary
US8446490B2 (en) Video capture system producing a video summary
CN105323527B (en) For when video shift exposure metering system and method
CN102845076A (en) Display apparatus, control apparatus, television receiver, method of controlling display apparatus, program, and recording medium
CN101621618A (en) Imaging device
WO2018014518A1 (en) Photographing processing method and apparatus
WO2017157135A1 (en) Media information processing method, media information processing device and storage medium
CN107509021B (en) Shooting method, shooting device and storage medium
JP2012100216A (en) Camera and moving image capturing program
CN113643728A (en) Audio recording method, electronic device, medium, and program product
JP2023554470A (en) Video processing methods, devices, equipment, storage media, and computer program products
KR20120040816A (en) Operating method for file synthesis and portable device supporting the same
KR20100041108A (en) Moving picture continuous capturing method using udta information and portable device supporting the same
JP7219049B2 (en) Information acquisition device and information acquisition method
WO2023231686A9 (en) Video processing method and terminal
CN110225279A (en) A kind of video production system and video creating method of mobile terminal
JP6229356B2 (en) Imaging apparatus, imaging method, and program
US20080124049A1 (en) Method for eliminating noise of a motor
CN115209209A (en) Method for recording and distributing professional audio short video by mobile phone on performance site
JP5283433B2 (en) Digital still camera, image processing method and program
KR101464532B1 (en) Digital image processing apparatus and method for controlling the same
CN111083312B (en) Studio system and program video production method and device
KR102166331B1 (en) Method and device for quick changing to playback mode

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17892502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17892502

Country of ref document: EP

Kind code of ref document: A1