Video recording method and device and electronic equipment

文档序号:1956889 发布日期:2021-12-10 浏览:11次 中文

阅读说明:本技术 视频录制方法、装置及电子设备 (Video recording method and device and electronic equipment ) 是由 张�浩 于 2021-08-31 设计创作,主要内容包括:本申请公开了一种视频录制方法、装置及电子设备,属于通信技术领域。该方法包括:在第一设备与第二设备通信连接的情况下,接收用户的第一输入;响应于第一输入,开始录制视频,并控制第二设备同步开始录制视频;接收用户的第二输入;响应于第二输入,停止录制视频,得到第一视频,并基于第一视频和第二视频,得到目标视频;该第二视频为第二设备录制得到的视频,该第一视频和第二视频为针对同一拍摄场景的不同角度录制的视频。(The application discloses a video recording method, a video recording device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input of a user under the condition that a first device is in communication connection with a second device; responding to the first input, starting to record the video, and controlling the second equipment to synchronously start to record the video; receiving a second input of the user; in response to the second input, stopping recording the video to obtain a first video, and obtaining a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.)

1. A video recording method applied to a first device, the method comprising:

receiving a first input of a user under the condition that the first device is in communication connection with a second device;

responding to the first input, starting to record the video, and controlling the second equipment to synchronously start to record the video;

receiving a second input of the user;

responding to the second input, stopping recording the video to obtain a first video, and obtaining a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles in the same shooting scene.

2. The method of claim 1, wherein before obtaining the target video based on the first video and the second video, the method further comprises:

controlling the second equipment to synchronously stop recording the video to obtain the second video;

and receiving the second video sent by the second equipment.

3. The method according to claim 1 or 2, wherein the obtaining a target video based on the first video and the second video comprises:

synthesizing the first video and the second video to obtain the target video;

alternatively, the first and second electrodes may be,

editing a third video to obtain the edited third video, and performing synthesis processing based on the edited third video to obtain the target video, where the third video includes at least one of the following: the first video and the second video.

4. The method of claim 1, wherein before receiving the first input from the user while the first device is communicatively connected to the second device, the method further comprises:

receiving a third input of the user;

responding to the third input, logging in a first equipment account of the first equipment, and displaying at least one equipment identifier;

receiving a fourth input of the user, wherein the fourth input is input of a target identifier in the at least one device identifier by the user, and the target identifier is used for indicating the second device;

and responding to the fourth input, and sending target information to the second equipment through the first equipment account, wherein the target information is used for establishing connection between the first equipment and the second equipment.

5. The method of claim 1, wherein prior to receiving the first input from the user, the method further comprises:

receiving a fifth input of the user;

and responding to the fifth input, starting a video control function in the first equipment, and setting the first equipment as main control equipment.

6. A video recording apparatus, applied to a first device, the video recording apparatus comprising: the device comprises a receiving module, a recording module, a control module and a processing module;

the receiving module is used for receiving a first input of a user under the condition that the first device is in communication connection with the second device;

the recording module is used for responding to the first input received by the receiving module and starting to record a video;

the control module is used for controlling the second equipment to synchronously start recording videos;

the receiving module is further used for receiving a second input of the user;

the processing module is used for responding to the second input received by the receiving module, stopping recording the video to obtain a first video, and obtaining a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles in the same shooting scene.

7. The apparatus of claim 6,

the control module is further configured to control the second device to synchronously stop recording the video to obtain the second video before the processing module obtains the target video based on the first video and the second video;

the receiving module is further configured to receive the second video sent by the second device.

8. The apparatus according to claim 6 or 7, wherein the processing module is specifically configured to perform a synthesizing process on the first video and the second video to obtain the target video;

alternatively, the first and second electrodes may be,

the processing module is specifically configured to edit a third video to obtain the edited third video, and perform synthesis processing based on the edited third video to obtain the target video, where the third video includes at least one of the following: the first video and the second video.

9. The apparatus of claim 6, wherein the video recording apparatus further comprises: the system comprises a login module, a display module and a sending module;

the receiving module is further configured to receive a third input of the user before receiving the first input of the user when the first device is communicatively connected to the second device;

the login module is used for responding to the third input received by the receiving module and logging in a first equipment account of the first equipment;

the display module is used for displaying at least one equipment identifier;

the receiving module is further configured to receive a fourth input of the user, where the fourth input is an input of a target identifier in the at least one device identifier by the user, and the target identifier is used to indicate the second device;

the sending module is configured to send, in response to the fourth input received by the receiving module, target information to the second device through the first device account, where the target information is used for establishing a connection between the first device and the second device.

10. The apparatus of claim 6, wherein the video recording apparatus further comprises: the device comprises a starting module and a setting module;

the receiving module is further configured to receive a fifth input of the user before receiving the first input of the user;

the starting module is used for responding to the fifth input received by the receiving module and starting a video control function in the first equipment;

the setting module is used for setting the first equipment as main control equipment.

11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video recording method as claimed in any one of claims 1 to 5.

12. A readable storage medium, on which a program or instructions are stored which, when executed by a processor, carry out the steps of the video recording method according to any one of claims 1 to 5.

Technical Field

The application belongs to the technical field of communication, and particularly relates to a video recording method and device and electronic equipment.

Background

Generally, in the process of recording a video by an electronic device, when a user shoots a video in a certain shooting scene, the user needs to repeatedly shoot at different positions for multiple times to obtain video segments of multiple different angles, and then video clip software in the electronic device is used to clip the video segments, so that a complete video is obtained.

However, in the above process, since the same scene needs to be repeatedly photographed for a plurality of times, the photographing step is complicated, and there may be a problem that some segments are not successfully photographed and need to be photographed again, which increases the difficulty and complexity of photographing the video by the user, thereby resulting in a low video recording efficiency of the electronic device.

Disclosure of Invention

The embodiment of the application aims to provide a video recording method, a video recording device and electronic equipment, and can solve the problem that the efficiency of recording videos by the electronic equipment is low.

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 video recording method includes: receiving a first input of a user under the condition that a first device is in communication connection with a second device; responding to the first input, starting to record the video, and controlling the second equipment to synchronously start to record the video; receiving a second input of the user; in response to the second input, stopping recording the video to obtain a first video, and obtaining a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.

In a second aspect, an embodiment of the present application provides a video recording apparatus, including: the device comprises a receiving module, a recording module, a control module and a processing module. The receiving module is used for receiving a first input of a user under the condition that the first device is in communication connection with the second device. And the recording module is used for responding to the first input received by the receiving module and starting to record the video. And the control module is used for controlling the second equipment to synchronously start recording the video. The receiving module is further used for receiving a second input of the user. The processing module is used for responding to the second input received by the receiving module, stopping recording the video to obtain a first video, and obtaining a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.

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 this embodiment of the application, under the condition that the first device is in communication connection with the second device, a user may perform a first input on the first device, so that the first device starts to record a video, and control the second device to start to record the video synchronously, and then, the user may perform a second input on the first device, so that the first device stops recording the video, so as to obtain the first video, and obtain a video (i.e., a target video) required by the user based on the first video and the second video (i.e., the video recorded by the second device), where the first video and the second video are videos recorded at different angles for the same shooting scene. In the scheme, a user can shoot a certain scene through a plurality of devices (namely, a first device and a second device) simultaneously to obtain a plurality of video segments with different angles, so that the problem that the user needs to shoot the same scene repeatedly for a plurality of times is avoided, in addition, the first device can automatically fuse the video segments after obtaining the video segments to obtain videos required by the user, the process that the user utilizes video editing software to edit the video segments is not needed, the difficulty and the complexity of shooting videos by the user are reduced, the shooting of multiple angles and multiple machine positions is realized, and the video recording efficiency of the electronic device is improved.

Drawings

Fig. 1 is a flowchart of a video recording method according to an embodiment of the present disclosure;

fig. 2 is a schematic diagram of a video recording method according to an embodiment of the present application;

fig. 3 is a second flowchart of a video recording method according to an embodiment of the present application;

fig. 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;

fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;

fig. 6 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.

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 in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

The video recording method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

At present, with the increase of the varieties of electronic devices and the demands of personal and family use scenes, users no longer stay to use a single intelligent electronic device, but mix and combine multiple varieties of electronic devices, such as mobile phones, tablets, smart televisions and the like, so as to realize the sharing of content, data, capability and services among multiple varieties of electronic devices. For example, when recording a video, a user not only performs single shooting through an electronic device, but also performs combined multi-camera shooting, and performs video comparison, splicing and the like on video clips acquired by a plurality of electronic devices. In the prior art, a user can only use data and capabilities already in the current device, but cannot use content, data, capabilities and services on other devices, so that when people use a certain electronic device, the existing capabilities on other devices cannot be conveniently and quickly used, and a certain capability has to be repeatedly established on all devices.

In a traditional scheme, when a user shoots a video in a certain shooting scene in the process of recording the video through electronic equipment, the user needs to repeatedly shoot the video at different positions for multiple times to obtain video segments at different angles, and then mixed shearing processing is performed on the video segments by using video clipping software in the electronic equipment, so that a complete video is obtained.

However, in the above process, since the electronic device needs to repeatedly shoot for the same scene, the shooting steps are complicated, and there may be a problem that some video segments are not successfully shot and need to be shot again, which increases the difficulty and complexity of shooting the video by the user, thereby resulting in a low video recording efficiency of the electronic device. For example, when a user records a course for cooking, the user needs to repeatedly shoot a plurality of video clips from different angles through a mobile phone, then export the video clips to a computer, perform mixed cutting processing through related software, and finally synthesize the video required by the user. In the process of video composition, when a user finds that some video segments are not shot, the user needs to shoot again and carry out clipping processing again.

In the embodiment of the application, under the condition that the first device is in communication connection with the second device, a user can perform first input on the first device to enable the first device to start recording videos and control the second device to start recording videos synchronously, then, the user can perform second input on the first device to enable the first device to stop recording videos to obtain the first video, and control the second device to stop recording videos synchronously to obtain the second video, wherein the first video and the second video are videos recorded at different angles for the same shooting scene, and the first device can obtain the videos required by the user based on the first video and the second video.

Through the scheme, a user can shoot a certain scene through a plurality of devices (namely the first device and the second device) simultaneously to obtain a plurality of video segments with different angles, so that the problem that the user needs to shoot the same scene repeatedly for a plurality of times is solved, in addition, the first device can automatically fuse the video segments after obtaining the video segments to obtain videos required by the user, the process that the user utilizes video editing software to edit the video segments is not needed, the difficulty and the complexity of shooting videos by the user are reduced, multi-angle and multi-machine-position shooting is realized, and the video recording efficiency of the electronic device is improved.

The embodiment of the application provides application capability across electronic equipment, and solves the problems that in the prior art, a user can only use content, data, capability and service on the current equipment, and the problem that the video shooting through a single-machine position needs repeated shooting and a high-threshold mixed-shearing processing technology is solved. The embodiment of the application can help a user conveniently and quickly use a plurality of existing devices to shoot the same scene in a plurality of machine positions, and the video is conveniently made, for example, the whole process of dish making and making processes is facilitated, so that the experience of recording the video by the user is improved.

An embodiment of the present application provides a video recording method, and fig. 1 shows a flowchart of the video recording method provided in the embodiment of the present application, where the method may be applied to a first device. As shown in fig. 1, a video recording method provided in an embodiment of the present application may include steps 201 to 204 described below.

Step 201, under the condition that the first device is in communication connection with the second device, the first device receives a first input of a user.

In this embodiment of the application, in a process that a user records a video through a first device, when the first device is in communication connection with a second device in a certain shooting scene, the user may perform a first input to the first device, trigger the first device to start recording the video, and control the second device to start recording the video synchronously, and then, the user may perform a second input to the first device, trigger the first device to stop recording the video, to obtain a video (i.e., a first video in the following embodiments), and record the obtained video (i.e., a second video in the following embodiments) based on the video and the second device, to finally obtain a video (e.g., a target video in the following embodiments) required by the user.

Optionally, in this embodiment of the application, the communication connection between the first device and the second device may be a wired connection (for example, a wireless fidelity (Wi-Fi) connection or a bluetooth connection), or may be a wireless connection, which may be determined specifically according to an actual use requirement, and this embodiment of the application is not limited.

Optionally, in this embodiment of the application, the first device and the second device may establish connection by logging in a certain device account, connecting to the same network, or using the same application. It will be appreciated that the first device may establish a secure and reliable connection with the second device such that information may be communicated between the first device and the second device.

It should be noted that, for the method for establishing a connection between a first device and a second device, details will be described in the following embodiments, which are not repeated herein.

Optionally, in this embodiment of the application, the first input may be a sliding input, a long-press input, or the like of the user on the screen of the first device; or, the user inputs (for example, clicks or long-presses) a certain control (for example, a shooting control) in the shooting preview interface of the first device, so that the first device starts to record the video, and controls the second device to synchronously start to record the video.

Optionally, in this embodiment of the present application, before the step 201, the video recording method provided in this embodiment of the present application further includes the following steps 301 to 304.

Step 301, the first device receives a third input from the user.

Optionally, in this embodiment of the application, the third input may be any possible form of input such as click input, long-press input, sliding input, and the like, which may be determined specifically according to actual use requirements, and this embodiment of the application is not limited.

Step 302, the first device logs in a first device account of the first device in response to the third input, and displays at least one device identifier.

Optionally, in this embodiment of the application, a user may log in a first device account on a first device, and log in a second device account on a second device, so that the first device displays a device identifier of the second device in a connectable device list of the first device.

It should be noted that the first device account and the second device account may be the same device account or different device accounts.

Optionally, in this embodiment of the application, each device identifier in the at least one device identifier is used to indicate one device, and the device identifier of one device may be an avatar or a name of a device account of the device.

Step 303, the first device receives a fourth input from the user.

In this embodiment of the application, the fourth input is an input of a target identifier in the at least one device identifier by a user, where the target identifier is used to indicate the second device.

Optionally, in this embodiment of the application, the target identifier may be an avatar or a name of a device account (e.g., a second device account) of the second device.

And step 304, the first device responds to the fourth input and sends target information to the second device through the first device account.

In this embodiment, the target information is used for establishing a connection between the first device and the second device.

Optionally, in this embodiment of the application, the first device may send target information to the second device through the first device account to request to establish connection with the second device, and then the second device may receive the target information and reply an information to the first device through the device account of the second device to allow connection with the first device to be established, so as to implement connection between the first device and the second device.

Optionally, in this embodiment of the present application, establishing a connection between the first device and the second device may also be implemented in the following two ways. In a connection mode, a user may log in an account on an application (e.g., a first application) of a first device, and simultaneously log in an account on an application of a second device, so that the first device may send a certain message to the second device through the first application to request to establish a connection with the second device, and then the second device may receive the message and reply a message to the first device to allow the connection with the first device to be established, thereby implementing the connection between the first device and the second device. In another connection manner, a user may input a certain control (e.g., a WIFI control) in a menu bar of a first device, so that the first device identifies devices near the first device, and then the user may select to add a second device in a connection device list of the first device, thereby implementing a connection between the first device and the second device.

Optionally, in this embodiment of the application, after completing the video recording, the user may delete the device identifier of the second device from the connected device list of the first device.

In the embodiment of the application, because the first device and the second device can establish safe and reliable connection, when a user shoots a certain scene through the first device and the second device at the same time, the video required by the user can be quickly obtained based on the first video obtained by the first device and the second video obtained by the second device, the difficulty and complexity of shooting the video by the user are reduced, and the video recording efficiency of the electronic device is improved.

Optionally, in this embodiment of the present application, before the "first device receives the first input of the user" in step 201, the video recording method provided in this embodiment of the present application further includes steps 401 and 402 described below.

Step 401, the first device receives a fifth input from the user.

And 402, the first device responds to the fifth input, starts a video control function in the first device, and sets the first device as a main control device.

Optionally, in this embodiment of the application, the video control function may be one function in a shooting preview interface of the first device, and the video control function may implement an operation related to controlling another device (e.g., the second device) to record a video.

Optionally, in this embodiment of the present application, the first device may serve as a main control device, so that a user may implement mixed-cut video by using the high configuration capability of the first device.

Optionally, in this embodiment of the application, a user may also preset the second device as a main control device, so that the user may input to the second device, trigger the second device to start recording the video, and control the first device to start recording the video synchronously, and then, the user may input to the second device, trigger the second device to stop recording the video, obtain a video, and obtain the video obtained by recording based on the video and the first device, and finally obtain the video after the mixed cropping processing.

In the embodiment of the application, the first device is preset as the main control device, when a user inputs the first device, the first device starts to record a video, and the second device is controlled to synchronously start to record the video, so that a plurality of video segments with different angles of the same shooting scene can be obtained, the problem that the user needs to repeatedly shoot for multiple times aiming at the same scene is solved, the difficulty and the complexity of shooting the video by the user are reduced, and the video recording efficiency of the electronic device is improved.

Step 202, the first device starts to record the video in response to the first input, and controls the second device to start to record the video synchronously.

It can be understood that the first device can start to record the video and the second device also starts to record the video, that is, through one-time input, different devices can simultaneously record the video in a certain shooting scene, so that the operation of the user on the second device is avoided, and the purpose of reducing the complexity of the video shot by the user is achieved.

Step 203, the first device receives a second input of the user.

And step 204, the first device responds to the second input, stops recording the video to obtain a first video, and obtains a target video based on the first video and the second video.

In this embodiment of the application, the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.

Optionally, in this embodiment of the application, the first device and the second device may be located at different positions of a certain shooting scene, so as to shoot videos of different angles of the same shooting scene.

Optionally, in this embodiment of the application, the shooting scene may be a scene such as a meal, a speech, a performance, and the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.

Optionally, in this embodiment of the application, the target video may be a video obtained by directly synthesizing, by the first device, the first video and the second video; alternatively, the target video may be a video obtained by editing the first video and/or the second video by the first device and based on the edited first video and/or the edited second video.

The embodiment of the application provides a video recording method, wherein under the condition that a first device is in communication connection with a second device, a user can perform first input on the first device to enable the first device to start recording videos and control the second device to start recording videos synchronously, then, the user can perform second input on the first device to enable the first device to stop recording videos to obtain the first video, and obtain videos (target videos) required by the user based on the first video and the second video (namely videos recorded by the second device), wherein the first video and the second video are videos recorded at different angles for the same shooting scene. In the scheme, a user can shoot a certain scene through a plurality of devices (namely, a first device and a second device) simultaneously to obtain a plurality of video segments with different angles, so that the problem that the user needs to shoot the same scene repeatedly for a plurality of times is avoided, in addition, the first device can automatically fuse the video segments after obtaining the video segments to obtain videos required by the user, the process that the user utilizes video editing software to edit the video segments is not needed, the difficulty and the complexity of shooting videos by the user are reduced, the shooting of multiple angles and multiple machine positions is realized, and the video recording efficiency of the electronic device is improved.

Optionally, in this embodiment of the application, before "obtaining the target video based on the first video and the second video" in step 204, the video recording method provided in this embodiment of the application further includes steps 501 and 502 described below.

Step 501, the first device controls the second device to stop recording the video synchronously to obtain a second video.

It is understood that the first device may stop recording the video at the same time that the second device also stops recording the video to obtain the second video.

Step 502, the first device receives a second video sent by the second device.

In this embodiment of the application, after stopping recording the video, the second device may send the second video to the first device, so that the first device receives the second video, and obtains the target video based on the first video and the second video.

In the embodiment of the application, after the recording of the video is stopped, the second device can automatically send the obtained second video to the first device, so that the first device automatically processes the videos based on the first video and the second video to obtain the video required by the user, the difficulty and the complexity of shooting the video by the user are reduced, and the video recording efficiency of the electronic device is improved.

Optionally, in this embodiment of the application, the step 204 may be specifically implemented by the following steps 204a or 204 b.

And step 204a, the first device synthesizes the first video and the second video to obtain a target video.

In this embodiment of the application, the first device may directly combine the first video and the second video to obtain a video required by the user.

And step 204b, the first device edits the third video to obtain an edited third video, and performs synthesis processing on the edited third video to obtain a target video.

In an embodiment of the present application, the third video includes at least one of: a first video and a second video.

In this embodiment of the application, the first device may perform editing processing on the first video and/or the second video to obtain the first video and/or the second video after the editing processing, and perform synthesis processing based on the first video and/or the second video after the editing processing to obtain a video required by a user.

Optionally, in this embodiment of the application, the editing process may be a cutting process, a splicing process, a beautifying process, a sharpening process, a filter process, or the like.

Optionally, in this embodiment of the application, the third video may be the first video, or the second video, or the first video and the second video. When the third video is the first video, the first device may edit the first video to obtain an edited first video, and synthesize the second video and the edited first video to obtain a target video; under the condition that the third video is the second video, the first device can edit the second video to obtain an edited second video, and synthesize the first video and the edited second video to obtain a target video; when the third video is the first video and the second video, the first device may edit the first video and the second video to obtain an edited first video and an edited second video, and synthesize the edited first video and the edited second video to obtain the target video.

In the embodiment of the application, after a plurality of videos are obtained, the first device can automatically fuse the videos, or automatically edit the videos, and then fuse the videos after editing, so that the effect after mixed cutting can be realized, and the process that a user clips the video segments by using video clipping software is not needed, so that the quality of the photographed videos is ensured, the photographing experience of the user is improved, and the efficiency of recording the videos by the electronic device is improved.

The following illustrates a specific process of the video recording method provided in the embodiment of the present application. Illustratively, as shown in fig. 2, the first device and the second device are located at the left side and the right side of the cooking station, respectively, and the specific process of video recording is shown in fig. 3.

S11, establishing a safe and trusted connection between the first device and the second device, such as logging in the same device account, connecting the same network, using the same application program, etc.;

s12, the first equipment is used as a host, and a user inputs the first equipment to enable the first equipment to start a recording function to record videos and control the second equipment to start recording videos synchronously;

s13, the user starts to make dishes and explain on the dish making operation table;

s14, completing the dish making and the explanation by the user;

s15, inputting the first device by a user to enable the first device to stop recording the video to obtain a first video, and controlling the second device to stop recording the video to obtain a second video;

s16, the first device performs mixed cutting processing on the first video and the second video to obtain a complete video;

s17, the user views the effect of the video on the first device to further adjust the video;

and S18, the user finishes recording the video of the cooking tutorial through the first device.

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 apparatus is taken as an example to execute a video recording method, and the video recording apparatus provided in the embodiment of the present application is described.

Fig. 4 shows a schematic diagram of a possible structure of a video recording apparatus according to an embodiment of the present application. As shown in fig. 4, the video recording apparatus 70 may include: a receiving module 71, a recording module 72, a control module 73 and a processing module 74.

The receiving module 71 is configured to receive a first input of a user when the first device is communicatively connected to the second device. A recording module 72 for starting recording the video in response to the first input received by the receiving module 71. And a control module 73, configured to control the second device to start recording video synchronously. The receiving module 71 is further configured to receive a second input from the user. A processing module 74, configured to stop recording the video in response to the second input received by the receiving module 71, obtain a first video, and obtain a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.

The embodiment of the application provides a video recording device, a user can shoot a certain scene through a plurality of devices simultaneously, so as to obtain video segments of a plurality of different angles, the problem that the user needs to shoot repeatedly for a plurality of times for the same scene is avoided, and after the video segments are obtained, the video segments can be automatically fused, so as to obtain videos required by the user, the user is not required to utilize video editing software to edit the video segments, the difficulty and complexity of shooting videos by the user are reduced, multi-angle and multi-machine-position shooting is realized, and the efficiency of recording the videos is improved.

In a possible implementation manner, the control module 73 is further configured to control the second device to stop recording the video synchronously to obtain the second video before the processing module 74 obtains the target video based on the first video and the second video. The receiving module 71 is further configured to receive a second video sent by a second device.

In a possible implementation manner, the processing module 74 is specifically configured to perform a synthesizing process on the first video and the second video to obtain the target video. Or, the processing module 74 is specifically configured to edit the third video to obtain an edited third video, and perform synthesis processing based on the edited third video to obtain a target video, where the third video includes at least one of the following: a first video and a second video.

In a possible implementation manner, the video recording apparatus 70 further includes: the device comprises a login module, a display module and a sending module. The receiving module 71 is further configured to receive a third input from the user before receiving the first input from the user when the first device is communicatively connected to the second device. And the login module is configured to log in the first device account of the first device in response to the third input received by the receiving module 71. And the display module is used for displaying at least one equipment identifier. The receiving module 71 is further configured to receive a fourth input from the user, where the fourth input is an input from the user to a target identifier in the at least one device identifier, and the target identifier is used to indicate the second device. And a sending module, configured to send, in response to the fourth input received by the receiving module 71, target information to the second device through the first device account, where the target information is used for establishing a connection between the first device and the second device.

In a possible implementation manner, the video recording apparatus 70 further includes: the device comprises a starting module and a setting module. The receiving module 71 is further configured to receive a fifth input from the user before receiving the first input from the user. And an enabling module, configured to enable a video control function in the first device in response to the fifth input received by the receiving module 71. And the setting module is used for setting the first equipment as main control equipment.

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 the first device. 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, and the embodiments of the present application are not particularly limited.

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 (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 by the embodiment of the application can realize each process realized by the method embodiment, can achieve the same technical effect, and is not repeated here for avoiding repetition.

Optionally, the first device provided in the embodiment of the present application may be an electronic device. As shown in fig. 5, an electronic device 600 provided in the embodiment of the present application includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned video recording method embodiment, and can achieve the same technical effect, and no further description is provided herein to avoid repetition.

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. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.

Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 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.

The user input unit 1007 is configured to receive a first input from a user when the first device is communicatively connected to the second device. A processor 1010 for starting recording video and controlling the second device to start recording video synchronously in response to a first input received by the user input unit 1007. The user input unit 1007 is further configured to receive a second input from the user. The processor 1010 is further configured to stop recording the video in response to a second input received by the user input unit 1007 to obtain a first video, and obtain a target video based on the first video and the second video; the second video is a video recorded by the second device, and the first video and the second video are videos recorded at different angles for the same shooting scene.

The embodiment of the application provides an electronic device, because a user can shoot a certain scene through a plurality of devices (namely, a first device and a second device) simultaneously to obtain video segments at a plurality of different angles, the problem that the user needs to shoot repeatedly for the same scene is avoided, and the first device can automatically fuse the video segments after obtaining the video segments to obtain videos required by the user, and the user does not need to utilize video editing software to clip the video segments, so that the difficulty and complexity of shooting videos by the user are reduced, multi-angle and multi-machine-position shooting is realized, and the efficiency of recording videos by the electronic device is improved.

Optionally, in this embodiment of the application, the processor 1010 is further configured to control the second device to synchronously stop recording the video to obtain the second video before obtaining the target video based on the first video and the second video. The radio frequency unit 1001 is configured to receive a second video sent by a second device.

Optionally, in this embodiment of the application, the processor 1010 is specifically configured to perform synthesis processing on the first video and the second video to obtain a target video. Or, the processor 1010 is specifically configured to perform editing processing on the third video to obtain an edited third video, and perform synthesis processing based on the edited third video to obtain a target video, where the third video includes at least one of the following: a first video and a second video.

Optionally, in this embodiment of the application, the user input unit 1007 is further configured to receive a third input from the user before receiving the first input from the user when the first device is communicatively connected to the second device. The processor 1010 is further configured to log in a first device account of the first device in response to a third input received by the user input unit 1007. A display unit 1006, configured to display at least one device identifier. The user input unit 1007 is further configured to receive a fourth input from the user, where the fourth input is an input from the user to a target identifier in the at least one device identifier, and the target identifier is used to indicate the second device. A radio frequency unit 1001, configured to send, in response to a fourth input received by the user input unit 1007, target information to the second device through the first device account, where the target information is used for establishing a connection between the first device and the second device.

Optionally, in this embodiment of the application, the user input unit 1007 is further configured to receive a fifth input from the user before receiving the first input from the user. The processor 1010 is further configured to start a video control function in the first device and set the first device as a main control device in response to a fifth input received by the user input unit 1007.

The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.

The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.

It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 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 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.

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 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.

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.

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 run a program or an instruction to implement each process of the above video recording method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of 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 based on the functions 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 method of the above embodiments 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 implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer 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, or a network device) to execute the method 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 spirit and scope of the invention as defined by the appended claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:行交织控制器、包括其的图像信号处理器和应用处理器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类