Video shooting method, device and electronic equipment
By receiving user input in the video shooting device, real-time continuous shooting generates a new video including the original video part, which solves the problem of cumbersome video shooting operations in the existing technology and realizes a convenient video continuous shooting function.
Patent Information
- Application Number
- CN202111445300.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-11-30
AI Technical Summary
The existing video shooting methods are cumbersome, time-consuming and inconvenient for users to use, and require editing and splicing processing through video software.
Provide a video shooting method and device. By selecting a first video and receiving input from a video operation interface, real-time continuous shooting generates a second video, including at least part of the first video. The continuous shooting is performed directly on the basis of the original video to avoid Use other video software for editing.
The video continuation process is simplified and the operation is convenient. Users can continue to shoot additional videos that have ended or stored without jumping or downloading other software, which improves the user experience.
Smart Images

Figure CN114125325B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of video processing, and specifically relates to a video shooting method, device and electronic equipment. Background Art
[0002] At present, in the prior art, video software must be used to edit and splice newly shot videos and existing videos, but the operation process is cumbersome, time-consuming and inconvenient for users. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a video shooting method, device and electronic device, which can solve the problem that the existing video shooting method has a cumbersome and time-consuming operation process and is inconvenient for users to use.
[0004] In a first aspect, an embodiment of the present application provides a video shooting method, the method comprising:
[0005] Selecting a first video; receiving a first input to a video operation interface of the first video;
[0006] In response to the first input, real-time shooting is performed to generate a second video, wherein the second video contains at least a portion of the first video.
[0007] In a second aspect, an embodiment of the present application provides a video shooting device, including:
[0008] A selection module, used for selecting a first video;
[0009] A first receiving module, configured to receive a first input of a video operation interface of the first video;
[0010] The first response module is used to perform real-time shooting in response to the first input to generate a second video, where the second video contains at least a part of the first video.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0014] In the embodiment of the present application, by selecting the first video and receiving the first input of the video operation interface of the first video, real-time shooting is performed in response to the first input to generate a second video containing at least part of the first video. In this way, it is possible to directly continue shooting based on the first video and directly generate the second video based on the existing video. The user does not need to use other video software for editing, and the operation is convenient and easy for users to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a flow chart of a video shooting method according to an embodiment of the present application;
[0016] Figure 2 is a schematic diagram of a video shooting interface in an embodiment of the present application;
[0017] Figure 3 This is one of the schematic diagrams of the video operation interface of the embodiment of the present application;
[0018] Figure 4 This is the second schematic diagram of the video operation interface of the embodiment of the present application;
[0019] Figure 5 This is the third schematic diagram of the video operation interface of the embodiment of the present application;
[0020] Figure 6 This is the fourth schematic diagram of the video operation interface of the embodiment of the present application;
[0021] Figure 7 is a block diagram of a video shooting device according to an embodiment of the present application;
[0022] Figure 8 is a structural block diagram of an electronic device according to an embodiment of the present application;
[0023] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] The video shooting method, device and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0027] like Figure 1 As shown, the present application provides a video shooting method, comprising:
[0028] Step 101, select the first video.
[0029] In this step, selecting the first video includes selecting or opening the first video.
[0030] Among them, opening the first video includes: starting the camera and opening the first video through the video shooting control interface; or opening the first video from the photo album.
[0031] In a specific example, after opening the camera and selecting video recording, the following Figure 2 The video recording interface a shown, the album calling entry b in the lower left corner of the video recording interface a enters the album folder, and finds the first video that has been stored or finished shooting from the album folder, or the first video that has been stored or finished shooting can be directly found through the video storage location (such as the album folder).
[0032] Step 102: Receive a first input to a video operation interface of a first video.
[0033] In this step, the first input is used to select the continuation of the first video, and the video operation interface includes: a video editing interface and a video playback interface on which the user can share, compress, beautify, edit, delete, etc. the video. The video operation interface can also be a universal interface, and each video has at least one corresponding video operation interface when different videos are opened.
[0034] Exemplarily, the user opens the first video and enters the video editing interface, and the first input of the user for selecting a continuous shooting is received in the video editing interface.
[0035] Exemplarily, after entering the photo album, opening and playing the first video, during the video playback process, a first input from the user to the video playback interface is received.
[0036] Among them, the first input is a pre-set input, and the first input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the first input can be one of the above inputs, or it can also be a combination input of two or more of them.
[0037] Step 103: In response to the first input, real-time shooting is performed to generate a second video, where the second video contains at least a portion of the first video.
[0038] In this step, in response to the first input, the camera of the native camera of the electronic device is activated to perform real-time continuous shooting and recording based on the first video, wherein based on the first video means based on the entire first video or a partial video clip of the first video.
[0039] It should be noted that the first video includes all videos that have been shot. In other words, the first video is a video that has exited the video shooting interface. The first video is a stock video stored in an electronic device or cloud storage. The first video includes videos shot by the user himself and videos downloaded by the user. Videos downloaded by the user include videos shot by others.
[0040] In the above embodiment, after shooting the first video, if the user wants to insert an additional video to be shot on the basis of the first video, such as before, after or in the first video, the first input to the video operation interface of the first video can be received; the camera is started in response to the first input, and real-time shooting is performed to generate a second video containing at least part of the first video. In this way, it is convenient for the user to directly continue to shoot additional videos that have been shot before or videos that have been stored locally. The operation is simple, and there is no need to jump or download other software. Only the native function of the camera is needed to achieve the continuation of the first video and generate the second video. The operation is convenient and easy for users to use.
[0041] In a specific embodiment, the above step 102 includes:
[0042] In response to the first input, a continuous shooting start position in the first video is obtained, and real-time shooting is performed from the continuous shooting start position to generate a second video, wherein the second video includes at least a portion of the first video.
[0043] The continued shooting start position includes one of the following: the start position of the first video, the end position of the first video, the position corresponding to the target playback time of the first video, and the position corresponding to the target image frame of the first video.
[0044] Exemplarily, as an implementation method, the first input can be associated with the start position of the resume shooting; for example, when the first input is a click input, the corresponding start position of the resume shooting is the start position of the first video; when the first input is a press input, the corresponding start position of the resume shooting is the end position of the first video; when the first input is a long press input and a sliding input, the long press input is used to trigger a custom selection of the start position of the resume shooting, and the sliding input is used to select and confirm the start position of the resume shooting.
[0045] Exemplarily, as another implementation, the first input is an input operation of a user on a video playback interface of the first video, such as Figure 3 As shown, when the user plays the first video, the playback is paused at the target playback video frame or the target playback time. If the first input is received, the image frame or playback time position corresponding to the temporary playback interface (such as Figure 3 g) in the pause playback interface to determine the start position for the continued shooting.
[0046] Exemplarily, as another implementation manner, the first input is an input operation on a target control in the video operation interface, wherein the target control is used to trigger the continued shooting and the selection of the continued shooting starting position.
[0047] Specifically, in one embodiment, the above step 101 includes:
[0048] A first input to a resume selection control in a video operation interface of a first video is received.
[0049] like Figure 4 As shown, the continuous shooting selection control includes at least one of the following:
[0050] The first sub-control d1 is used to receive a user's selection input that the start position of the continued shooting is the start position of the first video.
[0051] The second sub-control d2 is used to receive the user's selection input that the start position of the continued shooting is the end position of the first video.
[0052] The third sub-control d3 is used to receive a user's selection input of a target playback time of the first video, wherein the position corresponding to the target playback time is the start position of the continuous shooting.
[0053] The fourth sub-control d4 is used to trigger a selection interface for displaying a plurality of image frames including the first video, wherein the target image frame selected by the first input is the start position of the continuous shooting.
[0054] In one example, if Figure 4 As shown, as an implementation, a resume button d is displayed in the video operation interface c, and after the user clicks the resume button d, the first control e1, the second control e2, the third control e3 and the fourth control e4 are displayed. Alternatively, as another implementation, the user input operation (such as sliding input, long pressing input or pressing input of a preset track, etc.) to the video operation interface c is received, and the first control e1, the second control e2, the third control e3 and the fourth control e4 are displayed.
[0055] In one example, after selecting the third subcontrol d3, the target playback time is input in the third subcontrol d3, such as inputting "10th second", which means inserting or splicing the continuation content at the 10th second. It can be understood that in this mode, the first input includes the selection input of the third subcontrol d3 and the input operation of the target playback time.
[0056] In one example, after selecting the fourth subcontrol d4, the following is displayed: Figure 5 The selection interface of multiple image frames shown in the figure selects and locates the target image frame f by sliding the progress bar of the video playback. It can be understood that in this mode, the first input includes the selection input of the fourth subcontrol d4 and the selection input of the target image frame f.
[0057] In the above embodiment, by obtaining the start position of the continuation shooting of the first video and performing real-time shooting from the start position of the continuation shooting, a second video containing at least a portion of the first video is generated, which can facilitate the user to select the insertion position of the continuation shooting video and meet the user's various video continuation shooting needs.
[0058] In one embodiment, in response to the first input, real-time shooting is performed to generate a second video, where the second video contains at least a portion of the first video, including:
[0059] In response to the first input, a resume shooting start position in the first video is obtained, and a camera is started to display a video shooting control interface.
[0060] Based on the video shooting control interface, the first video is continuously shot and recorded starting from the continuous shooting starting position to generate the second video.
[0061] In this embodiment, the video shooting control interface can be used for shooting parameter adjustment and shooting control. In this way, through the video shooting control interface, the user can choose when to start the continued recording based on the video shooting control interface, or adjust the shooting effect of the continued video (such as filter style, beauty effect, day mode, night mode, etc.) based on the video shooting control interface before starting the continued shooting, or preview and adjust the video shooting angle based on the video shooting control interface.
[0062] It should be noted that when starting the continued video, the continued video and the first video can use the same shooting parameters by default, which can unify the shooting style of the second video and simplify the user's processing steps. Among them, the shooting parameters include: starting or closing the flash, shooting mode, filter style, beauty effect, etc. Among them, the user can adjust the shooting parameters of the continued video based on the shooting control interface to meet the user's personalized needs.
[0063] Specifically, based on the video shooting control interface, continuing to shoot and record the first video from the continuing shooting start position to generate the second video includes:
[0064] Receive a second input from a user on the video shooting control interface.
[0065] In response to the second input, the first video is continuously recorded starting from the continuous shooting start position to generate the second video.
[0066] Among them, the second input is a pre-set input, and the second input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the first input can be one of the above inputs, or it can be a combination of two or more of them.
[0067] For example, Figure 6 As shown, the video shooting control interface h displays shooting controls h1 and a continuous shooting start time h2 (such as Figure 6 00:29 seconds in the first video), when receiving the second input of the user to the shooting control h1, the first video is continuously shot and recorded starting from 00:29 seconds of the first video to generate the second video.
[0068] Exemplarily, the second input may also be a double-click input on the video shooting control interface h. In response to the double-click input, the first video is continued to be recorded from the continued shooting start position of the first video to generate the second video.
[0069] In one embodiment, in response to the first input, real-time shooting is performed to generate a second video, where the second video includes at least a portion of the first video, including the following three situations:
[0070] Case 1
[0071] When the start position of the continued shooting is the start position of the first video, in response to the first input, the start frame or the start time of the first video is obtained, the camera is started for real-time shooting, and after the end, the shot video is placed before the start frame or before the start time to generate the second video, which includes the first video.
[0072] In an exemplary scenario, a user goes out to travel and shoots a video of scenery. After the travel, if the user wants to add some opening introduction videos of the travel to the beginning of the video, the user can select the beginning position to continue shooting through the first sub-control d1, and then shoot additional videos at the beginning of the first video. After the continued shooting is completed, a complete video including the introduction video and the scenery video is automatically obtained. In this process, the user does not need to switch to the video editing interface or editing application software.
[0073] Case 2: When the start position of the continuous shooting is the target position of the first video, the following two methods are included:
[0074] Method 1: In response to the first input, an image frame or playback time corresponding to the target position is obtained, the camera is started for real-time shooting, and after completion, the shot video is placed after the image frame or playback time corresponding to the target position, and the portion before the target position of the first video, the shot video, and the portion after the target position of the first video are synthesized in sequence to generate the second video, wherein the second video includes the first video; wherein the target position is a position corresponding to the target playback time or a position corresponding to the target image frame between the start position and the end position of the first video.
[0075] In this method 1, the video clip of the continued shooting can be inserted into the continued shooting starting position in the first video. In this way, if the user needs to shoot some content at a certain position in the first video, it is not necessary to edit the first video through editing software, and the video clip of the continued shooting can be added to a certain position in the first video.
[0076] Method 2: In response to the first input, the image frame or playback time corresponding to the target position is obtained, the camera is started for real-time shooting, and after completion, the shot video is placed after the target position, and the portion of the first video before the target position and the continued video are synthesized in sequence to generate the second video, which includes the first video; wherein the target position is the position corresponding to the target playback time and / or the position corresponding to the target image frame between the start position and the end position of the first video.
[0077] In this method 2, the video clip after the start position of the continued shooting can be automatically deleted, and the video clip before the start position of the continued shooting and the video clip of the continued shooting can be combined into the second video. In this way, the user does not need to trim the first video in advance, and can directly combine part of the first video clip with the continued shooting video, which facilitates the user's operation process.
[0078] Case 3
[0079] When the start position of the continued shooting is the end position of the first video, in response to the first input, the last frame or end time in the first video is obtained, the camera is started to perform real-time shooting, and after the end, the shot video is placed after the last frame or after the end time to generate the second video, which includes the first video.
[0080] In an exemplary scenario, when celebrating a friend's birthday, after shooting a first video, if some parts that you do not want to record need to be skipped, you can directly end the shooting and store the first video. When you need to continue shooting later, enter the video operation interface of the first video, select the end position to continue shooting through the second sub-control d2, and you can continue shooting the first video.
[0081] In the above embodiment, it is convenient for users to directly continue to shoot additional content videos that have already been shot or videos that have been stored locally. The operation is simple and does not require jumping or downloading other software. It only needs the native functions of the camera to support it, which meets the various needs of multiple users, facilitates the user's operation steps, and improves the user experience.
[0082] It should be noted that the video shooting method provided in the embodiment of the present application can be executed by a video shooting device or a control module in the video shooting device for executing the video shooting method. In the embodiment of the present application, the video shooting device provided in the embodiment of the present application is described by taking the video shooting method executed by the video shooting device as an example.
[0083] like Figure 7 As shown, the present application provides a video shooting device 700, including:
[0084] A selection module 701, configured to select a first video;
[0085] A first receiving module 702 is used to receive a first input of a video operation interface of a first video;
[0086] The first response module 703 is used to perform real-time shooting in response to the first input to generate a second video, where the second video contains at least a part of the first video.
[0087] Optionally, the first response module 702 includes:
[0088] The first response submodule is used to respond to the first input, obtain the start position of the continuous shooting in the first video, and start the camera to perform real-time continuous shooting and recording from the start position of the continuous shooting to generate a second video, which contains at least part of the first video.
[0089] Optionally, the resumed shooting start position includes one of the following: the start position of the first video, the end position of the first video, the position corresponding to the target playback time of the first video, and the position corresponding to the target image frame of the first video.
[0090] Optionally, the first receiving module 701 includes:
[0091] The first receiving submodule is used to receive a first input of a resume selection control in a video operation interface of the first video.
[0092] Wherein, the continuous shooting selection control includes at least one of the following:
[0093] The first sub-control is used to receive a user's selection input that the start position of the continued shooting is the start position of the first video.
[0094] The second sub-control is used to receive the user's selection input that the start position of the continued shooting is the end position of the first video.
[0095] The third sub-control is used to receive the user's selection input of the target playback time of the first video; wherein the position corresponding to the target playback time is the start position of the continued shooting.
[0096] A fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including multiple image frames of the first video; wherein the target image frame selected by the first input is the start position of the continued shooting.
[0097] Optionally, the first response module includes:
[0098] The first response unit is used to obtain the starting frame or starting time of the first video in response to the first input when the starting position of the continuous shooting is the starting position of the first video, start the camera to perform real-time shooting, and after the end, place the shot video before the starting frame or before the starting time to generate the second video, which includes the first video.
[0099] A second response unit is used for, when the starting position of the continued shooting is the target position of the first video, in response to the first input, obtaining the image frame or playback time corresponding to the target position, starting the camera for real-time shooting, and after the end, placing the shot video after the image frame or playback time corresponding to the target position, and sequentially synthesizing the part before the target position of the first video, the shot video and the part after the target position of the first video to generate the second video, wherein the second video includes the first video; wherein the target position is the position corresponding to the target playback time or the position corresponding to the target image frame between the starting position and the ending position of the first video.
[0100] A third response unit is used to obtain the last frame or end time in the first video in response to the first input when the start position of the continued shooting is the end position of the first video, start the camera to perform real-time shooting, and after the end, place the shot video after the last frame or the end time to generate the second video, which includes the first video.
[0101] The video shooting device 700 selects a first video and receives a first input of a video operation interface of the first video; it realizes real-time shooting and generates a second video including at least a part of the first video. In this way, it is convenient for the user to directly continue to shoot additional videos that have been shot before or videos that have been stored locally. The operation is simple and there is no need to jump or download other software. Only the native function of the camera is needed to realize the continuation of the first video and generate the second video. The operation is convenient and user-friendly.
[0102] The video shooting device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0103] The video shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0104] The video shooting device provided in the embodiment of the present application can achieve Figures 1 to 7 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0105] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the above-mentioned video shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0106] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0107] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0108] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.
[0109] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0110] The user input unit 907 is used to select the first video.
[0111] The user input unit 907 is further used to receive a first input to the video operation interface of the first video.
[0112] The processor 910 is specifically configured to perform real-time shooting in response to the first input to generate a second video, where the second video includes at least a portion of the first video.
[0113] The electronic device 900 selects a first video and receives a first input to the video operation interface of the first video; in response to the first input, the camera is started to shoot in real time, and a second video including at least part of the first video is generated. In this way, it is convenient for the user to directly continue to shoot additional videos that have been shot before or videos that have been stored locally. The operation is simple, and there is no need to jump or download other software. Only the native function of the camera is needed to continue shooting the first video and generate the second video. The operation is convenient and easy for users to use.
[0114] Optionally, the processor 910 is specifically used to respond to the first input, determine the start position of the continuation shooting in the first video, and start the camera to perform real-time shooting from the continuation shooting start position to continue recording, thereby generating a second video, wherein the second video contains at least part of the first video.
[0115] Optionally, the resumed shooting start position includes one of the following: the start position of the first video, the end position of the first video, the position corresponding to the target playback time of the first video, and the position corresponding to the target image frame of the first video.
[0116] Optionally, the user input unit 907 is specifically configured to: receive a first input to a continue shooting selection control in the video operation interface of the first video; wherein the continue shooting selection control includes at least one of the following:
[0117] The first sub-control is used to receive a user's selection input that the start position of the continued shooting is the start position of the first video.
[0118] The second sub-control is used to receive the user's selection input that the start position of the continued shooting is the end position of the first video.
[0119] The third sub-control is used to receive the user's selection input of the target playback time of the first video; wherein the position corresponding to the target playback time is the start position of the continued shooting.
[0120] A fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including multiple image frames of the first video; wherein the target image frame selected by the first input is the start position of the continued shooting.
[0121] Optionally, processor 910 is further specifically used to: when the starting position of the continued shooting is the starting position of the first video, in response to the first input, obtain the starting frame or starting time of the first video, start the camera for real-time shooting, and after the end, place the shot video before the starting frame or before the starting time to generate the second video, which includes the first video.
[0122] Optionally, processor 910 is further specifically used to: when the starting position of the continued shooting is the target position of the first video, in response to the first input, obtain the image frame or playback time corresponding to the target position, start the camera for real-time shooting, and after the end, place the shot video after the image frame or playback time corresponding to the target position, and sequentially synthesize the part before the target position of the first video, the shot video, and the part after the target position of the first video to generate the second video, the second video including the first video; wherein the target position is the position corresponding to the target playback time or the position corresponding to the target image frame between the starting position and the ending position of the first video.
[0123] Optionally, processor 910 is further specifically used to: when the starting position of the continued shooting is the end position of the first video, in response to the first input, obtain the last frame or end time in the first video, start the camera for real-time shooting, and after the end, place the shot video after the last frame or after the end time to generate the second video, which includes the first video.
[0124] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 909 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 910.
[0125] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned video shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0126] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0127] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned video shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0128] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0129] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0131] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A video shooting method, It is characterized in that include: Select the first video; Receiving a first input to a video operation interface of the first video; In response to the first input, real-time shooting is performed to generate a second video, where the second video contains at least a portion of the first video; The step of performing real-time shooting in response to the first input to generate a second video, wherein the second video contains at least a portion of the first video, includes: In response to the first input, obtaining a continuous shooting start position in the first video, performing real-time shooting from the continuous shooting start position, and generating a second video, wherein the second video includes at least a portion of the first video; The continuous shooting start position includes one of the following: the start position of the first video, the end position of the first video, the position corresponding to the target playback time of the first video, and the position corresponding to the target image frame of the first video; The method of obtaining a continuous shooting start position in the first video in response to the first input, performing real-time shooting from the continuous shooting start position, and generating a second video, wherein the second video includes at least a portion of the first video, includes: In the case where the continuous shooting start position is the start position of the first video, in response to the first input, obtaining the start frame or start time of the first video, starting the camera to shoot in real time, and after the end, placing the shot video before the start frame or start time to generate the second video, wherein the second video includes the first video; In the case where the start position of the continued shooting is the target position of the first video, in response to the first input, an image frame or playback time corresponding to the target position is obtained, and the camera is started to shoot in real time. After the shooting is finished, the shot video is placed after the image frame or playback time corresponding to the target position, and the part before the target position of the first video, the shot video and the part after the target position of the first video are synthesized in sequence to generate the second video, wherein the second video includes the first video; wherein the target position is a position corresponding to the target playback time or a position corresponding to the target image frame between the start position and the end position of the first video; When the start position of the continued shooting is the end position of the first video, in response to the first input, the last frame or end time in the first video is obtained, the camera is started for real-time shooting, and after the end, the shot video is placed after the last frame or after the end time to generate the second video, which includes the first video.
2. The video shooting method according to claim 1, It is characterized in that The receiving a first input of a video operation interface of the first video includes: Receiving a first input of a continue shooting selection control in a video operation interface of the first video; Wherein, the continuous shooting selection control includes at least one of the following: A first sub-control, the first sub-control being used to receive a user's selection input that the continued shooting start position is the start position of the first video; A second sub-control, the second sub-control is used to receive a user's selection input that the start position of the continued shooting is the end position of the first video; A third sub-control, the third sub-control is used to receive a user's selection input of a target playback time of the first video; wherein the position corresponding to the target playback time is the start position of the continuous shooting; A fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including multiple image frames of the first video; wherein the target image frame selected by the first input is the start position of the continued shooting.
3. A video shooting device, It is characterized in that include: A selection module, used for selecting a first video; A first receiving module, configured to receive a first input of a video operation interface of the first video; A first response module, configured to perform real-time shooting in response to the first input and generate a second video, wherein the second video includes at least a portion of the first video; Wherein, the first response module includes: A first response submodule is used to obtain a continuous shooting start position in the first video in response to the first input, perform real-time shooting from the continuous shooting start position, and generate a second video, wherein the second video includes at least a part of the first video; The continuous shooting start position includes one of the following: the start position of the first video, the end position of the first video, the position corresponding to the target playback time of the first video, and the position corresponding to the target image frame of the first video; The first response submodule includes: A first response unit is used for, in the case where the continuous shooting start position is the start position of the first video, in response to the first input, obtaining a start frame or a start time of the first video, starting a camera to shoot in real time, and after the end, placing the shot video before the start frame or before the start time to generate the second video, wherein the second video includes the first video; A second response unit is used for, when the start position of the continuous shooting is the target position of the first video, in response to the first input, obtaining the image frame or playback time corresponding to the target position, starting the camera for real-time shooting, and after the end, placing the shot video after the image frame or playback time corresponding to the target position, and sequentially synthesizing the part before the target position of the first video, the shot video and the part after the target position of the first video to generate the second video, wherein the second video includes the first video; wherein the target position is the position corresponding to the target playback time or the position corresponding to the target image frame between the start position and the end position of the first video; A third response unit is used to obtain the last frame or end time in the first video in response to the first input when the start position of the continued shooting is the end position of the first video, start the camera to perform real-time shooting, and after the end, place the shot video after the last frame or the end time to generate the second video, which includes the first video.
4. The video recording device according to claim 3, It is characterized in that The first receiving module includes: A first receiving submodule, configured to receive a first input of a continuous shooting selection control in a video operation interface of the first video; Wherein, the continuous shooting selection control includes at least one of the following: A first sub-control, the first sub-control being used to receive a user's selection input that the continued shooting start position is the start position of the first video; A second sub-control, the second sub-control is used to receive a user's selection input that the start position of the continued shooting is the end position of the first video; A third sub-control, the third sub-control is used to receive a user's selection input of a target playback time of the first video; wherein the position corresponding to the target playback time is the start position of the continuous shooting; A fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including multiple image frames of the first video; wherein the target image frame selected by the first input is the start position of the continued shooting.
5. An electronic device, It is characterized in that The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the video shooting method as described in any one of claims 1 to 2.
6. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the video shooting method according to any one of claims 1-2 are implemented.
