CN112367487B - Video recording method and electronic equipment - Google Patents

Video recording method and electronic equipment Download PDF

Info

Publication number
CN112367487B
CN112367487B CN202011198199.5A CN202011198199A CN112367487B CN 112367487 B CN112367487 B CN 112367487B CN 202011198199 A CN202011198199 A CN 202011198199A CN 112367487 B CN112367487 B CN 112367487B
Authority
CN
China
Prior art keywords
recording
reference line
target
video
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011198199.5A
Other languages
Chinese (zh)
Other versions
CN112367487A (en
Inventor
马明月
肖旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011198199.5A priority Critical patent/CN112367487B/en
Publication of CN112367487A publication Critical patent/CN112367487A/en
Application granted granted Critical
Publication of CN112367487B publication Critical patent/CN112367487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • 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/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a video recording method, and belongs to the technical field of communication. The method comprises the following steps: determining a recording reference line corresponding to a target video to be recorded, wherein the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, and each segment corresponds to a preset recording parameter; displaying the recording reference line in a recording interface of recording equipment to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line; and when the moving path of the recording equipment is determined to be matched with the target segment in the recording reference line, recording a target video according to a preset recording parameter corresponding to the target segment. According to the method and the device, the video recording parameters are dynamically changed according to the recording reference line in the video recording process, the recorded video is processed through post-processing after the video recording is finished, the video processing process is simplified, and the video processing efficiency is improved.

Description

Video recording method and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video recording method and electronic equipment.
Background
With the popularization of various short video applications, more and more users record life or display creative content in a video recording mode.
Generally, after the user finishes recording, the recorded video is edited, and a video special effect is added, so that the display effect of the video is improved.
However, in the current video recording method, a user can only perform corresponding processing on each frame of image in the recorded video in the post-processing process, which is tedious.
Disclosure of Invention
The embodiment of the application aims to provide a video recording method, which can solve the problem that the video processing process is complicated in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video recording method, where the method includes:
determining a recording reference line corresponding to a target video to be recorded, wherein the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, and each segment corresponds to a preset recording parameter;
displaying the recording reference line in a recording interface of recording equipment to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line;
and when the moving path of the recording equipment is determined to be matched with the target segment in the recording reference line, recording a target video according to a preset recording parameter corresponding to the target segment.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the device comprises a recording reference line determining module, a recording reference line determining module and a recording reference line determining module, wherein the recording reference line is used for determining a recording reference line corresponding to a target video to be recorded, the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, and each segment corresponds to a preset recording parameter;
the recording reference line display module is used for displaying the recording reference line in a recording interface of the recording equipment so as to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line;
and the video recording module is used for recording a target video according to preset recording parameters corresponding to the target segment when the moving path of the recording equipment is matched with the target segment in the recording reference line.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the recording reference line corresponding to the preset shooting path is set for the target video to be recorded, the recording reference line is displayed in the recording interface of the recording equipment, so that a user is prompted to move the recording equipment according to the preset shooting path corresponding to the recording reference line, and when the moving path of the recording equipment is matched with the target segment on the recording reference line, the target video is recorded according to the preset recording parameter corresponding to the target segment, so that the video recording parameters are dynamically changed according to the recording reference line in the video recording process, the recorded video is processed through post-processing after the video recording is finished, the video processing process is simplified, and the video processing efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating specific steps of a video recording method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating specific steps of a video recording method according to a second embodiment of the present application;
fig. 3 is a schematic view of a recording parameter setting interface of a recording apparatus according to a second embodiment of the present application;
fig. 4 is a schematic view of a recording parameter setting interface of a recording device according to a second embodiment of the present application;
fig. 5 is a structural diagram of a video recording apparatus according to a third embodiment of the present application;
fig. 6 is a structural diagram of a video recording apparatus according to a fourth embodiment of the present application;
fig. 7 is a structural diagram of an electronic device according to a fifth embodiment of the present application;
fig. 8 is a schematic hardware structure diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it should be understood that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any inventive effort, shall fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced otherwise than as shown or described herein and the terms "first," "second," and the like are used generically and do not limit the number of terms to which they may be applied, e.g., the first term may refer to one or more than one term. Further, in the specification and claims, "and/or" means at least one of the connected objects, the character "/" generally means a relationship that preceding and succeeding related objects are an "or".
The following describes in detail a video recording method and a video recording apparatus provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Example one
Referring to fig. 1, specific steps of a video recording method according to an embodiment of the present application are shown.
Step 101, determining a recording reference line corresponding to a target video to be recorded, wherein the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, and each segment corresponds to a preset recording parameter.
The preset recording parameters comprise any one or more of a face special effect, a mapping effect, an exposure parameter, a white balance parameter and a zoom parameter.
In this embodiment of the present application, the recording reference line includes at least two segments, and is configured to instruct a recording device to record a target video according to preset recording parameters corresponding to the segments on the recording reference line. When the recording device records the target video according to the next segment of the recording reference line, the preset recording parameters, such as the face special effect, the mapping effect, the exposure parameter, the white balance parameter, the zoom parameter, and the like, change. In the embodiment of the application, the segment of the reference line is recorded, which may correspond to a section of shooting path or a shooting location, and when the segment of the reference line corresponds to a shooting location, the segment corresponds to a shooting time period, and in the shooting time period corresponding to the segment, the recording device records the target video according to the preset recording parameters corresponding to the segment.
Optionally, the determining a recording reference line corresponding to a target video to be recorded includes:
generating a recording reference line corresponding to the target video to be recorded in real time according to a setting operation; or selecting a recording reference line matched with the recording scene and the recording object of the target video to be recorded in a reference line material library.
In the embodiment of the application, a user can set the recording reference line according to the recording content of the target video to be recorded, and can also select the recording reference line matched with the recording scene and the recording object of the target video to be recorded from the reference line material library, so that the target video is directly recorded according to the recording reference lines set by other users, and the same recording effect as that of other users is achieved.
The recording reference line corresponding to the target video to be recorded is generated in real time according to a setting operation, and specifically may be: the method comprises the steps that a user firstly determines recording contents of a target video to be recorded, such as a recording object, a recording sequence and a recording position of the recording object, then the recording device is moved, so that the recording device determines a preset shooting path of the target video according to the moving path of the user, and the user further sets recording parameters on one or more segments of the preset shooting path on the preset shooting path generated by the recording device according to the recording effect expected to be achieved, so that a recording reference line corresponding to the target video is obtained.
And 102, displaying the recording reference line in a recording interface of recording equipment to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line.
As can be seen from the foregoing step 101, in this embodiment of the application, the recording reference line of the target video corresponds to the preset shooting path of the target video, so that the recording reference line corresponding to the target video is displayed in the recording interface of the recording device, and the moving direction is displayed on the recording reference line in the form of an arrow, so as to prompt the user to move the recording device according to the preset shooting path corresponding to the recording reference line. The recording reference line corresponding to the target video and the actual moving path of the recording device can also be displayed in the recording interface of the recording device at the same time, and when the actual moving path of the recording device is not matched with the preset shooting path corresponding to the recording reference line, a user is prompted to adjust the moving path of the recording device.
And 103, when the moving path of the recording equipment is matched with the target segment in the recording reference line, recording a target video according to a preset recording parameter corresponding to the target segment.
When a user moves the recording equipment according to a preset shooting path corresponding to the recording reference line, whether the moving path of the recording equipment is matched with a preset target segment in the recording reference line or not is detected in real time, when the moving path of the recording equipment is matched with the preset target segment in the recording reference line, it is indicated that the user sets corresponding preset recording parameters aiming at the current moving path, and at the moment, the recording equipment records a target video according to the preset recording parameters corresponding to the target segment.
Specifically, if the moving path of the recording device matches with a preset target segment in the recording reference line, whether the current recording parameter of the recording device is consistent with a preset recording parameter corresponding to the target segment is judged; if the current recording parameter of the recording device is inconsistent with the preset recording parameter corresponding to the target segment, the current recording parameter of the recording device is adjusted to be the preset recording parameter, so that the recording parameter is dynamically adjusted according to the recording reference line of the target video and the moving path of the recording device in the recording process of the target video.
In summary, in the embodiment of the present application, the recording reference line corresponding to the preset shooting path is set for the target video to be recorded, the recording reference line is displayed in the recording interface of the recording device, so as to prompt the user to move the recording device according to the preset shooting path corresponding to the recording reference line, and when the moving path of the recording device is matched with the target segment on the recording reference line, the target video is recorded according to the preset recording parameter corresponding to the target segment, thereby dynamically changing the video recording parameter according to the recording reference line in the video recording process, and processing the recorded video through post-processing after the video recording is completed is not required, so that the video processing process is simplified, and the video processing efficiency is improved.
Example two
Referring to fig. 2, specific steps of a video recording method according to a second embodiment of the present application are shown.
Step 201, determining a recording reference line corresponding to a target video to be recorded, where the recording reference line corresponds to a preset shooting path of the target video, the recording reference line includes at least two segments, and each segment corresponds to a preset recording parameter.
According to the method and the device, the recording reference line corresponding to the target video to be recorded can be generated in real time according to the setting operation, and the recording reference line matched with the recording scene and the recording object of the target video to be recorded can also be selected from a reference line material library. The embodiment of the application focuses on explaining the recording reference line corresponding to the target video to be recorded, which is generated in real time according to the setting operation.
The preset recording parameters comprise any one or more of human face special effects, mapping effects, exposure parameters, white balance parameters and zoom parameters.
Optionally, the generating, in real time according to a setting operation, a recording reference line corresponding to the target video to be recorded includes:
a1, obtaining depth information and image information of a recording object in the target video to be recorded.
And A2, generating a preset shooting path according to the depth information and the image information of the recorded object.
And A3, dividing the preset shooting path into at least one segment according to the setting operation of the preset shooting path, and determining a preset recording parameter corresponding to each segment.
And A4, generating a recording reference line of the target video to be recorded according to the preset shooting path and the preset recording parameters corresponding to each segment.
Specifically, a user moves a shooting device to shoot all recorded objects in a recording scene of a target video to be recorded so as to obtain depth information and image information corresponding to the recorded objects, then corresponding coordinates of the recorded objects in the recording scene are determined according to the obtained depth information corresponding to the recorded objects, and a preset shooting path is generated according to the coordinates of each recorded object, wherein the preset shooting path comprises the image information of the recorded objects corresponding to the coordinates of the recorded objects. According to the position information of the recording object on the preset shooting path, the preset shooting path is divided into at least one segment, and a user can set corresponding preset recording parameters for each segment of the preset shooting path. And obtaining a recording reference line of the target video to be recorded according to the preset shooting path and preset recording parameters set on each segment of the preset shooting path by a user.
According to the position information of the recording object on the preset shooting path, dividing the preset shooting path into at least one segment, which may specifically be: and determining a corresponding segment of the recorded object on a preset shooting path according to the coordinate corresponding to the recorded object, and determining a preset recording parameter of the segment, so that when the recording equipment moves to the coordinate corresponding to the recorded object, a target video is recorded according to the determined preset recording parameter.
Referring to fig. 3 and fig. 4, schematic diagrams of recording parameter setting interfaces of a recording device according to an embodiment of the present application are shown, where different segments correspond to different recorded objects. The user may set recording parameters, such as a face special effect, a mapping effect, an exposure parameter, a white balance parameter, a zoom parameter, and the like, on the segment corresponding to the recording object. Also, different colors may be provided for different segments for differentiation.
When preset recording parameters are set for a segment corresponding to a recorded object, if the number of the recorded objects is 1, the preset recording parameters of the segment are switched to a single mode; if the number of the recording objects is larger than 1, the preset recording parameters of the segment are switched to a multi-user mode. And selecting a proper parameter setting mode by the user according to the number of the recorded objects, and setting preset recording parameters of the objects for each segment.
When the number of the recording objects is larger than 1, if a user wants to set recording parameters for a specific target recording object, for example, add a specific face special effect, a specific character identifier can be set for the recording object on a segment corresponding to the recording object according to image information of the recording object, and the specific face special effect is set for the target recording object.
Optionally, the recording reference line includes a three-dimensional recording reference line, and after the depth information and the image information of the recording object in the target video to be recorded are obtained, the method further includes: and determining the three-dimensional space coordinates of the recording object in the recording scene according to the depth information and the image information.
Optionally, the generating a preset shooting path according to the depth information and the image information of the recording object includes: and generating a preset shooting path according to the three-dimensional space coordinate of the recording object.
Step 202, displaying the recording reference line in a recording interface of a recording device to prompt a user to move the recording device according to a preset shooting path corresponding to the recording reference line.
In the embodiment of the application, the recording reference line of the target video corresponds to the preset shooting path of the target video, so that the recording reference line corresponding to the target video is displayed in the recording interface of the recording device, and the moving direction is displayed on the recording reference line in the form of an arrow so as to prompt a user to move the recording device according to the preset shooting path corresponding to the recording reference line. And when the actual moving path of the recording equipment is not matched with the preset shooting path corresponding to the recording reference line, prompting a user to adjust the moving path of the recording equipment.
Optionally, the displaying the recording reference line in a recording interface of a recording device to prompt a user to move the recording device according to a preset shooting path corresponding to the recording reference line includes: displaying the three-dimensional recording reference line in a recording interface of a recording device to prompt a user to move the recording device according to a specified direction in a preset shooting path corresponding to the three-dimensional recording reference line, wherein the specified direction comprises upward, downward, forward, backward, leftward and rightward.
And 203, corresponding different segments on the recording reference line to different recording objects, and identifying a target recording object appearing in the current picture when determining that the moving path of the recording equipment is matched with the target segment in the recording reference line.
In combination with the foregoing, in the embodiment of the present application, a specific recording parameter may be set for a specific target recording object, so that, in a process that a user records a video by using a mobile recording device according to a preset shooting path corresponding to a recording reference line of a target video, if a moving path of the recording device matches a key target segment of the recording reference line, the target recording object appearing in a current picture is identified by using a face recognition technology, so as to record the target object according to the preset specific recording parameter.
And 204, adding a special effect to the target recording object according to the preset recording parameters corresponding to the target segments.
And step 205, recording the current picture added with the special effect to obtain the target video.
In the embodiment of the application, the preset recording parameters comprise special effects such as a face special effect, a mapping effect, an exposure parameter, a white balance parameter, a zoom parameter and the like, in the process of recording the target video, after the recording equipment identifies the target recording object, the special effect is added to the target recording object according to the preset recording parameters of the target segment corresponding to the target recording, and the recording equipment records the current picture added with the special effect to obtain the target video.
Optionally, in this embodiment of the application, after a special effect is added to the target recording object according to a preset recording parameter corresponding to the target segment, a recording effect image to which the special effect is added may be displayed. The recording effect image with the special effect added to the target recording object can be displayed in a display interface of the recording device in real time, so that a user can check the recording effect in real time in the recording process without waiting for the target video to be completely recorded.
In another optional embodiment of the present application, an editing operation on the recording reference line may be further received during recording of the target video, and the recording reference line may be modified. That is to say, if the user is not satisfied with the current recording effect, the recording reference line can be modified in real time in the recording process, and the user does not need to wait for the video to be completely recorded and find that the recording effect is not satisfied after the video is completely recorded and is subjected to post-processing, and then record the video again, so that the video recording efficiency is improved.
In summary, in the embodiment of the present application, the recording reference line corresponding to the preset shooting path is set for the target video to be recorded, the recording reference line is displayed in the recording interface of the recording device, so as to prompt the user to move the recording device according to the preset shooting path corresponding to the recording reference line, and when the moving path of the recording device is matched with the target segment on the recording reference line, the target video is recorded according to the preset recording parameter corresponding to the target segment, thereby dynamically changing the video recording parameter according to the recording reference line in the video recording process, and processing the recorded video through post-processing after the video recording is completed is not required, so that the video processing process is simplified, and the video processing efficiency is improved.
It should be noted that, in the video recording method provided in the embodiment of the present application, the execution main body may be a video recording apparatus, or a control module in the video recording apparatus for executing the video recording method. In the embodiment of the present application, a video recording method executed by a video recording apparatus is taken as an example to describe the video recording apparatus provided in the embodiment of the present application.
EXAMPLE III
Referring to fig. 5, a structural diagram of a video recording apparatus according to a third embodiment of the present invention is shown, which specifically includes:
the recording reference line determining module 301 is configured to determine a recording reference line corresponding to a target video to be recorded, where the recording reference line corresponds to a preset shooting path of the target video, the recording reference line includes at least two segments, and each segment corresponds to a preset recording parameter.
The preset recording parameters comprise any one or more of a face special effect, a mapping effect, an exposure parameter, a white balance parameter and a zoom parameter.
A recording reference line display module 302, configured to display the recording reference line in a recording interface of a recording device, so as to prompt a user to move the recording device according to a preset shooting path corresponding to the recording reference line.
And a video recording module 303, configured to record a target video according to preset recording parameters corresponding to the target segment when it is determined that the moving path of the recording device matches the target segment in the recording reference line.
In summary, in the embodiment of the present application, a recording reference line corresponding to a preset shooting path is set for a target video to be recorded, and the recording reference line is displayed in a recording interface of a recording device, so as to prompt a user to move the recording device according to the preset shooting path corresponding to the recording reference line, and when a moving path of the recording device matches a target segment on the recording reference line, the target video is recorded according to preset recording parameters corresponding to the target segment, thereby dynamically changing video recording parameters according to the recording reference line in a video recording process, and processing the recorded video through post-processing after the video recording is completed is not needed, so that the video processing process is simplified, and the video processing efficiency is improved.
Example four
Referring to fig. 6, which shows a structural diagram of a video recording apparatus according to a fourth embodiment of the present invention, the structural diagram specifically includes:
the recording reference line determining module 401 is configured to determine a recording reference line corresponding to a target video to be recorded, where the recording reference line corresponds to a preset shooting path of the target video, the recording reference line includes at least two segments, and each segment corresponds to a preset recording parameter.
The preset recording parameters comprise any one or more of a face special effect, a mapping effect, an exposure parameter, a white balance parameter and a zoom parameter.
The recording reference line determining module 401 includes:
the recording reference line generation submodule 4011 is configured to generate, in real time according to a setting operation, a recording reference line corresponding to the target video to be recorded; alternatively, the first and second electrodes may be,
and the recording reference line selection sub-module 4012 is configured to select a recording reference line in the reference line material library, where the recording reference line matches the recording scene and the recording object of the target video to be recorded.
Optionally, the recording reference line generating sub-module 4011 includes:
and the information acquisition unit B1 is used for acquiring the depth information and the image information of the recording object in the target video to be recorded.
And the shooting path generating unit B2 is used for generating a preset shooting path according to the depth information and the image information of the recorded object.
Optionally, the shooting path generating unit B2 includes: and the shooting path generating subunit is used for generating a preset shooting path according to the three-dimensional space coordinate of the recording object.
And the recording parameter determining unit B3 is used for dividing the preset shooting path into at least two segments according to the setting operation of the preset shooting path and determining the preset recording parameters corresponding to each segment.
And a recording reference line generating unit B4, configured to generate a recording reference line of the target video to be recorded according to the preset shooting path and the preset recording parameter corresponding to each segment.
Optionally, the recording reference line includes a three-dimensional recording reference line, and the apparatus further includes:
and the coordinate determination module is used for determining the three-dimensional space coordinates of the recording object in the recording scene according to the depth information and the image information.
A recording reference line display module 402, configured to display the recording reference line in a recording interface of a recording device, so as to prompt a user to move the recording device according to a preset shooting path corresponding to the recording reference line.
Optionally, the recording reference line displaying module 402 includes:
and the recording reference line display sub-module is used for displaying the three-dimensional recording reference line in a recording interface of the recording equipment so as to prompt a user to move the recording equipment according to a specified direction in a preset shooting path corresponding to the three-dimensional recording reference line, wherein the specified direction comprises upward direction, downward direction, forward direction, backward direction, leftward direction and rightward direction.
A video recording module 403, configured to record a target video according to preset recording parameters corresponding to the target segment when it is determined that the moving path of the recording device matches the target segment in the recording reference line.
The different segments on the recording reference line correspond to different recorded objects, and the video recording module 403 includes:
a recording object identification sub-module 4031, configured to identify a target recording object appearing in the current picture.
And the special effect adding sub-module 4032 is configured to add a special effect to the target recording object according to the preset recording parameter corresponding to the target segment.
And the image display submodule 4033 is used for displaying and displaying the recording effect image with the special effect added.
And the video recording submodule 4034 is used for recording the current picture added with the special effect to obtain the target video.
A recording reference line modifying module 404, configured to receive an editing operation on the recording reference line in a process of recording a target video, and modify the recording reference line.
In summary, in the embodiment of the present application, the recording reference line corresponding to the preset shooting path is set for the target video to be recorded, the recording reference line is displayed in the recording interface of the recording device, so as to prompt the user to move the recording device according to the preset shooting path corresponding to the recording reference line, and when the moving path of the recording device is matched with the target segment on the recording reference line, the target video is recorded according to the preset recording parameter corresponding to the target segment, thereby dynamically changing the video recording parameter according to the recording reference line in the video recording process, and processing the recorded video through post-processing after the video recording is completed is not required, so that the video processing process is simplified, and the video processing efficiency is improved.
The video recording apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, which is not limited in this embodiment.
The video recording apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video recording device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
EXAMPLE five
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a memory 701, a processor 702, and a program or an instruction stored in the memory 701 and executable on the processor 702, where the program or the instruction is executed by the processor 702 to implement each process of the video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 through a power management system, so that the functions of managing charging, discharging, and power consumption are performed through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
EXAMPLE six
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
EXAMPLE seven
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in the process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order, depending on the functionality involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the above embodiment method can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to perform the methods according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for video recording, the method comprising:
determining a recording reference line corresponding to a target video to be recorded; the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, each segment corresponds to a preset recording parameter and a recording object, and the preset recording parameter corresponding to each segment comprises a face special effect which is used for adding the recording object corresponding to the segment;
displaying the recording reference line in a recording interface of recording equipment to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line;
and when the moving path of the recording equipment is determined to be matched with the target segment in the recording reference line, recording a target video for a target recording object corresponding to the target segment according to the face special effect corresponding to the target segment.
2. The method according to claim 1, wherein the determining a recording reference line corresponding to a target video to be recorded comprises:
generating a recording reference line corresponding to the target video to be recorded in real time according to a setting operation; alternatively, the first and second electrodes may be,
and selecting a recording reference line matched with the recording scene and the recording object of the target video to be recorded in a reference line material library.
3. The method according to claim 2, wherein the generating of the recording reference line corresponding to the target video to be recorded in real time according to the setting operation comprises:
acquiring depth information and image information of a recording object in the target video to be recorded;
generating a preset shooting path according to the depth information and the image information of the recorded object;
dividing the preset shooting path into at least two segments according to the setting operation of the preset shooting path, and determining a preset recording parameter corresponding to each segment;
and generating a recording reference line of the target video to be recorded according to the preset shooting path and the preset recording parameter corresponding to each segment.
4. The method according to claim 1, wherein different segments on the recording reference line correspond to different recording objects, and the recording a target video for a target recording object corresponding to the target segment according to the face special effect corresponding to the target segment comprises:
identifying a target recording object appearing in a current picture;
adding a face special effect to the target recording object according to the face special effect corresponding to the target segmentation;
and recording the current picture added with the face special effect to obtain a target video.
5. The method of claim 1, further comprising:
and in the process of recording the target video, receiving editing operation on the recording reference line and modifying the recording reference line.
6. A video recording apparatus, characterized in that the apparatus comprises:
the recording reference line determining module is used for determining a recording reference line corresponding to a target video to be recorded; the recording reference line corresponds to a preset shooting path of the target video, the recording reference line comprises at least two segments, each segment corresponds to a preset recording parameter and a recording object, and the preset recording parameter corresponding to each segment comprises a face special effect which is used for adding the face special effect to the recording object corresponding to the segment;
the recording reference line display module is used for displaying the recording reference line in a recording interface of the recording equipment so as to prompt a user to move the recording equipment according to a preset shooting path corresponding to the recording reference line;
and the video recording module is used for recording a target video for a target recording object corresponding to the target segment according to the face special effect corresponding to the target segment when the moving path of the recording equipment is determined to be matched with the target segment in the recording reference line.
7. The apparatus of claim 6, wherein the recording reference line determining module comprises:
the recording reference line generation submodule is used for generating a recording reference line corresponding to the target video to be recorded in real time according to the set operation; alternatively, the first and second electrodes may be,
and the recording reference line selection sub-module is used for selecting a recording reference line matched with the recording scene and the recording object of the target video to be recorded in a reference line material library.
8. The apparatus of claim 7, wherein the recording reference line generation submodule comprises:
the information acquisition unit is used for acquiring depth information and image information of a recording object in the target video to be recorded;
the shooting path generating unit is used for generating a preset shooting path according to the depth information and the image information of the recorded object;
the recording parameter determining unit is used for dividing the preset shooting path into at least two segments according to the setting operation of the preset shooting path and determining a preset recording parameter corresponding to each segment;
and the recording reference line generating unit is used for generating a recording reference line of the target video to be recorded according to the preset shooting path and the preset recording parameters corresponding to each segment.
9. The apparatus of claim 6, wherein different segments on the recording reference line correspond to different recording objects, and the video recording module comprises:
the recording object identification submodule is used for identifying a target recording object appearing in the current picture;
the special effect adding submodule is used for adding a human face special effect to the target recording object according to the human face special effect corresponding to the target segmentation;
and the video recording submodule is used for recording the current picture added with the face special effect to obtain the target video.
10. The apparatus of claim 6, further comprising:
and the recording reference line modification module is used for receiving the editing operation of the recording reference line and modifying the recording reference line in the process of recording the target video.
CN202011198199.5A 2020-10-30 2020-10-30 Video recording method and electronic equipment Active CN112367487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011198199.5A CN112367487B (en) 2020-10-30 2020-10-30 Video recording method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011198199.5A CN112367487B (en) 2020-10-30 2020-10-30 Video recording method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112367487A CN112367487A (en) 2021-02-12
CN112367487B true CN112367487B (en) 2023-04-18

Family

ID=74512490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011198199.5A Active CN112367487B (en) 2020-10-30 2020-10-30 Video recording method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112367487B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873162A (en) * 2021-10-14 2021-12-31 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728782A (en) * 2017-09-21 2018-02-23 广州数娱信息科技有限公司 Exchange method and interactive system, server
CN107835464B (en) * 2017-09-28 2020-10-16 努比亚技术有限公司 Video call window picture processing method, terminal and computer readable storage medium
WO2019205083A1 (en) * 2018-04-27 2019-10-31 深圳市柔宇科技有限公司 3d image capturing method, 3d photographing device, and storage medium
CN111432195A (en) * 2020-03-30 2020-07-17 维沃移动通信(杭州)有限公司 Image shooting method and electronic equipment

Also Published As

Publication number Publication date
CN112367487A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN112954199B (en) Video recording method and device
CN113596555B (en) Video playing method and device and electronic equipment
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN112492201B (en) Photographing method and device and electronic equipment
CN112449110B (en) Image processing method and device and electronic equipment
CN112367487B (en) Video recording method and electronic equipment
CN112437231B (en) Image shooting method and device, electronic equipment and storage medium
CN115756275A (en) Screen capture method, screen capture device, electronic equipment and readable storage medium
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112261483B (en) Video output method and device
CN115037874A (en) Photographing method and device and electronic equipment
CN114500844A (en) Shooting method and device and electronic equipment
CN114125297A (en) Video shooting method and device, electronic equipment and storage medium
CN113139367A (en) Document generation method and device and electronic equipment
CN114025237A (en) Video generation method and device and electronic equipment
CN113778300A (en) Screen capturing method and device
CN112532904A (en) Video processing method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN111984173B (en) Expression package generation method and device
CN113360073A (en) Information input method and information input device
CN114745506A (en) Video processing method and electronic equipment
CN115589459A (en) Video recording method and device
CN115278378A (en) Information display method, information display device, electronic apparatus, and storage medium
CN115174812A (en) Video generation method, video generation device and electronic equipment

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