Video shooting method, device and equipment
By displaying the main focus icon and the secondary focus icon on the video shooting interface, focusing on different subjects is achieved, and the problem of only one focus recording in the prior art is solved, which improves the diversity and effect of video shooting.
Patent Information
- Application Number
- CN202211055690.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-08-31
AI Technical Summary
In the prior art, only one focus can be selected for video recording during a video shooting process, resulting in the loss of details of the subjects in the non-focus area and the video shooting effect is not good.
By displaying the main focus icon and the sub focus icon on the video shooting interface, users can set the main focus point and the sub focus point. The electronic device focuses on these areas respectively to generate corresponding video content, thereby achieving focus and details of different shooting objects. reserve.
It improves the diversity and effect of video shooting functions, avoids the problem of only one subject being able to focus on, and retains the details of multiple subjects.
Smart Images

Figure CN115442526B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of shooting technology, and specifically relates to a video shooting method, device and equipment. Background Art
[0002] With the booming development of mobile Internet and the increasing popularity of electronic devices, more and more users use electronic devices to shoot videos to conveniently record beautiful moments. At present, electronic devices can automatically focus during video shooting, or determine the focus area according to the focus selected by the user, so that the corresponding part of the focus area in the video shot is clearer, improving the quality of the video shot.
[0003] In the related art, only one focus can be selected for video recording during a video shooting process. Therefore, when there are multiple subjects in the video shooting screen, the subjects in the focus area are relatively clear in the captured video content, while the subjects in the non-focus area are prone to loss of details, resulting in poor video shooting effect. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a video shooting method, device and equipment, which can solve the problem in the related art that only one focus can be selected for video recording during one video shooting process.
[0005] In a first aspect, an embodiment of the present application provides a video shooting method, the method comprising: receiving a first input to the video shooting interface while displaying the video shooting interface; displaying a primary focus icon and a secondary focus icon on the video shooting interface in response to the first input; during the video shooting process, focusing based on the areas where the primary focus icon and the secondary focus icon are located, respectively, to obtain a first video corresponding to the primary focus icon and a second video corresponding to the secondary focus icon.
[0006] In a second aspect, an embodiment of the present application provides a video shooting device, which includes: a receiving module, used to receive a first input to a video shooting interface while displaying the video shooting interface; a display module, used to display a main focus icon and a secondary focus icon on the video shooting interface in response to the first input; a focus shooting module, used to focus during the video shooting process based on the areas where the main focus icon and the secondary focus icon are located, respectively, to obtain a first video corresponding to the main focus icon and a second video corresponding to the secondary focus icon.
[0007] 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, and when the program or instruction is executed by the processor, the steps of the video shooting method of the first aspect are implemented.
[0008] 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 video shooting method of the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the video shooting method of the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the video shooting method as described in the first aspect.
[0011] In an embodiment of the present application, in a video shooting scenario, when the video shooting interface is displayed, a first input from the user to the video shooting interface can be received, and in response to the first input, a main focus icon and a secondary focus icon are displayed on the video shooting interface. In this way, through the user's touch operation on the video shooting interface, the main focus point and the secondary focus point can be set on the video shooting interface. During the video shooting process, the electronic device focuses based on the areas where the main focus icon and the secondary focus icon are located, that is, for each focus point, it can be focused and photographed to generate the video content corresponding to the focus point. Different video contents can achieve focus on different shooting objects, and can retain the details of different shooting objects, avoiding the situation that only one shooting object can be used as the focus for video shooting in the video shooting interface, thereby enhancing the diversity of video shooting functions and improving video shooting effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a flowchart of a video shooting method provided by an embodiment of the present application;
[0013] Figure 2 is a schematic diagram of an example of a video shooting interface provided by an embodiment of the present application;
[0014] Figure 3 is a flowchart of a video shooting method provided by another embodiment of the present application;
[0015] Figure 4 is a schematic diagram of another example of a video shooting interface provided in an embodiment of the present application;
[0016] Figure 5 is a schematic diagram of another example of a video shooting interface provided in an embodiment of the present application;
[0017] Figure 6 is a flowchart of a video shooting method provided by yet another embodiment of the present application;
[0018] Figure 7 is a schematic diagram of another example of a video shooting interface provided in an embodiment of the present application;
[0019] Figure 8 is a structural schematic diagram of a video shooting device provided in an embodiment of the present application;
[0020] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0021] Fig.10 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] 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.
[0023] 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.
[0024] As mentioned in the background technology, only one focus point can be selected for video recording during a video shooting process. Therefore, when there are multiple subjects in the video shooting screen, the subjects in the focus area are clearer in the captured video content, while the subjects in the non-focus area are prone to loss of details, resulting in poor video shooting effect.
[0025] In response to the problems in the related art, the embodiment of the present application provides a video shooting method. In a video shooting scene, when the video shooting interface is displayed, a first input from the user to the video shooting interface can be received, and in response to the first input, a main focus icon and a secondary focus icon are displayed in the video shooting interface. In this way, through the user's touch operation on the video shooting interface, the main focus point and the secondary focus point can be set in the video shooting interface. During the video shooting process, the electronic device focuses based on the areas where the main focus icon and the secondary focus icon are located, that is, for each focus point, it can be focused and photographed to generate the video content corresponding to the focus point. Different video contents can achieve focus on different shooting objects, and can retain the details of different shooting objects, avoiding the situation where only one shooting object can be used as the focus for video shooting in the video shooting interface, improving the diversity of video shooting functions, and improving video shooting effects. This solves the problem that only one focus can be selected for video recording during a video shooting process in the related art.
[0026] The video shooting method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0027] Figure 1 1 is a flow chart of a video shooting method provided by an embodiment of the present application, and the execution subject of the video shooting method may be an electronic device. It should be noted that the above execution subject does not constitute a limitation on the present application.
[0028] like Figure 1 As shown, the video shooting method provided in the embodiment of the present application may include steps 110 to 130.
[0029] Step 110: receiving a first input to the video shooting interface while displaying the main focus icon of the video shooting interface.
[0030] Among them, the video shooting interface may include at least one shooting object. The video shooting interface can be a preview interface before video recording, or it can be a video recording interface when recording a video. This application does not make specific limitations here.
[0031] The main focus icon can be the main focus point of the video shooting interface. The main focus point can be set by the user through the first input of the video shooting interface, or it can be generated after the electronic device automatically focuses on the video shooting screen. This application does not make any specific limitations here.
[0032] The secondary focus icon can be the secondary focus point of the video shooting interface. The first input can be a click input, double-click input, long press input, sliding input, drag input, or a combination of at least two of the above inputs for the user to set the secondary focus point in the video shooting interface. This application does not make any specific limitations here.
[0033] Exemplarily, both the primary focus icon and the secondary focus icon may be displayed in the style of a UI focus circle. To distinguish them, the size of the UI focus circle corresponding to the primary focus icon is larger than the size of the UI focus circle corresponding to the secondary focus icon.
[0034] Step 120: In response to the first input, display a primary focus icon and a secondary focus icon on the video shooting interface.
[0035] Step 130 , during the video shooting process, focusing is performed based on the areas where the main focus icon and the auxiliary focus icon are located, respectively, to obtain a first video corresponding to the main focus icon and a second video corresponding to the auxiliary focus icon.
[0036] Specifically, the video recording screens of the first video are all pictures focused on the area where the main focus icon is located, and the first video can be the main video; the video recording screens of the second video are all pictures focused on the area where the secondary focus icon is located, and the second video can be the branch video.
[0037] The video shooting method provided by the embodiment of the present application can receive a first input from a user on the video shooting interface in a video shooting scenario while displaying the video shooting interface, and display a main focus icon and a secondary focus icon on the video shooting interface in response to the first input. In this way, through the user's touch operation on the video shooting interface, the main focus point and the secondary focus point can be set on the video shooting interface. During the video shooting process, the electronic device focuses based on the areas where the main focus icon and the secondary focus icon are located, that is, for each focus point, it can be focused and photographed to generate the video content corresponding to the focus point. Different video contents can achieve focus on different shooting objects, and can retain the details of different shooting objects, avoiding the situation where only one shooting object can be used as the focus for video shooting in the video shooting interface, thereby enhancing the diversity of video shooting functions and improving video shooting effects.
[0038] The specific implementation method of the above steps is described in detail below.
[0039] It involves step 110, receiving a first input to the video shooting interface when the video shooting interface is displayed; and step 120, displaying a primary focus icon and a secondary focus icon on the video shooting interface in response to the first input.
[0040] In some embodiments of the present application, the first input may include a first sub-input and a second sub-input, and step 110 may specifically include the following steps: receiving a first sub-input for selecting a first position in a video shooting interface; displaying a primary focus icon at the first position in response to the first sub-input; receiving a second sub-input for selecting the primary focus icon and a second position; step 120 may specifically include: displaying a secondary focus icon at the second position in response to the second sub-input.
[0041] Specifically, the first position and the second position may be positions of interest to the user, that is, positions where details want to be retained during video recording; the first sub-input may be a user's touch input such as a click input, a double-click input, a long press input, a sliding input, etc. on the first position in the video shooting interface, and the present application does not make specific limitations here. The touch position (first position) corresponding to the first sub-input is the main focus position, so the electronic device can display the main focus icon at the first position; the second sub-input may include the user's combined input of the main focus icon and the second position, etc., and the second position is the secondary focus position, so the electronic device can display the secondary focus icon at the second position.
[0042] Optionally, receiving a second sub-input for selecting the main focus icon and the second position may specifically include: receiving a second sub-input for moving the main focus icon to the second position; or, the second sub-input includes a third sub-input and a fourth sub-input, the third sub-input being a long press input for the main focus icon, the third sub-input being used to trigger the electronic device to display the secondary focus icon, and the fourth sub-input being a sliding input for moving the secondary focus icon to the second position.
[0043] In one example, the first sub-input may be a click input by the user on a first position, through which the user can perform touch focus in the video shooting interface and change the main focus position by clicking on different positions; the second sub-input may be a sliding input in which the user places a finger on the main focus icon and drags the main focus icon to a second position, and the sliding input can trigger the electronic device to display a new secondary focus icon based on the existing main focus icon.
[0044] In another example, Figure 2 As shown, when the electronic device receives a click input from the user on the first position A1 in the video shooting interface 201, the electronic device may display the primary focus icon 202 at the first position A1. The electronic device may receive a long press input from the user on the primary focus icon 202, and in response to the long press input, the electronic device displays the secondary focus icon 203. On this basis, the electronic device may receive a drag input to move the secondary focus icon 203 to the second position A2, and in response to the drag input, display the secondary focus icon at the second position A2, so that the primary focus icon 202 and the secondary focus icon 203 are displayed simultaneously on the video shooting interface 201.
[0045] In an embodiment of the present application, a user can select the main focus point and the secondary focus point respectively in the video shooting interface through touch input. Specifically, when the electronic device receives the first sub-input of the user to the first position in the video shooting interface, in response to the first sub-input, the electronic device sets the first position as the main focus position, and displays the main focus icon at the first position to realize the visualization of the main focus point and the main focus area, so as to facilitate the user to flexibly adjust the main focus point in the picture. Based on this, the user can further select a new secondary focus position based on the main focus position through the second sub-input of the main focus icon and the second position, so as to realize the selection of the main focus position and the secondary focus position in the same video shooting picture, thereby retaining multiple focal points in the subsequent video recording process, realizing the focus on different shooting objects, and retaining the details of different shooting objects.
[0046] In one embodiment, the video shooting interface may include a first control, and the first control may also be used to trigger the electronic device to display a secondary focus icon.
[0047] In one embodiment, in order to facilitate the user to distinguish different focus positions, the icon size corresponding to the primary focus icon may be larger than the icon size corresponding to the secondary focus icon.
[0048] In step 130, during the video shooting process, focusing is performed based on the areas where the main focus icon and the secondary focus icon are located, respectively, to obtain a first video corresponding to the main focus icon and a second video corresponding to the secondary focus icon.
[0049] In some embodiments of the present application, the method may further include: during video shooting, receiving a third input to move the secondary focus icon to a third position; in response to the third input, focusing with the third position as the focus position, and shooting a second video corresponding to the secondary focus icon.
[0050] Specifically, the third input may be a drag input of the secondary focus icon, etc. In response to the third input, the secondary focus position changes from the second position to the third position. The electronic device may focus on the third position as the focus position and continue shooting to obtain the second video corresponding to the secondary focus icon.
[0051] In an embodiment of the present application, if the user wants to change the focus point of the second video, the secondary focus icon can be moved to the third position where the user wants to focus. Even during video recording, the focus point of the video recording screen can be flexibly changed to better meet the user's video recording needs.
[0052] In some embodiments of the present application, the method may further include: before video shooting, displaying a video shooting interface with the area where the main focus icon is located as the focus area.
[0053] Specifically, before video shooting, the location of the main focus icon in the video shooting interface is always used as the actual focus point, and the secondary focus icon is a focus circle displayed in the form of UI. The electronic device does not actually focus on the location of the secondary focus icon in the video shooting interface, but during the video recording process, the electronic device uses the area where the secondary focus icon is located as the focus area and records the second video.
[0054] In an embodiment of the present application, before video shooting, the video shooting interface is displayed with only the area where the main focus icon is located as the focus area. That is, the video shooting interface does not actually focus on the area where the secondary focus icon is located, and only displays the focus circle in the form of a UI, thereby ensuring that there is only one actual focus point in the video shooting interface before video recording.
[0055] In some embodiments of the present application, the method may further include: during video shooting, receiving a fourth input to the secondary focus icon; in response to the fourth input, canceling the display of the secondary focus icon, and stopping shooting the second video corresponding to the secondary focus icon.
[0056] Among them, the fourth input is used to delete the secondary focus icon in the video shooting interface. The fourth input can be a long press input, double-click input, sliding input, etc. of the secondary focus icon by the user. This application does not make any specific limitations on this.
[0057] Optionally, the fourth input may be a long press input of the secondary focus icon. When the long press input reaches a preset time length, the secondary focus icon may be cancelled.
[0058] Optionally, the video shooting interface may include a preset area, and the fourth input may be a sliding input for the user to move the secondary focus icon to the preset area, and the preset area may be set according to specific needs.
[0059] For example, the preset area can be set to the edge area of the video shooting interface. During the video shooting process, when the electronic device receives the user's Figure 2 When the secondary focus icon 203 is dragged to the fourth input of the edge area, in response to the fourth input, the secondary focus icon 203 can be deleted, the secondary focus icon 203 on the video shooting interface can be canceled, and the shooting of the second video corresponding to the secondary focus icon 203 can be stopped.
[0060] In an embodiment of the present application, during the video shooting process, if the user wants to end the recording of the second video, he can touch the sub-focus icon in the video shooting interface, delete the sub-focus icon through the above-mentioned fourth input, and stop shooting the second video. In this way, the recording of the second video can be ended while the recording of the first video is uninterrupted, which is convenient for users to flexibly adjust the recording process of different videos.
[0061] In some embodiments of the present application, the method may further include: recording a first video with the first position as the focus position from the first moment to the second moment; and recording a second video with the second position as the focus position from the third moment to the fourth moment.
[0062] Among them, the first moment is the touch moment of the start recording control, the second moment is the touch moment of the end recording control; the third moment is the touch moment of the start recording control or the moment of receiving the second sub-input, and the fourth moment is the touch moment of the end recording control or the moment of canceling the display of the secondary focus icon.
[0063] Exemplarily, the touch moment of the start recording control is P1, and the touch moment of the end recording control is P2, then the electronic device records the first video with the first position as the focus position during the period from P1 to P2. The moment when the second sub-input is received is Q1, and the moment when the secondary focus icon is canceled is Q2. If P1 is before Q1, the electronic device starts recording the second video with the second position as the focus position at Q1; if P1 is after Q1, the electronic device starts recording the second video with the second position as the focus position at P1; if P2 is before Q2, the electronic device stops recording the second video at P2; if P2 is after Q2, the electronic device stops recording the second video at Q2.
[0064] In the embodiment of the present application, the recording process of the main video corresponding to the main focus icon is related to the time when the user touches the start recording control and the end recording control, that is, the main video can be recorded throughout the entire video shooting process to ensure the integrity of the main video. At the same time, during the recording of the main video, the user can also manually set or cancel the secondary focus icon to flexibly adjust the recording process of the branch video, thereby increasing the diversity of video recording methods.
[0065] In some embodiments of the present application, Figure 3 is a flow chart of a video shooting method provided by another embodiment of the present application. Figure 3 As shown, after step 130, the method may further include steps 310 to 350.
[0066] Step 310: Display a thumbnail corresponding to the first video on the album interface.
[0067] For example, Figure 4 As shown, in the album interface 401, only the thumbnail 402 corresponding to the first video is displayed, rather than displaying the thumbnails of all the first videos and the second videos obtained during one video shooting process.
[0068] Step 320: Receive a fifth input for the thumbnail.
[0069] Among them, the fifth input can be a click input, a double-click input, a long press input, etc. of the thumbnail, and this application does not make any specific limitations here.
[0070] Step 330: In response to the fifth input, display the first video, or arrange and display the first video and the second video.
[0071] Continue to refer to Figure 4 When the electronic device receives a click input from the user on the thumbnail 402 corresponding to the first video in the album interface 401, in response to the click input, only the first video X1 may be displayed, or Figure 4 As shown, the first video X1 and the second video X2 are displayed in sequence.
[0072] Step 340: Receive a sixth input of the first video.
[0073] Among them, the sixth input can be a click input, a double-click input, a long press input, etc. of the first video, and this application does not make any specific limitations here.
[0074] Step 350, in response to the sixth input, play the first video and the second video.
[0075] Optionally, the electronic device may play the first video and the second video in split screen, or play the first video and the second video in picture-in-picture format.
[0076] In the embodiment of the present application, since the display effects of the thumbnails of the first video and the second video are the same, compared to directly displaying the thumbnails of all the first video and the second video in the album interface after the first video and the second video are generated by video shooting, the present application only displays the thumbnail corresponding to the first video in the album interface, which can reduce the number of thumbnails displayed in the album interface and avoid the excessive number of video contents generated during multiple video shootings, which affects the display effect of the album interface. That is, the present application can display multiple groups of video contents generated during multiple video shootings separately, and use the thumbnail corresponding to the first video in each group of video contents to identify the group of video contents, so that users can quickly find the target video content from all images and videos stored in the album. At the same time, the user can trigger the electronic device to display the first video and the second video by touching the thumbnails, so as to realize the quick preview of all videos in a video shooting process and improve the preview speed of the video.
[0077] In some embodiments of the present application, in order to improve the viewing efficiency of video content, step 350 may specifically include: when there are N secondary focus icons, playing the first video in the third area, and playing the second videos corresponding to the N secondary focus icons in N fourth areas respectively.
[0078] Specifically, the user can set N secondary focus icons in the video shooting interface through the first input, and the electronic device can focus based on the area where each secondary focus icon is located, and shoot N second videos corresponding to the N secondary focus icons; the video playback interface may include a third area and N fourth areas, and the N fourth areas are used to play the corresponding second videos respectively.
[0079] In the embodiment of the present application, during a video shooting process, the user can set the main focus icon and N secondary focus icons in the video shooting interface, and can record a group of video contents generated by focusing and shooting with multiple different focus icons as the focus area. Different video contents can focus on different shooting objects in the video shooting interface and can include image details of different shooting objects, thereby improving the diversity of video shooting. In addition, the electronic device can simultaneously play the first video and N second videos in the same interface, intuitively displaying all video contents recorded and generated during a video shooting process, making it convenient for users to watch multiple video contents at the same time, thereby improving the viewing efficiency of video contents.
[0080] In some embodiments of the present application, step 350 may specifically include: in response to a sixth input, playing the first video, and synchronously playing the second video when the first video is played to a first time point, the first time point being the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface.
[0081] Synchronous playback means that the playback screen of the first video and the second video are the same at the same time.
[0082] For example, if the user sets the secondary focus icon when the first video is recorded to 28:05, the first time point is 28:05. Figure 5 As shown, when the first video is played to 28:05, the second video can be played synchronously in the small window 502 of the video playback interface 501 of the first video.
[0083] In an embodiment of the present application, based on the secondary focus icon set by the user in the video shooting interface, during a video shooting process, the electronic device can record the video with the secondary focus icon as the focus while recording the video with the main focus icon as the focus. Therefore, during a video shooting process, the user can focus on multiple video shooting objects of interest, and for each video shooting object of interest, it can be focused on it, and the video content containing the details of the video shooting object can be shot and generated. When the first video is played to the progress point where the user sets the secondary focus icon, the second video recorded with the secondary focus icon as the focus is automatically played synchronously. Since the first video and the second video contain the detailed content of the area where the main focus icon and the secondary focus icon are located, the electronic device can synchronously play the clear content of different shooting objects for the user in the video playback interface, thereby improving the viewing effect of the video content.
[0084] In some embodiments of the present application, Figure 6 is a flowchart of a video shooting method provided by another embodiment of the present application. Step 350 may include Figure 6 Steps 610 - 630 are shown.
[0085] Step 610, in response to the sixth input, play the first video, and when the first video is played to the first time point, display the first identifier on the video playback interface of the first video.
[0086] Among them, the first time point is the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface; the first identifier is used to indicate the area where the secondary focus icon is located.
[0087] Step 620: Receive a seventh input of the first identifier.
[0088] Among them, the seventh input can be a click input, a double-click input, a long press input, etc. of the first identifier by the user, and this application does not make any specific limitations here.
[0089] Step 630, in response to the seventh input, synchronously play the first video and the second video.
[0090] For example, if the user sets the secondary focus icon when the first video is recorded to 28:05, the first time point is 28:05. Figure 7 As shown, when the first video is played to 28:05, the first mark 702 can be displayed on the video playback interface 701 of the first video to prompt the user that the secondary focus icon is set at the position of the first mark 702 when the first video is recorded to 28:05. When the electronic device receives the user's click input on the first mark 702, in response to the click input, the second video is synchronously played in the small window 703.
[0091] In an embodiment of the present application, when the first video is played to the progress point where the user sets the secondary focus icon, the video playback interface can display a first mark indicating the area where the secondary focus icon is located, so that the user can view all the focus points selected during the video shooting process. In addition, the present application can provide a convenient video playback method. The user can play the second video synchronously on the video playback interface by touching the first mark, thereby improving the viewing speed of the video content and playing the video content of all the details of the video shooting object that the user is interested in.
[0092] In some embodiments of the present application, the first identifier may include N, where N is a positive integer greater than 1, and the above step 620 may specifically include: receiving a seventh input of a target identifier among the N first identifiers; step 630 may specifically include: in response to the seventh input, playing a first video in the first area, and synchronously playing a second video corresponding to the target sub-focus icon in the second area.
[0093] Among them, the seventh input can be a click input, double-click input, long press input, etc. for the user to select a target identifier from N first identifiers, and this application does not make any specific limitations here; the target identifier is used to indicate the area where the target secondary focus icon is located; the first area and the second area are two different display areas of the video playback interface.
[0094] In an embodiment of the present application, when the electronic device plays the first video, N first identifiers may be displayed in the video playback interface, and the N first identifiers may indicate the N secondary focus icons set by the user, and the user may independently select the video content corresponding to the target secondary focus icon that he wants to view from all the N first identifiers. By receiving the fifth input of the target identifier from the user, the electronic device can play the first video in the first area while synchronously playing the second video recorded in the second area with the area where the target secondary focus icon indicated by the target identifier is located as the focus area. Since the first video and the second video contain the detailed content of the area where the main focus icon and the secondary focus icon are located, the electronic device can synchronously play clear content of different shooting objects for the user in the video playback interface, thereby improving the viewing effect of the video content.
[0095] In some embodiments of the present application, the method may also include the following steps: receiving an eighth input to the first area or the second area; in response to the eighth input, playing the first video in the second area, and playing the second video corresponding to the target sub-focus icon in the first area; during the playback of the second video, displaying N-1 first identifiers other than the target identifier on the playback interface of the second video.
[0096] Specifically, the eighth input may be a touch input of the user to the first area or the second area, or the first area or the second area may provide a switch playback control, and the eighth input may be a touch input of the user to the switch playback control.
[0097] In the embodiment of the present application, the user can switch the playback area of the first video and the second video by touching the playback area corresponding to the first video or the second video. At the same time, during the playback of the second video, the electronic device can also display the remaining N-1 first identifiers set by the user on the playback interface of the second video, so that the user can view the video content recorded with the remaining N-1 secondary focus icons as the focus, improve the quick viewing channel of all video content, and improve the viewing efficiency of video content.
[0098] 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. The video shooting device is described in detail below.
[0099] Figure 8 It is a structural schematic diagram of a video shooting device provided by the present application.
[0100] like Figure 8 As shown, an embodiment of the present application provides a video shooting device 800 , which includes: a receiving module 810 , a display module 820 and a focus shooting module 830 .
[0101] Among them, the receiving module 810 is used to receive a first input to the video shooting interface when the video shooting interface is displayed; the display module 820 is used to display the main focus icon and the secondary focus icon on the video shooting interface in response to the first input; the focus shooting module 830 is used to focus based on the areas where the main focus icon and the secondary focus icon are located during the video shooting process, and obtain a first video corresponding to the main focus icon and a second video corresponding to the secondary focus icon.
[0102] The video shooting device provided by the embodiment of the present application can receive a first input from a user on the video shooting interface in a video shooting scene while displaying the video shooting interface, and display a main focus icon and a secondary focus icon on the video shooting interface in response to the first input. In this way, through the user's touch operation on the video shooting interface, the main focus point and the secondary focus point can be set on the video shooting interface. During the video shooting process, the electronic device focuses based on the areas where the main focus icon and the secondary focus icon are located, that is, for each focus point, it can be focused and photographed to generate the video content corresponding to the focus point. Different video contents can achieve focus on different shooting objects, and can retain the details of different shooting objects, avoiding the situation where only one shooting object can be used as the focus for video shooting in the video shooting interface, thereby enhancing the diversity of video shooting functions and improving video shooting effects.
[0103] In some embodiments of the present application, the first input includes a first sub-input and a second sub-input, and the receiving module 810 includes: a receiving unit, used to receive a first sub-input for selecting a first position in a video shooting interface; a display unit, used to display a main focus icon at the first position in response to the first sub-input; the receiving unit is also used to receive a second sub-input for selecting the main focus icon and the second position; the display module 820 is specifically used to: display a secondary focus icon at the second position in response to the second sub-input.
[0104] In some embodiments of the present application, the focus shooting module 830 is specifically used to: record a first video with the first position as the focus position from a first moment to a second moment, wherein the first moment is the touch moment of the start recording control, and the second moment is the touch moment of the end recording control; record a second video with the second position as the focus position from a third moment to a fourth moment, wherein the third moment is the touch moment of the start recording control or the moment of receiving the second sub-input, and the fourth moment is the touch moment of the end recording control or the moment of canceling the display of the secondary focus icon.
[0105] In some embodiments of the present application, the receiving module 810 is also used to receive a third input for moving the secondary focus icon to a third position during video shooting; the focus shooting module 830 is also used to focus with the third position as the focus position in response to the third input, and shoot a second video corresponding to the secondary focus icon.
[0106] In some embodiments of the present application, the receiving module 810 is further used to receive a fourth input for the secondary focus icon during video shooting; the focus shooting module 830 is further used to cancel the display of the secondary focus icon and stop shooting the second video corresponding to the secondary focus icon in response to the fourth input.
[0107] In some embodiments of the present application, the display module 820 is further used to display a video shooting interface before video shooting, with the area where the main focus icon is located as the focus area.
[0108] In some embodiments of the present application, the device also includes: a display module 820, which is also used to display a thumbnail corresponding to the first video in the album interface after obtaining the first video corresponding to the main focus icon and the second video corresponding to the secondary focus icon; a receiving module 810, which is also used to receive a fifth input for the thumbnail; the display module 820, which is also used to display the first video in response to the fifth input, or to arrange and display the first video and the second video; the receiving module 810, which is also used to receive a sixth input for the first video; and a playback module, which is used to play the first video and the second video in response to the sixth input.
[0109] In some embodiments of the present application, the playback module is specifically used to: play the first video in response to a sixth input, and synchronously play the second video when the first video is played to a first time point, where the first time point is the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface.
[0110] In some embodiments of the present application, the playback module includes: a playback unit, used to play the first video in response to a sixth input, and display a first identifier on the video playback interface of the first video when the first video is played to a first time point, the first identifier being used to indicate the area where the secondary focus icon is located, and the first time point being the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface; a receiving unit, used to receive a seventh input for the first identifier; and the playback unit, further used to synchronously play the first video and the second video in response to the seventh input.
[0111] In some embodiments of the present application, the secondary focus icon and the first identifier include N, and the receiving unit is specifically used to: receive a seventh input of a target identifier among the N first identifiers; the playing unit is specifically used to: in response to the seventh input, play the first video in the first area, and synchronously play the second video corresponding to the target secondary focus icon in the second area, wherein the target identifier is used to indicate the area where the target secondary focus icon is located;
[0112] In some embodiments of the present application, the device also includes: a receiving unit, which is also used to receive an eighth input to the first area or the second area; a playing unit, which is also used to respond to the eighth input, play the first video in the second area, and play the second video corresponding to the target sub-focus icon in the first area; during the playback of the second video, N-1 first identifiers other than the target identifier are displayed on the playback interface of the second video.
[0113] In some embodiments of the present application, the playback module is specifically used to: when there are N secondary focus icons, play the first video in the third area, and play the second videos corresponding to the N secondary focus icons in N fourth areas respectively.
[0114] The video shooting device provided in the embodiment of the present application can achieve Figure 1-Figure 7 To avoid repetition, the various processes implemented by the electronic device in the method embodiment are not described here.
[0115] The video shooting device in the embodiment of the present application can be an electronic device, or a component, integrated circuit, or chip in the electronic device. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, 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 can also 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.
[0116] 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.
[0117] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, 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.
[0118] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0119] Fig.10 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0120] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0121] Those skilled in the art will appreciate that the electronic device 1000 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 1010 through a power management system, thereby managing charging, discharging, and power consumption, etc. through the power management system. Fig.10 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.
[0122] Among them, the user input unit 1007 is used to receive a first input to the video shooting interface when the video shooting interface is displayed; the display unit 1006 is used to display a main focus icon and a secondary focus icon on the video shooting interface in response to the first input; the processor 1010 is used to focus based on the areas where the main focus icon and the secondary focus icon are located during the video shooting process, and obtain a first video corresponding to the main focus icon and a second video corresponding to the secondary focus icon.
[0123] In an embodiment of the present application, in a video shooting scenario, when the video shooting interface is displayed, a first input from the user to the video shooting interface can be received, and in response to the first input, a main focus icon and a secondary focus icon are displayed on the video shooting interface. In this way, through the user's touch operation on the video shooting interface, the main focus point and the secondary focus point can be set on the video shooting interface. During the video shooting process, the electronic device focuses based on the areas where the main focus icon and the secondary focus icon are located, that is, for each focus point, it can be focused and photographed to generate the video content corresponding to the focus point. Different video contents can achieve focus on different shooting objects, and can retain the details of different shooting objects, avoiding the situation that only one shooting object can be used as the focus for video shooting in the video shooting interface, thereby enhancing the diversity of video shooting functions and improving video shooting effects.
[0124] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 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 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0125] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, at least one required application program or instruction (such as sound playback, image playback, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0126] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0127] 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.
[0128] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include a non-transitory computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0129] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, 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.
[0130] 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.
[0131] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor 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.
[0132] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is 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 "including 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 method and device in the embodiment of the present application is not limited to being executed in the order shown or discussed, and may also include being executed in a substantially simultaneous manner or in the opposite order according to the involved, for example, the described method may be executed 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.
[0133] 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.
[0134] 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, characterized in that: include: When a video shooting interface is displayed, receiving a first sub-input for selecting a first position on the video shooting interface; In response to the first sub-input, displaying a primary focus icon at the first position; Receiving a second sub-input for selecting the main focus icon and a second position of the video shooting interface; In response to the second sub-input, displaying a secondary focus icon at the second position; During video shooting, focusing is performed based on the areas where the main focus icon and the secondary focus icon are located, respectively, to obtain a first video corresponding to the main focus icon and a second video corresponding to the secondary focus icon; The method further comprises: From a first moment to a second moment, recording the first video with the first position as a focus position, wherein the first moment is a touch moment of a control to start recording, and the second moment is a touch moment of a control to end recording; From a third moment to a fourth moment, recording the second video with the second position as the focus position, wherein the third moment is the moment when the second sub-input is received, and the fourth moment is the moment when the display of the secondary focus icon is canceled; Also includes: During video shooting, receiving a third input for moving the secondary focus icon to a third position of the video shooting interface; In response to the third input, focusing is performed with the third position as the focus position, and a second video corresponding to the secondary focus icon is captured.
2. The method according to claim 1, characterized in that: The method further comprises: During video shooting, receiving a fourth input to the secondary focus icon; In response to the fourth input, the secondary focus icon is canceled from being displayed, and the shooting of the second video corresponding to the secondary focus icon is stopped.
3. The method according to claim 1, characterized in that The method further comprises: Before video shooting, the area where the main focus icon is located is used as the focus area, and the video shooting interface is displayed.
4. The method according to claim 1, characterized in that After obtaining the first video corresponding to the primary focus icon and the second video corresponding to the secondary focus icon, the method further includes: Displaying a thumbnail corresponding to the first video on the album interface; receiving a fifth input for the thumbnail; In response to the fifth input, display the first video, or display the first video and the second video in an arranged manner; receiving a sixth input of the first video; In response to the sixth input, the first video and the second video are played.
5. The method according to claim 4, characterized in that In response to the sixth input, playing the first video and the second video comprises: In response to the sixth input, the first video is played, and when the first video is played to a first time point, the second video is played synchronously, where the first time point is the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface.
6. The method according to claim 4, characterized in that In response to the sixth input, playing the first video and the second video comprises: In response to the sixth input, the first video is played, and when the first video is played to a first time point, a first identifier is displayed on the video playback interface of the first video, the first identifier is used to indicate the area where the secondary focus icon is located, and the first time point is the shooting progress point corresponding to the first video when the secondary focus icon is displayed on the video shooting interface; receiving a seventh input of the first identifier; In response to the seventh input, the first video and the second video are played synchronously.
7. The method according to claim 6, characterized in that The secondary focus icon and the first identifier include N numbers, The receiving a seventh input of the first identifier includes: Receiving a seventh input of a target identifier among the N first identifiers; In response to the seventh input, synchronously playing the first video and the second video comprises: In response to the seventh input, the first video is played in the first area, and the second video corresponding to the target sub-focus icon is synchronously played in the second area, wherein the target identifier is used to indicate the area where the target sub-focus icon is located.
8. The method according to claim 7, characterized in that The method further comprises: receiving an eighth input to the first region or the second region; In response to the eighth input, playing the first video in the second area, and playing the second video corresponding to the target secondary focus icon in the first area; During the playback of the second video, N-1 first identifiers other than the target identifier are displayed on the playback interface of the second video.
9. The method according to claim 4, characterized in that In response to the sixth input, playing the first video and the second video comprises: In the case where the auxiliary focus icons include N, the first video is played in the third area, and the second videos corresponding to the N auxiliary focus icons are played in the N fourth areas respectively.
10. A video shooting device, characterized in that: include: A receiving module, configured to receive a first sub-input for selecting a first position in the video shooting interface when the video shooting interface is displayed; a display module, configured to display a primary focus icon at the first position in response to the first sub-input; The receiving module is further used to receive a second sub-input for selecting the main focus icon and a second position of the video shooting interface; The display module is further configured to display a secondary focus icon at the second position in response to the second sub-input; A focus shooting module, used for focusing based on the areas where the main focus icon and the auxiliary focus icon are located during video shooting, to obtain a first video corresponding to the main focus icon and a second video corresponding to the auxiliary focus icon; The focus shooting module is specifically used to record the first video with the first position as the focus position from the first moment to the second moment, wherein the first moment is the touch moment of the start recording control, and the second moment is the touch moment of the end recording control, and record the second video with the second position as the focus position from the third moment to the fourth moment, wherein the third moment is the moment when the second sub-input is received, and the fourth moment is the moment when the display of the secondary focus icon is canceled; The receiving module is further configured to receive a third input for moving the secondary focus icon to a third position of the video shooting interface during the video shooting process; The focus shooting module is further used to respond to the third input, focus with the third position as the focus position, and shoot a second video corresponding to the secondary focus icon.
11. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the video shooting method according to any one of claims 1 to 9 are implemented.
