CN115348405A - Video recording method, video recording device, electronic equipment and storage medium - Google Patents

Video recording method, video recording device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115348405A
CN115348405A CN202211019182.8A CN202211019182A CN115348405A CN 115348405 A CN115348405 A CN 115348405A CN 202211019182 A CN202211019182 A CN 202211019182A CN 115348405 A CN115348405 A CN 115348405A
Authority
CN
China
Prior art keywords
video
recording
input
video segment
segment
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.)
Pending
Application number
CN202211019182.8A
Other languages
Chinese (zh)
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 CN202211019182.8A priority Critical patent/CN115348405A/en
Publication of CN115348405A publication Critical patent/CN115348405A/en
Priority to PCT/CN2023/114430 priority patent/WO2024041564A1/en
Pending legal-status Critical Current

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
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection

Abstract

The application discloses a video recording method, a video recording device, electronic equipment and a storage medium, which belong to the technical field of video recording, and the method comprises the following steps: receiving a first input under the conditions of recording a video and displaying a video recording interface, wherein the video recording interface comprises at least one recording object, and the first input is the input of a user to a first recording object in the at least one recording object; in response to the first input, stopping recording the video to obtain a first video segment, and continuing to record the next video segment; receiving a second input to the first recording object; in response to the second input, stopping recording the video to obtain a second video segment, and encrypting the second video segment based on the first recording object; and obtaining the target video based on the first video clip and the encrypted second video clip.

Description

Video recording method, video recording device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of video recording, and particularly relates to a video recording method and device, electronic equipment and a storage medium.
Background
With the continuous development of electronic devices, it has become a common operation in daily life to record videos by using electronic devices, however, when users record videos, the users all adopt the conventional operation: clicking a shooting button to record, and when the content to be recorded is recorded, clicking the shooting button again to finish recording; therefore, when the user views the video, the original video in the complete period is viewed; or when the user shares the video to other users, the originally recorded video is also completely shared out, so that the video clicked by other users to be viewed is also the original video in a complete period, and the user can view all contents of the video by clicking the play button, and the privacy of the user can be also leaked. Therefore, the video recorded by the electronic equipment is single and low in safety.
Disclosure of Invention
An embodiment of the present application provides a video recording method and apparatus, an electronic device, and a storage medium, which can solve the problems of a single video recorded by the electronic device and low security.
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 conditions of recording a video and displaying a video recording interface, wherein the video recording interface comprises at least one recording object, and the first input is the input of the user to a first recording object in the at least one recording object; in response to the first input, stopping recording the video to obtain a first video segment, and continuing to record the next video segment; receiving a second input to the first recording object; responding to the second input, stopping recording the video to obtain a second video segment, and encrypting the second video segment based on the first recording object; and obtaining the target video based on the first video clip and the encrypted second video clip.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including: the device comprises a receiving module and a processing module. The receiving module is used for receiving a first input under the conditions of recording videos and displaying a video recording interface, wherein the video recording interface comprises at least one recording object, and the first input is input of a user to a first recording object in the at least one recording object. And the processing module is used for responding to the first input received by the receiving module, stopping recording the video, obtaining a first video segment and continuously starting recording the next video segment. And the receiving module is also used for receiving a second input of the first recording object. The processing module is also used for responding to the second input received by the receiving module, stopping recording the video to obtain a second video segment, and encrypting the second video segment based on the first recording object; and obtaining the target video based on the first video clip and the encrypted second video clip.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, 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 a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the electronic device is recording a video and a video recording interface is displayed, a user can input a first recording object in the video recording interface, so that the electronic device stops recording the video to obtain a first video segment and continues to record a next video segment, then the user can input the first recording object again to stop recording the video to obtain a second video segment, and the second video segment is encrypted based on the first recording object, so that a target video is obtained based on the first video segment and the encrypted second video segment. In the scheme, when the electronic equipment records a video, a user can input any recording object (such as a target recording object) so that the electronic equipment obtains a first section of video (namely a first video segment), then the electronic equipment can continue to record the video until the user inputs the target recording object again, the recording of the video is stopped so as to obtain a second section of video (namely a second video segment), and then the electronic equipment can encrypt the second video segment based on the recording object (namely the target recording object) selected by the user, so that the electronic equipment can obtain the target video based on the first video segment and the encrypted second video segment, namely the target video is obtained by synthesizing a plurality of video segments in the recording process, and the target video recorded by the electronic equipment has diversity; part of video clips in the target video are encrypted according to a recording object input by a user, but not originally recorded videos, namely after the first video clip of the target video is played, the user is required to select a correct recording object (namely the target recording object), and the electronic equipment can unlock the second video clip to play the second video clip, so that the privacy of the user is prevented from being leaked; therefore, videos recorded by the electronic equipment have diversity and high safety.
Drawings
Fig. 1 is a schematic diagram of a video recording method according to an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 6 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 7 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a seventh schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 9 is an eighth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 12 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 clearly and completely described 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, of the 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 creative effort, shall fall within the protection scope 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 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.
The video recording method in the embodiment of the application can be applied to scenes where videos are recorded and shared.
At present, video creation and sharing of created videos to friends or social networks become common operations in daily life of everyone, almost all video creation and sharing at present are videos which are recorded by users and then shared by other users, videos clicked and checked by other users are original videos in a complete period, namely videos seen by all users are the same, the difference effect of videos given by users who create videos cannot be checked through specific operations, and interestingness and creativity are lacked.
In the scheme, in the process of recording the video, after a user clicks and selects one recording object or sequentially connects a plurality of recording objects, the electronic equipment starts to record the video in the hidden time period, and when the user clicks the selected recording object again, the recording of the video in the hidden time period is finished and encryption is carried out. And in the process of viewing the video, the electronic equipment stops playing the video when playing to the hidden time period, and the user viewing the video can only view the encrypted and hidden recorded video after selecting the correct recorded object or connecting the recorded objects according to the correct sequence, or directly skips the video in the hidden time period. Therefore, the user can freely select the video time interval to be hidden in the video recording process, the video in the hidden time interval is encrypted by using the object in the actual scene, the user viewing the video can view the video in the hidden time interval only after clicking to select the correct recording object, and the interestingness and the playability of the user when creating and sharing the video are improved.
In the scheme provided by the embodiment of the application, under the condition that the electronic equipment is recording videos and a video recording interface is displayed, a user can input a first recording object in the video recording interface, so that the electronic equipment stops recording the videos to obtain a first video segment and continues to record a next video segment, then the user can input the first recording object again, so that the electronic equipment stops recording the videos to obtain a second video segment, and the second video segment is encrypted based on the first recording object, so that a target video is obtained based on the first video segment and the encrypted second video segment. In the scheme, when the electronic equipment records a video, a user can input any recording object (such as a target recording object) so that the electronic equipment obtains a first section of video (namely a first video segment), then the electronic equipment can continue to record the video until the user inputs the target recording object again, the recording of the video is stopped so as to obtain a second section of video (namely a second video segment), and then the electronic equipment can encrypt the second video segment based on the recording object (namely the target recording object) selected by the user, so that the electronic equipment can obtain the target video based on the first video segment and the encrypted second video segment, namely the target video is obtained by synthesizing a plurality of video segments in the recording process, and the target video recorded by the electronic equipment has diversity; part of video clips in the target video are encrypted according to a recording object input by a user, but not originally recorded videos, namely after the first video clip of the target video is played, the user is required to select a correct recording object (namely the target recording object), and the electronic equipment can unlock the second video clip to play the second video clip, so that the privacy of the user is prevented from being leaked; therefore, the videos recorded by the electronic equipment have diversity and high safety.
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. As shown in fig. 1, a video recording method provided in an embodiment of the present application may include steps 201 to 205 described below.
Step 201, the electronic device receives a first input under the condition of recording a video and displaying a video recording interface.
In an embodiment of the present application, the video recording interface includes at least one recording object, and the first input is input by a user to a first recording object of the at least one recording object.
In the embodiment of the application, when the electronic device is recording a video and displays a video recording interface, the electronic device may input a first recording object of at least one recording object included in the video recording interface, trigger the electronic device to stop recording the video to obtain a first video segment, and continue to record a next video segment, and then the user may input the first recording object again, trigger the electronic device to stop recording the video to obtain a second video segment, and encrypt the second video segment based on the first recording object, and finally, the electronic device may obtain a target video based on the first video segment and the encrypted second video segment.
Optionally, in this embodiment of the application, the first input may be a selection input of a user for the first recording object; or, when the first recording object is a plurality of recording objects, the first input may be a slide input, a click input, a long press input, a circle selection input, or the like of the user for the plurality of recording objects.
Step 202, the electronic device responds to the first input, stops recording the video, obtains the first video segment, and continues to record the next video segment.
In the embodiment of the application, a user can input a first recording object of at least one recording object, so that the electronic device stops recording the video, obtains a first video segment, and continues to record a next video segment.
Exemplarily, taking the electronic device as a mobile phone as an example for explanation, when the mobile phone is recording a video, as shown in fig. 2 (a), a user may click a first recording object (e.g., a book 11) to trigger the mobile phone to stop recording the video, so as to obtain a first video segment; as shown in fig. 2 (B), the mobile phone continues to record the video, i.e., starts recording the second video segment.
Further illustratively, when the mobile phone is recording a video, as shown in fig. 2 (C), the user may input a first recording object (e.g., book 11, chair 12, table 13, table lamp 14) and follow: the method comprises the steps that a book 11, a chair 12, a table 13 and a desk lamp 14 sequentially slide and input a plurality of recorded objects, and a mobile phone is triggered to stop recording videos to obtain a first video clip; as shown in fig. 2 (D), the handset continues to start recording video.
Optionally, in this embodiment of the application, when the first input is input of the user to the multiple recorded objects, the electronic device may prompt the user to input the multiple recorded objects again after the user inputs the multiple recorded objects, and when the input sequence of the recorded objects input twice is consistent with the input sequence of the recorded objects, trigger the electronic device to stop recording the video, obtain the first video segment, and continue to record the next video segment.
Optionally, in this embodiment of the application, when the electronic device continues to record the next video segment, the recording interface displays the recording duration of the video segment.
Optionally, in this embodiment of the application, after the user inputs the first recording object, the electronic device may recommend a video recording template according to the recording object input by the user, so that the user continues to record the video using the video recording template.
Optionally, in this embodiment of the application, the video recording interface further includes at least one object mark, and each object mark corresponds to one recording object; the first input is specifically input of a first object mark corresponding to a first recording object by a user; before the "electronic device continues to record the next video segment" in step 202, the video recording method provided by the embodiment of the present application further includes step 301 as described below.
Step 301, the electronic device cancels display of other object marks in the video recording interface.
In an embodiment of the present application, the other object tags are object tags other than the first object tag in the at least one object tag.
In the embodiment of the application, a video recording interface displayed by electronic equipment includes at least one recording object, and the electronic equipment can display at least one object mark in the video recording interface for the at least one recording object, so that a user can input a first object mark in the at least one object mark, trigger the electronic equipment to stop recording a video to obtain a first video segment, and cancel displaying other object marks in the video recording interface, that is, only the first object mark is displayed in the video recording interface, and then the electronic equipment continues to record a next video segment.
Optionally, in this embodiment of the application, after the user opens a video recording application (e.g., a camera application or a chat-type application), the electronic device displays a video recording preview interface, and the electronic device may identify a recording object in the current video recording preview interface through an Artificial Intelligence (AI) recognition technology, and display an object mark corresponding to each recording object in at least one recording object in real time during the video recording preview interface and the recording of the video.
Optionally, in this embodiment of the application, the object mark may be a name of a recording object, a serial number of the recording object, or another customized mark, for example, "1, desk".
Exemplarily, as shown in fig. 3, in the video recording process, the mobile phone displays object marks of a plurality of recorded objects on the video recording interface respectively: 1. book, desk lamp 2, desk lamp 3, chair 4 and drawer 5.
Optionally, in this embodiment of the application, the mark position of the object mark may be any one of: the recording object is displayed on the upper side, the lower side, the upper right side, the lower left side and the like of the recording object, and the display of the recording object is not blocked.
Optionally, in this embodiment of the present application, the first input may be a selection input of a user to the first object marker; alternatively, when the first object marker includes a plurality of object markers, the first input may be a slide input, a click input, a long press input, a circle selection input, or the like of the plurality of object markers by the user.
Illustratively, in conjunction with FIG. 3, as shown in FIG. 4 (A), the user may click on the first object mark (e.g., "1. Book") to trigger the mobile phone to stop recording video, resulting in a first video segment; as shown in fig. 4 (B), the mobile phone cancels the display of the other object marks in the video recording interface, i.e., only the object mark "1. Book" is displayed in the video recording interface, and then the mobile phone continues to record the video.
Also exemplarily, in conjunction with fig. 3, as shown in (C) of fig. 4, the user inputs a first object mark (e.g., "1. Book", "4. Chair", "3. Table" and "2. Table lamp") to trigger the mobile phone to stop recording the video, resulting in a first video segment; as shown in (D) in fig. 4, the mobile phone cancels the display of the other object marks in the video recording interface, that is, only the object marks "1. Book", "4. Chair", "3. Table" and "2. Table lamp" are displayed in the video recording interface, and then the mobile phone continues to record the video.
In the embodiment of the application, as the user inputs the first object mark of the at least one object mark, the electronic device is triggered to stop recording the video, after the first video segment is obtained, the electronic device is also triggered to cancel displaying other object marks in the video recording interface (namely only the first object mark is displayed in the video recording interface), and then the electronic device continues to record the video, the user can be reminded of recording the video corresponding to the first object mark in real time in the process of continuously recording the video.
Step 203, the electronic device receives a second input to the first recording object.
Optionally, in this embodiment of the application, the second input may be any possible form of input, such as a click input, a long press input, a double press input, or the like, of the user to the first recording object, or, when the first recording object includes a plurality of recording objects, the second input may be an input, such as a click input, a long press input, a double press input, or the like, of the user to any one of the plurality of recording objects.
Illustratively, in conjunction with fig. 2 (B), as shown in fig. 5 (a), during the process of continuing recording the video by the mobile phone, the user may click the first recording object (e.g., book 11) again, trigger the mobile phone to stop recording the video, obtain the second video segment, and encrypt the second video segment based on the first recording object "book".
Further exemplarily, in conjunction with (D) in fig. 2, as shown in (B) in fig. 5, while the mobile phone continues to record the video, the user may click any one of the first recorded objects (for example, "chair 12"), trigger the mobile phone to stop recording the video, obtain the second video segment, and encrypt the second video segment based on the first recorded object.
And step 204, the electronic equipment responds to the second input, stops recording the video to obtain a second video segment, and encrypts the second video segment based on the first recording object.
Optionally, in this embodiment of the application, the electronic device may start to record a video by using the system default filter, and when a user inputs a first recorded object in a process of recording the video, the electronic device may be triggered to stop recording the video to obtain a first video segment recorded by using the system default filter, and the first filter is used to continue to start recording a next video segment, where the first filter is obtained by the electronic device according to identification and analysis of the first recorded object input by the user, so that when the user inputs the first recorded object again, the electronic device may be triggered to stop recording the video to obtain a second video segment recorded by using the first filter.
Optionally, in this embodiment of the application, after the user inputs the first recording object and triggers the electronic device to record the second video segment in the target time period by using the first filter, the user may input the recording object other than the first recording object in the at least one recording object, and trigger the electronic device to record the second video segment in the target time period again by using a filter (for example, a second filter) different from the first filter, that is, the user may input different recording objects and trigger the electronic device to record a plurality of video segments in the same time period by using different filters, so that the user may trigger the electronic device to play the second video segment recorded by using different filters by inputting different recording objects when the electronic device plays the recorded complete video and finishes playing the first video segment, thereby improving the diversity of videos recorded by the electronic device.
For example: in the process that the electronic equipment records the video by adopting the system default filter, a user can input a first recording object (such as a table) within 1 minute and 10 seconds, trigger the electronic equipment to stop recording the video to obtain a first video segment recorded by adopting the system default filter, and start to record a next video segment from 1 minute and 10 seconds by adopting the first filter (such as a movie filter), and then when the user inputs the first recording object again within 2 minutes and 20 seconds, trigger the electronic equipment to stop recording the video to obtain a second video segment which is recorded by adopting the first filter and has a time period of 1 minute and 10 seconds to 2 minutes and 20 seconds; then, a user can input a recording object (such as a chair) in at least one recording object except for a first recording object, and the electronic equipment is triggered to adopt a second filter (such as a bubble filter) to record a video segment with a time period of 1 min 10 s-2 min 20 s again, so that when the electronic equipment plays a video and finishes playing the first video segment, if the user inputs the recording object (such as a table), the electronic equipment can be triggered to play the second video segment with the time period of 1 min 10 s-2 min 20 s, which is recorded by adopting the first filter; or, if the user inputs the recording object (for example, a chair), the electronic device may be triggered to play the second video segment recorded by the second filter for a time period of 1 min 10 s-2 min 20 s.
Optionally, in this embodiment of the present application, in the process of recording a video by the electronic device, the filter used is obtained by identifying and analyzing a recorded object input by a user.
Optionally, in this embodiment of the application, when the first input is input of the first object mark corresponding to the first recording object by the user, the user inputs the first recording object again (that is, a second input), the electronic device is triggered to stop recording the video, and after the second video segment is obtained, the video recording preview interface displays at least one object mark, that is, resumes displaying other object marks, so that the user may select at least one object mark again, and trigger the electronic device to continue recording the video.
Optionally, in this embodiment of the application, the step 204 of "the electronic device encrypts the second video segment based on the first recording object" may specifically be implemented by the step 204a described below.
And step 204a, the electronic equipment encrypts the second video segment by using the first recording object or the target information to obtain the encrypted second video segment.
In an embodiment of the present application, the target information includes a first recording object and first input characteristic information.
Optionally, in this embodiment of the application, the target information may include a first object mark corresponding to a first recording object.
Optionally, in an embodiment of the present application, the input characteristic information of the first input includes at least one of: an input form (e.g., a click input, a slide input, a long press input, etc.), a start position of an input, an end position of an input, an input trajectory, etc.
Optionally, in this embodiment of the application, the electronic device may synthesize the first recording object and the first input feature information to encrypt the second video segment.
It can be understood that the electronic device completes the recording of all the video segments, and after the video is played and the first video segment is played, the second video segment can be unlocked only by inputting the correct recorded object (i.e. the first recorded object), so as to start playing the second video segment;
or, when the correct recording object is input and the input characteristic information matches the input characteristic information of the first input (e.g., input form, input start position, input end position, input track matches the input form of the first input, start position of the first input, end position of the first input, input track of the first input), the second video segment can be unlocked, and the playing of the second video segment is started.
Exemplarily, as shown in (a) in fig. 2, the first recording object is "book 11"; alternatively, as shown in fig. 2 (C), the first recording objects are "book 11", "table lamp 14", "table 13", and "chair 12", and the input characteristic information first input by the user includes: the initial position of the sliding input and the input is 'book 11', the end position of the input is 'table lamp 14', and the input track is the connection track of 'book 11-chair 12-table 13-table lamp 14'.
Optionally, in this embodiment of the application, when the user inputs the first object mark corresponding to the first recording object, the electronic device may encrypt the second video segment by using the first object mark to obtain the encrypted second video segment, or may encrypt the second video segment by using the first object mark and the first input feature information to obtain the encrypted second video segment.
It can be understood that, in the case that the user inputs the first object mark corresponding to the first recording object, the input characteristic information of the first input may be at least one of the following: an input form when the first object is marked, a start position when the first object is marked, an end position when the first object is marked, and an input trajectory when the first object is marked.
And step 205, the electronic device obtains the target video based on the first video segment and the encrypted second video segment.
In the embodiment of the application, after the electronic device obtains the encrypted second video segment, the electronic device can synthesize the first video segment and the encrypted second video segment to obtain the target video.
Optionally, in this embodiment of the application, after obtaining the target video, the electronic device may send the target video to another electronic device (for example, a second electronic device); or after the electronic device records the video, a user identifier, a device identifier, an account identifier, or the like may be displayed, and the user may optionally select one identifier to trigger the electronic device to share the target video with a device (e.g., a second electronic device) corresponding to the identifier; or after the electronic device records the video, that is, after the target video is obtained, the electronic device may display at least one social platform identifier, and the user may select one social platform identifier arbitrarily, and trigger the electronic device to publish the target video on a social platform corresponding to the social platform identifier, so that other electronic devices (for example, a second electronic device) can view the target video through the same social platform.
Alternatively, in this embodiment of the present application, the step 205 may be specifically implemented by the following step 205 a.
And 205a, the electronic equipment synthesizes the first video segment, the encrypted second video segment and the recording related parameters of the second video segment to obtain a target video.
In an embodiment of the application, the recording related parameter of the second video segment includes at least one of: the recording method comprises the following steps of starting recording time, ending recording time, recording duration, first input characteristic information and at least one recorded object.
Optionally, in this embodiment of the present application, the recording related parameter of the second video segment includes a recording start time, and when the electronic device plays the target video, the recording start time of the second video segment can be known, so that in a process of playing the target video, the video is stopped to be played according to the recording start time of the second video segment.
Optionally, in this embodiment of the application, the recording related parameters of the second video segment include first input feature information and at least one recording object, and when the electronic device plays the target video, the recording related parameters of the second video segment may be known, so that when the target video is played and the video playing is stopped according to the recording start time of the second video segment, the user may input the at least one recording object, and when the input recording object is a correct recording object (i.e., the first recording object) and the input feature information matches the first input feature information, the electronic device is triggered to unlock the second video segment, so that the second video segment starts to be played.
Optionally, in this embodiment of the application, the recording related parameter of the second video segment includes a recording ending time, when the electronic device plays the target video, the recording ending time of the second video segment can be known, and the playing of the second video segment is stopped in the process of playing the target video; alternatively, the first and second electrodes may be,
under the conditions that the electronic equipment stops playing the video according to the recording starting time of the second video segment and the user selects to directly skip playing the second video segment, the electronic equipment directly plays other subsequent video segments according to the recording ending time of the second video segment; alternatively, the first and second electrodes may be,
and under the condition that the next video segment of the second video segment is the encrypted video segment, the electronic equipment stops playing the video at the end of the second video segment according to the end recording time of the second video segment and the at least one recorded object, and the user can input the at least one recorded object to unlock the next video segment.
Optionally, in this embodiment of the application, the recording related parameter of the second video segment includes a recording duration, and when the electronic device plays the target video, the recording duration of the second video segment can be obtained, so that the recording ending time of the second video segment is obtained according to the recording starting time of the second video segment and the recording duration of the second video segment, and after the first video segment is finished playing, the subsequent other video segments can be directly played (i.e., the second video segment is selected to be directly skipped); alternatively, the first and second electrodes may be,
when the next video segment of the second video segment is the encrypted video segment, the electronic device may obtain the end recording time of the second video segment according to the start recording time of the second video segment and the recording duration of the second video segment, so that when the second video segment is played according to the end recording time of the second video segment and the end of the at least one recording object, the user may input the at least one recording object to unlock the next video segment.
The embodiment of the application provides a video recording method, under the condition that an electronic device is recording videos and a video recording interface is displayed, a user can input a first recording object in the video recording interface, so that the electronic device stops recording the videos to obtain a first video segment and continues to record a next video segment, then the user can input the first recording object again, so that the electronic device stops recording the videos to obtain a second video segment, and the second video segment is encrypted based on the first recording object, so that a target video is obtained based on the first video segment and the encrypted second video segment. In the scheme, when the electronic equipment records a video, a user can input any recording object (such as a target recording object) so that the electronic equipment obtains a first section of video (namely a first video segment), then the electronic equipment can continue to record the video until the user inputs the target recording object again, the recording of the video is stopped so as to obtain a second section of video (namely a second video segment), and then the electronic equipment can encrypt the second video segment based on the recording object (namely the target recording object) selected by the user, so that the electronic equipment can obtain the target video based on the first video segment and the encrypted second video segment, namely the target video is obtained by synthesizing a plurality of video segments in the recording process, and the target video recorded by the electronic equipment has diversity; part of video clips in the target video are encrypted according to a recording object input by a user, but not originally recorded videos, namely after the first video clip of the target video is played, the user is required to select a correct recording object (namely the target recording object), and the electronic equipment can unlock the second video clip to play the second video clip, so that the privacy of the user is prevented from being leaked; therefore, videos recorded by the electronic equipment have diversity and high safety.
Optionally, in this embodiment of the present application, after the step 204, the video recording method provided in this embodiment of the present application further includes the following steps 401 to 403, and the step 205 may be specifically implemented by the step 205 b.
Step 401, the electronic device displays the encrypted second video segment on a video recording interface.
In this embodiment of the application, after the electronic device encrypts the second video segment based on the first recording object, the encrypted second video segment may be displayed on the video recording interface, and then the user may input the second video segment to trigger the electronic device to edit the second video segment, so as to obtain an edited second video segment (i.e., a third video segment).
Optionally, in this embodiment of the application, the electronic device may display a thumbnail of the second video segment at the bottom of the video preview interface, and then the user inputs the thumbnail to trigger the electronic device to display the second video segment; or the electronic equipment directly displays the second video clip in the pause state on the video preview interface; alternatively, the electronic device directly plays the second video clip.
Optionally, in this embodiment of the application, when the electronic device displays the encrypted second video segment, a first control may also be simultaneously displayed, where the first control includes at least one of the following: and deleting the control, re-recording the control and replacing the control with the recording object, wherein the user can input the first control to trigger the electronic equipment to edit the second video clip.
Illustratively, as shown in fig. 6 (a), the mobile phone may display a thumbnail 15 of the second video segment at the bottom of the video preview interface, and the user may click on the thumbnail 15, as shown in fig. 6 (B), the mobile phone displays the second video segment and simultaneously displays the delete control 16, the re-recording control 17, and the recording object replacement control 18 (i.e., the first control), so that the user may select any one of the controls to edit the second video segment.
Step 402, the electronic device receives a third input for a second video segment.
Optionally, in this embodiment of the application, the third input may be an editing input of the second video segment by the user, for example, a cropping input, a deleting input, an input of adding a filter, an input of re-recording, an input of recording an object replacement control, so as to trigger the electronic device to perform an editing process corresponding to the third input on the second video segment.
Optionally, in this embodiment of the present application, the third input may include a first sub-input and a second sub-input, where the first sub-input is any possible form of input, such as a click input, a long-press input, a double-press input, or the like, of the user on the second video segment, so as to trigger the first electronic device to display the first control (for example, a delete control, a re-record control, and a record object replacement control); the second sub-input is click input of a control (for example, a delete control) by a user to trigger the first electronic device to edit the second video segment in an editing mode corresponding to the control.
And step 403, the electronic device responds to the third input, and edits the second video segment to obtain a third video segment.
Optionally, in this embodiment of the application, the user may input the deletion control to trigger the electronic device to delete the second video segment.
Optionally, in this embodiment of the application, the user may input the re-recording control to trigger the electronic device to automatically re-record the second video segment from the recording start time of the second video segment, so as to obtain the re-recorded second video segment (i.e., the third video segment).
Optionally, in this embodiment of the present application, a user may input a record object replacement control to trigger the electronic device to replace the first record object (for example, replace a "book" with a "desk lamp"), so as to obtain an edited second video segment (i.e., a third video segment).
In the embodiment of the application, after the electronic device encrypts the second video segment based on the first recording object, the electronic device can display the encrypted second video segment, so that a user can input the second video segment, and trigger the electronic device to edit the second video segment, thereby obtaining the edited second video segment (i.e., the third video segment), and thus improving the flexibility and diversity of recording the second video segment.
And step 205b, the electronic equipment obtains a target video based on the first video segment and the third video segment.
In the embodiment of the application, after the electronic device obtains the encrypted second video segment, the user can edit the second video segment to trigger the electronic device to obtain the third video segment, so that the electronic device can obtain the target video based on the first video segment and the third video segment.
Optionally, in this embodiment of the application, a user inputs the record object replacement control, triggers the electronic device to replace the first record object, obtains a third video segment, encrypts the third video segment by using the replaced first record object and the first input feature information, obtains an encrypted third video segment, and then synthesizes record related parameters of the first video segment, the encrypted third video segment, and the third video segment, to obtain the target video.
Optionally, in this embodiment of the present application, before the step 205, the video recording method provided in this embodiment of the present application further includes the following steps 501 to 504, and the step 205 may be specifically implemented by the step 205 c.
Step 501, the electronic device receives a fourth input to the second recording object;
in the embodiment of the application, after the electronic device obtains the second video segment and encrypts the second video segment based on the first recording object, the user can input a second recording object (for example, a chair) in at least one recording object to trigger the electronic device to continue recording the video, then the user can input the second recording object again in the process of recording the video, trigger the electronic device to stop recording the video to obtain a fourth video segment, and encrypt the fourth video segment based on the second recording object, so that the encrypted fourth video segment is obtained.
Step 502, the electronic device continues to record the next video segment in response to the fourth input.
In step 503, the electronic device receives a fifth input for the second recording object.
And step 504, the electronic equipment responds to the fifth input, stops recording the video to obtain a fourth video segment, and encrypts the fourth video segment based on the second recording object.
It should be noted that, for the fourth input and the fifth input of the second recording object, the description of the first input and the second input of the first recording object in the foregoing embodiment may be referred to, and for the encryption processing performed on the fourth video segment by the electronic device based on the second recording object, the description of the encryption processing performed on the second video segment by the electronic device based on the first recording object in the foregoing embodiment may be referred to, and details are not repeated here.
And step 205c, the electronic device obtains the target video based on the first video segment, the encrypted second video segment and the encrypted fourth video segment.
In the embodiment of the application, after the electronic device obtains the encrypted second video segment and the encrypted fourth video segment, the electronic device can synthesize the first video segment, the encrypted second video segment and the encrypted fourth video segment to obtain the target video.
Optionally, in this embodiment of the application, the electronic device may perform synthesis processing on the first video segment, the encrypted second video segment, the encrypted fourth video segment, the recording related parameter of the second video segment, and the recording related parameter of the fourth video segment to obtain the target video.
It should be noted that, for the recording related parameter of the fourth video segment, reference may be made to the description of the recording related parameter of the second video segment in the foregoing embodiment, and details are not repeated here.
Optionally, in this embodiment of the present application, before the step 205, the video recording method provided in this embodiment of the present application further includes the following steps 601 to 604, and the step 205 may be specifically implemented by the step 205 d.
Step 601, the electronic device receives a sixth input to the recording control.
In the embodiment of the application, after the electronic device obtains the second video segment and encrypts the second video segment based on the first recording object, the user can input the recording control to trigger the electronic device to continue recording the video, and then the user can input the recording control again in the process of recording the video to trigger the electronic device to stop recording the video, so that the fifth video segment (namely the unencrypted video segment) is obtained.
Optionally, in this embodiment of the application, the sixth input may be any possible form of input, such as a click input, a long-press input, a double-press input, or the like, of the recording control by the user, so as to trigger the electronic device to continue recording the next video segment. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Step 602, the electronic device continues to record the next video segment in response to the sixth input.
Step 603, the electronic device receives a seventh input to the recording control.
Optionally, in this embodiment of the application, the seventh input may be any possible form of input, such as click input, long-press input, double-press input, or the like, of the recording control by the user, so as to trigger the electronic device to stop recording the video, and obtain the fifth video segment. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And step 604, the electronic equipment responds to the seventh input, stops recording the video and obtains a fifth video segment.
It is to be understood that the fifth video segment is an unencrypted video segment.
And step 205d, the electronic device obtains the target video based on the first video clip, the encrypted second video clip and the encrypted fifth video clip.
In this embodiment of the application, after the electronic device obtains the encrypted second video segment and the encrypted fifth video segment, the electronic device may synthesize the first video segment, the encrypted second video segment, and the encrypted fifth video segment to obtain the target video.
Optionally, in this embodiment of the application, the electronic device may perform synthesis processing on the first video segment, the encrypted second video segment, the recording related parameter of the second video segment, and the fifth video segment to obtain the target video.
Optionally, in this embodiment of the present application, after step 205, the video recording method provided in this embodiment of the present application further includes steps 701 to 704 described below.
Step 701, the electronic device starts playing the target video.
In the embodiment of the application, when the electronic device plays the target video and the first video segment in the target video is played, the electronic device can display the first information to remind a user to unlock the second video segment, then the user can input the second information, and when the input characteristic information meets the preset condition, the electronic device unlocks the second video segment and starts to play the second video segment.
Step 702, the electronic device displays the first information when the playing of the first video segment is finished.
In this embodiment of the application, the first information is used to prompt a user to unlock the second video clip.
Optionally, in this embodiment of the application, the electronic device may display the first information in a text form (for example, the content of the first information is to please unlock a next video clip).
Illustratively, as shown in FIG. 7, the electronic device displays a first message (e.g., "please unlock the next video clip") when the first video clip finishes playing.
Optionally, in this embodiment of the application, when the electronic device displays the first information, the user may directly input the video play button, and trigger the electronic device to skip the second video segment, that is, directly play a next video segment after the second video segment; and if the second video clip is the last video clip of the target video, the electronic equipment finishes playing the target video after the user inputs the video playing button.
Step 703, the electronic device receives an eighth input.
Optionally, in this embodiment of the application, the eighth input is a touch input (for example, a click input, a drag input, or a slide input) to a recording object in the at least one recording object, which is not limited in this embodiment of the application.
Optionally, in this embodiment of the application, the eighth input may be a touch input to an object mark corresponding to a recording object in the at least one recording object.
Step 704, the electronic device responds to the eighth input, and unlocks the second video clip and starts to play the second video clip when the input characteristic information of the eighth input meets the preset condition.
Optionally, in this embodiment of the application, when the input characteristic information input by the eighth input meets a preset condition, the electronic device may display a prompt message to prompt the user to input the correct input, and unlock the second video clip, so as to start playing the second video clip.
Optionally, in this embodiment of the application, the first information includes at least one recording object. The step 704 "in the case that the input characteristic information of the eighth input satisfies the preset condition, the electronic device unlocks the second video clip" can be specifically realized by the following step 704 a.
Step 704a, in the case that the eighth input is an input to the first recording object, or the eighth input is an input to the first recording object and the input characteristic information of the eighth input matches the first input characteristic information, the electronic device unlocks the second video segment.
In the embodiment of the application, when the first video segment is finished to be played and the first information is displayed, the user can input the recording object of the at least one recording object, and if the input recording object is the first recording object, or if the input recording object is the first recording object and the input characteristic information is matched with the first input characteristic information, the electronic device unlocks the second video segment, so that the second video segment is played.
Exemplarily, in conjunction with fig. 7, as shown in (a) of fig. 8, when the first video segment is finished playing and the first information is displayed, the user may click "book 11" in at least one recording object, and the recording object input by the user is the first recording object, so that the mobile phone superimposes and displays a match number (i.e., a prompt message) on the recording object "book", prompts the user to input a correct number, and unlocks the second video segment, thereby starting to play the second video segment.
Further exemplarily, in combination with fig. 7, as shown in (B) of fig. 8, when the first video segment is finished to be played and the first information is displayed, the user may perform a sliding input on the plurality of recording objects in the order of "book 11-chair 12-table 13-table 14", so that the recording object input by the user is the first recording object, and the input characteristic information (i.e., input form: sliding input, input start position: "book 11", input end position: "table 14", input track: "book 11-chair 12-table 13-table 14") matches with the first input characteristic information, so that the mobile phone respectively superimposes and displays a pair number (i.e., prompt information) on the plurality of recording objects, prompts the user to input correctly, and unlocks the second video segment, thereby playing the second video segment.
Optionally, in this embodiment of the application, the first information may include at least one object marker, and each object marker in the at least one object marker corresponds to a recording object.
Optionally, in this embodiment of the application, when the electronic device starts playing the target video and the playing of the first video segment is finished, the electronic device may display at least one object marker to prompt the user to input the at least one object marker to unlock the second video segment.
Optionally, in this embodiment of the application, when the eighth input is an input to at least one object marker, if the eighth input is an input to a first object marker corresponding to the first recording object, the electronic device may be triggered to unlock the second video segment;
or, when the eighth input is the input marked on the first object and the input characteristic information of the eighth input is matched with the first input characteristic information (for example, the input form of the eighth input, the start position of the input, the end position of the input, the input track is matched with the input form of the first input, the start position of the first input, the end position of the first input, and the input track of the first input), the electronic equipment is triggered to unlock the second video segment.
Optionally, in this embodiment of the application, when the first recording object is a recording object, if the user inputs an error, that is, the input recording object is not the first recording object, the electronic device displays a prompt message to remind the user of the input error, and skips over the second video segment, and continues to play the next video segment; when the second video clip is the last video clip of the target video, if the user input is wrong, the electronic equipment finishes playing the target video; if the user wants to re-input at least one recorded object (i.e. the user wants to re-unlock the second video segment), the progress bar of the target video may be manually dragged to the moment when the first video segment finishes playing, so as to re-input at least one recorded object.
Exemplarily, in conjunction with fig. 7, as shown in (a) of fig. 9, when the first video segment finishes playing and the first information is displayed, the user may click "table lamp 14" in at least one recording object, and when the recording object input by the user is not the first recording object, the mobile phone superimposes and displays an error number (i.e., a prompt message) on the recording object "table lamp 14", so as to prompt the user to input an error, and skips the second video segment and continues playing the next video segment.
Optionally, in this embodiment of the application, when the target recording object is a plurality of recording objects, if the user inputs an error, that is, the input recording object is not the first recording object, and/or the input characteristic information is not matched with the first input characteristic information, the electronic device displays a prompt message at the place where the input error is made, so as to prompt the user to input the error, so that the user can re-input on the basis of a partially correct input, until the recording object input by the user is the first recording object, and when the input characteristic information is matched with the first input characteristic information, the electronic device unlocks the second video segment, thereby playing the second video segment; or, when the user inputs an error and/or the input characteristic information input by the user does not match the first input characteristic information, the electronic device skips the second video segment and continues to play the next video segment, and when the second video segment is the last video segment of the target video, the electronic device finishes playing the target video, and if the user wants to input at least one recorded object again (that is, the user wants to unlock the second video segment again), the progress bar of the target video can be manually dragged to the moment when the first video segment finishes playing, so that the user can input at least one recorded object again.
Exemplarily, in combination with fig. 7, as shown in (B) of fig. 9, when the first video segment finishes playing and the first information is displayed, the user may perform sliding input on the plurality of recording objects in the order of the recording objects "book 11-chair 12-table 13-book 11", and when the recording object input by the user is not the first recording object and the input partial input characteristic information (i.e., "book 11", input track: "book 11-chair 12-table 13-book 11") does not match the first input characteristic information, the mobile phone superimposes and displays an error number (i.e., prompt information) on the wrong input track to prompt the user to partially input an error, so that the user may re-input on the basis of prompting the correct input; as shown in (B) of fig. 8, until all the user inputs are correct, the electronic device is triggered to unlock the second video segment, so that the second video segment is played.
It should be noted that, in the video recording method provided in the embodiment of the present application, the execution main body may be an electronic device, or a video recording apparatus, or a control module in the video recording apparatus. In the embodiment of the present application, a video recording method executed by an electronic device is taken as an example to describe a video recording apparatus provided in the embodiment of the present application.
Fig. 10 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. 10, the video recording apparatus 70 may include: a receiving module 71 and a processing module 72.
The receiving module 71 is configured to receive a first input when a video is recorded and a video recording interface is displayed, where the video recording interface includes at least one recording object, and the first input is an input of a first recording object in the at least one recording object by a user. And the processing module 72 is configured to stop recording the video in response to the first input received by the receiving module, obtain a first video segment, and continue to record a next video segment. The receiving module 71 is further configured to receive a second input to the first recording object. The processing module 72 is further configured to stop recording the video in response to the second input received by the receiving module, obtain a second video segment, and encrypt the second video segment based on the first recorded object; and obtaining the target video based on the first video clip and the encrypted second video clip.
The embodiment of the application provides a video recording device, when an electronic device records a video, a user can input any recorded object (for example, a target recorded object) so that the electronic device obtains a first video segment (namely, a first video segment), then the electronic device can continue to record the video until the user inputs the target recorded object again, the recording of the video is stopped so as to obtain a second video segment (namely, a second video segment), then the electronic device can encrypt the second video segment based on the recorded object (namely, the target recorded object) selected by the user, so that the electronic device can obtain the target video based on the first video segment and the encrypted second video segment, namely, the target video is obtained by synthesizing a plurality of video segments in the recording process, and therefore the target video recorded by the electronic device has diversity; part of video clips in the target video are encrypted according to a recording object input by a user, but not originally recorded videos, namely after the first video clip of the target video is played, the user is required to select a correct recording object (namely the target recording object), and the electronic equipment can unlock the second video clip to play the second video clip, so that the privacy of the user is prevented from being leaked; therefore, videos recorded by the electronic equipment have diversity and high safety.
In a possible implementation manner, the video recording interface further includes at least one object mark, and each object mark corresponds to one recording object; the first input is specifically input of a first object mark corresponding to a first recording object by a user; the video recording apparatus 70 provided in the embodiment of the present application further includes: and canceling the module. A canceling module, configured to cancel displaying other object markers in the video recording interface before the processing module 72 continues to record the next video segment, where the other object markers are object markers other than the first object marker in the at least one object marker.
In a possible implementation manner, the processing module 72 is specifically configured to encrypt the second video segment by using the first recording object or the target information to obtain the encrypted second video segment, where the target information includes the first recording object and the first input characteristic information.
In a possible implementation manner, the processing module 72 is specifically configured to perform synthesis processing on the first video segment, the encrypted second video segment, and the recording related parameter of the second video segment to obtain the target video, where the recording related parameter of the second video segment includes at least one of the following parameters: the recording method comprises the following steps of starting recording time, ending recording time, recording duration, first input characteristic information and at least one recording object.
In a possible implementation manner, the video recording apparatus 70 provided in this embodiment of the present application further includes: and a display module. And a display module, configured to display the encrypted second video segment on the video recording interface after the processing module 72 encrypts the second video segment based on the first recording object. The receiving module 71 is further configured to receive a third input for a second video segment. The processing module 72 is further configured to, in response to the third input received by the receiving module, perform editing processing on the second video segment to obtain a third video segment. The processing module 72 is specifically configured to obtain a target video based on the first video segment and the third video segment.
In a possible implementation manner, the receiving module 71 is further configured to receive a fourth input to the second recording object before the processing module 72 obtains the target video based on the first video segment and the encrypted second video segment. The processing module 72 is further configured to continue recording a next video segment in response to the fourth input received by the receiving module 71. The receiving module 71 is further configured to receive a fifth input to the second recording object. The processing module 72 is further configured to stop recording the video in response to the fifth input received by the receiving module 71, to obtain a fourth video segment, and encrypt the fourth video segment based on the second recording object. The processing module 72 is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the encrypted fourth video segment.
In a possible implementation manner, the receiving module 71 is further configured to receive a sixth input to the recording control before the processing module 72 obtains the target video based on the first video segment and the encrypted second video segment. The processing module 72 is further configured to continue recording a next video segment in response to the sixth input received by the receiving module 71. The receiving module 71 is further configured to receive a seventh input to the recording control. The processing module 72 is further configured to stop recording the video in response to the seventh input received by the receiving module 71, so as to obtain a fifth video segment. The processing module 72 is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the fifth video segment.
In a possible implementation manner, the video recording apparatus 70 provided in this embodiment of the present application further includes: the device comprises a playing module and a display module. And the playing module is used for starting to play the target video. And the display module is used for displaying first information under the condition that the first video clip is played, wherein the first information is used for prompting a user to unlock the second video clip. The receiving module 71 is further configured to receive an eighth input. The processing module 72 is configured to, in response to the eighth input received by the receiving module 71, unlock the second video segment and start playing the second video segment when the input feature information of the eighth input meets a preset condition.
In one possible implementation manner, the first information includes at least one recording object; the processing module 72 is specifically configured to unlock the second video segment when the eighth input is an input to the first recording object, or when the eighth input is an input to the first recording object and the input feature information of the eighth input matches the first input feature information.
The video recording apparatus in the embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. The Mobile electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Storage), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The video recording device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video recording device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901 and a memory 902, where the memory 902 stores a program or an instruction that can be executed on the processor 901, and when the program or the instruction is executed by the processor 901, the steps of the foregoing method embodiment are implemented, and the same technical effect can be achieved, 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. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 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 110 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. 12 does not constitute a limitation to 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 107 is configured to receive a first input when a video is recorded and a video recording interface is displayed, where the video recording interface includes at least one recording object, and the first input is an input of a first recording object mark in the at least one recording object by a user.
And a processor 110, configured to stop recording the video in response to the first input, obtain a first video segment, and continue to start recording a next video segment.
The user input unit 107 is further configured to receive a second input to the first recording object.
The processor 110 is further configured to stop recording the video in response to a second input, obtain a second video segment, and encrypt the second video segment based on the first recording object; and obtaining the target video based on the first video clip and the encrypted second video clip.
The embodiment of the application provides a video recording device, when an electronic device records a video, a user can input any recorded object (such as a target recorded object) so that the electronic device obtains a first video segment (namely a first video segment), then the electronic device can continue to record the video until the user inputs the target recorded object again, the recording of the video is stopped to obtain a second video segment (namely a second video segment), and then the electronic device can encrypt the second video segment based on the recorded object (namely the target recorded object) selected by the user, so that the electronic device can obtain the target video based on the first video segment and the encrypted second video segment, namely the target video is obtained by synthesizing a plurality of video segments in the recording process, and the target video recorded by the electronic device has diversity; part of video clips in the target video are encrypted according to a recording object input by a user, but not originally recorded videos, namely after the first video clip of the target video is played, the user is required to select a correct recording object (namely the target recording object), and the electronic equipment can unlock the second video clip to play the second video clip, so that the privacy of the user is prevented from being leaked; therefore, videos recorded by the electronic equipment have diversity and high safety.
Optionally, the video recording interface further includes at least one object mark, and each object mark corresponds to one recording object; the first input is specifically input of a first object mark corresponding to a first recording object by a user; the processor 110 is further configured to cancel displaying other object markers in the video recording interface before continuing to start recording the next video segment, where the other object markers are object markers other than the first object marker in the at least one object marker.
Optionally, the processor 110 is specifically configured to encrypt the second video segment by using the first recording object or the target information, to obtain the encrypted second video segment, where the target information includes the first recording object and the first input feature information.
Optionally, the processor 110 is specifically configured to perform synthesis processing on the first video segment, the encrypted second video segment, and the recording related parameter of the second video segment to obtain the target video, where the recording related parameter of the second video segment includes at least one of the following parameters: the recording method comprises the following steps of starting recording time, ending recording time, recording duration, first input characteristic information and at least one recorded object.
Optionally, the display unit 106 is configured to display the encrypted second video segment on the video recording interface after the processor 110 encrypts the second video segment based on the first recording object.
The user input unit 107 is further configured to receive a third input for the second video segment.
The processor 110 is further configured to perform an editing process on the second video segment in response to a third input, so as to obtain a third video segment.
The processor 110 is specifically configured to obtain a target video based on the first video segment and the third video segment.
Optionally, the user input unit 107 is further configured to receive a fourth input to the second recording object before the processor 110 obtains the target video based on the first video segment and the encrypted second video segment.
The processor 110 is further configured to continue recording the next video segment in response to the fourth input.
The user input unit 107 is further configured to receive a fifth input to the second recording object.
The processor 110 is further configured to stop recording the video in response to the fifth input, obtain a fourth video segment, and perform an encryption process on the fourth video segment based on the second recording object.
The processor 110 is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the encrypted fourth video segment.
Optionally, the user input unit 107 is further configured to receive a sixth input to the recording control before the processor 110 obtains the target video based on the first video segment and the encrypted second video segment.
The processor 110 is further configured to continue recording the next video segment in response to the sixth input.
The user input unit 107 is further configured to receive a seventh input to the recording control.
The processor 110 is further configured to stop recording the video in response to a seventh input, resulting in a fifth video segment.
The processor 110 is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the fifth video segment.
Optionally, a processor 110, configured to start playing the target video.
The display unit 106 is further configured to display first information when the playing of the first video segment is finished, where the first information is used to prompt a user to unlock the second video segment.
The user input unit 107 is further configured to receive an eighth input.
The processor 110 is further configured to, in response to an eighth input, unlock the second video segment and start playing the second video segment if the input feature information of the eighth input satisfies a preset condition.
Optionally, the first information includes at least one recording object; the processor 110 is specifically configured to unlock the second video segment when the eighth input is an input to the first recording object, or when the eighth input is an input to the first recording object and the input feature information of the eighth input matches the first input feature information.
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 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
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 foregoing method embodiments, and can achieve the same technical effects, 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 computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
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 foregoing method embodiments, 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 system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
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 a … …" does not exclude the presence of another identical element 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. Additionally, 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.

Claims (20)

1. A method of video recording, the method comprising:
receiving a first input under the conditions of recording a video and displaying a video recording interface, wherein the video recording interface comprises at least one recording object, and the first input is the input of a user to a first recording object in the at least one recording object;
responding to the first input, stopping recording the video to obtain a first video segment, and continuing to record the next video segment;
receiving a second input to the first recording object;
in response to the second input, stopping recording the video to obtain a second video segment, and encrypting the second video segment based on the first recording object;
and obtaining a target video based on the first video clip and the encrypted second video clip.
2. The method of claim 1, wherein the video recording interface further comprises at least one object tag, and each object tag corresponds to one recording object; the first input is specifically input of a first object mark corresponding to the first recording object by a user;
before the recording of the next video segment is continued, the method further comprises:
canceling the display of other object markers in the video recording interface, wherein the other object markers are object markers of the at least one object marker except the first object marker.
3. The method according to claim 1 or 2, wherein the encrypting the second video segment based on the first recording object comprises:
and encrypting the second video segment by using the first recording object or the target information to obtain the encrypted second video segment, wherein the target information comprises the first recording object and the first input characteristic information.
4. The method according to claim 1, wherein obtaining the target video based on the first video segment and the encrypted second video segment comprises:
synthesizing the recording related parameters of the first video clip, the encrypted second video clip and the second video clip to obtain the target video, wherein the recording related parameters of the second video clip comprise at least one of the following parameters: the recording starting time, the recording ending time, the recording duration, the first input characteristic information and the at least one recorded object.
5. The method of claim 1, wherein after the encrypting the second video segment based on the first recording object, the method further comprises:
displaying the encrypted second video segment on a video recording interface;
receiving a third input to the second video segment;
responding to the third input, and performing editing processing on the second video clip to obtain a third video clip;
the obtaining a target video based on the first video clip and the encrypted second video clip includes:
and obtaining the target video based on the first video clip and the third video clip.
6. The method according to claim 1, wherein before obtaining the target video based on the first video segment and the encrypted second video segment, the method further comprises:
receiving a fourth input to the second recording object;
continuing to begin recording a next video segment in response to the fourth input;
receiving a fifth input to the second recording object;
in response to the fifth input, stopping recording the video to obtain a fourth video segment, and encrypting the fourth video segment based on the second recording object;
the obtaining a target video based on the first video clip and the encrypted second video clip includes:
and obtaining the target video based on the first video clip, the encrypted second video clip and the encrypted fourth video clip.
7. The method according to claim 1, wherein before obtaining the target video based on the first video segment and the encrypted second video segment, the method further comprises:
receiving a sixth input to the recording control;
continuing to begin recording a next video segment in response to the sixth input;
receiving a seventh input to the recording control;
responding to the seventh input, stopping recording the video, and obtaining a fifth video segment;
the obtaining a target video based on the first video clip and the encrypted second video clip includes:
and obtaining the target video based on the first video clip, the encrypted second video clip and the fifth video clip.
8. The method of claim 1, after obtaining the target video based on the first video segment and the encrypted second video segment, the method further comprising:
starting to play the target video;
under the condition that the first video clip is played, displaying first information, wherein the first information is used for prompting a user to unlock the second video clip;
receiving an eighth input;
and responding to the eighth input, and unlocking the second video clip and starting to play the second video clip under the condition that the input characteristic information of the eighth input meets a preset condition.
9. The method of claim 8, wherein the first information comprises the at least one recording object;
and when the input characteristic information of the eighth input meets a preset condition, unlocking the second video clip, including:
and unlocking the second video segment when the eighth input is input to the first recording object or the eighth input is input to the first recording object and the input characteristic information of the eighth input is matched with the first input characteristic information.
10. A video recording apparatus, characterized in that the apparatus comprises: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input under the conditions of recording a video and displaying a video recording interface, wherein the video recording interface comprises at least one recording object, and the first input is input of a user to a first recording object in the at least one recording object;
the processing module is used for responding to the first input received by the receiving module, stopping recording the video to obtain a first video segment, and continuously starting to record the next video segment;
the receiving module is further used for receiving a second input of the first recording object;
the processing module is further configured to stop recording the video in response to the second input received by the receiving module to obtain a second video segment, and encrypt the second video segment based on the first recording object; and obtaining a target video based on the first video clip and the encrypted second video clip.
11. The apparatus of claim 10, wherein the video recording interface further comprises at least one object tag, and each object tag corresponds to a recording object; the first input is specifically input of a first object mark corresponding to the first recording object by a user; the video recording apparatus further includes: a cancellation module;
the canceling module is configured to cancel displaying other object markers in the video recording interface before the processing module continues to record a next video segment, where the other object markers are object markers other than the first object marker in the at least one object marker.
12. The apparatus of claim 10 or 11,
the processing module is specifically configured to encrypt the second video segment by using the first recording object or the target information to obtain the encrypted second video segment, where the target information includes the first recording object and the first input feature information.
13. The apparatus of claim 10,
the processing module is specifically configured to perform synthesis processing on the first video segment, the encrypted second video segment, and recording related parameters of the second video segment to obtain the target video, where the recording related parameters of the second video segment include at least one of the following parameters: the recording starting time, the recording ending time, the recording duration, the first input characteristic information and the at least one recorded object.
14. The apparatus of claim 10, wherein the video recording apparatus further comprises: a display module;
the display module is used for displaying the encrypted second video segment on a video recording interface after the processing module encrypts the second video segment based on the first recording object;
the receiving module is further configured to receive a third input to the second video segment;
the processing module is further configured to perform editing processing on the second video segment in response to the third input received by the receiving module to obtain a third video segment;
the processing module is specifically configured to obtain the target video based on the first video segment and the third video segment.
15. The apparatus of claim 10,
the receiving module is further configured to receive a fourth input to a second recording object before the processing module obtains a target video based on the first video segment and the encrypted second video segment;
the processing module is further configured to continue recording a next video segment in response to the fourth input received by the receiving module;
the receiving module is further configured to receive a fifth input to the second recording object;
the processing module is further configured to stop recording a video in response to the fifth input received by the receiving module to obtain a fourth video segment, and encrypt the fourth video segment based on the second recording object;
the processing module is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the encrypted fourth video segment.
16. The apparatus of claim 10,
the receiving module is further configured to receive a sixth input to the recording control before the processing module obtains the target video based on the first video segment and the encrypted second video segment;
the processing module is further configured to continue recording a next video segment in response to the sixth input received by the receiving module;
the receiving module is further configured to receive a seventh input to the recording control;
the processing module is further configured to stop recording the video in response to the seventh input received by the receiving module, so as to obtain a fifth video segment;
the processing module is specifically configured to obtain the target video based on the first video segment, the encrypted second video segment, and the fifth video segment.
17. The apparatus of claim 10, wherein the video recording apparatus comprises: the display device comprises a playing module and a display module;
the playing module is used for starting to play the target video;
the display module is used for displaying first information under the condition that the first video clip is played, wherein the first information is used for prompting a user to unlock the second video clip;
the receiving module is further configured to receive an eighth input;
the processing module is configured to, in response to the eighth input received by the receiving module, unlock the second video clip and start playing the second video clip when the input feature information of the eighth input meets a preset condition.
18. The apparatus of claim 17, wherein the first information comprises the at least one recording object;
the processing module is specifically configured to unlock the second video segment when the eighth input is an input to the first recording object, or when the eighth input is an input to the first recording object and input feature information of the eighth input is matched with the first input feature information.
19. 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 9.
20. A readable storage medium, characterized in that a program or instructions are stored thereon which, when executed by a processor, carry out the steps of the video recording method according to any one of claims 1 to 9.
CN202211019182.8A 2022-08-24 2022-08-24 Video recording method, video recording device, electronic equipment and storage medium Pending CN115348405A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211019182.8A CN115348405A (en) 2022-08-24 2022-08-24 Video recording method, video recording device, electronic equipment and storage medium
PCT/CN2023/114430 WO2024041564A1 (en) 2022-08-24 2023-08-23 Video recording method and apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211019182.8A CN115348405A (en) 2022-08-24 2022-08-24 Video recording method, video recording device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115348405A true CN115348405A (en) 2022-11-15

Family

ID=83954431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211019182.8A Pending CN115348405A (en) 2022-08-24 2022-08-24 Video recording method, video recording device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115348405A (en)
WO (1) WO2024041564A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041564A1 (en) * 2022-08-24 2024-02-29 维沃移动通信有限公司 Video recording method and apparatus, electronic device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891749A (en) * 2012-09-25 2013-01-23 东莞宇龙通信科技有限公司 Method and communication terminal for data encryption
CN104135605B (en) * 2013-06-21 2015-08-05 腾讯科技(深圳)有限公司 Photographic method and device
CN104253933A (en) * 2013-06-26 2014-12-31 华为技术有限公司 Shooting method and device
JP2015127731A (en) * 2013-12-27 2015-07-09 シャープ株式会社 Image processor, image processing system, and information terminal
CN106791542B (en) * 2017-01-20 2019-11-29 维沃移动通信有限公司 A kind of panoramic picture image pickup method and mobile terminal
CN115348405A (en) * 2022-08-24 2022-11-15 维沃移动通信有限公司 Video recording method, video recording device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041564A1 (en) * 2022-08-24 2024-02-29 维沃移动通信有限公司 Video recording method and apparatus, electronic device and storage medium

Also Published As

Publication number Publication date
WO2024041564A1 (en) 2024-02-29

Similar Documents

Publication Publication Date Title
US9998722B2 (en) System and method for guided video creation
US9377991B1 (en) System for applying privacy settings in connection with creating, storing, distributing, and editing mixed-media collections
CN104881237B (en) A kind of network interdynamic method and client
CN107659416A (en) Method, apparatus, conference terminal and the storage medium that a kind of minutes are shared
US20190050587A1 (en) Generating electronic agreements with multiple contributors
CN111050222B (en) Virtual article issuing method, device and storage medium
CN107111437A (en) Digital media message generation
CN112969097A (en) Content playing method and device, and content commenting method and device
WO2024041564A1 (en) Video recording method and apparatus, electronic device and storage medium
CN107395982A (en) Photographic method and device
CN109299290A (en) A kind of dub in background music recommended method and the electronic equipment of knowledge based map
CN112445562A (en) Method and device for commenting target and key result, electronic equipment and storage medium
US20160014160A1 (en) Communication with component-based privacy
CN114844853A (en) Information processing method, information processing apparatus, electronic device, and medium
WO2018233533A1 (en) Editing device and system for on-line integrated augmented reality
CN107741991A (en) A kind of method, apparatus, equipment and the storage medium of file quick search
CN113782027A (en) Audio processing method and audio processing device
CN114584704A (en) Shooting method and device and electronic equipment
CN111796900A (en) Display control method and device of electronic conference system and electronic conference system
CN115209219A (en) Video processing method and device and electronic equipment
CN115134635B (en) Media information processing method, device, equipment and storage medium
CN114979050B (en) Voice generation method, voice generation device and electronic equipment
CN111857467B (en) File processing method and electronic equipment
CN116959406A (en) Voice message processing method and device, electronic equipment and storage medium
TW201905639A (en) Online integrated augmented reality editing device and system which allows an editor end to retrieve and edit an AR temporary document online and in real time

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