CN113923392A - Video recording method, video recording device and electronic equipment - Google Patents

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

Info

Publication number
CN113923392A
CN113923392A CN202111204475.9A CN202111204475A CN113923392A CN 113923392 A CN113923392 A CN 113923392A CN 202111204475 A CN202111204475 A CN 202111204475A CN 113923392 A CN113923392 A CN 113923392A
Authority
CN
China
Prior art keywords
frame rate
input
video
information
user
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
CN202111204475.9A
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 CN202111204475.9A priority Critical patent/CN113923392A/en
Publication of CN113923392A publication Critical patent/CN113923392A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application discloses a video recording method, a video recording device and electronic equipment, and belongs to the technical field of video recording. The video recording method comprises the following steps: frame rate adjustment information is obtained, and the frame rate adjustment information is used for indicating that the playing frame rate in a target time period in a target video is greater than or less than a preset frame rate; and recording to obtain the target video according to the frame rate adjusting information and the preset frame rate.

Description

Video recording method, video recording device and electronic equipment
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a video recording method, a video recording device and electronic equipment.
Background
In the related art, electronic equipment shoots according to a preset frame rate in a video shooting process, the shooting frame rate affects the playing effect of a video, and if a special video playing effect needs to be obtained, frame insertion or frame loss processing is often required to be performed through video processing software after the video shooting is completed, so that the operation is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a video recording method, a video recording device and electronic equipment, and can solve the problems that in the related art, the frame rate can be adjusted only through video processing software, and the operation is complex.
In a first aspect, an embodiment of the present application provides a video recording method, including: acquiring frame rate adjustment information, wherein the frame rate adjustment information is used for indicating that a playing frame rate in a target time period in a target video is greater than or less than a preset frame rate; and recording to obtain the target video according to the frame rate adjusting information and the preset frame rate.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including: the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring frame rate adjustment information, and the frame rate adjustment information is used for indicating that the playing frame rate in a target time period in a target video is greater than or less than a preset frame rate; and the recording module is used for recording the target video according to the frame rate adjusting information and the preset frame rate.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where 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, embodiments of the present application provide 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 steps of the method according to the first aspect.
In the embodiment of the application, the playing frame rate of the video in the recording process is adjusted by acquiring the frame rate adjusting information, namely, the video is recorded according to the preset frame rate and the frame rate adjusting information, so that after the video is recorded, a user can obtain a target video meeting the requirements of the user without performing secondary adjustment on the video by means of professional software, and the step of recording the video with the specific frame rate is simplified.
Drawings
Fig. 1 shows a schematic flowchart of a video recording method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a preview interface provided by an embodiment of the present application;
FIG. 3 is a second schematic diagram of a preview interface provided by the embodiment of the present application;
FIG. 4 is a third schematic diagram illustrating a preview interface provided by an embodiment of the present application;
FIG. 5 is a fourth schematic diagram illustrating a preview interface provided by an embodiment of the present application;
FIG. 6 shows a fifth schematic view of a preview interface provided by an embodiment of the present application;
FIG. 7 shows a sixth schematic view of a preview interface provided by an embodiment of the present application;
FIG. 8 shows a seventh schematic view of a preview interface provided by an embodiment of the present application;
FIG. 9 shows an eighth schematic view of a preview interface provided by an embodiment of the present application;
FIG. 10 shows a ninth schematic view of a preview interface provided by an embodiment of the present application;
FIG. 11 shows ten of the schematic diagrams of the preview interface provided by the embodiments of the present application;
fig. 12 is a block diagram illustrating a structure of a video recording apparatus according to an embodiment of the present application;
fig. 13 shows a block diagram of an electronic device provided in an embodiment of the present application;
fig. 14 shows a hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video recording method, the video recording apparatus and the electronic device provided in the embodiments of the present application are described in detail below with reference to fig. 1 to 14 through specific embodiments and application scenarios thereof.
In an embodiment of the present application, a video recording method is provided, and fig. 1 shows a flowchart of the video recording method according to the embodiment of the present application, and as shown in fig. 1, the video recording method includes:
step 102, obtaining frame rate adjustment information;
in step 102, the frame rate adjustment information is used to indicate that the playing frame rate in the target period of time in the target video is greater than or less than a preset frame rate.
And step 104, recording to obtain a target video according to the frame rate adjusting information and the preset frame rate.
The video recording method provided by the embodiment of the application is applied to electronic equipment, wherein the electronic equipment is provided with a camera, frame rate adjusting information is obtained before the video is recorded through the camera, the playing frame rate of a target video in the video recording process can be adjusted according to the frame rate adjusting information, specifically, the playing frame rate in a target time period in the target video is adjusted according to the frame rate adjusting information, namely, the recorded video is subjected to frame adding processing or frame dropping processing in the recording process, and the playing frame rate of the recorded video is changed. The preset frame rate is a frame rate value stored in the electronic device, and the target video is recorded according to the preset frame rate under the condition that the frame rate adjusting information is not acquired. And after the frame rate adjusting information is acquired, recording the target video according to the preset frame rate and the frame rate adjusting information.
Specifically, the electronic device is selected as a mobile phone, a user sets a frame rate before recording a video through the mobile phone, the mobile phone starts to record the video after acquiring frame rate adjustment information set by the user, and a playing frame rate of a recorded target video is adjusted according to the frame rate adjustment information in the recording process. The frame rate adjusting information can adjust the frame rate of the video segment in the target time period in the target video, namely, the frame adding processing or the frame dropping processing is carried out on the video segment, and the target video meeting the user requirement can be obtained without carrying out secondary adjustment on the video after the recording is finished.
In the embodiment of the application, the playing frame rate of the video in the recording process is adjusted by acquiring the frame rate adjusting information, namely, the video is recorded according to the preset frame rate and the frame rate adjusting information, so that the target video meeting the requirements of a user can be obtained without secondary adjustment of the video by the user after the video is recorded.
It can be understood that the obtained frame rate adjustment information is set by a user, and the user can select a target time period and also can select to adjust the playing frame rate of the video segment in the target time period to be higher or lower. For example: when the user needs to improve the fluency of the video clips in the target time period, the playing frame rate of the video clips in the target time period is increased, that is, the number of images continuously played per second is increased. When the user needs to reduce the fluency of the video clip in the target time period, the playing frame rate of the video clip in the target time period is reduced, namely, the number of images continuously played per second is reduced, so that the video is blocked according to the user requirement.
It can be understood that, if the playing frame rate of the video segment within the shot target time period is higher, the fluency of the video is higher, but the occupied space of the video is larger. If the playing frame rate of the video clip in the shot target time period is low, the fluency of the video is low, but the occupied space of the video is small.
In some embodiments, a user needs to shoot more static objects in a video, and at this time, the user adjusts the frame rate of a video segment in a target time period to be low by setting frame rate adjustment information, so that the frame rate of the shot video is reduced.
In other embodiments, the number of dynamic objects in the video that the user needs to shoot is large, and at this time, the user increases the frame rate of the video segment in the target time period by setting the frame rate adjustment information, so that the frame rate of the shot video is increased, and the fluency of the shot video is increased.
In some embodiments of the present application, before acquiring the frame rate adjustment information, the method further includes: receiving a first input of a user to a shooting preview interface; in response to a first input, displaying a frame rate adjustment control; receiving a second input of the frame rate adjusting control by the user; and acquiring the frame rate adjustment information, including responding to the second input and acquiring the frame rate adjustment information.
In the embodiment of the application, before the target video starts to be recorded, the electronic equipment displays a shooting preview interface through the display screen, and the shooting preview interface can display image information acquired by the camera in real time. The method comprises the steps that first input of a user to a shooting preview interface is received at the electronic equipment, a frame rate adjusting control is displayed in the preview interface, and the user can input frame rate adjusting information to the electronic equipment through the frame rate adjusting control. Wherein the first input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
And the electronic equipment receives a second input to the frame rate adjusting control, identifies and analyzes the second input, can obtain frame rate adjusting information, and controls the electronic equipment to record the target video according to the frame rate adjusting information and a preset frame rate, wherein the frame rate of a video segment in a target time period in the target video is adjusted according to the frame rate adjusting information.
Wherein the second input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Specifically, the electronic device is selected as a mobile phone, after a user calls a video recording function of the mobile phone, a shooting preview interface is displayed on a display screen, and after the mobile phone receives a first input of the user to the preview interface, a frame rate adjusting control is displayed in the shooting preview interface. After receiving a second input of the frame rate adjusting control by the user, the mobile phone identifies and analyzes the second input, can determine frame rate adjusting information of a subsequent shot video, and records the video according to a preset frame rate and the frame rate adjusting information through the camera. The user can adjust the first input parameters of the frame rate adjusting control in the shooting preview interface according to own will, and different frame rate adjusting information can be set by inputting different first inputs, namely, a target time period and a target frame rate in the frame rate adjusting information are selected, so that the recorded video meets the requirements of the user on the fluency of the video.
Fig. 2 illustrates one of schematic diagrams of the shooting preview interface provided in the embodiment of the present application, and as shown in fig. 2, before recording a video, the shooting preview interface 200 is displayed, and a user presses the shooting preview interface 200 with two fingers and stretches up and down at the same time, that is, the electronic device receives a first input to the shooting preview interface 200 from the user, and displays a frame rate adjustment control 202 in the shooting preview interface. The user can adjust the frame rate adjustment information by inputting the frame rate adjustment control 202.
In some embodiments of the present application, after receiving a first input of the shooting preview interface by the user, the method includes: receiving a third input of the user to the shooting preview interface; in response to a third input, the frame rate adjustment information obtained according to the second input is revoked.
According to the method and the device, after the electronic equipment receives the first input of the user to the shooting preview interface, the frame rate adjusting control is displayed in the shooting preview interface, and the user can determine frame rate adjusting information through the frame rate adjusting control. And after the electronic equipment receives the third input of the user, judging that the user needs to cancel the current frame rate adjustment information at the moment, and deleting the current frame rate adjustment information.
Wherein the third input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In particular, in the process of setting the frame rate adjustment information by the user, the user may be dissatisfied with the set frame rate adjustment information. In the case that the user is dissatisfied with the current frame rate adjustment information and wishes to cancel the frame rate adjustment information, the user causes the electronic device to cancel the frame rate adjustment information by performing a third input on the shooting preview interface.
According to the method and the device, the shooting preview interface can respond to the third input of the user, the set frame rate adjusting information is cancelled, the set frame rate adjusting information can be cancelled in time under the condition that the user is dissatisfied, and the flexibility of setting the frame rate adjusting information by the user is improved.
Fig. 3 illustrates a second schematic diagram of the shooting preview interface provided in the embodiment of the present application, and as shown in fig. 3, in a case that the shooting preview interface 300 displays a frame rate adjustment control 302 and a second identifier 304, the second identifier 304 is used to instruct a user to input a frame rate adjustment point of a determined target video through the frame rate adjustment control 302. By performing the third input to the shooting preview interface 300, the frame rate adjustment information corresponding to the second identifier 304 is undone, and the second identifier 304 is no longer continuously displayed in the shooting preview interface 300. Specifically, the third input is that the user drags left on the photographing preview interface 300 by two fingers.
In some embodiments of the present application, after receiving a first input of the shooting preview interface from the user, the method further includes: in response to a first input, a first flag indicating video frame number information or time information of the target video is displayed.
In the embodiment of the application, after a first input of a user to a shooting preview interface is received, the shooting preview interface of the electronic device not only displays a frame rate adjustment control, but also displays a first identifier. The first flag is used to indicate video frame number information or time information in the frame rate adjustment information. Specifically, the video frame sequence number information is a display sequence of the video frames in the playing process of the target video, and the time information is a time point when the video frames appear in the target video.
Specifically, in the process of recording a video, a plurality of video frames are obtained through shooting, and the plurality of video frames are displayed according to the display sequence to play the video. The video frame sequence number information of the target video corresponds to the display sequence of the video frames in the playing process of the target video. The time information of the target video corresponds to the display time during the playing process of the target video.
And the user can set frame rate adjusting information by executing a second input on the frame rate adjusting control, the frame rate adjusting information comprises a target time period in the target video, and the target time period is displayed through the first identifier in the shooting preview interface.
In some embodiments, the user selects the 20 th video frame to the 50 th video frame in the target video as the video frames in the target time period, and the first identifier indicates the video frame number information.
In some other embodiments, the user selects the 3 rd to 5 th video frames in the target video as the video frames in the target time period, and the first identifier indicates the time information.
Fig. 4 shows a third schematic diagram of the shooting preview interface provided in the embodiment of the present application, and as shown in fig. 4, when the electronic device displays the shooting preview interface 400, a first identifier 404 is displayed above the frame rate adjustment control 402, where the first identifier 404 is a numeric identifier. The user can set the first flag 404 in the setting interface and the user indicates the sequence number information or the time information of the video frame.
In some embodiments of the present application, obtaining frame rate adjustment information includes: acquiring input parameter information of a second input; wherein the input parameter information includes an input position corresponding to the first identifier; and acquiring frame rate adjustment information according to the input parameter information.
In the embodiment of the application, when a second input of the user to the frame rate adjustment control in the shooting preview interface is received, the input parameter information of the second input is obtained, where the input parameter information includes a relative position between the second input and the first identifier, that is, the second input corresponds to the input position of the first identifier. Video frames in the target time period in the target video can be selected according to the input parameter information.
In some embodiments of the present application, the input parameter information further comprises one or a combination of an input gesture, a number of inputs.
In the embodiment of the present application, the input parameter information includes not only the input position but also the input gesture and the input number. The input position, the input gesture, and the number of inputs each indicate a different parameter in the frame rate adjustment information. For example: according to the input position in the input parameter information, a target video frame in the target video can be selected, the frame adding processing or the frame dropping processing can be determined for the target video frame according to the input gesture, and the number of times of frame rate adjustment for the target video can be determined according to the input number of times.
According to the method and the device, the second input of the frame rate adjusting control in the shooting preview interface is performed by the user through identifying the second input parameter information of the user so as to determine the target time period of the target frame rate selected in the frame rate adjusting information set by the user and the specific processing mode of the video frame in the target time period, so that the frame rate of the subsequent shooting video can be adjusted, and the convenience of adjusting the frame rate of the shooting video by the user is improved. The frame rate is set before the video is shot, so that the steps of processing the video after the video is shot are reduced, and the shot video can meet the requirements of users on the video smoothness.
In some embodiments of the present application, the frame rate adjustment information comprises at least one of: adding frame information and dropping frame information; the frame adding information is used for indicating that the playing frame rate in the first time period in the target video is greater than the preset frame rate, and the frame dropping information is used for indicating that the playing frame rate in the second time period in the target video is less than the preset frame rate.
In the embodiment of the present application, the frame rate adjustment information includes frame adding information and frame dropping information. The framing information is used for indicating framing of a video clip in a target time period in the target video, so that the playing frame rate in the first time period in the target video is larger than the preset frame rate, and the playing fluency of the video clip in the first time period is improved. The frame loss information is used for indicating frame loss of the video segments in the target time period in the target video, so that the playing frame rate in the first time period in the target video is smaller than the preset frame rate, the playing fluency of the video segments in the second time period is reduced, and the video segments in the second time period have a stuck special effect.
According to the method and the device, the frame adding information and the frame dropping information are set before the video recording starts, and frame dropping processing or frame adding processing is carried out on the video segments in the target time period in the video recording process, so that the target video is obtained, the steps of processing the video after the video shooting is finished are reduced, and the video obtained through shooting can meet the requirements of users on the fluency of the video.
Fig. 5 illustrates a fourth schematic view of the shooting preview interface provided in the embodiment of the present application, as shown in fig. 5, an electronic device displays the shooting preview interface 500, a frame rate adjustment control 502 is displayed below the shooting preview interface 500, and a first identifier 504 is displayed above the frame rate adjustment control, where the frame rate adjustment control 502 is in a shape of a long bar, and the first identifier 504 is a series of numbers above the frame rate adjustment control 502. Each digital identifier in the first identifier 504 represents a frame to be captured. A user respectively clicks frame rate adjustment controls corresponding to the positions of the number identifier "3" and the number identifier "6" in the first identifier 504 through two fingers, and drags the selected frame rate adjustment control upwards, so that the frame rates of a plurality of frames to be shot between the number identifier "3" and the number identifier "6" are increased, a second identifier 506 is displayed in the preview interface 500, the second identifier 506 is used for indicating a frame rate adjustment point of the target video, and the user can determine the position of the frame rate adjustment point of the target video through the position relationship between the second identifier 506 and each number identifier in the first identifier 504, and it can be understood that the user can adjust the position of the frame rate adjustment point by dragging the second identifier 506.
Fig. 6 illustrates a fifth schematic view of a preview interface provided in the embodiment of the present application, as shown in fig. 6, an electronic device displays a shooting preview interface 600, a frame rate adjustment control 602 is displayed below the shooting preview interface 600, and a first identifier 604 is displayed above the frame rate adjustment control, where the first identifier 604 is a series of numbers above the frame rate adjustment control 602. The first identifiers 604 each represent a frame to be captured. The user respectively clicks the frame rate adjustment controls corresponding to the positions of the number identifier "3" and the number identifier "6" in the first identifier 604 with two fingers, and drags the selected frame rate adjustment control downward, so that the frame rates of a plurality of frames to be shot between the number identifier "3" and the number identifier "6" are reduced. The third input characteristic further comprises a dragging distance, when a user drags the digital identifier '3' and the digital identifier '6' downwards to the edge below the screen, the frame rate of a plurality of frames to be shot between the digital identifier '3' and the digital identifier '6' is reduced to 0, namely, the plurality of frames to be shot between the digital identifier '3' and the digital identifier '6' are subjected to frame dropping processing, and the video pause and pause feeling is simulated. And displaying a second identifier 606 in the preview interface 600, where the second identifier 606 is used to indicate a frame rate adjustment point of the target video, and the user can determine the position of the frame rate adjustment point of the target video according to the position relationship between the second identifier 606 and each digital identifier in the first identifier 604, and it can be understood that the user can adjust the position of the frame rate adjustment point by dragging the second identifier 606.
In some embodiments of the present application, after receiving the second input of the frame rate adjustment control by the user, the method further includes: displaying a second identifier on the frame rate adjustment control, wherein the second identifier is used for indicating a frame rate adjustment point of a target video, and a target time period is determined according to the position of the frame rate adjustment point; receiving a third input of the second identifier from the user; in response to a third input, the location of the second identification is updated.
In the embodiment of the application, after a second input of the user to the frame rate adjusting control is received, a target time period of the frame rate to be adjusted in the target video is selected according to the second input. And displaying a second identifier on the frame rate adjusting control, wherein the display position of the second identifier corresponds to the time information or the sequence number information indicated by the first identifier, the second identifier indicates a frame rate adjusting point of the target video, and the frame rate adjusting point is a target time period of the target video, in which the frame rate needs to be adjusted. It should be noted that by adjusting the position of the second identifier relative to the first identifier, the target time period in the frame rate adjustment information can be adjusted.
And after the user selects the target time period in the target video, displaying a corresponding second identifier on the frame rate adjusting control of the electronic equipment. When the user needs to adjust the target time period in the frame rate adjusting information, the user can perform third input on the second identifier, and change the position of the second identifier on the shooting preview interface relative to the first identifier.
Fig. 7 shows a sixth schematic view of a preview interface provided in an embodiment of the present application, as shown in fig. 7, an electronic device displays a shooting preview interface 700, a frame rate adjustment control 702 is displayed below the shooting preview interface 700, a first identifier 704 is displayed above the frame rate adjustment control, and the first identifier 704 is a series of numbers above the frame rate adjustment control 702. The first marks 704 each represent a frame to be photographed. After the user selects two target video frames, after selecting to drop frames or add frames of all the video frames between the two target video frames, displaying a second identifier 706 on the frame rate adjustment control 702, and displaying the second identifier 706 on the frame rate adjustment control, where the second identifier 706 is a circular identifier located below the shooting preview interface, and an edge of the second identifier 706 corresponds to the number identifier "3" and the number identifier "5" in the first identifier 704. And on the premise that the previous second identifier 706 is reserved, a second identifier 706 is displayed at the end position of the drag input by the user, and the edge of the second identifier 706 corresponds to the digital identifier "10" and the digital identifier "11" in the first identifier 704, so that the frames to be shot corresponding to all the video frames corresponding to the digital identifier "10" and the digital identifier "11" are processed in the same way.
Specifically, in the case of performing a multi-drag input on the second identifier 706, a plurality of second identifiers 706 may be displayed, and all video frames between two digital identifiers corresponding to the edges of each second identifier 706 are subjected to the same frame adding or frame dropping process.
Fig. 8 shows a seventh schematic diagram of a preview interface provided in the embodiment of the present application, as shown in fig. 8, an electronic device displays a shooting preview interface 800, a frame rate adjustment control 802 is displayed below the shooting preview interface 800, a first identifier 804 is displayed above the frame rate adjustment control, and the first identifier 804 is a series of numbers above the frame rate adjustment control 802. The first marks 804 each represent a frame to be photographed. If the user selects a plurality of target time periods in the target video, a plurality of second identifiers 806 are displayed on the frame rate adjustment control. The user drags any one of the second identifiers 806, so as to change the position of the selected second identifier 806, i.e. adjust the target time period corresponding to the selected second identifier 806. The target time period needing to be processed in the target video can be freely set by the user, and convenience of user setting is improved.
Fig. 9 shows an eighth schematic diagram of the preview interface provided in the embodiment of the present application, as shown in fig. 9, in the preview interface 900, the electronic device displays the shooting preview interface 900, a frame rate adjustment control 902 is displayed below the shooting preview interface 900, and a first identifier 904 is displayed above the frame rate adjustment control, where the first identifier 904 is a series above the frame rate adjustment control 902. The first marks 904 each represent a frame to be photographed. After the user selects the target time period, a second identifier 906 is displayed on the frame rate adjustment control 902, and the edge position of the second identifier 906 corresponds to the start point and the end point of the target time period. Specifically, if the user selects a video frame between the numerical identifier "4" to the numerical identifier "6" as the target video frame in the target time period, the edge of the second identifier 906 corresponds to the numerical identifier "4" and the numerical identifier "6". The user selects the target video frames between the numerical identifiers "2" and "9" again by two fingers, and then the video frames between the numerical identifiers "2" and "9" are used as the target video frames in the target time period, and then the edge of the second identifier 906 is displayed at the position corresponding to the numerical identifier "2" and the numerical identifier "9". After the frame rate is adjusted, the user can reselect the first target frame and the second target frame, and the operation flexibility is improved.
In some embodiments of the present application, after receiving the second input of the frame rate adjustment control by the user, the method further includes: acquiring input parameter information of a second input, wherein the input parameter information comprises pressing duration; and determining the number of frame rate adjusting points according to the pressing duration.
In the embodiment of the application, when a second input of a user to the frame rate adjusting control in the shooting preview interface is received, the input parameter information of the second input is obtained, the input parameter information comprises the pressing duration of the user to the frame rate adjusting control, and the number of frame rate adjusting points can be determined by analyzing and processing the pressing duration.
Specifically, after the user selects the frame rate adjustment point of the target video, the second identifier is displayed on the frame rate adjustment control, and the user can increase the number of the second identifiers by continuously pressing the second identifiers, wherein each second identifier corresponds to one frame rate adjustment point. The user can select the copy number of the frame rate adjusting point by controlling the pressing duration of the second identifier.
In the implementation of the method, under the condition that a user needs to process the video segments of a plurality of target time periods in the target video, the user only needs to select one frame rate adjusting point, and then the second identifier corresponding to the frame rate adjusting point is continuously pressed, so that the frame rate adjusting point can be copied, repeated operation of the user is not needed, and the operation steps of the user are reduced.
It should be noted that the frame rate adjustment modes of the copied frame rate adjustment points are the same, that is, the frame rate adjustment points perform frame dropping on the video segments in the target time period, and the copied frame rate adjustment points are all frame rate adjustment points performing frame dropping.
Fig. 10 illustrates a ninth schematic view of a preview interface provided in an embodiment of the present application, as shown in fig. 10, in the shooting preview interface 1000, an electronic device displays the shooting preview interface 1000, a frame rate adjustment control 1002 is displayed below the shooting preview interface 1000, a first identifier 1004 is displayed above the frame rate adjustment control, and the first identifier 1004 is a series of numbers above the frame rate adjustment control 1002. And displaying a second identifier 1006 on the frame rate adjustment control 1002, and displaying a plurality of second identifiers 1006 on the frame rate adjustment control 1002 by pressing the second identifier 1006 by a user, thereby implementing an operation step of copying the frame rate adjustment point.
Fig. 11 shows a tenth schematic diagram of a preview interface provided in an embodiment of the present application, as shown in fig. 11, a frame rate adjustment control 1102, a first identifier 1104 and a second identifier 1106 are displayed below a shooting preview interface, where the first identifier 1104 includes digital identifiers, each digital identifier corresponds to one video frame, the second identifier 1106 is a frame rate adjustment point of a target video, and a user can determine a position of the frame rate adjustment point of the target video according to a positional relationship between the second identifier 1106 and each digital identifier in the first identifier 1104. Under the condition that the plurality of second identifiers 1106 are displayed, a user performs a first dragging input among the plurality of second identifiers 1106, and combines the plurality of second identifiers 1106 connected with the dragging track corresponding to the first dragging input to obtain an identifier combination, wherein the track of the first dragging input may be an arc-shaped track. The user performs the second dragging input on one second identifier 1106 in the identifier combination to move the second identifier 1106 by the first distance, and then the other second identifiers in the identifier combination also move by the first distance in the same direction, so that the user can adjust the positions of the plurality of second identifiers 1106 at the same time, and under the condition that the plurality of frame rate adjustment points need to be adjusted synchronously, the user does not need to perform repeated operation for many times, thereby improving the convenience of adjusting the frame rate adjustment points corresponding to the plurality of second identifiers 1106. In some embodiments of the present application, a video recording apparatus 1200 is provided, and fig. 12 shows a block diagram of a video recording apparatus provided in an embodiment of the present application, and as shown in fig. 12, the video recording apparatus 1200 includes:
an obtaining module 1202, configured to obtain frame rate adjustment information;
the frame rate adjusting information is used for indicating that the playing frame rate in the target time period in the target video is greater than or less than a preset frame rate;
and a recording module 1204, configured to record the target video according to the frame rate adjustment information and a preset frame rate.
In the embodiment of the present application, the video recording apparatus 1200 is applied to an electronic device, in which a camera is disposed, before a video starts to be recorded by the camera, frame rate adjustment information is obtained, and a play frame rate of a target video in a video recording process can be adjusted according to the frame rate adjustment information, specifically, a play frame rate in a target time period in the target video is adjusted according to the frame rate adjustment information, that is, a frame adding process or a frame dropping process is performed on the recorded video in the recording process, so that the play frame rate of the recorded video is changed. The preset frame rate is a frame rate value stored in the electronic device, and the target video is recorded according to the preset frame rate under the condition that the frame rate adjusting information is not acquired. And after the frame rate adjusting information is acquired, recording the target video according to the preset frame rate and the frame rate adjusting information.
Specifically, the electronic device is selected as a mobile phone, a user sets a frame rate before recording a video through the mobile phone, the mobile phone starts to record the video after acquiring frame rate adjustment information set by the user, and a target video obtained by recording is adjusted in a recording process according to the frame rate adjustment information. The frame rate adjusting information can adjust the frame rate of the video segment in the target time period in the target video, namely, the frame adding processing or the frame dropping processing is carried out on the video segment, and the target video meeting the user requirement can be obtained without carrying out secondary adjustment on the video after the recording is finished.
In the embodiment of the application, the playing frame rate of the video in the recording process is adjusted by acquiring the frame rate adjusting information, namely, the video is recorded according to the preset frame rate and the frame rate adjusting information, so that the target video meeting the requirements of a user can be obtained without secondary adjustment of the video by the user after the video is recorded.
It can be understood that the obtained frame rate adjustment information is set by a user, and the user can select a target time period and also can select to adjust the playing frame rate of the video segment in the target time period to be higher or lower. For example: when the user needs to improve the fluency of the video clips in the target time period, the playing frame rate of the video clips in the target time period is increased, that is, the number of images continuously played per second is increased. When the user needs to reduce the fluency of the video clip in the target time period, the playing frame rate of the video clip in the target time period is reduced, namely, the number of images continuously played per second is reduced, so that the video is blocked according to the user requirement.
It can be understood that, if the playing frame rate of the video segment within the shot target time period is higher, the fluency of the video is higher, but the occupied space of the video is larger. If the playing frame rate of the video clip in the shot target time period is low, the fluency of the video is low, but the occupied space of the video is small.
In some embodiments of the present application, video recording apparatus 1200 further comprises:
the receiving module is used for receiving first input of a user to the shooting preview interface;
the display module is used for responding to the first input and displaying the frame rate adjusting control;
the receiving module is further used for receiving a second input of the frame rate adjusting control by the user;
the obtaining module 1202 is further configured to obtain frame rate adjustment information in response to a second input.
In the embodiment of the application, before the target video starts to be recorded, the electronic equipment displays a shooting preview interface through the display screen, and the shooting preview interface can display image information acquired by the camera in real time. The method comprises the steps that first input of a user to a shooting preview interface is received at the electronic equipment, a frame rate adjusting control is displayed in the preview interface, and the user can input frame rate adjusting information to the electronic equipment through the frame rate adjusting control. Wherein the first input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
And the electronic equipment receives a second input to the frame rate adjusting control, identifies and analyzes the second input, can obtain frame rate adjusting information, and controls the electronic equipment to record the target video according to the frame rate adjusting information and a preset frame rate, wherein the frame rate of a video segment in a target time period in the target video is adjusted according to the frame rate adjusting information.
Wherein the second input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Specifically, the electronic device is selected as a mobile phone, after a user calls a video recording function of the mobile phone, a shooting preview interface is displayed on a display screen, and after the mobile phone receives a first input of the user to the preview interface, a frame rate adjusting control is displayed in the shooting preview interface. After receiving a second input of the frame rate adjusting control by the user, the mobile phone identifies and analyzes the second input, can determine frame rate adjusting information of a subsequent shot video, and records the video according to a preset frame rate and the frame rate adjusting information through the camera. The user can adjust the first input parameters of the frame rate adjusting control in the shooting preview interface according to own will, and different frame rate adjusting information can be set by inputting different first inputs, namely, a target time period and a target frame rate in the frame rate adjusting information are selected, so that the recorded video meets the requirements of the user on the fluency of the video.
In some embodiments of the present application, the receiving module is further configured to receive a third input of the shooting preview interface from the user;
the video recording apparatus further includes:
and the cancellation module is used for responding to the third input and canceling the frame rate adjustment information acquired according to the second input.
According to the method and the device, after the electronic equipment receives the first input of the user to the shooting preview interface, the frame rate adjusting control is displayed in the shooting preview interface, and the user can determine frame rate adjusting information through the frame rate adjusting control. And after the electronic equipment receives the third input of the user, judging that the user needs to cancel the current frame rate adjustment information at the moment, and deleting the current frame rate adjustment information.
Wherein the third input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In particular, in the process of setting the frame rate adjustment information by the user, the user may be dissatisfied with the set frame rate adjustment information. In the case that the user is dissatisfied with the current frame rate adjustment information and wishes to cancel the frame rate adjustment information, the user causes the electronic device to cancel the frame rate adjustment information by performing a third input to the shooting preview interface.
According to the method and the device, the shooting preview interface can respond to the third input of the user, the set frame rate adjusting information is cancelled, the set frame rate adjusting information can be cancelled in time under the condition that the user is dissatisfied, and the flexibility of setting the frame rate adjusting information by the user is improved.
In some embodiments of the present application, the display module is further configured to display, in response to the first input, a first identifier indicating video frame number information or time information of the target video.
In the embodiment of the application, after a first input of a user to a shooting preview interface is received, the shooting preview interface of the electronic device not only displays a frame rate adjustment control, but also displays a first identifier. The first flag is used to indicate video frame number information or time information in the frame rate adjustment information. Specifically, the video frame sequence number information is a display sequence of the video frames in the playing process of the target video, and the time information is a time point when the video frames appear in the target video.
Specifically, in the process of recording a video, a plurality of video frames are obtained through shooting, and the plurality of video frames are displayed according to the display sequence to play the video. The video frame sequence number information of the target video corresponds to the display sequence of the video frames in the playing process of the target video. The time information of the target video corresponds to the display time during the playing process of the target video.
And the user can set frame rate adjusting information by executing a second input on the frame rate adjusting control, the frame rate adjusting information comprises a target time period in the target video, and the target time period is displayed through the first identifier in the shooting preview interface.
In some embodiments of the present application, the obtaining module 1202 is further configured to obtain input parameter information of a second input; wherein the input parameter information includes an input position corresponding to the first identifier;
the obtaining module 1202 is further configured to obtain frame rate adjustment information according to the input parameter information.
In the embodiment of the application, when a second input of the user to the frame rate adjustment control in the shooting preview interface is received, the input parameter information of the second input is obtained, where the input parameter information includes a relative position between the second input and the first identifier, that is, the second input corresponds to the input position of the first identifier. Video frames in the target time period in the target video can be selected according to the input parameter information.
In some embodiments of the present application, the input parameter information further comprises one or a combination of an input gesture, a number of inputs.
In the embodiment of the present application, the input parameter information includes not only the input position but also the input gesture and the input number. The input position, the input gesture, and the number of inputs each indicate a different parameter in the frame rate adjustment information. For example: according to the input position in the input parameter information, a target video frame in the target video can be selected, the frame adding processing or the frame dropping processing can be determined for the target video frame according to the input gesture, and the number of times of frame rate adjustment for the target video can be determined according to the input number of times.
According to the method and the device, the second input of the frame rate adjusting control in the shooting preview interface is performed by the user through identifying the second input parameter information of the user so as to determine the target time period of the target frame rate selected in the frame rate adjusting information set by the user and the specific processing mode of the video frame in the target time period, so that the frame rate of the subsequent shooting video can be adjusted, and the convenience of adjusting the frame rate of the shooting video by the user is improved. The frame rate is set before the video is shot, so that the steps of processing the video after the video is shot are reduced, and the shot video can meet the requirements of users on the video smoothness.
In some embodiments of the present application, the frame rate adjustment information comprises at least one of: adding frame information and dropping frame information; the frame adding information is used for indicating that the playing frame rate in the first time period in the target video is greater than the preset frame rate, and the frame dropping information is used for indicating that the playing frame rate in the second time period in the target video is less than the preset frame rate.
In the embodiment of the present application, the frame rate adjustment information includes frame adding information and frame dropping information. The framing information is used for indicating framing of a video clip in a target time period in the target video, so that the playing frame rate in the first time period in the target video is larger than the preset frame rate, and the playing fluency of the video clip in the first time period is improved. The frame loss information is used for indicating frame loss of the video segments in the target time period in the target video, so that the playing frame rate in the first time period in the target video is smaller than the preset frame rate, the playing fluency of the video segments in the second time period is reduced, and the video segments in the second time period have a stuck special effect.
According to the method and the device, the frame adding information and the frame dropping information are set before the video recording starts, and frame dropping processing or frame adding processing is carried out on the video segments in the target time period in the video recording process, so that the target video is obtained, the steps of processing the video after the video shooting is finished are reduced, and the video obtained through shooting can meet the requirements of users on the fluency of the video.
In some embodiments of the present application, the display module is further configured to display a second identifier on the frame rate adjustment control, where the second identifier is used to indicate a frame rate adjustment point of the target video, and the target time period is determined according to a position of the frame rate adjustment point;
the receiving module is further used for receiving third input of the second identifier by the user;
the video recording apparatus 1200 further includes:
an update module to update the location of the second identifier in response to a third input.
In the embodiment of the application, after a second input of the user to the frame rate adjusting control is received, a target time period of the frame rate to be adjusted in the target video is selected according to the second input. And displaying a second identifier on the frame rate adjusting control, wherein the display position of the second identifier corresponds to the time information or the sequence number information indicated by the first identifier, the second identifier indicates a frame rate adjusting point of the target video, and the frame rate adjusting point is a target time period of the target video, in which the frame rate needs to be adjusted. It should be noted that by adjusting the position of the second identifier relative to the first identifier, the target time period in the frame rate adjustment information can be adjusted.
And after the user selects the target time period in the target video, displaying a corresponding second identifier on the frame rate adjusting control of the electronic equipment. When the user needs to adjust the target time period in the frame rate adjusting information, the user can perform third input on the second identifier, and change the position of the second identifier on the shooting preview interface relative to the first identifier.
In some embodiments of the present application, the obtaining module 1202 is further configured to obtain input parameter information of the second input, where the input parameter information includes a pressing duration;
the video recording apparatus further includes:
and the determining module is used for determining the number of the frame rate adjusting points according to the pressing duration.
In the embodiment of the application, when a second input of a user to the frame rate adjusting control in the shooting preview interface is received, the input parameter information of the second input is obtained, the input parameter information comprises the pressing duration of the user to the frame rate adjusting control, and the number of frame rate adjusting points can be determined by analyzing and processing the pressing duration.
Specifically, after the user selects the frame rate adjustment point of the target video, the second identifier is displayed on the frame rate adjustment control, and the user can increase the number of the second identifiers by continuously pressing the second identifiers, wherein each second identifier corresponds to one frame rate adjustment point. The user can select the number of the frame rate adjusting points by controlling the pressing duration of the second identifier.
In the implementation of the method, under the condition that a user needs to process the video segments of a plurality of target time periods in the target video, the user only needs to select one frame rate adjusting point, and then the second identifier corresponding to the frame rate adjusting point is continuously pressed, so that the frame rate adjusting point can be copied, repeated operation of the user is not needed, and the operation steps of the user are reduced.
It should be noted that the frame rate adjustment modes of the copied frame rate adjustment points are the same, that is, the frame rate adjustment points perform frame dropping on the video segments in the target time period, and the copied frame rate adjustment points are all frame rate adjustment points performing frame dropping.
The video recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video recording apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video recording device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here to avoid repetition.
Optionally, an electronic device 1300 is further provided in an embodiment of the present application, and fig. 13 shows a block diagram of a structure of the electronic device provided in the embodiment of the present application, as shown in fig. 13, the electronic device includes a processor 1302, a memory 1304, and a program or an instruction stored in the memory 1304 and executable on the processor 1302, and when the program or the instruction is executed by the processor 1302, the processes of the embodiment of the method are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1400 includes, but is not limited to: radio unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, and processor 1410.
Those skilled in the art will appreciate that the electronic device 1400 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 1410 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1410 is configured to obtain frame rate adjustment information, where the frame rate adjustment information is used to indicate that a play frame rate in a target time period in a target video is greater than or less than a preset frame rate;
the processor 1410 is configured to record the target video according to the frame rate adjustment information and the preset frame rate.
In the embodiment of the application, the playing frame rate of the video in the recording process is adjusted by acquiring the frame rate adjusting information, namely, the video is recorded according to the preset frame rate and the frame rate adjusting information, so that the target video meeting the requirements of a user can be obtained without secondary adjustment of the video by the user after the video is recorded. Optionally, the user input unit 1407 is to: receiving a first input of a user to a shooting preview interface;
the display unit 1406 is configured to: in response to a first input, displaying a frame rate adjustment control;
the user input unit 1407 is configured to: receiving a second input of the frame rate adjusting control by the user;
processor 1410 is configured to: in response to the second input, frame rate adjustment information is obtained.
In the embodiment of the application, a user can adjust the first input parameter of the frame rate adjusting control in the shooting preview interface according to own will, and different frame rate adjusting information can be set by inputting different first inputs, namely, a target time period and a target frame rate in the frame rate adjusting information are selected, so that the recorded video meets the requirement of the user on the video smoothness.
Optionally, the user input unit 1407 is to: receiving a third input of the user to the shooting preview interface;
processor 1410 is configured to: in response to a third input, the frame rate adjustment information obtained according to the second input is revoked.
According to the method and the device, the shooting preview interface can respond to the third input of the user correspondingly, the set frame rate adjusting information is cancelled, the situation that the set frame rate adjusting information can be cancelled in time under the condition that the user is dissatisfied is achieved, and the flexibility of setting the frame rate adjusting information by the user is improved.
Optionally, the display unit 1406 is for: in response to a first input, a first flag indicating video frame number information or time information of the target video is displayed.
According to the method and the device for adjusting the frame rate, a user can set frame rate adjusting information by executing second input on the frame rate adjusting control, the frame rate adjusting information comprises a target time period in a target video, and the target time period is displayed through a first identifier in a shooting preview interface.
Optionally, the processor 1410 is configured to: acquiring input parameter information of a second input; wherein the input parameter information includes an input position corresponding to the first identifier;
processor 1410 is configured to: and acquiring frame rate adjustment information according to the input parameter information.
In the embodiment of the application, when a second input of the user to the frame rate adjustment control in the shooting preview interface is received, the input parameter information of the second input is obtained, where the input parameter information includes a relative position between the second input and the first identifier, that is, the second input corresponds to the input position of the first identifier. Video frames in the target time period in the target video can be selected according to the input parameter information.
Optionally, the user input unit 1407 is to: receiving a third input of the second identifier from the user;
processor 1410 is configured to: in response to a third input, the location of the second identification is updated.
In the embodiment of the application, after the user selects the target time period in the target video, the frame rate adjustment control of the electronic device displays the corresponding second identifier. When the user needs to adjust the target time period in the frame rate adjusting information, the user can perform third input on the second identifier, and change the position of the second identifier on the shooting preview interface relative to the first identifier.
Optionally, the processor 1410 is configured to: acquiring input parameter information of a second input, wherein the input parameter information comprises pressing duration;
processor 1410 is configured to: and determining the number of frame rate adjusting points according to the pressing duration.
In the implementation of the method, under the condition that a user needs to process the video segments of a plurality of target time periods in the target video, the user only needs to select one frame rate adjusting point, and then the second identifier corresponding to the frame rate adjusting point is continuously pressed, so that the frame rate adjusting point can be copied, repeated operation of the user is not needed, and the operation steps of the user are reduced.
Optionally, the frame rate adjustment information comprises at least one of: adding frame information and dropping frame information; the frame adding information is used for indicating that the playing frame rate in the first time period in the target video is greater than the preset frame rate, and the frame dropping information is used for indicating that the playing frame rate in the second time period in the target video is less than the preset frame rate.
According to the method and the device, the frame adding information and the frame dropping information are set before the video recording starts, and frame dropping processing or frame adding processing is carried out on the video segments in the target time period in the video recording process, so that the target video is obtained, the steps of processing the video after the video shooting is finished are reduced, and the video obtained through shooting can meet the requirements of users on the fluency of the video.
It should be understood that in the embodiment of the present application, the input Unit 1404 may include a Graphics Processing Unit (GPU) 20041 and a microphone 14042, and the Graphics processor 14041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1407 includes a touch panel 14071 and other input devices 14072. Touch panel 14071, also referred to as a touch screen. The touch panel 14071 may include two parts of a touch detection device and a touch controller. Other input devices 14072 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 1409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1410.
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 in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
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 embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of 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 (10)

1. A method for video recording, comprising:
acquiring frame rate adjustment information, wherein the frame rate adjustment information is used for indicating that a playing frame rate in a target time period in a target video is greater than or less than a preset frame rate;
and recording to obtain the target video according to the frame rate adjusting information and the preset frame rate.
2. The video recording method of claim 1, wherein before obtaining the frame rate adjustment information, further comprising:
receiving a first input of a user to a shooting preview interface;
in response to the first input, displaying a frame rate adjustment control;
receiving a second input of the frame rate adjusting control by a user;
the acquiring frame rate adjustment information includes:
in response to the second input, obtaining the frame rate adjustment information.
3. The video recording method according to claim 2, wherein after obtaining the frame rate adjustment information, further comprising:
receiving a third input of the shooting preview interface by a user;
in response to the third input, undoing frame rate adjustment information obtained in accordance with the second input.
4. The video recording method of claim 2, wherein after receiving the first user input to the capture preview interface, further comprising:
and responding to the first input, and displaying a first identifier, wherein the first identifier is used for indicating video frame sequence number information or time information of the target video.
5. The video recording method of claim 4, wherein said obtaining the frame rate adjustment information comprises:
acquiring input parameter information of the second input, wherein the input parameter information comprises an input position corresponding to the first identifier;
and acquiring the frame rate adjustment information according to the input parameter information.
6. The method of claim 2, wherein after receiving a second user input to the frame rate adjustment control, further comprising:
displaying a second identifier on the frame rate adjustment control, wherein the second identifier is used for indicating a frame rate adjustment point of the target video, and the target time period is determined according to the position of the frame rate adjustment point;
receiving a third input of the second identification by the user;
in response to the third input, updating the location of the second identifier.
7. The method of claim 6, wherein after receiving a second user input to the frame rate adjustment control, further comprising:
acquiring input parameter information of the second input, wherein the input parameter information comprises pressing duration;
and determining the number of the frame rate adjusting points according to the pressing duration.
8. The video recording method of claim 1, wherein the frame rate adjustment information comprises at least one of: adding frame information and dropping frame information;
the frame adding information is used for indicating that the playing frame rate in a first time period in the target video is greater than the preset frame rate, and the frame dropping information is used for indicating that the playing frame rate in a second time period in the target video is less than the preset frame rate.
9. A video recording apparatus, comprising:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring frame rate adjustment information, and the frame rate adjustment information is used for indicating that the playing frame rate in a target time period in a target video is greater than or less than a preset frame rate;
and the recording module is used for recording the target video according to the frame rate adjusting information and the preset frame rate.
10. 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 method according to any one of claims 1 to 8.
CN202111204475.9A 2021-10-15 2021-10-15 Video recording method, video recording device and electronic equipment Pending CN113923392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111204475.9A CN113923392A (en) 2021-10-15 2021-10-15 Video recording method, video recording device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111204475.9A CN113923392A (en) 2021-10-15 2021-10-15 Video recording method, video recording device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113923392A true CN113923392A (en) 2022-01-11

Family

ID=79240946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111204475.9A Pending CN113923392A (en) 2021-10-15 2021-10-15 Video recording method, video recording device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113923392A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302064A (en) * 2022-01-27 2022-04-08 卡莱特云科技股份有限公司 Video processing method, device and system based on receiving card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302064A (en) * 2022-01-27 2022-04-08 卡莱特云科技股份有限公司 Video processing method, device and system based on receiving card
CN114302064B (en) * 2022-01-27 2024-01-26 北京同尔科技有限公司 Video processing method, device and system based on receiving card

Similar Documents

Publication Publication Date Title
CN112135181B (en) Video preview method and device and electronic equipment
CN112954199B (en) Video recording method and device
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN112099707A (en) Display method and device and electronic equipment
CN112929748B (en) Video processing method, video processing device, electronic equipment and medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN112256169A (en) Content display method and device, electronic equipment and storage medium
CN112394806A (en) User interface display method and device, electronic equipment and storage medium
CN112308864A (en) Image processing method and device, electronic equipment and storage medium
US20140181745A1 (en) Image capture
CN111679772B (en) Screen recording method and system, multi-screen device and readable storage medium
CN112887618B (en) Video shooting method and device
CN113918522A (en) File generation method and device and electronic equipment
WO2024061285A1 (en) Video playback method and device
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN112214774A (en) Permission setting method, file playing method and device and electronic equipment
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN112698771B (en) Display control method, device, electronic equipment and storage medium
CN112367487B (en) Video recording method and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
CN114286160A (en) Video playing method and device and electronic equipment
CN114245193A (en) Display control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination