WO2022161267A1 - 视频录制方法及装置 - Google Patents

视频录制方法及装置 Download PDF

Info

Publication number
WO2022161267A1
WO2022161267A1 PCT/CN2022/073117 CN2022073117W WO2022161267A1 WO 2022161267 A1 WO2022161267 A1 WO 2022161267A1 CN 2022073117 W CN2022073117 W CN 2022073117W WO 2022161267 A1 WO2022161267 A1 WO 2022161267A1
Authority
WO
WIPO (PCT)
Prior art keywords
curve
input
zoom factor
time point
video recording
Prior art date
Application number
PCT/CN2022/073117
Other languages
English (en)
French (fr)
Inventor
杜瑞
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022161267A1 publication Critical patent/WO2022161267A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a video recording method and device.
  • the video recording function can be used by users to dynamically record everything that happens around them, thereby improving the user experience of the electronic device.
  • the electronic device can adjust the zoom factor during the video recording process, so that the size of the same object in different frame images of the captured video changes, so as to improve the fun of shooting videos.
  • the video has a sense of rhythm etc.
  • the adjustment of the zoom factor during the video recording process is usually realized by the user's input operation on the electronic device, and the user's input operation may cause the electronic device to vibrate, which will cause the screen in the recorded video to shake and reduce the recorded video. quality.
  • the purpose of the embodiments of the present application is to provide a video recording method and apparatus, which can solve the problem of low quality of the recorded video in order to realize the adjustment of the zoom factor in the video recording process of the current electronic equipment.
  • an embodiment of the present application provides a video recording method, including:
  • the electronic device displays the video recording preview interface and receives the first input
  • the video recording mode is turned on, and a target curve is acquired, where each coordinate point on the target curve includes a time point and a zoom multiple;
  • a first picture is taken with a first zoom factor, and the first zoom factor is the zoom factor in the target curve at the first time point;
  • the first picture is used as a frame picture of the recorded video.
  • an embodiment of the present application provides a video recording device, including:
  • the curve acquisition module is used to start the video recording mode in response to the first input when the electronic device displays the video recording preview interface and receives the first input, and acquires the target curve, each coordinate on the target curve Point includes time point and zoom factor;
  • a shooting module configured to shoot a first picture with a first zoom factor at a first time point after the video recording mode is turned on, and the first zoom factor is the zoom in the target curve at the first time point multiple;
  • a video generation module configured to use the first picture as a frame picture of the recorded video.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the electronic device when the electronic device turns on the video recording mode, the electronic device can determine the zoom factor at any time point in the video recording process through the time point and zoom factor in each coordinate point on the target curve, that is, The zoom factor (ie, the first zoom factor) of the current recording time point (ie, the first time point) is the zoom factor in the coordinate point, so that the zoom factor during the video recording process can be adjusted according to the target curve.
  • the embodiment of the present application realizes the adjustment of the zoom factor during the video recording process, without the user's input to adjust the zoom factor, thereby avoiding the shaking of the screen in the recorded video caused by the user's input, thereby improving the quality of the recorded video.
  • FIG. 1 is a schematic flowchart of an embodiment of a video recording method provided by the application
  • FIGS. 2 to 12 are schematic diagrams of a display interface of an electronic device in an embodiment of the video recording method provided by the present application;
  • FIG. 13 is a schematic structural diagram of an embodiment of a video recording device provided by the present application.
  • FIG. 14 is a schematic diagram of a hardware structure of an embodiment of an electronic device provided by the present application.
  • FIG. 15 is a schematic diagram of a hardware structure of an embodiment of another electronic device provided by the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • an embodiment of the present application provides a video recording method, and the video recording method is applied to an electronic device. As shown in FIG. 1 , the method includes the following steps 101 to 103 .
  • Step 101 When the electronic device displays the video recording preview interface and receives the first input, in response to the first input, start the video recording mode, and obtain each coordinate point on the target curve including the time point and the zoom factor.
  • Step 102 At the first time point after the video recording mode is turned on, take a first picture with a first zoom factor, and the first zoom factor is the zoom factor in the target curve at the first time point.
  • Step 103 Use the first picture as a frame picture of the recorded video.
  • the electronic device can determine the zoom factor at any time point in the video recording process, that is, the current recording time point, through the time point and zoom factor in each coordinate point on the target curve.
  • the zoom factor (that is, the first time point) of the zoom factor (that is, the first zoom factor) is the zoom factor in the coordinate point, so that the zoom factor in the video recording process can be adjusted according to the target curve.
  • the adjustment of the zoom factor during the video recording process is realized, and the zoom factor is adjusted without the user's input, so as to avoid the shaking of the picture in the recorded video caused by the user's input, thereby improving the quality of the recorded video.
  • the electronic device may receive the first input from the user on the video recording preview interface, and in response to the first input, enable the video recording mode, and obtain target curve.
  • the above-mentioned electronic device displays the video recording preview interface, which may be that the electronic device displays the above-mentioned video recording preview interface in response to the input in the case of receiving an input for instructing to display the video recording preview interface.
  • the above-mentioned input for instructing to display the video recording preview interface may be at least one of voice input, air gesture input, touch input, and the like.
  • the electronic device may receive a touch input of the user clicking on the icon of the camera application, and display a video recording preview interface in response to the touch input, as shown in FIG. 2 .
  • first input may be any input for instructing to start the video recording mode, and it may also be at least one of voice input, air gesture input, touch input, and the like.
  • the electronic device if the electronic device receives the user's click input (ie, the first input) on the video recording button 31 in the video shooting preview interface, the electronic device starts the video recording mode.
  • the user's click input ie, the first input
  • the electronic device takes the time point when the video recording mode is turned on as the start time, and shoots the start time and each frame of images after the start time as time progresses. , and generate a recorded video from all the captured frame images, that is, the recorded video consists of all captured frame images.
  • the electronic device when the electronic device starts the video recording mode after receiving the first input, the electronic device may also acquire the target curve in response to the first input.
  • At least one curve may be preset in the electronic device, and the electronic device may determine one of the at least one curve as the target curve in response to the first input.
  • the above-mentioned determination of one curve among the at least one curve as the above-mentioned target curve may be that the electronic device determines the curve indicated by the user's input as the above-mentioned target curve.
  • the electronic device when the electronic device receives the user's click input on the video recording button 31 in the video shooting preview interface, the electronic device displays a floating frame in the video shooting preview interface, and the floating frame displays There is at least one curve.
  • the electronic device determines the curve 1 as the above-mentioned target curve.
  • the electronic device may automatically determine one curve among the at least one curve as the target curve.
  • the above-mentioned acquisition of the target curve may include:
  • the electronic device can determine a target curve matching the scene information among multiple curves according to its scene information, so that the selected target curve can not only be adapted to the scene of the video recorded by the electronic device, but also can reduce user input. , to improve the operation convenience of video recording.
  • the above scene information may be any information associated with the scene where the video is currently recorded by the electronic device.
  • the above scene information may include at least one of location, time, sound, and environmental parameters.
  • the electronic device when a user uses an electronic device to record a dance video, when the electronic device receives the user's first input and turns on the video recording mode, the electronic device can obtain the music clips within 5 seconds after the video recording mode is started, and according to the obtained The obtained music piece determines the audio file played in the process of recording the dance video, and determines the curve that has a corresponding relationship with the played audio file in at least one curve as the target curve.
  • the above-mentioned target curve may also be a curve generated before receiving the above-mentioned first input, and the generation of the target curve may be generated by the electronic device according to the user's input.
  • the above-mentioned target curve may be a curve drawn by the user through input.
  • the above method may further include:
  • the video recording preview interface receives the second input, in response to the second input, displaying the curve drawing interface;
  • the target curve drawn by the third input is displayed in the curve drawing interface.
  • the electronic device can draw the above target curve according to the user's input on the curve drawing interface, so that the generation of the target curve can meet the actual needs of the user.
  • the above-mentioned second input may be any input for instructing the electronic device to display a curve drawing interface, which may be at least one of voice input, air gesture input, and touch input.
  • the electronic device displays the video recording preview interface
  • the electronic device receives the user's click input on the button 41 in the video recording preview interface
  • the electronic device displays the curve drawing interface, as shown in FIG. 5 . shown.
  • the above-mentioned curve drawing interface may be any display interface for the user to input the above-mentioned third input.
  • the above-mentioned curve drawing interface may be a display interface that displays a time-zoom multiplier coordinate system, where the abscissa of the time-zoom multiplier coordinate system is time and the ordinate is the zoom factor.
  • the electronic device when the electronic device displays the above-mentioned curve drawing interface, if the electronic device receives the above-mentioned third input, the electronic device can generate and display the target curve drawn by the third input.
  • the above-mentioned third input may be any input for drawing a curve in the above-mentioned curve drawing interface.
  • the above-mentioned third input may be a sliding input of inputting a sliding track as a curve in the curve drawing interface, and so on.
  • the above-mentioned electronic device may generate the above-mentioned target curve according to the third input. For example, it may be that the electronic device receives the sliding input input by the user in the time-zoom multiplier coordinate system of the above-mentioned curve drawing interface, and the electronic device takes the curve of the sliding track of the sliding input in the time-zoom multiplier coordinate system as the above-mentioned target curve .
  • the above method may further include:
  • Display the target curve drawn by the third input in the curve drawing interface which can include:
  • a first coordinate point is generated, wherein the third input includes: at any time point after the curve drawing mode is turned on, at the zoom factor adjustment mark the input for adjusting the zoom factor; the first coordinate point includes the second time point and the second zoom factor, and the second zoom factor is the zoom factor adjusted by the third input at the second time point;
  • the first coordinate point is used as the coordinate point on the target curve, and the target curve is displayed, and the target curve is composed of the coordinate points generated in the time period from the start of the curve drawing mode to the second time point.
  • the electronic device can generate the coordinate point corresponding to each time point after turning on the curve drawing mode according to the zoom factor of each time point adjusted on the zoom factor adjustment mark according to the third input, and pass The generated coordinate points form the above-mentioned target curve, so that in the process of drawing the target curve, the user only needs to adjust the zoom factor of each time point according to the advancement of time, which makes the user's input more convenient and controllable, thereby improving the drawing target of the electronic device.
  • the fourth input may be any input for instructing to start the curve drawing mode, which may be at least one of voice input, air gesture input, and touch input.
  • the electronic device when the electronic device displays a curve drawing interface, if the electronic device receives a user's click input on the button 51 in the curve drawing interface, the electronic device starts the above curve drawing mode.
  • the above-mentioned zoom factor adjustment indicator may be any indicator displayed in the curve drawing interface and used for adjusting the zoom factor.
  • the above-mentioned zoom factor adjustment indicator may be a slide rail in the display curve drawing interface and a slider displayed on the slide rail. The user can adjust the zoom factor by dragging the slider to slide along the slide rail; or, as shown in the figure As shown in Fig. 5, the electronic device displays the arrow dotted line 52 in its curve drawing interface. If the user slides farther in the direction indicated by the arrow, the adjusted zoom factor is larger; otherwise, the adjusted zoom factor is smaller.
  • the above-mentioned generation of the first coordinate point may be that when the electronic device turns on the curve drawing mode, the electronic device starts timing, that is, the time point when the curve drawing mode is turned on is taken as the initial time point (eg, 0). As time progresses, the electronic device can convert the coordinate point corresponding to the current time point (ie the first zoom factor) according to the zoom factor (ie, the second zoom factor) adjusted by the third input received at the current The zoom factor of a coordinate point) is determined as the zoom factor adjusted by the third input at the current time point.
  • the electronic device may use the first coordinate point as a coordinate point on the target curve, thereby generating a target curve composed of all coordinate points from the initial time point to the second time point.
  • the electronic device receives a sliding input from the user in the direction of the arrow dotted line 52 at the current time point, and uses the zoom factor adjusted by the sliding input as the zoom factor in the coordinate point corresponding to the current time point, thereby Over time, the electronic device can generate the curve 61 (ie, the target curve) in its curve drawing interface.
  • the curve 61 ie, the target curve
  • the above-mentioned displaying the target curve may include: displaying a partial curve of the target curve on the curve drawing interface.
  • the electronic device generates a target curve within a time period of 0 to 3s, and the curve drawing interface can only display a curve with a time length of 1.5s. Therefore, when the current time is 3s after the curve drawing mode is turned on, the electronic device generates the target curve , the electronic device only displays part of the curve generated by the target curve within 1.5s to 3s on the curve drawing interface, while part of the curve generated within 0 to 1.5s as shown in Figure 6 is moved out of the screen, as shown in Figure 7.
  • the target curve may also be a curve that is automatically generated according to a user's instruction before the first input is received.
  • the above method may further include:
  • the video recording preview interface receives the fourth input, in response to the fourth input, displaying a list of audio files, where the list of audio files includes an identifier of at least one audio file;
  • the target curve is generated and displayed, wherein the first audio file is: the fifth input indicates the identification in the identification of the at least one audio file the corresponding audio file.
  • the electronic device can generate the above-mentioned target curve according to the audio file selected by the user in the audio file list.
  • the user does not need to input the operation of drawing the curve, thereby reducing the amount of user operations and improving the operational convenience of the electronic device. and the efficiency of target curve generation.
  • the fourth input may be any input for instructing to display the audio file list, and may be at least one of voice input, air gesture input, touch input, and the like.
  • the electronic device when the electronic device displays the video recording preview interface, if the electronic device receives the user's click input on the button 41 in the video recording preview interface (ie, the fourth input), the electronic device displays the above-mentioned Audio file list 1, and the audio file list 1 includes options of audio A, options of audio B, options of audio C, etc., as shown in FIG. 8 .
  • the fifth input may be any input for the audio file selected in the audio file list, which may be at least one of voice input, air gesture input, touch input, and the like.
  • the electronic device determines audio file B as the above-mentioned first audio file.
  • the electronic device may generate and display the target curve based on the first audio file.
  • generating the target curve based on the first audio file may be that the electronic device obtains the loudness waveform of the first audio file, and generates the target curve based on the loudness waveform of the first audio file.
  • the waveform in the loudness waveform diagram represents the strength of the music when the audio file is playing, so a stronger loudness can be set to correspond to a larger zoom factor, so that the recorded video has a stronger shock.
  • generating the target curve based on the loudness waveform diagram of the first audio file may directly determine the edge curve of the waveform in the loudness waveform diagram as the target curve.
  • the above-mentioned generating and displaying the target curve based on the first audio file may include:
  • a target curve is generated and displayed.
  • the electronic device can generate a target curve based on the envelope of the loudness waveform graph of the first audio file, so that the target curve generated based on the loudness waveform graph is smoother, which can reduce the frequency of adjustment of the zoom factor during video recording, thereby improving the The quality of the recorded video.
  • FIG. 9( a ) it is a waveform diagram of the loudness of audio B obtained by the electronic device.
  • the electronic device can take the envelope of the loudness waveform diagram of the audio frequency B, generate a smooth curve 91 as shown in FIG. 9(b), and determine the curve 91 as the above-mentioned target curve.
  • the electronic device after the electronic device turns on the above-mentioned video recording mode and acquires the above-mentioned target curve, the electronic device can perform video recording based on the target curve, that is, at any point in time after the video recording mode is turned on, on the target curve
  • the zoom factor of the coordinate point corresponding to the time point is obtained as the zoom factor of the current frame image (ie, the first zoom factor), so as to realize the adjustment of the zoom factor during the video recording process.
  • the above-mentioned target curve can be displayed in the video recording interface, and a time point indication mark can also be displayed, and the time point indication mark is used to indicate the target curve.
  • the electronic device displays the video recording interface, as shown in FIG. 10( a ), and displays the curve 101 translucently in the video recording interface. (ie the target curve) and the time point indicator 102 (ie, the time point indicator), the initial position of the time point indicator 102 is the starting time point T0 of the curve 101, and the zoom factor is 0.9 times.
  • the time point indicator 102 moves to position 1 along the direction parallel to the time axis of the curve 101, and the time point indicator 102 indicates the time point T1 of the curve 101, at this time the zoom factor is 3.0 times, As shown in FIG. 10( b ), the image of the person captured at the time point T1 is larger than the image of the person captured at the time point T0 .
  • the time point indicator 102 moves to position 2 along the direction parallel to the time axis of the curve 101, and the time point indicator 102 indicates the time point T2 of the curve 101, and the zoom factor is 1.5 times at this time.
  • the image of the person photographed at the time point T2 is smaller than the image of the person photographed at the time point T1 .
  • the time point indicator 102 moves to position 3 along the direction parallel to the time axis of the curve 101, and the time point indicator 102 indicates the time point T3 of the curve 101, and the zoom factor is 4.0 times at this time.
  • the image of the person photographed at the time point T3 is larger than the image of the person photographed at the time point T2 .
  • the electronic device can use any time point on the target curve as the start time point of video recording (that is, the time point when the video recording mode is turned on) , again without limitation.
  • the target curve in the process of the electronic device recording video based on the target curve, the target curve may be fixed.
  • the above method may also include:
  • the first curve segment is updated to the second curve segment adjusted by the sixth input.
  • the first zoom factor is the zoom factor of the second curve segment at the first time point.
  • the electronic device can adjust a part of the curve segment in the target curve according to the user's input (ie, the sixth input), so as to change the zoom factor corresponding to the time point in the part of the curve segment, so as to meet the actual needs of the user and improve the user's Experience the effect.
  • the user's input ie, the sixth input
  • the sixth input may be any input for adjusting a partial curve segment in the target curve, which may be at least one of voice input, air gesture input, and touch input.
  • the electronic device when the above-mentioned curve 101 is displayed in the video recording interface of the electronic device, if the electronic device receives the user's sliding input at the position 111 in the direction indicated by the dotted arrow (ie, the sixth input), Then the electronic device adjusts the curve segment where the position 111 is located (ie, the first curve segment), so that the adjusted curve 101 is updated to the curve 112, and the curve 112 includes the adjusted curve segment where the position 111 is located (ie, the second curve segment). segment), as shown in Figure 12.
  • the execution body may be a video recording device, or a control module of the video recording method in the video recording device.
  • the video recording device provided by the embodiment of the present application is described by taking the video recording device executing the video recording method as an example.
  • the video recording device 1300 includes:
  • the curve acquisition module 1301 is used for, in the case where the electronic device displays the video recording preview interface and receives the first input, in response to the first input, starts the video recording mode, and acquires a target curve, where each coordinate point on the target curve includes time point and zoom factor;
  • a shooting module 1302 configured to shoot a first picture with a first zoom factor at a first time point after the video recording mode is turned on, and the first zoom factor is the zoom factor in the target curve at the first time point;
  • the video generation module 1303 is configured to use the first picture as a frame picture of the recorded video.
  • the video recording device 1300 can realize the adjustment of the zoom factor during the video recording process, without the user's input to adjust the zoom factor, so as to avoid the shaking of the picture in the recorded video caused by the user's input, thereby improving the quality of the recorded video.
  • the apparatus 1300 further includes:
  • a drawing interface display module configured to display a curve drawing interface in response to the second input when the video recording preview interface receives the second input
  • the drawing curve display module is configured to display the target curve drawn by the third input in the curve drawing interface in the case of receiving the third input input on the curve drawing interface.
  • the video recording device 1300 can draw the above target curve according to the user's input on the curve drawing interface, so that the generation of the target curve can meet the actual needs of the user.
  • the apparatus 1300 further includes:
  • the curve drawing mode enabling module is configured to enable the curve drawing mode in response to the fourth input in the case of receiving the fourth input in the curve drawing interface, and display the zoom factor adjustment mark on the curve drawing interface.
  • the plotting curve display module can include:
  • the coordinate point generating unit is configured to generate a first coordinate point when a third input is received at a second time point after the curve drawing mode is turned on, wherein the third input includes: any time after the curve drawing mode is turned on point, the input for adjusting the zoom factor on the zoom factor adjustment mark; the first coordinate point includes the second time point and the second zoom factor, and the second zoom factor is the zoom factor adjusted by the third input at the second time point;
  • the drawing curve display unit is used for taking the first coordinate point as the coordinate point on the target curve, and displaying the target curve.
  • the target curve is composed of coordinate points generated in the time period from the curve drawing mode is turned on to the second time point.
  • the user only needs to adjust the zoom factor of each time point according to the advancement of time, which makes the user's input more convenient and controllable, thereby improving the convenience of the device 1300 to draw the target curve and the drawn target.
  • the precision of the curve is the precision of the curve.
  • the apparatus 1300 further includes:
  • a file list display module configured to display an audio file list in response to the fourth input when the video recording preview interface receives the fourth input, and the audio file list includes an identifier of at least one audio file;
  • a target curve generation module configured to generate and display a target curve based on the first audio file in the case of receiving the fifth input in the audio file list, wherein the first audio file is: the fifth input is in at least one audio file The audio file corresponding to the ID indicated in the ID of the file.
  • the video recording apparatus 1300 can generate the above-mentioned target curve according to the audio file selected by the user in the audio file list, in the process of generating the target curve, there is no need for the user to input the operation of drawing the curve, thereby reducing the amount of user operations and improving the operation of the electronic device Convenience and efficiency of target curve generation.
  • the target curve generation module includes:
  • a waveform acquisition unit used for acquiring the loudness waveform of the first audio file
  • the target curve generation unit is used to generate and display the target curve based on the envelope of the loudness waveform graph.
  • the video recording device 1300 can generate a target curve based on the envelope of the loudness waveform of the first audio file, so that the target curve generated based on the loudness waveform is relatively smooth, and the adjustment frequency of the zoom factor during the video recording process can be reduced, This in turn improves the quality of the recorded video.
  • multiple curves are preset in the electronic device.
  • the curve acquisition module 1301 may include:
  • a scene information acquisition unit used for acquiring scene information of the electronic device
  • the target curve determination unit is used for determining the curve matching the scene information among the multiple curves as the target curve.
  • the video recording apparatus 1300 can not only enable the selected target curve to be adapted to the scene in which the video is recorded by the electronic device, but also reduce user input and improve the operational convenience of video recording.
  • the apparatus 1300 further includes:
  • the target curve adjustment module is configured to update the first curve segment to the second curve segment adjusted by the sixth input if a sixth input for adjusting the first curve segment in the target curve is received.
  • the first zoom factor is the zoom factor of the second curve segment at the first time point.
  • the video recording device 1300 can adjust a part of the curve segment in the target curve according to the user's input (ie, the sixth input), so as to change the zoom factor corresponding to the time point in the part of the curve segment, so as to meet the actual needs of the user, Improve user experience.
  • the video recording device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the video recording device in this 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, which are not specifically limited in the embodiments of the present application.
  • the video recording apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 12 , and to avoid repetition, details are not described herein again.
  • an embodiment of the present application further provides an electronic device 1400, including a processor 1401, a memory 1402, and a program or instruction stored in the memory 1402 and executable on the processor 1401, the program Or when the instruction is executed by the processor 1401, each process of the foregoing video recording method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 15 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510, etc. part.
  • the electronic device 1500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1510 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 15 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 1510 is used for:
  • the electronic device displays the video recording preview interface and receives the first input
  • the video recording mode is turned on, and a target curve is acquired, and each coordinate point on the target curve includes a time point and a zoom factor
  • the first zoom factor is the zoom factor in the target curve at the first time point
  • the electronic device 1500 can realize the adjustment of the zoom factor during the video recording process, without the user's input to adjust the zoom factor, so as to avoid the shaking of the screen in the recorded video caused by the user's input, thereby improving the quality of the recorded video.
  • processor 1510 is further configured to:
  • the video recording preview interface receives the second input, in response to the second input, displaying the curve drawing interface;
  • the target curve drawn by the third input is displayed in the curve drawing interface.
  • the electronic device 1500 can draw the above target curve according to the user's input on the curve drawing interface, so that the generation of the target curve can meet the actual needs of the user.
  • processor 1510 is further configured to:
  • a first coordinate point is generated, wherein the third input includes: at any time point after the curve drawing mode is turned on, at the zoom factor adjustment mark the input for adjusting the zoom factor; the first coordinate point includes the second time point and the second zoom factor, and the second zoom factor is the zoom factor adjusted by the third input at the second time point;
  • the first coordinate point is used as the coordinate point on the target curve, and the target curve is displayed, and the target curve is composed of the coordinate points generated in the time period from the start of the curve drawing mode to the second time point.
  • the user only needs to adjust the zoom factor of each time point according to the advancement of time, which makes the user's input more convenient and controllable, thereby improving the convenience of drawing the target curve by the electronic device 1500 and the efficiency of drawing.
  • the precision of the target curve is the precision of the target curve.
  • processor 1510 is further configured to:
  • the video recording preview interface receives the fourth input, in response to the fourth input, displaying a list of audio files, where the list of audio files includes an identifier of at least one audio file;
  • the target curve is generated and displayed, wherein the first audio file is: the fifth input indicates the identification in the identification of the at least one audio file the corresponding audio file.
  • the electronic device 1500 can generate the above-mentioned target curve according to the audio file selected by the user in the audio file list.
  • the user does not need to input the operation of drawing the curve, thereby reducing the amount of user operations and improving the convenience of operation of the electronic device. performance and the efficiency of target curve generation.
  • processor 1510 is further configured to:
  • a target curve is generated and displayed.
  • the electronic device 1500 can generate a target curve based on the envelope of the loudness waveform graph of the first audio file, so that the target curve generated based on the loudness waveform graph is relatively smooth, which can reduce the adjustment frequency of the zoom factor during the video recording process, and further Improve the quality of recorded video.
  • multiple curves are preset in the electronic device.
  • Processor 1510 may also be used to:
  • the electronic device 1500 can not only enable the selected target curve to be adapted to the scene of video recording by the electronic device, but also reduce user input and improve the operational convenience of video recording.
  • processor 1510 is further configured to:
  • the first curve segment is updated to the second curve segment adjusted by the sixth input.
  • the first zoom factor is the zoom factor of the second curve segment at the first time point.
  • the electronic device 1500 can adjust a part of the curve segment in the target curve according to the user's input (ie, the sixth input), so as to change the zoom factor corresponding to the time point in the part of the curve segment, so as to meet the actual needs of the user and improve the User experience effect.
  • the user's input ie, the sixth input
  • the input unit 1504 may include a graphics processor (Graphics Processing Unit, GPU) 150151 and a microphone 15042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1506 may include a display panel 15061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1507 includes a touch panel 15071 and other input devices 15072 .
  • the touch panel 15071 is also called a touch screen.
  • the touch panel 15071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 15072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1509 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1510 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1510.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • Examples of computer-readable storage media include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, and the like.
  • An 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 used for running a program or an instruction to implement each process of the above video recording method embodiment, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请公开了一种视频录制方法及装置,属于通信技术领域。方法包括:在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于所述第一输入,开启视频录制模式,并获取目标曲线,所述目标曲线上每一坐标点包括时间点和变焦倍数;在开启所述视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,所述第一变焦倍数为所述目标曲线中在所述第一时间点的变焦倍数;将所述第一图片作为录制视频的帧图片。

Description

视频录制方法及装置
相关申请的交叉引用
本申请主张在2021年01月28日在中国提交的中国专利申请号202110116755.8的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种视频录制方法及装置。
背景技术
视频录制功能作为电子设备的主要功能之一,可以供用户实现动态地记录身边发生的一切事物,提升电子设备的用户体验效果。其中,电子设备可在视频录制过程通过调节变焦倍数,实现拍摄的视频的不同帧图像中相同对象的大小发生变化,提升拍摄视频的趣味性,例如,通过频繁地调节变焦倍数改变,使拍摄的视频具有节奏感等。但是,目前在视频录制过程中调节变焦倍数,通常是由用户对电子设备输入操作实现,而用户输入操作时可能会导致电子设备发生震动,从而导致录制的视频中画面发生抖动而降低录制的视频质量。
可见,目前电子设备为实现在视频录制过程中变焦倍数的调节,存在会导致录制的视频质量低的问题。
发明内容
本申请实施例的目的是提供一种视频录制方法及装置,能够解决目前电子设备为实现在视频录制过程中变焦倍数的调节,存在会导致录制的视频质量低的问题。
第一方面,本申请实施例提供了一种视频录制方法,包括:
在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应 于所述第一输入,开启视频录制模式,并获取目标曲线,所述目标曲线上每一坐标点包括时间点和变焦倍数;
在开启所述视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,所述第一变焦倍数为所述目标曲线中在所述第一时间点的变焦倍数;
将所述第一图片作为录制视频的帧图片。
第二方面,本申请实施例提供了一种视频录制装置,包括:
曲线获取模块,用于在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于所述第一输入,开启视频录制模式,并获取目标曲线,所述目标曲线上每一坐标点包括时间点和变焦倍数;
拍摄模块,用于在开启所述视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,所述第一变焦倍数为所述目标曲线中在所述第一时间点的变焦倍数;
视频生成模块,用于将所述第一图片作为录制视频的帧图片。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,在电子设备开启视频录制模式的情况下,电子设备可以通过目标曲线上每一坐标点中时间点和变焦倍数,确定视频录制过程中任一时间点的变焦倍数,即当前录制的时间点(即第一时间点)的变焦倍数(即第一变焦倍数)为其所在坐标点中的变焦倍数,从而可以实现根据目标曲线调节视频录制过程中的变焦倍数,如此,通过本申请实施 例,实现视频录制过程中对变焦倍数的调节,无需用户的输入来调节变焦倍数,从而可以避免因用户的输入引起的录制视频中画面的抖动,进而提升录制的视频质量。
附图说明
图1是本申请提供的视频录制方法的实施例的流程示意图;
图2至12是本申请提供的视频录制方法的实施例中电子设备的显示界面的示意图;
图13是本申请提供的视频录制装置的实施例的结构示意图;
图14是本申请提供的电子设备的实施例的硬件结构示意图;
图15是本申请提供的另一电子设备的实施例的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体地实施例及其应用场景对本申请实施例提供的视频录制方法进行详细地说明。
请参见图1,本申请实施例提供一种视频录制方法,该视频录制方法应用于电子设备。如图1所示,方法包括如下步骤101至步骤103。
步骤101、在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于第一输入,开启视频录制模式,并获取目标曲线目标曲线上每一坐标点包括时间点和变焦倍数。
步骤102、在开启视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,第一变焦倍数为目标曲线中在第一时间点的变焦倍数。
步骤103、将第一图片作为录制视频的帧图片。
这里,在电子设备开启视频录制模式的情况下,电子设备可以通过目标曲线上每一坐标点中时间点和变焦倍数,确定视频录制过程中任一时间点的变焦倍数,即当前录制的时间点(即第一时间点)的变焦倍数(即第一变焦倍数)为其所在坐标点中的变焦倍数,从而可以实现根据目标曲线调节视频录制过程中的变焦倍数,如此,通过本申请实施例,实现视频录制过程中对变焦倍数的调节,无需用户的输入来调节变焦倍数,从而可以避免因用户的输入引起的录制视频中画面的抖动,进而提升录制的视频质量。
在上述步骤101中,在电子设备显示有视频录制预览界面的情况下,电子设备可以接收到用户在视频录制预览界面的第一输入,并响应于该第一输入,开启视频录制模式,以及获取目标曲线。
本申请实施例中,上述电子设备显示视频录制预览界面,可以是电子设备在接收到用于指示显示视频录制预览界面的输入的情况下,响应于该输入显示上述视频录制预览界面。
其中,上述用于指示显示视频录制预览界面的输入,可以是语音输入、隔空手势输入和触控输入等中的至少一种。
例如,可以是电子设备接收到用户点击相机应用程序的图标的触控输入,响应于该触控输入显示视频录制预览界面,如图2所示。
另外,上述第一输入可以是任意用于指示开启视频录制模式的输入,其也可以是语音输入、隔空手势输入和触控输入等中的至少一种。
例如,如图3所示,若电子设备接收到用户在视频拍摄预览界面中的视频录制按钮31上的点击输入(即第一输入),则电子设备开启视频录制模式。
需要说明的是,上述电子设备开启视频录制模式,可以理解为电子设备以开启视频录制模式的时间点为起始时间,随着时间的推进拍摄起始时间以及起始时间之后的每一帧图像,并通过拍摄的所有帧图像生成录制视频,即录制视频由拍摄的所有帧图像组成。
本申请实施例中,电子设备在接收到上述第一输入开启视频录制模式时,还可以响应于该第一输入获取上述目标曲线。
其中,上述电子设备获取上述目标曲线,可以是电子设备中预先设定有至少一条曲线,电子设备可以响应于上述第一输入,在上述至少一条曲线中确定一条曲线为上述目标曲线。
需要说明的是,上述在至少一条曲线中确定一条曲线为上述目标曲线,可以是电子设备将用户的输入所指示的曲线确定为上述目标曲线。
例如,如图3所示,在电子设备接收到用户在视频拍摄预览界面中的视频录制按钮31上的点击输入的情况下,电子设备在视频拍摄预览界面中显示悬浮框,该悬浮框中显示有至少一条曲线。在电子设备接收到对该至少一条曲线中曲线1的点击输入的情况下,电子设备将曲线1确定为上述目标曲线。
或者,为减少用户在视频录制过程中的操作,电子设备可以自动在上述至少一条曲线中确定一条曲线作为上述目标曲线。具体地,上述获取目标曲线,可以包括:
获取电子设备的场景信息;
确定多条曲线中与场景信息匹配的曲线为目标曲线。
这里,电子设备可以根据其场景信息,在多条曲线中确定与场景信息相匹配的目标曲线,从而不仅可以使选取的目标曲线能够与电子设备录制视频的场景适配,还可以减少用户的输入,提升视频录制的操作便捷性。
其中,上述场景信息可以是任何与电子设备当前录制视频所处的场景相关联的信息,例如,上述场景信息可以包括位置、时间、声音以及环境参数等中的至少一项。
例如,在用户使用电子设备录制舞蹈视频时,在电子设备接收到用户的第一输入并开启视频录制模式的情况下,电子设备可以获取开始视频录 制模式后的5秒内的音乐片段,根据获取到的音乐片段确定录制该舞蹈视频过程中播放的音频文件,并将至少一条曲线中与上述播放的音频文件存在对应关系的曲线确定为上述目标曲线。
当然,上述目标曲线也可以是在接收到上述第一输入之前生成的曲线,且该目标曲线的生成可以是电子设备根据用户的输入生成。
本申请实施例中,为满足用户的实际需求,上述目标曲线可以是由用户通过输入绘制的曲线。具体地,上述开启视频录制,并获取目标曲线之前,上述方法还可以包括:
在视频录制预览界面接收到第二输入的情况下,响应于第二输入,显示曲线绘制界面;
在接收到在曲线绘制界面输入的第三输入的情况下,在曲线绘制界面中显示第三输入所绘制的目标曲线。
这里,电子设备可以根据用户在曲线绘制界面的输入,实现对上述目标曲线的绘制,从而使目标曲线的生成可以满足用户的实际需求。
其中,上述第二输入可以是任何用于指示电子设备显示曲线绘制界面的输入,其可以是语音输入、隔空手势输入以及触控输入中的至少一项。
例如,如图4所示,在电子设备显示视频录制预览界面的情况下,若电子设备接收到用户对视频录制预览界面中的按钮41的点击输入,则电子设备显示曲线绘制界面,如图5所示。
另外,上述曲线绘制界面可以是任意供用户输入上述第三输入的显示界面。例如,上述曲线绘制界面可以是显示时间-变焦倍数坐标系的显示界面,该时间-变焦倍数坐标系的横坐标为时间且纵坐标为变焦倍数。
本申请实施例中,在电子设备显示有上述曲线绘制界面的情况下,若电子设备接收到上述第三输入,电子设备可以生成第三输入所绘制的目标曲线并显示。
其中,上述第三输入可以是任意用于在上述曲线绘制界面中绘制曲线的输入。例如,上述第三输入可以是在曲线绘制界面中输入滑动轨迹为曲线的滑动输入,等等。
另外,上述电子设备可以根据第三输入生成上述目标曲线。例如,可 以是电子设备接收到用户在上述曲线绘制界面的时间-变焦倍数坐标系中输入的滑动输入,电子设备将该滑动输入的滑动轨迹在时间-变焦倍数坐标系中的曲线作为上述目标曲线。
或者,为使电子设备生成的目标曲线的精度更高且操作更便捷,上述显示曲线绘制界面之后,上述方法还可以包括:
在接收到在曲线绘制界面中的第四输入的情况下,响应于第四输入,开启曲线绘制模式,并在曲线绘制界面显示变焦倍数调节标识;
在曲线绘制界面中显示第三输入所绘制的目标曲线,可以包括:
在开启曲线绘制模式之后的第二时间点接收到第三输入的情况下,则生成第一坐标点,其中,第三输入包括:开启曲线绘制模式之后的任一时间点,在变焦倍数调节标识上调节变焦倍数的输入;第一坐标点包括第二时间点和第二变焦倍数,且第二变焦倍数为第三输入在第二时间点调节的变焦倍数;
将第一坐标点作为目标曲线上的坐标点,并显示目标曲线,目标曲线由开启曲线绘制模式至第二时间点的时间段内生成的坐标点组成。
这里,电子设备可以在开启曲线绘制模式之后,可以根据第三输入在变焦倍数调节标识上调节的每一时间点的变焦倍数,生成开启曲线绘制模式之后每一时间点对应的坐标点,并通过生成的坐标点形成上述目标曲线,从而用户在绘制目标曲线的过程中,仅需要根据时间的推进调节每一时间点的变焦倍数,使得用户的输入更便捷且可控,进而提升电子设备绘制目标曲线的便捷性以及绘制的目标曲线的精度。
其中,上述第四输入可以是任何用于指示开启上述曲线绘制模式的输入,其可以是语音输入、隔空手势输入以及触控输入等中的至少一项。
例如,如图5所示,在电子设备显示有曲线绘制界面的情况下,若电子设备接收到用户在曲线绘制界面中的按钮51的点击输入,则电子设备开启上述曲线绘制模式。
另外,上述变焦倍数调节标识可以是曲线绘制界面中显示的,且用于调节变焦倍数的任意标识。例如,上述变焦倍数调节标识可以是显示曲线绘制界面中的滑轨以及显示于滑轨上的滑块,用户通过拖动滑块沿滑轨滑 动,可以实现对变焦倍数的调节;或者,如图5所示,电子设备在其曲线绘制界面中显示箭头虚线52,若用户在沿箭头所指方向滑动距离越远,则调节的变焦倍数越大;反之,则调节的变焦倍数越小。
本申请实施例中,上述生成第一坐标点,可以是当上述电子设备开启曲线绘制模式时,电子设备开始计时,即将开启曲线绘制模式的时间点作为初始时间点(如为0)。随着时间的推进,电子设备可以根据当前时间点(即第二时间点)接收到的第三输入所调节的变焦倍数(即第二变焦倍数),将当前时间点对应的坐标点(即第一坐标点)的变焦倍数确定为第三输入在当前时间点所调节的变焦倍数。
另外,电子设备在生成上述第一坐标点时,可以将第一坐标点作为目标曲线上的坐标点,从而生成由上述初始时间点至上述第二时间点的所有坐标点组成的目标曲线。
例如,如图6所示,电子设备在当前时间点接收到用户沿箭头虚线52方向上的滑动输入,并将滑动输入所调节的变焦倍数作为当前时间点对应的坐标点中的变焦倍数,从而随着时间的推进,电子设备可以在其曲线绘制界面中生成曲线61(即目标曲线)。
需要说明的是,在绘制上述目标曲线的过程中,由于电子设备的曲线绘制界面可以显示的曲线段的长度有限,故上述显示目标曲线,可以包括:在曲线绘制界面显示目标曲线的部分曲线。
例如,电子设备生成0~3s时间段内的目标曲线,而曲线绘制界面中仅能够显示时间长度为1.5s的曲线,故当电子设备在当前时间为开启曲线绘制模式之后的3s时生成目标曲线时,电子设备仅将目标曲线在1.5s~3s内生成的部分曲线显示于曲线绘制界面,而在如图6所示的0~1.5s内生成的部分曲线移出屏幕,如图7所示。
本申请实施例中,为提升视频录制过程中的操作便捷性,上述目标曲线也可以是在接收到上述第一输入之前根据用户指示自动生成的曲线。具体地,上述开启视频录制,并获取目标曲线之前,上述方法还可以包括:
在视频录制预览界面接收到第四输入的情况下,响应于第四输入,显示音频文件列表,音频文件列表包括至少一个音频文件的标识;
在接收到在音频文件列表中的第五输入的情况下,基于第一音频文件,生成目标曲线并显示,其中,第一音频文件为:第五输入在至少一个音频文件的标识中指示的标识所对应的音频文件。
这里,电子设备可以根据用户在音频文件列表中所选取的音频文件,生成上述目标曲线,在生成目标曲线过程中无需用户输入绘制曲线的操作,从而降低用户操作量,提升电子设备的操作便捷性以及目标曲线生成的效率。
其中,上述第四输入可以是任意用于指示显示上述音频文件列表的输入,其可以是语音输入、隔空手势输入和触控输入等中的至少一项。
例如,如图4所示,在电子设备显示视频录制预览界面的情况下,若电子设备接收到用户对视频录制预览界面中的按钮41的点击输入(即第四输入),则电子设备显示上述音频文件列表1,且该音频文件列表1包括音频A的选项、音频B的选项、音频C的选项等,如图8所示。
另外,上述第五输入可以是任意用于在上述音频文件列表选择的音频文件的输入,其可以是语音输入、隔空手势输入和触控输入等中的至少一项。
例如,如图8所示,若电子设备接收到用户点击音频文件B的选项的点击输入(即第五输入)的情况,则电子设备将音频文件B确定为上述第一音频文件。
本申请实施例中,在电子设备确定上述第一音频文件之后,电子设备可以基于该第一音频文件,生成上述目标曲线并进行显示。
其中,上述基于第一音频文件,生成上述目标曲线,可以是电子设备获取第一音频文件的响度波形图,并基于第一音频文件的响度波形图生成上述目标曲线。这里,响度波形图中的波形代表音频文件播放时音乐的强弱程度,故可以设置越强的响度对应越大的变焦倍数,从而使录制的视频具有较强的震撼力。
需要说明的是,上述基于第一音频文件的响度波形图生成上述目标曲线,可以是直接将响度波形图中的波形的边沿曲线确定为上述目标曲线。
但是,由于音频文件的响度波形图中响度的变化可能过于频繁,这样 生成的目标曲线中的变焦倍数也会变化频繁,故为避免录制视频中变焦倍数的调节过于频繁,可以通过响度波形图生成较为平顺的曲线作为目标曲线。
具体地,上述基于第一音频文件,生成目标曲线并显示,可以包括:
获取第一音频文件的响度波形图;
基于响度波形图的包络,生成目标曲线并显示。
这里,电子设备可以基于第一音频文件的响度波形图的包络,生成目标曲线,从而使基于响度波形图生成的目标曲线较为平顺,可以降低录制视屏过程中变焦倍数的调节频繁度,进而提升录制视频的质量。
例如,如图9(a)所示,为电子设备获取到的音频B的响度波形图。电子设备可以取音频B的响度波形图的包络,产生如图9(b)所示的平顺的曲线91,并将曲线91确定为上述目标曲线。
本申请实施例中,在电子设备开启上述视频录制模式并获取到上述目标曲线之后,电子设备可以基于该目标曲线进行视频录制,即在开启视频录制模式之后的任一时间点,在目标曲线上获取与该时间点对应的坐标点的变焦倍数作为拍摄当前帧图像的变焦倍数(即第一变焦倍数),从而实现对视频录制过程中变焦倍数的调节。
需要说明的是,在上述电子设备基于上述目标曲线进行视频录制的过程中,可以在视频录制界面中显示上述目标曲线,以及,还可以显示时间点指示标识,时间点指示标识用于指示目标曲线中当前时间点的位置。
例如,如图3所示,在电子设备开启视频录制模式以及获取到目标曲线之后,电子设备显示视频录制界面,如图10(a)所示,并在视频录制界面中半透明地显示曲线101(即目标曲线)以及用于时间点指示角标102(即时间点指示标识),时间点指示角标102的初始位置为曲线101的起始时间点T0,此时变焦倍数为0.9倍。
随着时间的推进,时间点指示角标102沿平行于曲线101的时间轴的方向移动至位置1,且时间点指示角标102指示曲线101的时间点T1,此时变焦倍数为3.0倍,如图10(b)所示,时间点T1拍摄的人物的图像大于时间点T0拍摄的人物的图像。
再随着时间的推进,时间点指示角标102沿平行于曲线101的时间轴的方向移动至位置2,且时间点指示角标102指示曲线101的时间点T2,此时变焦倍数为1.5倍,如图10(c)所示,时间点T2拍摄的人物的图像小于时间点T1拍摄的人物的图像。
再随着时间的推进,时间点指示角标102沿平行于曲线101的时间轴的方向移动至位置3,且时间点指示角标102指示曲线101的时间点T3,此时变焦倍数为4.0倍,如图10(d)所示,时间点T3拍摄的人物的图像大于时间点T2拍摄的人物的图像。
另外,在上述电子设备开启上述视频录制模式,并获取到上述目标曲线时,电子设备可以将目标曲线上的任一时间点作为视频录制的起始时间点(即开启视频录制模式的时间点),再次并不作限定。
本申请实施例中,在电子设备基于上述目标曲线录制视频的过程中,上述目标曲线可以是固定不变的。
当然,在视频录制的过程中,可能会出现用户需要调节目标曲线,以改变当前时间点之后的时间点对应的变焦倍数的情况,为满足用户对目标曲线的调节需求,上述获取目标曲线之后,上述方法还可以包括:
若接收到用于调整目标曲线中第一曲线段的第六输入,则将第一曲线段更新为第六输入所调整的第二曲线段。
其中,在第一时间点可以为第一曲线段的时间点的情况下,第一变焦倍数为第二曲线段在第一时间点的变焦倍数。
这里,电子设备可以根据用户的输入(即第六输入)对目标曲线中的部分曲线段进行调节,实现改变该部分曲线段中时间点对应的变焦倍数,从而可以满足用户的实际需求,提升用户体验效果。
需要说明的是,上述第六输入可以是任何用于调整上述目标曲线中的部分曲线段的输入,其可以是语音输入、隔空手势输入和触控输入等中的至少一项。
例如,如图11所示,在电子设备的视频录制界面中显示有上述曲线101的情况下,若电子设备接收到用户在位置111沿虚线箭头所指方向的滑动输入(即第六输入),则电子设备调整位置111所在的曲线段(即第 一曲线段),使得调整后的曲线101更新为曲线112,且曲线112包括位置111所在的曲线段经过调整后的曲线段(即第二曲线段),如图12所示。
需要说明的是,本申请实施例提供的视频录制方法,执行主体可以为视频录制装置,或者该视频录制装置中的用于视频录制的方法的控制模块。本申请实施例中以视频录制装置执行视频录制方法为例,说明本申请实施例提供的视频录制装置。
请参见图13,本申请实施例提供一种视频录制装置。如图13所示,该视频录制装置1300包括:
曲线获取模块1301,用于在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于第一输入,开启视频录制模式,并获取目标曲线,目标曲线上每一坐标点包括时间点和变焦倍数;
拍摄模块1302,用于在开启视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,第一变焦倍数为目标曲线中在第一时间点的变焦倍数;
视频生成模块1303,用于将第一图片作为录制视频的帧图片。
这里,视频录制装置1300可以实现视频录制过程中对变焦倍数的调节,无需用户的输入来调节变焦倍数,从而可以避免因用户的输入引起的录制视频中画面的抖动,进而提升录制的视频质量。
可选的,装置1300还包括:
绘制界面显示模块,用于在视频录制预览界面接收到第二输入的情况下,响应于第二输入,显示曲线绘制界面;
绘制曲线显示模块,用于在接收到在曲线绘制界面输入的第三输入的情况下,在曲线绘制界面中显示第三输入所绘制的目标曲线。
这里,视频录制装置1300可以根据用户在曲线绘制界面的输入,实现对上述目标曲线的绘制,从而使目标曲线的生成可以满足用户的实际需求。
可选的,装置1300还包括:
曲线绘制模式开启模块,用于在接收到在曲线绘制界面中的第四输入的情况下,响应于第四输入,开启曲线绘制模式,并在曲线绘制界面显示 变焦倍数调节标识。
绘制曲线显示模块可以包括:
坐标点生成单元,用于在开启曲线绘制模式之后的第二时间点接收到第三输入的情况下,则生成第一坐标点,其中,第三输入包括:开启曲线绘制模式之后的任一时间点,在变焦倍数调节标识上调节变焦倍数的输入;第一坐标点包括第二时间点和第二变焦倍数,且第二变焦倍数为第三输入在第二时间点调节的变焦倍数;
绘制曲线显示单元,用于将第一坐标点作为目标曲线上的坐标点,并显示目标曲线,目标曲线由开启曲线绘制模式至第二时间点的时间段内生成的坐标点组成。
这里,用户在绘制目标曲线的过程中,仅需要根据时间的推进调节每一时间点的变焦倍数,使得用户的输入更便捷且可控,进而提升装置1300绘制目标曲线的便捷性以及绘制的目标曲线的精度。
可选的,装置1300还包括:
文件列表显示模块,用于在视频录制预览界面接收到第四输入的情况下,响应于第四输入,显示音频文件列表,音频文件列表包括至少一个音频文件的标识;
目标曲线生成模块,用于在接收到在音频文件列表中的第五输入的情况下,基于第一音频文件,生成目标曲线并显示,其中,第一音频文件为:第五输入在至少一个音频文件的标识中指示的标识所对应的音频文件。
这里,视频录制装置1300可以根据用户在音频文件列表中所选取的音频文件,生成上述目标曲线,在生成目标曲线过程中无需用户输入绘制曲线的操作,从而降低用户操作量,提升电子设备的操作便捷性以及目标曲线生成的效率。
可选的,目标曲线生成模块包括:
波形图获取单元,用于获取第一音频文件的响度波形图;
目标曲线生成单元,用于基于响度波形图的包络,生成目标曲线并显示。
这里,视频录制装置1300可以基于第一音频文件的响度波形图的包络,生成目标曲线,从而使基于响度波形图生成的目标曲线较为平顺,可以降低录制视屏过程中变焦倍数的调节频繁度,进而提升录制视频的质量。
可选的,电子设备中预设有多条曲线。
曲线获取模块1301可以包括:
场景信息获取单元,用于获取电子设备的场景信息;
目标曲线确定单元,用于确定多条曲线中与场景信息匹配的曲线为目标曲线。
这里,视频录制装置1300不仅可以使选取的目标曲线能够与电子设备录制视频的场景适配,还可以减少用户的输入,提升视频录制的操作便捷性。
可选的,装置1300还包括:
目标曲线调整模块,用于若接收到用于调整目标曲线中第一曲线段的第六输入,则将第一曲线段更新为第六输入所调整的第二曲线段。
其中,在第一时间点可以为第一曲线段的时间点的情况下,第一变焦倍数为第二曲线段在第一时间点的变焦倍数。
这里,视频录制装置1300可以根据用户的输入(即第六输入)对目标曲线中的部分曲线段进行调节,实现改变该部分曲线段中时间点对应的变焦倍数,从而可以满足用户的实际需求,提升用户体验效果。
本申请实施例中的视频录制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的视频录制装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的视频录制装置能够实现图1至图12的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图14所示,本申请实施例还提供一种电子设备1400,包括处理器1401、存储器1402和存储在存储器1402上并可在处理器1401上运行的程序或指令,该程序或指令被处理器1401执行时实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图15为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1500包括但不限于:射频单元1501、网络模块1502、音频输出单元1503、输入单元1504、传感器1505、显示单元1506、用户输入单元1507、接口单元1508、存储器1509、以及处理器1510等部件。
本领域技术人员可以理解,电子设备1500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1510逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图15中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1510用于:
在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于第一输入,开启视频录制模式,并获取目标曲线,目标曲线上每一坐标点包括时间点和变焦倍数;
在开启视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,第一变焦倍数为目标曲线中在第一时间点的变焦倍数;
将第一图片作为录制视频的帧图片。
这里,电子设备1500可以实现视频录制过程中对变焦倍数的调节,无需用户的输入来调节变焦倍数,从而可以避免因用户的输入引起的录制视频中画面的抖动,进而提升录制的视频质量。
可选的,处理器1510还用于:
在视频录制预览界面接收到第二输入的情况下,响应于第二输入,显示曲线绘制界面;
在接收到在曲线绘制界面输入的第三输入的情况下,在曲线绘制界面中显示第三输入所绘制的目标曲线。
这里,电子设备1500可以根据用户在曲线绘制界面的输入,实现对上述目标曲线的绘制,从而使目标曲线的生成可以满足用户的实际需求。
可选的,处理器1510还用于:
在接收到在曲线绘制界面中的第四输入的情况下,响应于第四输入,开启曲线绘制模式,并在曲线绘制界面显示变焦倍数调节标识;
在开启曲线绘制模式之后的第二时间点接收到第三输入的情况下,则生成第一坐标点,其中,第三输入包括:开启曲线绘制模式之后的任一时间点,在变焦倍数调节标识上调节变焦倍数的输入;第一坐标点包括第二时间点和第二变焦倍数,且第二变焦倍数为第三输入在第二时间点调节的变焦倍数;
将第一坐标点作为目标曲线上的坐标点,并显示目标曲线,目标曲线由开启曲线绘制模式至第二时间点的时间段内生成的坐标点组成。
这里,用户在绘制目标曲线的过程中,仅需要根据时间的推进调节每一时间点的变焦倍数,使得用户的输入更便捷且可控,进而提升电子设备1500绘制目标曲线的便捷性以及绘制的目标曲线的精度。
可选的,处理器1510还用于:
在视频录制预览界面接收到第四输入的情况下,响应于第四输入,显示音频文件列表,音频文件列表包括至少一个音频文件的标识;
在接收到在音频文件列表中的第五输入的情况下,基于第一音频文件,生成目标曲线并显示,其中,第一音频文件为:第五输入在至少一个音频文件的标识中指示的标识所对应的音频文件。
这里,电子设备1500可以根据用户在音频文件列表中所选取的音频文件,生成上述目标曲线,在生成目标曲线过程中无需用户输入绘制曲线的操作,从而降低用户操作量,提升电子设备的操作便捷性以及目标曲线生成的效率。
可选的,处理器1510还用于:
获取第一音频文件的响度波形图;
基于响度波形图的包络,生成目标曲线并显示。
这里,电子设备1500可以基于第一音频文件的响度波形图的包络,生成目标曲线,从而使基于响度波形图生成的目标曲线较为平顺,可以降低录制视屏过程中变焦倍数的调节频繁度,进而提升录制视频的质量。
可选的,电子设备中预设有多条曲线。
处理器1510还可以用于:
获取电子设备的场景信息;
确定多条曲线中与场景信息匹配的曲线为目标曲线。
这里,电子设备1500不仅可以使选取的目标曲线能够与电子设备录制视频的场景适配,还可以减少用户的输入,提升视频录制的操作便捷性。
可选的,处理器1510还用于:
若接收到用于调整目标曲线中第一曲线段的第六输入,则将第一曲线段更新为第六输入所调整的第二曲线段。
其中,在第一时间点可以为第一曲线段的时间点的情况下,第一变焦倍数为第二曲线段在第一时间点的变焦倍数。
这里,电子设备1500可以根据用户的输入(即第六输入)对目标曲线中的部分曲线段进行调节,实现改变该部分曲线段中时间点对应的变焦倍数,从而可以满足用户的实际需求,提升用户体验效果。
应理解的是,本申请实施例中,输入单元1504可以包括图形处理器(Graphics Processing Unit,GPU)150151和麦克风15042,图形处理器150151对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1506可包括显示面板15061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板 15061。用户输入单元1507包括触控面板15071以及其他输入设备15072。触控面板15071,也称为触摸屏。触控面板15071可包括触摸检测装置和触摸控制器两个部分。其他输入设备15072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1510中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。计算机可读存储介质的示例包括非暂态计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括 该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (13)

  1. 一种视频录制方法,包括:
    在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于所述第一输入,开启视频录制模式,并获取目标曲线,所述目标曲线上每一坐标点包括时间点和变焦倍数;
    在开启所述视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,所述第一变焦倍数为所述目标曲线中在所述第一时间点的变焦倍数;
    将所述第一图片作为录制视频的帧图片。
  2. 根据权利要求1所述的方法,其中,所述开启视频录制,并获取目标曲线之前,所述方法还包括:
    在所述视频录制预览界面接收到第二输入的情况下,响应于所述第二输入,显示曲线绘制界面;
    在接收到在所述曲线绘制界面输入的第三输入的情况下,在所述曲线绘制界面中显示所述第三输入所绘制的目标曲线。
  3. 根据权利要求2所述的方法,其中,所述显示曲线绘制界面之后,所述方法还包括:
    在接收到在所述曲线绘制界面中的第四输入的情况下,响应于所述第四输入,开启曲线绘制模式,并在所述曲线绘制界面显示变焦倍数调节标识;
    所述在所述曲线绘制界面中显示所述第三输入所绘制的目标曲线,包括:
    在开启所述曲线绘制模式之后的第二时间点接收到第三输入的情况下,则生成第一坐标点,其中,所述第三输入包括:开启所述曲线绘制模式之后的任一时间点,在所述变焦倍数调节标识上调节变焦倍数的输入;所述第一坐标点包括第二时间点和第二变焦倍数,且所述第二变焦倍数为所述第三输入在所述第二时间点调节的变焦倍数;
    将所述第一坐标点作为目标曲线上的坐标点,并显示所述目标曲线, 所述目标曲线由开启所述曲线绘制模式至所述第二时间点的时间段内生成的坐标点组成。
  4. 根据权利要求1所述的方法,其中,所述开启视频录制,并获取目标曲线之前,所述方法还包括:
    在所述视频录制预览界面接收到第四输入的情况下,响应于所述第四输入,显示音频文件列表,所述音频文件列表包括至少一个音频文件的标识;
    在接收到在所述音频文件列表中的第五输入的情况下,基于第一音频文件,生成所述目标曲线并显示,其中,所述第一音频文件为:所述第五输入在所述至少一个音频文件的标识中指示的标识所对应的音频文件。
  5. 根据权利要求1所述的方法,其中,所述获取目标曲线之后,所述方法还包括:
    若接收到用于调整所述目标曲线中第一曲线段的第六输入,则将所述第一曲线段更新为所述第六输入所调整的第二曲线段,
    其中,在所述第一时间点为所述第一曲线段的时间点的情况下,所述第一变焦倍数为所述第二曲线段在所述第一时间点的变焦倍数。
  6. 一种视频录制装置,包括:
    曲线获取模块,用于在电子设备显示视频录制预览界面且接收到第一输入的情况下,响应于所述第一输入,开启视频录制模式,并获取目标曲线,所述目标曲线上每一坐标点包括时间点和变焦倍数;
    拍摄模块,用于在开启所述视频录制模式后的第一时间点,以第一变焦倍数拍摄第一图片,所述第一变焦倍数为所述目标曲线中在所述第一时间点的变焦倍数;
    视频生成模块,用于将所述第一图片作为录制视频的帧图片。
  7. 根据权利要求6所述的装置,还包括:
    绘制界面显示模块,用于在所述视频录制预览界面接收到第二输入的情况下,响应于所述第二输入,显示曲线绘制界面;
    绘制曲线显示模块,用于在接收到在所述曲线绘制界面输入的第三输入的情况下,在所述曲线绘制界面中显示所述第三输入所绘制的目标曲 线。
  8. 根据权利要求7所述的装置,还包括:
    曲线绘制模式开启模块,用于在接收到在所述曲线绘制界面中的第四输入的情况下,响应于所述第四输入,开启曲线绘制模式,并在所述曲线绘制界面显示变焦倍数调节标识;
    所述绘制曲线显示模块包括:
    坐标点生成单元,用于在开启所述曲线绘制模式之后的第二时间点接收到第三输入的情况下,则生成第一坐标点,其中,所述第三输入包括:开启所述曲线绘制模式之后的任一时间点,在所述变焦倍数调节标识上调节变焦倍数的输入;所述第一坐标点包括第二时间点和第二变焦倍数,且所述第二变焦倍数为所述第三输入在所述第二时间点调节的变焦倍数;
    绘制曲线显示单元,用于将所述第一坐标点作为目标曲线上的坐标点,并显示所述目标曲线,所述目标曲线由开启所述曲线绘制模式至所述第二时间点的时间段内生成的坐标点组成。
  9. 根据权利要求6所述的装置,还包括:
    文件列表显示模块,用于在所述视频录制预览界面接收到第四输入的情况下,响应于所述第四输入,显示音频文件列表,所述音频文件列表包括至少一个音频文件的标识;
    目标曲线生成模块,用于在接收到在所述音频文件列表中的第五输入的情况下,基于第一音频文件,生成所述目标曲线并显示,其中,所述第一音频文件为:所述第五输入在所述至少一个音频文件的标识中指示的标识所对应的音频文件。
  10. 根据权利要求6所述的装置,还包括:
    目标曲线调整模块,用于若接收到用于调整所述目标曲线中第一曲线段的第六输入,则将所述第一曲线段更新为所述第六输入所调整的第二曲线段,
    其中,在所述第一时间点为所述第一曲线段的时间点的情况下,所述第一变焦倍数为所述第二曲线段在所述第一时间点的变焦倍数。
  11. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存 储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的视频录制方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的视频录制方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的视频录制方法的步骤。
PCT/CN2022/073117 2021-01-28 2022-01-21 视频录制方法及装置 WO2022161267A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110116755.8A CN112954199B (zh) 2021-01-28 2021-01-28 视频录制方法及装置
CN202110116755.8 2021-01-28

Publications (1)

Publication Number Publication Date
WO2022161267A1 true WO2022161267A1 (zh) 2022-08-04

Family

ID=76238490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073117 WO2022161267A1 (zh) 2021-01-28 2022-01-21 视频录制方法及装置

Country Status (2)

Country Link
CN (1) CN112954199B (zh)
WO (1) WO2022161267A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954199B (zh) * 2021-01-28 2023-02-03 维沃移动通信有限公司 视频录制方法及装置
CN113573158A (zh) * 2021-07-28 2021-10-29 维沃移动通信(杭州)有限公司 视频处理方法、装置、电子设备及存储介质
CN113923350A (zh) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 视频拍摄方法、装置、电子设备和可读存储介质
CN114520874B (zh) * 2022-01-28 2023-11-24 西安维沃软件技术有限公司 视频处理方法、装置及电子设备
CN114584709B (zh) * 2022-03-03 2024-02-09 北京字跳网络技术有限公司 变焦特效的生成方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011029719A (ja) * 2009-07-21 2011-02-10 Canon Inc 撮像装置
CN105227836A (zh) * 2015-09-15 2016-01-06 广东欧珀移动通信有限公司 一种视频终端变焦的方法和装置
CN109120875A (zh) * 2018-09-27 2019-01-01 乐蜜有限公司 视频渲染方法及装置
WO2019238044A1 (zh) * 2018-06-12 2019-12-19 深圳市大疆创新科技有限公司 确定装置、移动体、确定方法以及程序
CN112954199A (zh) * 2021-01-28 2021-06-11 维沃移动通信有限公司 视频录制方法及装置
CN113923350A (zh) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 视频拍摄方法、装置、电子设备和可读存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8520064B2 (en) * 2009-07-21 2013-08-27 Telepresence Technologies, Llc Visual displays and TelePresence embodiments with perception of depth
JP2017050642A (ja) * 2015-08-31 2017-03-09 キヤノン株式会社 制御装置及びその制御方法、コンピュータプログラム
CN105049744B (zh) * 2015-09-10 2018-07-06 北京奇虎科技有限公司 智能摄像装置及其录像控制方法
CN106341595A (zh) * 2016-08-26 2017-01-18 刘华英 移动终端智能拍照方法和装置
TWI635333B (zh) * 2016-09-30 2018-09-11 晶睿通訊股份有限公司 可隨時間進程動態改變鏡頭焦距的攝影裝置及其自動對焦方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011029719A (ja) * 2009-07-21 2011-02-10 Canon Inc 撮像装置
CN105227836A (zh) * 2015-09-15 2016-01-06 广东欧珀移动通信有限公司 一种视频终端变焦的方法和装置
WO2019238044A1 (zh) * 2018-06-12 2019-12-19 深圳市大疆创新科技有限公司 确定装置、移动体、确定方法以及程序
CN109120875A (zh) * 2018-09-27 2019-01-01 乐蜜有限公司 视频渲染方法及装置
CN112954199A (zh) * 2021-01-28 2021-06-11 维沃移动通信有限公司 视频录制方法及装置
CN113923350A (zh) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 视频拍摄方法、装置、电子设备和可读存储介质

Also Published As

Publication number Publication date
CN112954199B (zh) 2023-02-03
CN112954199A (zh) 2021-06-11

Similar Documents

Publication Publication Date Title
WO2022161267A1 (zh) 视频录制方法及装置
US11640235B2 (en) Additional object display method and apparatus, computer device, and storage medium
CN108900902B (zh) 确定视频背景音乐的方法、装置、终端设备及存储介质
CN108769561B (zh) 视频录制方法及装置
WO2016177296A1 (zh) 一种生成视频的方法和装置
WO2022228412A1 (zh) 拍摄方法、装置和电子设备
WO2019114514A1 (zh) 在直播间显示音高信息的方法及装置、存储介质
WO2020125334A1 (zh) 音乐播放方法、装置、终端及存储介质
WO2020125365A1 (zh) 音视频处理方法、装置、终端及存储介质
WO2016124122A1 (zh) 一种手持式电子设备图片缩放及播放内容切换的方法及装置
WO2022002053A1 (zh) 拍照方法、装置及电子设备
WO2022012657A1 (zh) 图像编辑方法、装置和电子设备
WO2022022536A1 (zh) 音频播放方法、音频播放装置和电子设备
CN103927165A (zh) 一种壁纸图片的处理方法及装置
CN111147779B (zh) 视频制作方法、电子设备及介质
WO2022068806A1 (zh) 图像处理方法、装置及电子设备
WO2022142871A1 (zh) 视频录制方法及装置
EP3382707A1 (en) Audio file re-recording method, device and storage medium
WO2021104315A1 (zh) 拍摄图像分享方法、装置、移动终端和可读存储介质
CN112653920B (zh) 视频处理方法、装置、设备及存储介质
WO2017113673A1 (zh) 一种图片查看方法、装置和电子设备
CN112672061B (zh) 视频拍摄方法、装置、电子设备及介质
WO2022143525A1 (zh) 视频播放方法、装置及电子设备
WO2023174223A1 (zh) 视频录制方法、装置和电子设备
WO2023083089A1 (zh) 拍摄控件显示方法, 装置, 电子设备及介质

Legal Events

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

Ref document number: 22745142

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22745142

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.01.2024)