WO2023030306A1 - Method and apparatus for video editing, and electronic device - Google Patents

Method and apparatus for video editing, and electronic device Download PDF

Info

Publication number
WO2023030306A1
WO2023030306A1 PCT/CN2022/115806 CN2022115806W WO2023030306A1 WO 2023030306 A1 WO2023030306 A1 WO 2023030306A1 CN 2022115806 W CN2022115806 W CN 2022115806W WO 2023030306 A1 WO2023030306 A1 WO 2023030306A1
Authority
WO
WIPO (PCT)
Prior art keywords
editing
input
electronic device
video
user
Prior art date
Application number
PCT/CN2022/115806
Other languages
French (fr)
Chinese (zh)
Inventor
施佳伟
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023030306A1 publication Critical patent/WO2023030306A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a video editing method, device and electronic equipment.
  • the electronic device can split the video editing interface into two areas, namely the video editing area and the video preview area, so that the user can perform editing input in the video editing area, so that the electronic The device edits the video and displays the edited video in the video preview area.
  • both the video editing area and the video preview area only occupy a part of the screen, so the content displayed in the video editing area is relatively small , when the user inputs into the video editing area, it is easy to make misoperations, thus resulting in poor video editing effects and poor human-computer interaction experience.
  • the purpose of the embodiments of the present application is to provide a video editing method, device and electronic equipment, which can solve the problem of poor video editing effect.
  • the embodiment of the present application provides a video editing method
  • the video editing method includes: when the first electronic device displays the target video picture, receiving the first input from the user; in response to the first input, displaying the video Editing the interface, and controlling the second electronic device to display the target video picture; based on the user's second input to the video editing interface, editing the target video picture, and controlling the second electronic device to synchronously display the target video picture editing interface.
  • the embodiment of the present application provides a video editing device, and the video editing device includes: a receiving module, a display module and a processing module.
  • the receiving module is configured to receive a first input from a user when the first electronic device displays a target video image.
  • the display module is configured to display a video editing interface in response to the first input, and control the second electronic device to display a target video image.
  • the processing module is configured to edit the target video frame based on the user's second input to the video editing interface, and control the target video frame editing interface of the second electronic device.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an 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 .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides a computer program product, where the computer program product is executed by at least one processor to implement the method described in the first aspect.
  • the first electronic device may display the video editing interface on the first electronic device and display the target video screen on the second electronic device according to the user's first input, so that the first electronic device may For the second input on the video editing interface, the target video frame is edited, and the editing effect of the target video frame is displayed on the second electronic device.
  • the user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user can accurately perform editing input , so that the effect after video editing is displayed on the second electronic device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving human-computer interaction experience.
  • FIG. 1 is a flow chart of a video screen capture method provided in an embodiment of the present application
  • Fig. 2 is one of the example schematic diagrams of the interface of a mobile phone provided by the embodiment of the present application;
  • Fig. 3 is the second schematic diagram of an example of the interface of a mobile phone provided by the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a video editing device provided by an embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of the hardware structure of an electronic device provided in the embodiment of the present application.
  • FIG. 6 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • the electronic device splits the video editing interface into a video editing area and a video preview area. Since the video editing interface is divided into two areas, the video editing area and the video preview area are only Occupies a part of the screen area, so the content displayed in the video editing area and the preview image displayed in the video preview area are small.
  • the user enters the video editing area it is easy to make a wrong operation, and it will affect the user to view the edited video. screen, resulting in poor video editing effects and video viewing effects.
  • the user can display the video editing area on the first electronic device and display the image preview area on the second electronic device by inputting the first electronic device, so that the user
  • the target video frame can be edited on the first electronic device, and the corresponding editing effect can be viewed on the second electronic device.
  • the user can directly edit the video screen on the first electronic device, so that the second electronic device displays the edited video screen, so the solution of this application can avoid the content displayed in the video editing area being small, It leads to misoperation by the user, and solves the problem that the preview image displayed in the video preview area is small, thereby ensuring the display effect of video editing and improving the human-computer interaction experience.
  • FIG. 1 shows a flowchart of the video editing method provided in the embodiment of the present application.
  • the video editing method provided by the embodiment of the present application may include the following steps 201 to 203 .
  • Step 201 When the first electronic device displays a target video image, the first electronic device receives a first input from a user.
  • the user when the first electronic device is connected to the second electronic device and the first electronic device displays the target video picture, the user can make a first input on the first electronic device for the target video picture to trigger
  • the first electronic device displays a video editing interface to realize the editing operation of the target video image, and displays a video preview interface on the second electronic device to realize the editing effect of the displayed video image.
  • target video frame described in the embodiment of the present application can be understood as a video file, and the target video frame includes multiple frames of video frames.
  • the above-mentioned target video picture may be a video picture in an application program (such as a video application program) in the electronic device, or a video picture taken by a camera of the electronic device, or a video picture taken from other The video screen received by the device, etc.
  • an application program such as a video application program
  • the above-mentioned target video picture may be a video picture in an application program (such as a video application program) in the electronic device, or a video picture taken by a camera of the electronic device, or a video picture taken from other The video screen received by the device, etc.
  • the above-mentioned first electronic device and the second electronic device may be wired, for example, connected by a data cable; or, the above-mentioned first electronic device and the second electronic device may be wirelessly connected, for example, It may be a Bluetooth connection, a wireless local area network (such as a wireless-fidelity (Wireless-Fidelity, WiFi) network) connection, a mobile network connection, and the like.
  • a wireless local area network such as a wireless-fidelity (Wireless-Fidelity, WiFi) network
  • a mobile network connection and the like.
  • the above-mentioned first input may be a user's long-press input, click input, slide input, or preset track input on the target video screen on the first electronic device.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the first electronic device may display a video editing control on the target video screen, and the user may input an input to the video editing control to trigger the first electronic device to display a video editing interface.
  • the user before the user makes the first input, the user can trigger the first electronic device to start the video projection function through the input in the setting application program; or, before the user makes the first input, he can A control is input in the target video screen, so that the first electronic device starts the video projection function.
  • a device connected to the first electronic device such as the second electronic device is allowed to display the video editing effect in the first electronic device.
  • the first electronic device may The upper horizontal screen displays the video editing interface corresponding to the target video frame, and displays the video preview interface corresponding to the target video frame in full screen on the second electronic device.
  • Step 202 the first electronic device displays a video editing interface in response to the first input, and controls the second electronic device to display a target video image.
  • the first electronic device may send a second instruction to the second electronic device while displaying the video editing interface, the second instruction includes the relevant information of the target video frame, So that the second electronic device displays a video preview interface according to the second instruction, so as to display the target video frame in the video preview interface.
  • the above-mentioned information about the target video frame may include at least one of the following: a data stream of the target video frame and indication information, where the indication information is used to instruct the second electronic device to display the target video frame.
  • the target frame video frame may include at least one of the following: a data stream of the target video frame and indication information, where the indication information is used to instruct the second electronic device to display the target video frame.
  • the above-mentioned video editing interface includes at least one of the following: identification (such as thumbnails) of multiple video frame pictures in the target video picture, picture adding control, editing control, graffiti control, cropping controls, split controls, delete controls, variable speed controls, etc.
  • identification such as thumbnails
  • picture adding control editing control
  • graffiti control cropping controls
  • split controls delete controls
  • variable speed controls etc.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the target video frame displayed by the second electronic device may be any of the following: a frame currently displayed by the first electronic device, a frame selected by the user, or the first frame of the target video frame. frame picture, the last frame picture of the target video picture, the pause picture of the target video picture, etc.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the first electronic device is a mobile phone
  • the second electronic device is a tablet computer as an example for description.
  • the mobile phone is wirelessly connected to the tablet computer.
  • the mobile phone can display the video editing interface 11 after receiving the user's first input.
  • the video editing interface displays multiple video frame logos (such as thumbnails) and multiple controls (such as text adding controls, graffiti controls, filter controls, etc.), and controls the tablet to display the target video interface on the tablet telegram A frame picture in, namely the picture 12 described in (B) in Fig. 2, thereby the user can carry out video editing input in the video editing interface 11 of mobile phone, so that mobile phone carries out editing operation to target video picture, and in The effect of the editing operation on the target video screen is displayed on the tablet computer.
  • Step 203 The first electronic device edits the target video frame based on the user's second input to the video editing interface, and controls the second electronic device to synchronously display the editing interface of the target video frame.
  • the above-mentioned second input may be an input (for example, editing input) performed by the user on the video editing interface on the first electronic device, or may be the user's input based on the video editing interface of the first electronic device on the second electronic device.
  • Input (such as editing input) on the device.
  • the editing interface of the second electronic device synchronously displaying the target video picture can be understood as: controlling the editing process and editing effect of the second electronic device synchronously displaying the target video picture, and the editing effect of the first electronic device is obtained through the second electronic device.
  • the devices are displayed synchronously, that is, every time the first electronic device executes an editing process, the second electronic device displays the effect of the editing process.
  • the editing process of the target video frame is performed by the first electronic device; or, when the above-mentioned second input is In the case of user input on the second electronic device, editing processing of the target video frame is performed by the first electronic device or the second electronic device.
  • the foregoing video editing interface includes a first editing control.
  • the above step 203 may specifically be implemented through the following steps 203a and 203b.
  • Step 203a the first electronic device receives a second input from the user on the first editing control in the video editing interface.
  • the above-mentioned second input may be a long-press input, click input, or slide input of the first editing control by the user on the first electronic device.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the above-mentioned first editing control may include at least one of the following: clipping control, cropping control, split control, deletion control, variable speed control, content addition control (such as text addition control, picture addition control, Add controls to video files), etc.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • Step 203b In response to the second input, the first electronic device uses the first editing mode corresponding to the first editing control to edit the target video frame, and controls the second electronic device to synchronously display the editing interface of the target video frame.
  • the first electronic device may send a third instruction to the second electronic device, and the third instruction includes editing effect information of the target video frame, so that the second electronic device The device displays the editing effect of the target video frame according to the third instruction.
  • the editing method corresponding to the above-mentioned editing control is an editing processing method, so as to perform editing processing on the target video picture;
  • the editing method corresponding to the above-mentioned cutting control is a cutting processing method, so as to cut the target video picture Processing;
  • the editing method corresponding to the above-mentioned segmentation control is a segmentation processing method, so as to divide the target video screen into multiple video clips, so as to edit the multiple video clips;
  • the editing method corresponding to the above-mentioned deletion control is a deletion processing method.
  • the editing method corresponding to the above-mentioned variable speed control is a variable speed processing method to adjust the playback speed of the target video image
  • the editing method corresponding to the above-mentioned content adding control is a content adding processing method to add Content (such as text, pictures or video files, etc.).
  • the user can input the first editing control on the first electronic device, so that the second electronic device displays the editing effect of the first electronic device on the target video screen, that is, this solution displays At the same time as the video editing interface, so that the user can accurately edit the input and display the effect of video editing on another device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area. Thereby ensuring the display effect of video editing.
  • the video editing method provided in the embodiment of the present application further includes the following step 204, and the above step 203 can be specifically implemented through the following Step 203c and step 203d are realized.
  • Step 204 the first electronic device controls the second electronic device to display the second editing control on the second electronic device.
  • the first electronic device when the first electronic device is connected to the second electronic device, after receiving the first input from the user, the first electronic device can control the second electronic device to display the target video screen while displaying
  • the second editing control is used to facilitate editing input by the user on the second electronic device.
  • the second electronic device may display a second editing control on the video preview interface.
  • the above-mentioned second editing control may include at least one of the following: clipping control, cropping control, split control, deletion control, variable speed control, content addition control (such as text addition control, picture addition control, Add controls to video files), etc.
  • clipping control cropping control
  • split control deletion control
  • variable speed control variable speed control
  • content addition control such as text addition control, picture addition control, Add controls to video files
  • Step 203c the first electronic device receives the first instruction sent by the second electronic device.
  • the above-mentioned first instruction is an instruction sent by the second electronic device according to the user's second input to the second editing control on the second electronic device, and the first instruction is used to indicate the second editing control corresponding to the second editing control. edit mode.
  • the user when the second editing control is displayed on the second electronic device, the user can perform a second input on the second editing control on the second electronic device, so that the second electronic device
  • the second input is to send a first instruction to the first electronic device to indicate an editing mode (namely the second editing mode) to the first electronic device, so that the first electronic device can use the editing mode to edit the target video picture.
  • Step 203d based on the first instruction, the first electronic device uses the second editing method corresponding to the second editing control to edit the target video frame, and controls the second electronic device to synchronously display the editing interface of the target video frame.
  • the first electronic device after receiving the first instruction sent by the second electronic device, the first electronic device can edit the target video picture in the editing mode indicated by the first instruction, and send the third electronic device to the second electronic device.
  • the third instruction includes editing effect information of the target video frame, so that the second electronic device displays the editing effect of the target video frame according to the third instruction.
  • the user can input the second editing control on the second electronic device, and the first electronic device receives the first instruction sent by the second electronic device, and indicates an editing method to the first electronic device, so that the second An electronic device edits the target video screen according to the editing method and displays the editing effect on the second electronic device, that is, in this solution, the user can trigger the first electronic device to perform the corresponding editing operation on both electronic devices, and The effect after video editing is displayed on the second electronic device, which avoids the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving the diversity of user editing operations.
  • An embodiment of the present application provides a video editing method.
  • the first electronic device can display the video editing interface on the first electronic device and display the target video screen on the second electronic device according to the first input of the user, so that the first electronic device
  • the device may edit the target video frame based on the user's second input to the video editing interface, and display the editing effect of the target video frame on the second electronic device.
  • the user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user can accurately perform editing input , so that the effect after video editing is displayed on the second electronic device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving human-computer interaction experience.
  • the above-mentioned video editing interface includes multiple image identifiers, the multiple image identifiers are the identifiers of multiple frame images in the target video frame, and the above-mentioned second input includes the first sub-input and the second sub-input. sub-input.
  • the above step 203 can be specifically implemented through the following steps 205 and 206 .
  • Step 205 the first electronic device determines N frames of images to be edited from the target video frame based on the first sub-input of the user.
  • the above-mentioned first sub-input is the user's input to N image identifiers among the plurality of image identifiers in the video editing interface, and each image identifier in the N image identifiers corresponds to the N image identifiers in the N frames of images respectively.
  • a frame of image is the user's input to N image identifiers among the plurality of image identifiers in the video editing interface, and each image identifier in the N image identifiers corresponds to the N image identifiers in the N frames of images respectively. A frame of image.
  • N image identifiers may be consecutive N image identifiers among the plurality of image identifiers, or may be non-continuous N image identifiers among the plurality of image identifiers.
  • the above-mentioned first sub-input is a user's click input, long press input, or slide input on the N image identifiers.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the first electronic device may display prompt information on the screen of the first electronic device to remind the user of the selected images to be processed. image.
  • Step 206 The first electronic device performs editing processing on the N frames of images based on the second sub-input of the user, and controls the second electronic device to display the editing effect of the N frames of images.
  • the above-mentioned second sub-input is an editing input of the user in the video editing interface (such as an input to the first editing control), or an editing input on the second electronic device (such as an input to the second editing control). enter).
  • the above-mentioned second sub-input is a user's click input, long-press input, or slide input on the edit control (ie, the first edit control or the second edit control).
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the user can flexibly select at least one frame of pictures (for example, N frames of images) that needs to be edited and processed through the first sub-input, and then through the second sub-input, the first electronic device can select the N frames selected by the user.
  • the frame images are edited to display the editing effects of the N frames of images on the second electronic device, so that while avoiding user misoperations, the flexibility of video editing and the diversity of video editing effects are improved.
  • "editing the target video frame" in the above step 203 may be specifically implemented through any one of the following steps 301 to 303.
  • Step 301 the first electronic device adopts a target editing method to add content to a target video image.
  • the above-mentioned target editing method includes at least one of the following: image adding method, video adding method, text adding method, filter adding method, etc.
  • the added content when the first electronic device adds content to the target video frame, the added content may be in the first electronic device, or may be sent by the second electronic device to the first electronic device. .
  • the added content is in the first electronic device; when the second input is the user's input on the second electronic device, The added content is sent by the second electronic device to the first electronic device.
  • the album When entering the album to select materials, if only one video (picture) file is selected, it will be added after the current video frame by default; if multiple video (picture) files are selected, a new material library icon will be added in the video editing interface, and the user Click the icon, and multiple files selected by the user will be expanded and displayed in the form of thumbnails. Long press the corresponding file, the track area will turn into a thumbnail, by dragging a new file to the middle of the thumbnail, it will be added between two adjacent video frames.
  • the tablet computer also displays a + sign button, which can be clicked to add a video (picture) file in the tablet computer.
  • the processing method of the single-selection material is the same as that of the mobile terminal.
  • the video (picture) file is added to the material library of the mobile phone, and the subsequent operation of selecting the location to add is the same as that of the mobile terminal, which facilitates the unified management of resources.
  • the text adding function when entering the text editing, there are two ways to realize the text input: select the keyboard Tab in the operation area, and type the text to be added or edited through the soft keyboard.
  • select the keyboard Tab in the operation area and type the text to be added or edited through the soft keyboard.
  • the video preview area directly "write" the text you want to add or edit by handwriting or combining with a stylus, and the text will be synchronously displayed in the text input box of the video editing interface of the mobile phone and the video preview interface of the tablet computer.
  • Step 302 the first electronic device deletes at least one frame of image in the target video frame.
  • the first electronic device is triggered to delete at least one frame of image through the user's gesture input of at least one frame of image in the target video screen, or, through the user's click input on the first editing control, to trigger the first electronic device to delete at least one frame of image.
  • the first electronic device may adjust the display positions of other video images, for example, sequentially fill in the remaining video images forward.
  • Step 303 the first electronic device performs display parameter adjustment processing on the target video image.
  • the user inputs the first editing control on the first electronic device to trigger the first electronic device to adjust the display parameters of the target video screen, or the user controls the display parameters of the target video screen on the second electronic device.
  • the input of the second editing control is used to trigger the first electronic device to adjust the display parameters of the target video image.
  • the above display parameters may be any of the following: adjustment of color depth of video images, adjustment of filter parameters of video images, adjustment of beautification parameters of video images, and the like.
  • the details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
  • the adjustment of its display parameters can be realized in the following two ways: slide the intensity adjustment lever on the video editing interface of the mobile phone , and at the same time, the target video image on the video preview interface of the tablet computer changes in real time, or the display parameters are changed by sliding up and down on the video preview interface of the tablet computer, which is similar to the operation of adjusting the volume during video playback.
  • the parameter adjustment progress bar is displayed on the video editing interface of the mobile phone, and the user triggers the mobile phone to change the color depth of the target video image by sliding the input on the parameter adjustment progress bar, and displays it on the tablet computer. Editing effects.
  • the user can edit and input the target video screen on the first electronic device or the second electronic device, and then the first electronic device displays the editing effect on the second electronic device according to the editing input, thus ensuring the The display effect of the edited video improves the diversity of the edited video and enhances the human-computer interaction experience.
  • the video editing method provided in the embodiment of the present application may be executed by a video editing device, or an electronic device, or a control module in the video editing device for executing the video editing method.
  • the method for performing video editing by a video editing device is taken as an example to describe the video editing device provided in the embodiment of the present application.
  • Fig. 4 shows a possible structural diagram of a video editing device involved in the embodiment of the present application.
  • the video editing device 70 may include: a receiving module 71 , a display module 72 , a control module 73 and a processing module 74 .
  • the receiving module 71 is configured to receive the user's first input when the first electronic device displays the target video image.
  • the display module 72 is configured to display a video editing interface in response to the first input received by the receiving module 71 .
  • the control module 73 is configured to control the second electronic device to display the target video image.
  • the processing module 74 is configured to edit the target video frame based on the user's second input to the video editing interface.
  • the control module 73 is further configured to control the second electronic device to synchronously display the target video image editing interface.
  • the video editing apparatus 70 may be the first electronic device, or may be a component, an integrated circuit, or a chip in the first electronic device.
  • the above-mentioned video editing interface includes a first editing control
  • the above-mentioned processing module 74 is specifically configured to receive a second input from the user on the first editing control in the video editing interface, and respond to the second Inputting, using the first editing mode corresponding to the first editing control to edit the target video image.
  • the display module 72 is further configured to control the second electronic device to display the second edit control on the second electronic device after the receiving module 71 receives the first input from the user.
  • the processing module 74 is specifically configured to receive the first instruction sent by the second electronic device, the first instruction is an instruction sent by the second electronic device according to the second input of the user on the second edit control on the second electronic device and based on the first instruction An instruction, using the second editing method corresponding to the second editing control to edit the target video image.
  • the video editing interface includes multiple image identifiers, the multiple image identifiers are identifiers of multiple frame images in the target video frame; the second input includes the first sub-input and the second sub-input .
  • the processing module 74 is specifically configured to determine N frames of images to be edited from the target video screen based on the first sub-input of the user.
  • the first sub-input is that the user identifies N of the multiple images in the video editing interface.
  • each image identification of the N image identifications corresponds to one frame of images in the N frames of images, and editing processing is performed on the N frames of images based on the second sub-input of the user.
  • the control module 73 is also used to control the second electronic device to display the editing effect of N frames of images, and the second sub-input is the user's editing input in the video editing interface, or the editing input on the second electronic device.
  • the above-mentioned processing module 74 is specifically used to add content to the target video screen in a target editing mode, and the target editing mode includes at least one of the following: picture adding mode, video adding mode, text adding method, filter adding method; or, delete at least one frame of image in the target video frame; or, perform display parameter adjustment processing on the target video frame.
  • An embodiment of the present application provides a video editing device.
  • the user can display different interfaces on different devices through the first input, that is, the video editing device displays the video editing interface, and the second electronic device displays the video preview interface, so that the user Editing input can be accurately performed, so that the effect after video editing is displayed on the second electronic device, and the problem of user misoperation caused by the small content displayed in the video editing area is avoided, thereby ensuring the display effect of video editing , to enhance the human-computer interaction experience.
  • the video editing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in an electronic device.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a 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).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the video editing device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the video editing device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, so to avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides an electronic device 90, including a processor 91, a memory 92, and programs or instructions stored in the memory 92 and operable on the processor 91,
  • the program or instruction is executed by the processor 91, the various processes of the above-mentioned method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 107 is configured to receive a first input from a user when the first electronic device displays a target video image.
  • the display unit 106 is configured to display a video editing interface in response to the first input.
  • the processor 110 is configured to control the second electronic device to display the target video picture; and based on the user's second input to the video editing interface, edit the target video picture, and control the second electronic device to synchronously display the editing of the target video picture interface.
  • An embodiment of the present application provides an electronic device.
  • the user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user Editing input can be accurately performed, so that the effect after video editing is displayed on the second electronic device, and the problem of user misoperation caused by the small content displayed in the video editing area is avoided, thereby ensuring the display effect of video editing , to enhance the human-computer interaction experience.
  • the video editing interface includes a first editing control.
  • the processor 110 is specifically configured to receive the user's second input to the first editing control in the video editing interface and respond to the second input, and adopt the first editing mode corresponding to the first editing control to edit the target video picture .
  • the display unit 106 is further configured to control the second electronic device to display the second editing control on the second electronic device after receiving the first input from the user.
  • the processor 110 is specifically configured to receive a first instruction sent by the second electronic device, where the first instruction is an instruction sent by the second electronic device according to the user's second input to the second edit control on the second electronic device and based on the first instruction. An instruction, using the second editing method corresponding to the second editing control to edit the target video image.
  • the video editing interface includes multiple image identifiers, and the multiple image identifiers are identifiers of multiple frame images in the target video frame;
  • the second input includes a first sub-input and a second sub-input.
  • the processor 110 is specifically configured to determine N frames of images to be edited from the target video screen based on the first sub-input of the user.
  • the first sub-input is that the user identifies N of the multiple images in the video editing interface.
  • each of the N image identifications corresponds to one frame of the N frame of images, and based on the second sub-input of the user, the N frames of images are edited, and the second electronic device is controlled to display N
  • the second sub-input is the user's editing input in the video editing interface, or the editing input on the second electronic device.
  • the processor 110 is specifically configured to add content to the target video screen in a target editing mode, and the target editing mode includes at least one of the following: picture adding mode, video adding mode, text adding method, filter adding method; or, delete at least one frame of image in the target video frame; or, perform display parameter adjustment processing on the target video frame.
  • the electronic device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
  • the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, 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 method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

The present application discloses a method and apparatus for video editing, and an electronic device, belonging to the technical field of communications. The method comprises: when a first electronic device displays a target video image, receiving a first input by a user; in response to the first input, displaying a video editing interface and controlling a second electronic device to display the target video image; and on the basis of a second input by the user to the video editing interface, performing editing processing on the target video image and controlling the second electronic device to synchronously display the editing interface of the target video image.

Description

视频编辑方法、装置及电子设备Video editing method, device and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年08月31日在中国提交的中国专利申请号202111017114.3的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111017114.3 filed in China on August 31, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种视频编辑方法、装置及电子设备。The present application belongs to the technical field of communication, and in particular relates to a video editing method, device and electronic equipment.
背景技术Background technique
目前,用户在电子设备上进行视频编辑时,电子设备可以将视频编辑界面拆分为两部分区域,即视频编辑区域和视频预览区域,从而用户可以在视频编辑区域中进行编辑输入,以使得电子设备对视频进行编辑,并在视频预览区域中显示编辑后的视频。Currently, when a user performs video editing on an electronic device, the electronic device can split the video editing interface into two areas, namely the video editing area and the video preview area, so that the user can perform editing input in the video editing area, so that the electronic The device edits the video and displays the edited video in the video preview area.
然而,上述方法中,由于在将视频编辑界面拆分为视频编辑区域和视频预览区域后,视频编辑区域和视频预览区域均只占用了屏幕的一部分区域,因此视频编辑区域中显示的内容较小,当用户在对视频编辑区域进行输入时,很容易进行误操作,因此导致视频编辑的效果较差,人机交互体验较差。However, in the above method, after the video editing interface is split into a video editing area and a video preview area, both the video editing area and the video preview area only occupy a part of the screen, so the content displayed in the video editing area is relatively small , when the user inputs into the video editing area, it is easy to make misoperations, thus resulting in poor video editing effects and poor human-computer interaction experience.
发明内容Contents of the invention
本申请实施例的目的是提供一种视频编辑方法、装置及电子设备,能够解决视频编辑效果较差的问题。The purpose of the embodiments of the present application is to provide a video editing method, device and electronic equipment, which can solve the problem of poor video editing effect.
第一方面,本申请实施例提供了一种视频编辑方法,该视频编辑方法包括:在第一电子设备显示目标视频画面的情况下,接收用户的第一输入;响应于第一输入,显示视频编辑界面,并控制第二电子设备显示目标视频画面;基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并控制第二电子设备同步显示目标视频画面编辑界面。In the first aspect, the embodiment of the present application provides a video editing method, the video editing method includes: when the first electronic device displays the target video picture, receiving the first input from the user; in response to the first input, displaying the video Editing the interface, and controlling the second electronic device to display the target video picture; based on the user's second input to the video editing interface, editing the target video picture, and controlling the second electronic device to synchronously display the target video picture editing interface.
第二方面,本申请实施例提供了一种视频编辑装置,该视频编辑装置包括:接收模块、显示模块和处理模块。接收模块,用于在第一电子设备显示目标视频画面的情况下,接收用户的第一输入。显示模块,用于响应于第一输入,显示视频编辑界面, 并控制第二电子设备显示目标视频画面。处理模块,用于基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并控制第二电子设备目标视频画面编辑界面。In a second aspect, the embodiment of the present application provides a video editing device, and the video editing device includes: a receiving module, a display module and a processing module. The receiving module is configured to receive a first input from a user when the first electronic device displays a target video image. The display module is configured to display a video editing interface in response to the first input, and control the second electronic device to display a target video image. The processing module is configured to edit the target video frame based on the user's second input to the video editing interface, and control the target video frame editing interface of the second electronic device.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an 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 .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, where the computer program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,第一电子设备可以根据用户的第一输入,在第一电子设备上显示视频编辑界面,并在第二电子设备上显示目标视频画面,从而第一电子设备可以基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并在第二电子设备上显示目标视频画面的编辑效果。本方案中,用户可以通过第一输入,以使得不同设备上显示不同的界面,即第一电子设备上显示视频编辑界面,第二电子设备上显示视频预览界面,从而用户可以准确地进行编辑输入,以使得在第二电子设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果,提升了人机交互体验。In this embodiment of the present application, the first electronic device may display the video editing interface on the first electronic device and display the target video screen on the second electronic device according to the user's first input, so that the first electronic device may For the second input on the video editing interface, the target video frame is edited, and the editing effect of the target video frame is displayed on the second electronic device. In this solution, the user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user can accurately perform editing input , so that the effect after video editing is displayed on the second electronic device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving human-computer interaction experience.
附图说明Description of drawings
图1是本申请实施例提供的一种视频截屏方法的流程图;FIG. 1 is a flow chart of a video screen capture method provided in an embodiment of the present application;
图2是本申请实施例提供的一种手机的界面的实例示意图之一;Fig. 2 is one of the example schematic diagrams of the interface of a mobile phone provided by the embodiment of the present application;
图3是本申请实施例提供的一种手机的界面的实例示意图之二;Fig. 3 is the second schematic diagram of an example of the interface of a mobile phone provided by the embodiment of the present application;
图4是本申请实施例提供的一种视频编辑装置的结构示意图;FIG. 4 is a schematic structural diagram of a video editing device provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的硬件结构示意图之一;FIG. 5 is one of the schematic diagrams of the hardware structure of an electronic device provided in the embodiment of the present application;
图6是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 6 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频编辑方法进行详细地说明。The video editing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
用户在电子设备上进行视频编辑时,电子设备将视频编辑界面拆分为了视频编辑区域和视频预览区域,由于视频编辑界面被拆分成了两个区域,导致视频编辑区域和视频预览区域均只占用了屏幕的一部分区域,从而视频编辑区域中显示的内容以及视频预览区域显示的预览画面较小,用户在对视频编辑区域进行输入时,很容易进行误操作,而且影响用户查看编辑后的视频画面,导致视频编辑的效果、视频查看效果较差。When a user performs video editing on an electronic device, the electronic device splits the video editing interface into a video editing area and a video preview area. Since the video editing interface is divided into two areas, the video editing area and the video preview area are only Occupies a part of the screen area, so the content displayed in the video editing area and the preview image displayed in the video preview area are small. When the user enters the video editing area, it is easy to make a wrong operation, and it will affect the user to view the edited video. screen, resulting in poor video editing effects and video viewing effects.
为了解决上述技术问题,本申请实施例中,用户可以通过对第一电子设备进行输入,以使得可以在第一电子设备上显示视频编辑区域,在第二电子设备上显示图像预览区域,从而用户可以在第一电子设备上对目标视频画面进行编辑,在第二电子设备上查看对应的编辑效果。In order to solve the above technical problems, in the embodiment of the present application, the user can display the video editing area on the first electronic device and display the image preview area on the second electronic device by inputting the first electronic device, so that the user The target video frame can be edited on the first electronic device, and the corresponding editing effect can be viewed on the second electronic device.
本方案中,用户可以直接在第一电子设备上对视频画面进行编辑,以使得第二电子设备显示编辑后的视频画面,因此本申请的方案,可以避免视频编辑区域中显示的内容较小,导致用户进行的误操作,以及解决了视频预览区域显示的预览画面较小的问题,从而保证了视频编辑的显示效果,提升了人机交互体验。In this solution, the user can directly edit the video screen on the first electronic device, so that the second electronic device displays the edited video screen, so the solution of this application can avoid the content displayed in the video editing area being small, It leads to misoperation by the user, and solves the problem that the preview image displayed in the video preview area is small, thereby ensuring the display effect of video editing and improving the human-computer interaction experience.
本申请实施例提供一种视频编辑方法,图1示出了本申请实施例提供的一种视频编辑方法的流程图。如图1所示,本申请实施例提供的视频编辑方法可以包括下述的步骤201至步骤203。An embodiment of the present application provides a video editing method, and FIG. 1 shows a flowchart of the video editing method provided in the embodiment of the present application. As shown in FIG. 1 , the video editing method provided by the embodiment of the present application may include the following steps 201 to 203 .
步骤201、在第一电子设备显示目标视频画面的情况下,第一电子设备接收用户的第一输入。 Step 201. When the first electronic device displays a target video image, the first electronic device receives a first input from a user.
本申请实施例中,在第一电子设备与第二电子设备连接、且第一电子设备显示目标视频画面的情况下,用户可以在第一电子设备上针对目标视频画面进行第一输入,以触发第一电子设备显示视频编辑界面,实现对目标视频画面的编辑操作,并在第二电子设备上显示视频预览界面,以实现显示视频画面的编辑效果。In the embodiment of the present application, when the first electronic device is connected to the second electronic device and the first electronic device displays the target video picture, the user can make a first input on the first electronic device for the target video picture to trigger The first electronic device displays a video editing interface to realize the editing operation of the target video image, and displays a video preview interface on the second electronic device to realize the editing effect of the displayed video image.
需要说明的是,本申请实施例所述的目标视频画面可以理解为一个视频文件,该目标视频画面包括多帧视频画面。It should be noted that the target video frame described in the embodiment of the present application can be understood as a video file, and the target video frame includes multiple frames of video frames.
可选地,本申请实施例中,上述目标视频画面可以为电子设备中的一个应用程序(例如视频类应用程序)中的视频画面,或者为电子设备的摄像头拍摄的视频画面,或者为从其他设备接收到的视频画面等。Optionally, in the embodiment of the present application, the above-mentioned target video picture may be a video picture in an application program (such as a video application program) in the electronic device, or a video picture taken by a camera of the electronic device, or a video picture taken from other The video screen received by the device, etc.
可选地,本申请实施例中,上述第一电子设备与第二电子设备可以为有线连接,例如通过数据线连接;或者,上述第一电子设备与第二电子设备可以为无线连接,例如,可以为蓝牙连接、无线局域网(例如无线保真(Wireless-Fidelity,WiFi)网络)连接、移动网络连接等。Optionally, in the embodiment of the present application, the above-mentioned first electronic device and the second electronic device may be wired, for example, connected by a data cable; or, the above-mentioned first electronic device and the second electronic device may be wirelessly connected, for example, It may be a Bluetooth connection, a wireless local area network (such as a wireless-fidelity (Wireless-Fidelity, WiFi) network) connection, a mobile network connection, and the like.
可选地,本申请实施例中,上述第一输入可以为用户在第一电子设备对目标视频画面的长按输入、点击输入、滑动输入或者预设轨迹的输入等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the present application, the above-mentioned first input may be a user's long-press input, click input, slide input, or preset track input on the target video screen on the first electronic device. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
可选地,本申请实施例中,第一电子设备可以在目标视频画面上,显示视频编辑控件,用户可以通过对该视频编辑控件输入,以触发第一电子设备显示视频编辑界面。Optionally, in this embodiment of the present application, the first electronic device may display a video editing control on the target video screen, and the user may input an input to the video editing control to trigger the first electronic device to display a video editing interface.
可选地,本申请实施例中,用户在进行第一输入之前,可以在设置应用程序中,通过输入触发第一电子设备开启视频投屏功能;或者,用户在进行第一输入之前,可以在目标视频画面中对一个控件进行输入,以使得第一电子设备开启视频投屏功能。其中,在第一电子设备开启视频投屏功能之后,允许与第一电子设备连接的设备(例如第二电子设备) 显示第一电子设备中的视频编辑效果。Optionally, in this embodiment of the application, before the user makes the first input, the user can trigger the first electronic device to start the video projection function through the input in the setting application program; or, before the user makes the first input, he can A control is input in the target video screen, so that the first electronic device starts the video projection function. Wherein, after the first electronic device turns on the video projection function, a device connected to the first electronic device (such as the second electronic device) is allowed to display the video editing effect in the first electronic device.
可选地,本申请实施例中,在第一电子设备开启视频投屏功能之后,在第一电子设备显示目标视频画面的情况下,第一电子设备可以根据第一输入,在第一电子设备上横屏显示目标视频画面对应的视频编辑界面,并在第二电子设备上全屏显示目标视频画面对应的视频预览界面。Optionally, in this embodiment of the present application, after the first electronic device enables the video projection function, when the first electronic device displays the target video screen, the first electronic device may The upper horizontal screen displays the video editing interface corresponding to the target video frame, and displays the video preview interface corresponding to the target video frame in full screen on the second electronic device.
步骤202、第一电子设备响应于第一输入,显示视频编辑界面,并控制第二电子设备显示目标视频画面。 Step 202, the first electronic device displays a video editing interface in response to the first input, and controls the second electronic device to display a target video image.
本申请实施例中,第一电子设备在接收到第一输入之后,在显示视频编辑界面的同时,可以向第二电子设备发送第二指令,该第二指令中包括目标视频画面的相关信息,以使得第二电子设备根据该第二指令,显示视频预览界面,以在该视频预览界面中显示目标视频画面。In the embodiment of the present application, after receiving the first input, the first electronic device may send a second instruction to the second electronic device while displaying the video editing interface, the second instruction includes the relevant information of the target video frame, So that the second electronic device displays a video preview interface according to the second instruction, so as to display the target video frame in the video preview interface.
可选地,本申请实施例中,上述目标视频画面的相关信息可以包括以下至少一项:目标视频画面的数据流和指示信息,该指示信息用于指示第二电子设备显示目标视频画面中的目标帧视频画面。Optionally, in this embodiment of the present application, the above-mentioned information about the target video frame may include at least one of the following: a data stream of the target video frame and indication information, where the indication information is used to instruct the second electronic device to display the target video frame. The target frame video frame.
可选地,本申请实施例中,上述视频编辑界面中包括以下至少一项:目标视频画面中的多个视频帧画面的标识(例如缩略图)、图片添加控件、剪辑控件、涂鸦控件、裁剪控件、分割控件、删除控件、变速控件等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in the embodiment of the present application, the above-mentioned video editing interface includes at least one of the following: identification (such as thumbnails) of multiple video frame pictures in the target video picture, picture adding control, editing control, graffiti control, cropping controls, split controls, delete controls, variable speed controls, etc. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
可选地,本申请实施例中,第二电子设备显示的目标视频画面可以为以下任一项:第一电子设备当前显示的一帧画面、用户选中的一帧画面、目标视频画面的第一帧画面、目标视频画面的最后一帧画面、目标视频画面的暂停画面等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the application, the target video frame displayed by the second electronic device may be any of the following: a frame currently displayed by the first electronic device, a frame selected by the user, or the first frame of the target video frame. frame picture, the last frame picture of the target video picture, the pause picture of the target video picture, etc. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
示例性的,以第一电子设备为手机,以第二电子设备为平板电脑为例进行说明。手机与平板电脑无线连接,用户在对手机的目标视频画面进行第一输入之后,如图2中的(A)所示,手机在接收到用户的第一输入之后,可以显示视频编辑界面11,该视频编辑界面中显示有多个视频帧画面的标识(例如缩略图)和多个控件(例如文字添加控件、涂鸦控件、滤镜控件等),并控制平板电脑在平板电报上显示目标视频界面中的一帧画面,即如图2 中的(B)所述的画面12,从而用户可以在手机的视频编辑界面11中进行视频编辑输入,以使得手机对目标视频画面进行编辑操作,并在平板电脑上显示对目标视频画面编辑操作的效果。Exemplarily, the first electronic device is a mobile phone, and the second electronic device is a tablet computer as an example for description. The mobile phone is wirelessly connected to the tablet computer. After the user performs the first input to the target video picture of the mobile phone, as shown in (A) in Figure 2, the mobile phone can display the video editing interface 11 after receiving the user's first input. The video editing interface displays multiple video frame logos (such as thumbnails) and multiple controls (such as text adding controls, graffiti controls, filter controls, etc.), and controls the tablet to display the target video interface on the tablet telegram A frame picture in, namely the picture 12 described in (B) in Fig. 2, thereby the user can carry out video editing input in the video editing interface 11 of mobile phone, so that mobile phone carries out editing operation to target video picture, and in The effect of the editing operation on the target video screen is displayed on the tablet computer.
步骤203、第一电子设备基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并控制第二电子设备同步显示目标视频画面的编辑界面。Step 203: The first electronic device edits the target video frame based on the user's second input to the video editing interface, and controls the second electronic device to synchronously display the editing interface of the target video frame.
本申请实施例中,上述第二输入可以为用户在第一电子设备上对视频编辑界面进行的输入(例如编辑输入),或者可以为用户基于第一电子设备的视频编辑界面,在第二电子设备上进行输入(例如编辑输入)。In the embodiment of the present application, the above-mentioned second input may be an input (for example, editing input) performed by the user on the video editing interface on the first electronic device, or may be the user's input based on the video editing interface of the first electronic device on the second electronic device. Input (such as editing input) on the device.
需要说明的是,第二电子设备同步显示目标视频画面的编辑界面可以理解为:控制第二电子设备同步显示目标视频画面的编辑过程和编辑效果,第一电子设备的编辑效果是通过第二电子设备同步显示的,即在第一电子设备每执行一次编辑处理,第二电子设备便显示该次编辑处理后的效果。It should be noted that the editing interface of the second electronic device synchronously displaying the target video picture can be understood as: controlling the editing process and editing effect of the second electronic device synchronously displaying the target video picture, and the editing effect of the first electronic device is obtained through the second electronic device. The devices are displayed synchronously, that is, every time the first electronic device executes an editing process, the second electronic device displays the effect of the editing process.
可选地,本申请实施例中,在上述第二输入为用户在第一电子设备上的输入的情况下,目标视频画面的编辑处理由第一电子设备执行;或者,在上述第二输入为用户在第二电子设备上的输入的情况下,目标视频画面的编辑处理由第一电子设备或第二电子设备执行。Optionally, in this embodiment of the present application, in the case where the above-mentioned second input is input by the user on the first electronic device, the editing process of the target video frame is performed by the first electronic device; or, when the above-mentioned second input is In the case of user input on the second electronic device, editing processing of the target video frame is performed by the first electronic device or the second electronic device.
可选地,在本申请实施例的一种实现方式中,上述视频编辑界面中包括第一编辑控件。上述步骤203具体可以通过下述的步骤203a和步骤203b实现。Optionally, in an implementation manner of the embodiment of the present application, the foregoing video editing interface includes a first editing control. The above step 203 may specifically be implemented through the following steps 203a and 203b.
步骤203a、第一电子设备接收用户在视频编辑界面中对第一编辑控件的第二输入。Step 203a, the first electronic device receives a second input from the user on the first editing control in the video editing interface.
可选地,本申请实施例中,上述第二输入可以为用户在第一电子设备对第一编辑控件的长按输入、点击输入或滑动输入等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。可选地,本申请实施例中,上述第一编辑控件可以包括以下至少一项:剪辑控件、裁剪控件、分割控件、删除控件、变速控件、内容添加控件(例如文字添加控件、图片添加控件、视频文件添加控件)等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the present application, the above-mentioned second input may be a long-press input, click input, or slide input of the first editing control by the user on the first electronic device. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application. Optionally, in the embodiment of the present application, the above-mentioned first editing control may include at least one of the following: clipping control, cropping control, split control, deletion control, variable speed control, content addition control (such as text addition control, picture addition control, Add controls to video files), etc. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
步骤203b、第一电子设备响应于第二输入,采用与第一编辑控件对应的第一编辑方式,对目标视频画面进行编辑处理,并控制第二电子设备同步显示目标视频画面的编辑界面。Step 203b: In response to the second input, the first electronic device uses the first editing mode corresponding to the first editing control to edit the target video frame, and controls the second electronic device to synchronously display the editing interface of the target video frame.
本申请实施例中,第一电子设备在对目标视频画面进行编辑处理之后,可以向第二电 子设备发送第三指令,该第三指令中包括目标视频画面的编辑效果信息,以使得第二电子设备根据该第三指令,显示目标视频画面的编辑效果。In the embodiment of the present application, after the first electronic device edits the target video frame, it may send a third instruction to the second electronic device, and the third instruction includes editing effect information of the target video frame, so that the second electronic device The device displays the editing effect of the target video frame according to the third instruction.
可选地,本申请实施例中,上述剪辑控件对应的编辑方式为剪辑处理方式,以对目标视频画面进行剪辑处理;上述裁剪控件对应的编辑方式为裁剪处理方式,以对目标视频画面进行裁剪处理;上述分割控件对应的编辑方式为分割处理方式,以将目标视频画面分割为多个视频片段,从而对该多个视频片段进行编辑处理;上述删除控件对应的编辑方式为删除处理方式,以对目标视频画面进行删除处理;上述变速控件对应的编辑方式为变速处理方式,以调整目标视频画面的播放速度;上述内容添加控件对应的编辑方式为内容添加处理方式,以在目标视频画面中添加内容(例如文字、图片或视频文件等)。Optionally, in the embodiment of the present application, the editing method corresponding to the above-mentioned editing control is an editing processing method, so as to perform editing processing on the target video picture; the editing method corresponding to the above-mentioned cutting control is a cutting processing method, so as to cut the target video picture Processing; the editing method corresponding to the above-mentioned segmentation control is a segmentation processing method, so as to divide the target video screen into multiple video clips, so as to edit the multiple video clips; the editing method corresponding to the above-mentioned deletion control is a deletion processing method. Delete the target video image; the editing method corresponding to the above-mentioned variable speed control is a variable speed processing method to adjust the playback speed of the target video image; the editing method corresponding to the above-mentioned content adding control is a content adding processing method to add Content (such as text, pictures or video files, etc.).
本申请实施例中,用户可以在第一电子设备上对第一编辑控件进行输入,以使得第二电子设备显示第一电子设备对目标视频画面的编辑效果,即本方案通过在一个设备上显示视频编辑界面的同时,以使得用户准确地进行编辑输入的同时,可以在另一个设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果。In this embodiment of the application, the user can input the first editing control on the first electronic device, so that the second electronic device displays the editing effect of the first electronic device on the target video screen, that is, this solution displays At the same time as the video editing interface, so that the user can accurately edit the input and display the effect of video editing on another device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area. Thereby ensuring the display effect of video editing.
可选地,在本申请实施例的另一种实现方式中,在上述步骤201之后,本申请实施例提供的视频编辑方法还包括下述的步骤204,并且上述步骤203具体可以通过下述的步骤203c和步骤203d实现。Optionally, in another implementation of the embodiment of the present application, after the above step 201, the video editing method provided in the embodiment of the present application further includes the following step 204, and the above step 203 can be specifically implemented through the following Step 203c and step 203d are realized.
步骤204、第一电子设备控制第二电子设备在第二电子设备上显示第二编辑控件。Step 204, the first electronic device controls the second electronic device to display the second editing control on the second electronic device.
本申请实施例中,在第一电子设备与第二电子设备连接的情况下,第一电子设备在接收到用户的第一输入之后,可以控制第二电子设备在显示目标视频画面的同时,显示第二编辑控件,以便于用户在第二电子设备上进行编辑输入。In the embodiment of the present application, when the first electronic device is connected to the second electronic device, after receiving the first input from the user, the first electronic device can control the second electronic device to display the target video screen while displaying The second editing control is used to facilitate editing input by the user on the second electronic device.
可选地,本申请实施例中,第二电子设备可以在视频预览界面上,显示第二编辑控件。Optionally, in this embodiment of the present application, the second electronic device may display a second editing control on the video preview interface.
可选地,本申请实施例中,上述第二编辑控件可以包括以下至少一项:剪辑控件、裁剪控件、分割控件、删除控件、变速控件、内容添加控件(例如文字添加控件、图片添加控件、视频文件添加控件)等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in the embodiment of the present application, the above-mentioned second editing control may include at least one of the following: clipping control, cropping control, split control, deletion control, variable speed control, content addition control (such as text addition control, picture addition control, Add controls to video files), etc. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
步骤203c、第一电子设备接收第二电子设备发送的第一指令。Step 203c, the first electronic device receives the first instruction sent by the second electronic device.
本申请实施例中,上述第一指令为第二电子设备根据用户在第二电子设备上对第二编辑控件的第二输入发送的指令,第一指令用于指示第二编辑控件对应的第二编辑方式。In the embodiment of the present application, the above-mentioned first instruction is an instruction sent by the second electronic device according to the user's second input to the second editing control on the second electronic device, and the first instruction is used to indicate the second editing control corresponding to the second editing control. edit mode.
本申请实施例中,在第二电子设备上显示第二编辑控件的情况下,用户可以在第二电子设备上,对第二编辑控件进行第二输入,以使得第二电子设备根据用户的第二输入,向第一电子设备发送第一指令,以向第一电子设备指示一个编辑方式(即第二编辑方式),从而第一电子设备可以采用该编辑方式对目标视频画面进行编辑处理。In this embodiment of the present application, when the second editing control is displayed on the second electronic device, the user can perform a second input on the second editing control on the second electronic device, so that the second electronic device The second input is to send a first instruction to the first electronic device to indicate an editing mode (namely the second editing mode) to the first electronic device, so that the first electronic device can use the editing mode to edit the target video picture.
步骤203d、第一电子设备基于第一指令,采用第二编辑控件对应的第二编辑方式,对目标视频画面进行编辑处理,并控制第二电子设备同步显示目标视频画面的编辑界面。Step 203d, based on the first instruction, the first electronic device uses the second editing method corresponding to the second editing control to edit the target video frame, and controls the second electronic device to synchronously display the editing interface of the target video frame.
本申请实施例中,第一电子设备在接收到第二电子设备发送的第一指令之后,可以采用第一指令指示的编辑方式对目标视频画面进行编辑处理,并向第二电子设备发送第三指令,该第三指令中包括目标视频画面的编辑效果信息,以使得第二电子设备根据该第三指令,显示目标视频画面的编辑效果。In the embodiment of the present application, after receiving the first instruction sent by the second electronic device, the first electronic device can edit the target video picture in the editing mode indicated by the first instruction, and send the third electronic device to the second electronic device. Instructions, the third instruction includes editing effect information of the target video frame, so that the second electronic device displays the editing effect of the target video frame according to the third instruction.
本申请实施例中,用户可以在第二电子设备上对第二编辑控件进行输入,第一电子设备接收第二电子设备发送的第一指令,向第一电子设备指示一个编辑方式,以使得第一电子设备根据编辑方式对目标视频画面进行编辑处理并在第二电子设备上显示编辑效果,即本方案通过用户在两个电子设备上都可以触发第一电子设备执行对应的编辑操作,并在第二电子设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果以及提升了用户编辑操作的多样性。In the embodiment of the present application, the user can input the second editing control on the second electronic device, and the first electronic device receives the first instruction sent by the second electronic device, and indicates an editing method to the first electronic device, so that the second An electronic device edits the target video screen according to the editing method and displays the editing effect on the second electronic device, that is, in this solution, the user can trigger the first electronic device to perform the corresponding editing operation on both electronic devices, and The effect after video editing is displayed on the second electronic device, which avoids the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving the diversity of user editing operations.
本申请实施例提供一种视频编辑方法,第一电子设备可以根据用户的第一输入,在第一电子设备上显示视频编辑界面,并在第二电子设备上显示目标视频画面,从而第一电子设备可以基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并在第二电子设备上显示目标视频画面的编辑效果。本方案中,用户可以通过第一输入,以使得不同设备上显示不同的界面,即第一电子设备上显示视频编辑界面,第二电子设备上显示视频预览界面,从而用户可以准确地进行编辑输入,以使得在第二电子设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果,提升了人机交互体验。An embodiment of the present application provides a video editing method. The first electronic device can display the video editing interface on the first electronic device and display the target video screen on the second electronic device according to the first input of the user, so that the first electronic device The device may edit the target video frame based on the user's second input to the video editing interface, and display the editing effect of the target video frame on the second electronic device. In this solution, the user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user can accurately perform editing input , so that the effect after video editing is displayed on the second electronic device, avoiding the problem of user misoperation caused by the small content displayed in the video editing area, thereby ensuring the display effect of video editing and improving human-computer interaction experience.
可选地,本申请实施例中,上述视频编辑界面中包括多个图像标识,该多个图像标识 为目标视频画面中的多帧图像的标识,上述第二输入包括第一子输入和第二子输入。上述步骤203具体可以通过下述的步骤205和步骤206实现。Optionally, in the embodiment of the present application, the above-mentioned video editing interface includes multiple image identifiers, the multiple image identifiers are the identifiers of multiple frame images in the target video frame, and the above-mentioned second input includes the first sub-input and the second sub-input. sub-input. The above step 203 can be specifically implemented through the following steps 205 and 206 .
步骤205、第一电子设备基于用户的第一子输入,从目标视频画面中确定待编辑处理的N帧图像。Step 205, the first electronic device determines N frames of images to be edited from the target video frame based on the first sub-input of the user.
本申请实施例中,上述第一子输入为用户在视频编辑界面中,对多个图像标识中的N个图像标识的输入,该N个图像标识中的每个图像标识分别对应N帧图像中的一帧图像。In the embodiment of the present application, the above-mentioned first sub-input is the user's input to N image identifiers among the plurality of image identifiers in the video editing interface, and each image identifier in the N image identifiers corresponds to the N image identifiers in the N frames of images respectively. A frame of image.
需要说明的是,上述N个图像标识可以为多个图像标识中连续的N个图像标识,或者也可以为多个图像标识中非连续的N个图像标识。It should be noted that the above N image identifiers may be consecutive N image identifiers among the plurality of image identifiers, or may be non-continuous N image identifiers among the plurality of image identifiers.
可选地,本申请实施例中,上述第一子输入为用户对N个图像标识的点击输入、长按输入或滑动输入等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the present application, the above-mentioned first sub-input is a user's click input, long press input, or slide input on the N image identifiers. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
可选地,本申请实施例中,第一电子设备根据第一子输入确定多个待编辑处理的图像之后,可以在第一电子设备的屏幕上显示提示信息,以向用户提示选中的待处理图像。Optionally, in this embodiment of the present application, after the first electronic device determines a plurality of images to be edited according to the first sub-input, it may display prompt information on the screen of the first electronic device to remind the user of the selected images to be processed. image.
步骤206、第一电子设备基于用户的第二子输入,对N帧图像进行编辑处理,并控制第二电子设备显示N帧图像的编辑效果。Step 206: The first electronic device performs editing processing on the N frames of images based on the second sub-input of the user, and controls the second electronic device to display the editing effect of the N frames of images.
本申请实施例中,上述第二子输入为用户在视频编辑界面中的编辑输入(例如对第一编辑控件的输入),或在第二电子设备上的编辑输入(例如对第二编辑控件的输入)。In the embodiment of the present application, the above-mentioned second sub-input is an editing input of the user in the video editing interface (such as an input to the first editing control), or an editing input on the second electronic device (such as an input to the second editing control). enter).
可选地,本申请实施例中,上述第二子输入为用户对编辑控件(即第一编辑控件或第二编辑控件)的点击输入、长按输入或滑动输入等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the present application, the above-mentioned second sub-input is a user's click input, long-press input, or slide input on the edit control (ie, the first edit control or the second edit control). The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
本申请实施例中,用户可以通过第一子输入灵活地选择需求编辑处理的至少一帧画面(例如N帧图像),然后再通过第二子输入,使得第一电子设备可以对用户选择的N帧图像进行编辑操作,以在第二电子设备上显示该N帧图像的编辑效果,如此在避免了用户的误操作的同时,提升了视频编辑的灵活性以及视频编辑效果的多样性。In the embodiment of the present application, the user can flexibly select at least one frame of pictures (for example, N frames of images) that needs to be edited and processed through the first sub-input, and then through the second sub-input, the first electronic device can select the N frames selected by the user. The frame images are edited to display the editing effects of the N frames of images on the second electronic device, so that while avoiding user misoperations, the flexibility of video editing and the diversity of video editing effects are improved.
可选地,本申请实施例中,上述步骤203中的“对目标视频画面进行编辑处理”,具体可以通过下述步骤301至步骤303中的任一项实现。Optionally, in the embodiment of the present application, "editing the target video frame" in the above step 203 may be specifically implemented through any one of the following steps 301 to 303.
步骤301、第一电子设备采用目标编辑方式,对目标视频画面进行内容添加处理。Step 301, the first electronic device adopts a target editing method to add content to a target video image.
本申请实施例中,上述目标编辑方式包括以下至少一项:图片添加方式、视频添加方 式、文字添加方式、滤镜添加方式等。In the embodiment of the present application, the above-mentioned target editing method includes at least one of the following: image adding method, video adding method, text adding method, filter adding method, etc.
可选地,本申请实施例中,第一电子设备对目标视频画面进行内容添加处理时,添加的内容可以为第一电子设备中的,也可以为第二电子设备向第一电子设备发送的。Optionally, in this embodiment of the application, when the first electronic device adds content to the target video frame, the added content may be in the first electronic device, or may be sent by the second electronic device to the first electronic device. .
可以理解,在第二输入为用户在第一电子设备上的输入的情况下,添加的内容为第一电子设备中的;在第二输入为用户在第二电子设备上的输入的情况下,添加的内容为第二电子设备向第一电子设备发送的。It can be understood that when the second input is the user's input on the first electronic device, the added content is in the first electronic device; when the second input is the user's input on the second electronic device, The added content is sent by the second electronic device to the first electronic device.
示例性的,如图2中的(A),用户点击手机轨道区域右侧的+号按钮,以便于进行素材添加。进入相册选择素材时,如若只选择了一个视频(图片)文件,则默认添加到当前视频帧之后;如若选择了多个视频(图片)文件,则在视频编辑界面新增一个素材库图标,用户点击图标,用户选择的多个文件以缩略图形式展开显示。长按对应文件,轨道区变成一个个缩略图,通过拖拽新文件到缩略图中间的方式,添加到相邻两个视频帧之间。Exemplarily, as shown in (A) in FIG. 2 , the user clicks the + sign button on the right side of the track area of the mobile phone, so as to add material. When entering the album to select materials, if only one video (picture) file is selected, it will be added after the current video frame by default; if multiple video (picture) files are selected, a new material library icon will be added in the video editing interface, and the user Click the icon, and multiple files selected by the user will be expanded and displayed in the form of thumbnails. Long press the corresponding file, the track area will turn into a thumbnail, by dragging a new file to the middle of the thumbnail, it will be added between two adjacent video frames.
如图2中的(B),平板电脑同样显示+号按钮,点击可添加平板电脑中的视频(图片)文件。单选素材的处理方式与手机端一致,当多选素材时,视频(图片)文件添加到手机的素材库中,后续选择添加位置的操作同手机端,便于资源的统一管理。As shown in (B) in Figure 2, the tablet computer also displays a + sign button, which can be clicked to add a video (picture) file in the tablet computer. The processing method of the single-selection material is the same as that of the mobile terminal. When multiple materials are selected, the video (picture) file is added to the material library of the mobile phone, and the subsequent operation of selecting the location to add is the same as that of the mobile terminal, which facilitates the unified management of resources.
示例性的,针对于文字添加功能,当进入文字编辑时,有两种方式可实现文字的输入:在操作区中选择键盘Tab,通过软键盘键入想要添加或编辑的文字。在视频预览区通过手写或者结合手写笔,直接“写出”想要添加或编辑的文字,文字同步显示在手机的视频编辑界面的文字输入框以及平板电脑的视频预览界面中。Exemplarily, for the text adding function, when entering the text editing, there are two ways to realize the text input: select the keyboard Tab in the operation area, and type the text to be added or edited through the soft keyboard. In the video preview area, directly "write" the text you want to add or edit by handwriting or combining with a stylus, and the text will be synchronously displayed in the text input box of the video editing interface of the mobile phone and the video preview interface of the tablet computer.
步骤302、第一电子设备对目标视频画面中的至少一帧图像进行删除处理。Step 302, the first electronic device deletes at least one frame of image in the target video frame.
可选地,本申请实施例中,通过用户目标视频画面中的至少一帧图像的手势输入,以触发第一电子设备删除至少一帧图像,或者,通过用户对第一编辑控件的点击输入,以触发第一电子设备删除至少一帧图像。Optionally, in this embodiment of the present application, the first electronic device is triggered to delete at least one frame of image through the user's gesture input of at least one frame of image in the target video screen, or, through the user's click input on the first editing control, to trigger the first electronic device to delete at least one frame of image.
可选地,本申请实施例中,在第一电子设备删除至少一帧图像之后,第一电子设备可以调整其他视频图像的显示位置,例如依次将剩余视频图像向前补位。Optionally, in this embodiment of the present application, after the first electronic device deletes at least one frame of image, the first electronic device may adjust the display positions of other video images, for example, sequentially fill in the remaining video images forward.
示例性的,针对剪辑中的分割视频帧操作,有两种实现方式:在视频编辑界面中点击分割按钮,或者,当此时位于操作主页或剪辑功能时,通过在平板电脑的视频预览界面从左上向右下划一笔的方式实现对当前视频帧的分割。针对基础剪辑中的删除视频帧功能, 有两种实现方式:在操作区点击删除按钮,或者,当此时位于操作主页或剪辑功能时,通过在平板电脑的视频预览界面打X的方式实现对当前视频帧的删除。Exemplarily, for the operation of splitting video frames in the clip, there are two ways to realize it: click the split button in the video editing interface, or, when you are on the operation home page or the clipping function at this time, through the video preview interface on the tablet computer Swipe a stroke from the upper left to the lower right to realize the segmentation of the current video frame. For the function of deleting video frames in the basic editing, there are two ways to realize it: click the delete button in the operation area, or, when you are on the operation homepage or editing function, click X on the video preview interface of the tablet computer to realize the deletion. Deletion of the current video frame.
步骤303、第一电子设备对目标视频画面进行显示参数调整处理。Step 303, the first electronic device performs display parameter adjustment processing on the target video image.
可选地,本申请实施例中,通过用户在第一电子设备上对第一编辑控件输入,以触发第一电子设备调节目标视频画面的显示参数,或者,通过用户在第二电子设备上对第二编辑控件的输入,以触发第一电子设备调节目标视频画面的显示参数。Optionally, in this embodiment of the present application, the user inputs the first editing control on the first electronic device to trigger the first electronic device to adjust the display parameters of the target video screen, or the user controls the display parameters of the target video screen on the second electronic device. The input of the second editing control is used to trigger the first electronic device to adjust the display parameters of the target video image.
可选地,本申请实施例中,上述显示参数可以为以下任一项:视频画面的颜色深度调节、视频画面的滤镜参数调节、视频画面的美颜参数调节等。具体的可以根据实际使用需求确定,本申请实施例中不做限制。Optionally, in this embodiment of the present application, the above display parameters may be any of the following: adjustment of color depth of video images, adjustment of filter parameters of video images, adjustment of beautification parameters of video images, and the like. The details can be determined according to actual usage requirements, and are not limited in this embodiment of the application.
示例性的,针对显示参数调整功能,如滤镜、美颜等,当选中一个效果后,对其显示参数的调节,可采用如下两种方式去实现:滑动手机的视频编辑界面的强度调节杆,同时平板电脑的视频预览界面的目标视频画面实时随之变化,或者,在平板电脑的视频预览界面上下滑动实现显示参数的变化,类似于视频播放时调节音量的操作。Exemplarily, for display parameter adjustment functions, such as filter, beauty, etc., when an effect is selected, the adjustment of its display parameters can be realized in the following two ways: slide the intensity adjustment lever on the video editing interface of the mobile phone , and at the same time, the target video image on the video preview interface of the tablet computer changes in real time, or the display parameters are changed by sliding up and down on the video preview interface of the tablet computer, which is similar to the operation of adjusting the volume during video playback.
示例性的,如图3所示,在手机的视频编辑界面上显示参数调节进度条,用户通过对参数调节进度条的滑动输入,触发手机改变目标视频画面的颜色深度,并在平板电脑上显示编辑效果。Exemplarily, as shown in Figure 3, the parameter adjustment progress bar is displayed on the video editing interface of the mobile phone, and the user triggers the mobile phone to change the color depth of the target video image by sliding the input on the parameter adjustment progress bar, and displays it on the tablet computer. Editing effects.
本申请实施例中,用户可以在第一电子设备或者第二电子设备上对目标视频画面进行编辑输入,然后第一电子设备根据编辑输入,在第二电子设备上显示编辑效果,如此保证了视频编辑的视频显示效果以及提升了编辑视频的多样性并且提升了人机交互体验。In the embodiment of the present application, the user can edit and input the target video screen on the first electronic device or the second electronic device, and then the first electronic device displays the editing effect on the second electronic device according to the editing input, thus ensuring the The display effect of the edited video improves the diversity of the edited video and enhances the human-computer interaction experience.
需要说明的是,本申请实施例提供的视频编辑方法,执行主体可以为视频编辑装置,或者电子设备,或者该视频编辑装置中的用于执行视频编辑方法的控制模块。本申请实施例中以视频编辑装置执行视频编辑的方法为例,说明本申请实施例提供的视频编辑的装置。It should be noted that, the video editing method provided in the embodiment of the present application may be executed by a video editing device, or an electronic device, or a control module in the video editing device for executing the video editing method. In this embodiment of the present application, the method for performing video editing by a video editing device is taken as an example to describe the video editing device provided in the embodiment of the present application.
图4示出了本申请实施例中涉及的视频编辑装置的一种可能的结构示意图。如图4所示,该视频编辑装置70可以包括:接收模块71、显示模块72、控制模块73和处理模块74。Fig. 4 shows a possible structural diagram of a video editing device involved in the embodiment of the present application. As shown in FIG. 4 , the video editing device 70 may include: a receiving module 71 , a display module 72 , a control module 73 and a processing module 74 .
其中,接收模块71,用于在第一电子设备显示目标视频画面的情况下,接收用户的第 一输入。显示模块72,用于响应于接收模块71接收的第一输入,显示视频编辑界面。控制模块73,用于控制第二电子设备显示目标视频画面。处理模块74,用于基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理。控制模块73,还用于控制第二电子设备同步显示目标视频画面编辑界面。Wherein, the receiving module 71 is configured to receive the user's first input when the first electronic device displays the target video image. The display module 72 is configured to display a video editing interface in response to the first input received by the receiving module 71 . The control module 73 is configured to control the second electronic device to display the target video image. The processing module 74 is configured to edit the target video frame based on the user's second input to the video editing interface. The control module 73 is further configured to control the second electronic device to synchronously display the target video image editing interface.
需要说明的是,视频编辑装置70可以为第一电子设备,也可以为第一电子设备中的部件、集成电路或芯片等。It should be noted that the video editing apparatus 70 may be the first electronic device, or may be a component, an integrated circuit, or a chip in the first electronic device.
在一种可能的实现方式中,上述视频编辑界面中包括第一编辑控件,上述处理模块74,具体用于接收用户在视频编辑界面中对第一编辑控件的第二输入,并响应于第二输入,采用与第一编辑控件对应的第一编辑方式,对目标视频画面进行编辑处理。In a possible implementation manner, the above-mentioned video editing interface includes a first editing control, and the above-mentioned processing module 74 is specifically configured to receive a second input from the user on the first editing control in the video editing interface, and respond to the second Inputting, using the first editing mode corresponding to the first editing control to edit the target video image.
在一种可能的实现方式中,显示模块72,还用于在接收模块71接收用户的第一输入之后控制第二电子设备在该第二电子设备上显示第二编辑控件。处理模块74,具体用于接收第二电子设备发送的第一指令,该第一指令为第二电子设备根据用户在第二电子设备上对第二编辑控件的第二输入发送的指令并基于第一指令,采用第二编辑控件对应的第二编辑方式,对目标视频画面进行编辑处理。In a possible implementation manner, the display module 72 is further configured to control the second electronic device to display the second edit control on the second electronic device after the receiving module 71 receives the first input from the user. The processing module 74 is specifically configured to receive the first instruction sent by the second electronic device, the first instruction is an instruction sent by the second electronic device according to the second input of the user on the second edit control on the second electronic device and based on the first instruction An instruction, using the second editing method corresponding to the second editing control to edit the target video image.
在一种可能的实现方式中,视频编辑界面中包括多个图像标识,该多个图像标识为目标视频画面中的多帧图像的标识;上述第二输入包括第一子输入和第二子输入。处理模块74,具体用于基于用户的第一子输入,从目标视频画面中确定待编辑处理的N帧图像,第一子输入为用户在视频编辑界面中,对多个图像标识中的N个图像标识的输入,N个图像标识中的每个图像标识分别对应N帧图像中的一帧图像,并基于用户的第二子输入,对N帧图像进行编辑处理。控制模块73,还用于控制第二电子设备显示N帧图像的编辑效果,第二子输入为用户在视频编辑界面中的编辑输入,或在第二电子设备上的编辑输入。In a possible implementation manner, the video editing interface includes multiple image identifiers, the multiple image identifiers are identifiers of multiple frame images in the target video frame; the second input includes the first sub-input and the second sub-input . The processing module 74 is specifically configured to determine N frames of images to be edited from the target video screen based on the first sub-input of the user. The first sub-input is that the user identifies N of the multiple images in the video editing interface. For the input of the image identification, each image identification of the N image identifications corresponds to one frame of images in the N frames of images, and editing processing is performed on the N frames of images based on the second sub-input of the user. The control module 73 is also used to control the second electronic device to display the editing effect of N frames of images, and the second sub-input is the user's editing input in the video editing interface, or the editing input on the second electronic device.
在一种可能的实现方式中,上述处理模块74,具体用于采用目标编辑方式,对目标视频画面进行内容添加处理,目标编辑方式包括以下至少一项:图片添加方式、视频添加方式、文字添加方式、滤镜添加方式;或者,对目标视频画面中的至少一帧图像进行删除处理;或者,对目标视频画面进行显示参数调整处理。In a possible implementation manner, the above-mentioned processing module 74 is specifically used to add content to the target video screen in a target editing mode, and the target editing mode includes at least one of the following: picture adding mode, video adding mode, text adding method, filter adding method; or, delete at least one frame of image in the target video frame; or, perform display parameter adjustment processing on the target video frame.
本申请实施例提供一种视频编辑装置,用户可以通过第一输入,以使得不同设备上显示不同的界面,即视频编辑装置上显示视频编辑界面,第二电子设备上显示视频预览界面, 从而用户可以准确地进行编辑输入,以使得在第二电子设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果,提升了人机交互体验。An embodiment of the present application provides a video editing device. The user can display different interfaces on different devices through the first input, that is, the video editing device displays the video editing interface, and the second electronic device displays the video preview interface, so that the user Editing input can be accurately performed, so that the effect after video editing is displayed on the second electronic device, and the problem of user misoperation caused by the small content displayed in the video editing area is avoided, thereby ensuring the display effect of video editing , to enhance the human-computer interaction experience.
本申请实施例中的视频编辑装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video editing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in an electronic device. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a 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). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的视频编辑装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video editing device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的视频编辑装置能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The video editing device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, so to avoid repetition, details are not repeated here.
可选地,如图5所示,本申请实施例还提供一种电子设备90,包括处理器91,存储器92,存储在存储器92上并可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 5 , the embodiment of the present application also provides an electronic device 90, including a processor 91, a memory 92, and programs or instructions stored in the memory 92 and operable on the processor 91, When the program or instruction is executed by the processor 91, the various processes of the above-mentioned method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。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.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管 理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元107,用于在第一电子设备显示目标视频画面的情况下,接收用户的第一输入。显示单元106,用于响应于第一输入,显示视频编辑界面。处理器110,用于控制第二电子设备显示目标视频画面;并基于用户对视频编辑界面的第二输入,对目标视频画面进行编辑处理,并控制对第二电子设备同步显示目标视频画面的编辑界面。Wherein, the user input unit 107 is configured to receive a first input from a user when the first electronic device displays a target video image. The display unit 106 is configured to display a video editing interface in response to the first input. The processor 110 is configured to control the second electronic device to display the target video picture; and based on the user's second input to the video editing interface, edit the target video picture, and control the second electronic device to synchronously display the editing of the target video picture interface.
本申请实施例提供一种电子设备,用户可以通过第一输入,以使得不同设备上显示不同的界面,即第一电子设备上显示视频编辑界面,第二电子设备上显示视频预览界面,从而用户可以准确地进行编辑输入,以使得在第二电子设备上显示视频编辑后的效果,避免了视频编辑区域中显示的内容较小,导致的用户误操作的问题,从而保证了视频编辑的显示效果,提升了人机交互体验。An embodiment of the present application provides an electronic device. The user can display different interfaces on different devices through the first input, that is, the video editing interface is displayed on the first electronic device, and the video preview interface is displayed on the second electronic device, so that the user Editing input can be accurately performed, so that the effect after video editing is displayed on the second electronic device, and the problem of user misoperation caused by the small content displayed in the video editing area is avoided, thereby ensuring the display effect of video editing , to enhance the human-computer interaction experience.
可选地,本申请实施例中,视频编辑界面中包括第一编辑控件。处理器110,具体用于接收用户在视频编辑界面中对第一编辑控件的第二输入并响应于第二输入,采用与第一编辑控件对应的第一编辑方式,对目标视频画面进行编辑处理。Optionally, in this embodiment of the present application, the video editing interface includes a first editing control. The processor 110 is specifically configured to receive the user's second input to the first editing control in the video editing interface and respond to the second input, and adopt the first editing mode corresponding to the first editing control to edit the target video picture .
可选地,本申请实施例中,显示单元106,还用于在接收用户的第一输入之后控制第二电子设备在第二电子设备上显示第二编辑控件。处理器110,具体用于接收第二电子设备发送的第一指令,该第一指令为第二电子设备根据用户在第二电子设备上对第二编辑控件的第二输入发送的指令并基于第一指令,采用第二编辑控件对应的第二编辑方式,对目标视频画面进行编辑处理。Optionally, in this embodiment of the present application, the display unit 106 is further configured to control the second electronic device to display the second editing control on the second electronic device after receiving the first input from the user. The processor 110 is specifically configured to receive a first instruction sent by the second electronic device, where the first instruction is an instruction sent by the second electronic device according to the user's second input to the second edit control on the second electronic device and based on the first instruction. An instruction, using the second editing method corresponding to the second editing control to edit the target video image.
可选地,本申请实施例中,视频编辑界面中包括多个图像标识,多个图像标识为目标视频画面中的多帧图像的标识;第二输入包括第一子输入和第二子输入。处理器110,具体用于基于用户的第一子输入,从目标视频画面中确定待编辑处理的N帧图像,第一子输入为用户在视频编辑界面中,对多个图像标识中的N个图像标识的输入,N个图像标识中的每个图像标识分别对应N帧图像中的一帧图像并基于用户的第二子输入,对N帧图像进行编辑处理,并控制第二电子设备显示N帧图像的编辑效果,第二子输入为用户在视频编辑界面中的编辑输入,或在第二电子设备上的编辑输入。Optionally, in this embodiment of the present application, the video editing interface includes multiple image identifiers, and the multiple image identifiers are identifiers of multiple frame images in the target video frame; the second input includes a first sub-input and a second sub-input. The processor 110 is specifically configured to determine N frames of images to be edited from the target video screen based on the first sub-input of the user. The first sub-input is that the user identifies N of the multiple images in the video editing interface. The input of the image identification, each of the N image identifications corresponds to one frame of the N frame of images, and based on the second sub-input of the user, the N frames of images are edited, and the second electronic device is controlled to display N For the editing effect of the frame image, the second sub-input is the user's editing input in the video editing interface, or the editing input on the second electronic device.
可选地,本申请实施例中,处理器110,具体用于采用目标编辑方式,对目标视频画面进行内容添加处理,目标编辑方式包括以下至少一项:图片添加方式、视频添加方式、文字添加方式、滤镜添加方式;或者,对目标视频画面中的至少一帧图像进行删除处理;或者,对目标视频画面进行显示参数调整处理。Optionally, in the embodiment of the present application, the processor 110 is specifically configured to add content to the target video screen in a target editing mode, and the target editing mode includes at least one of the following: picture adding mode, video adding mode, text adding method, filter adding method; or, delete at least one frame of image in the target video frame; or, perform display parameter adjustment processing on the target video frame.
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in the embodiment of the present application, the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且 能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, 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 method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种视频编辑方法,所述方法包括:A video editing method, the method comprising:
    在第一电子设备显示目标视频画面的情况下,接收用户的第一输入;When the first electronic device displays the target video image, receiving a first input from the user;
    响应于所述第一输入,显示视频编辑界面,并控制第二电子设备显示所述目标视频画面;In response to the first input, display a video editing interface, and control the second electronic device to display the target video image;
    基于用户对所述视频编辑界面的第二输入,对所述目标视频画面进行编辑处理,并控制所述第二电子设备同步显示所述目标视频画面的编辑界面。Based on the user's second input to the video editing interface, edit the target video frame, and control the second electronic device to synchronously display the editing interface of the target video frame.
  2. 根据权利要求1所述的方法,其中,所述视频编辑界面中包括第一编辑控件;The method according to claim 1, wherein the video editing interface includes a first editing control;
    所述基于用户对所述视频编辑界面的第二输入,对所述目标视频画面进行编辑处理,包括:The editing process of the target video picture based on the second input of the user to the video editing interface includes:
    接收用户在所述视频编辑界面中对所述第一编辑控件的第二输入;receiving a second input from a user on the first editing control in the video editing interface;
    响应于所述第二输入,采用与所述第一编辑控件对应的第一编辑方式,对所述目标视频画面进行编辑处理。In response to the second input, the target video frame is edited using a first editing mode corresponding to the first editing control.
  3. 根据权利要求1所述的方法,其中,所述接收用户的第一输入之后,所述方法还包括:The method according to claim 1, wherein, after receiving the user's first input, the method further comprises:
    控制所述第二电子设备在所述第二电子设备上显示第二编辑控件;controlling the second electronic device to display a second editing control on the second electronic device;
    所述基于用户对所述视频编辑界面的第二输入,对所述目标视频画面进行编辑处理,包括:The editing process of the target video picture based on the second input of the user to the video editing interface includes:
    接收所述第二电子设备发送的第一指令,所述第一指令为所述第二电子设备根据用户在所述第二电子设备上对所述第二编辑控件的第二输入发送的指令;receiving a first instruction sent by the second electronic device, where the first instruction is an instruction sent by the second electronic device according to a second input by the user on the second edit control on the second electronic device;
    基于所述第一指令,采用所述第二编辑控件对应的第二编辑方式,对所述目标视频画面进行编辑处理。Based on the first instruction, the target video image is edited using a second editing mode corresponding to the second editing control.
  4. 根据权利要求1至3中任一项所述的方法,其中,所述视频编辑界面中包括多个图像标识,所述多个图像标识为所述目标视频画面中的多帧图像的标识;所述第二输入包括第一子输入和第二子输入;The method according to any one of claims 1 to 3, wherein the video editing interface includes a plurality of image identifications, and the plurality of image identifications are identifications of multi-frame images in the target video frame; The second input includes a first sub-input and a second sub-input;
    所述基于用户对所述视频编辑界面的第二输入,对所述目标视频画面进行编辑处理,并控制所述第二电子设备同步显示所述目标视频画面的编辑界面,包括:The editing process of the target video picture based on the user's second input to the video editing interface, and controlling the second electronic device to synchronously display the editing interface of the target video picture includes:
    基于用户的第一子输入,从所述目标视频画面中确定待编辑处理的N帧图像,所述第一子输入为用户在所述视频编辑界面中,对所述多个图像标识中的N个图像标识的输入,所述N个图像标识中的每个图像标识分别对应所述N帧图像中的一帧图像;Based on the first sub-input of the user, N frames of images to be edited are determined from the target video picture, and the first sub-input is that the user identifies N of the multiple images in the video editing interface. The input of image identifications, each image identification in the N image identifications corresponds to a frame image in the N frame images respectively;
    基于用户的第二子输入,对所述N帧图像进行编辑处理,并控制所述第二电子设备显示的所述N帧图像的编辑界面,所述第二子输入为用户在所述视频编辑界面中的编辑输入,或在所述第二电子设备上的编辑输入。Based on the second sub-input of the user, the N frames of images are edited, and the editing interface of the N frames of images displayed by the second electronic device is controlled, and the second sub-input is that the user edits the video Editing input in the interface, or editing input on the second electronic device.
  5. 根据权利要求1所述的方法,其中,所述对所述目标视频画面进行编辑处理,包括:The method according to claim 1, wherein said editing the target video picture comprises:
    采用目标编辑方式,对所述目标视频画面进行内容添加处理,所述目标编辑方式包括以下至少一项:图片添加方式、视频添加方式、文字添加方式、滤镜添加方式;Using a target editing method to add content to the target video screen, the target editing method includes at least one of the following: image adding method, video adding method, text adding method, filter adding method;
    或者,or,
    对所述目标视频画面中的至少一帧图像进行删除处理;Perform deletion processing on at least one frame of image in the target video frame;
    或者,or,
    对所述目标视频画面进行显示参数调整处理。A display parameter adjustment process is performed on the target video picture.
  6. 一种视频编辑装置,所述视频编辑装置包括:接收模块、显示模块、控制模块和处理模块;A video editing device, comprising: a receiving module, a display module, a control module and a processing module;
    所述接收模块,用于在第一电子设备显示目标视频画面的情况下,接收用户的第一输入;The receiving module is configured to receive a first input from a user when the first electronic device displays a target video image;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示视频编辑界面;The display module is configured to display a video editing interface in response to the first input received by the receiving module;
    所述控制模块,用于控制第二电子设备显示所述目标视频画面;The control module is configured to control the second electronic device to display the target video image;
    所述处理模块,用于基于用户对所述视频编辑界面的第二输入,对所述目标视频画面进行编辑处理;The processing module is configured to edit the target video frame based on the user's second input to the video editing interface;
    所述控制模块,还用于控制所述第二电子设备同步显示所述目标视频画面的编辑界面。The control module is further configured to control the second electronic device to synchronously display the editing interface of the target video frame.
  7. 根据权利要求6所述的装置,其中,所述视频编辑界面中包括第一编辑控件;The device according to claim 6, wherein the video editing interface includes a first editing control;
    所述处理模块,具体用于接收用户在所述视频编辑界面中对所述第一编辑控件的 第二输入;并响应于所述第二输入,采用与所述第一编辑控件对应的第一编辑方式,对所述目标视频画面进行编辑处理。The processing module is specifically configured to receive a second input from the user on the first editing control in the video editing interface; and respond to the second input, using the first editing control corresponding to the first editing control. In the editing mode, the target video frame is edited.
  8. 根据权利要求6所述的装置,其中,所述显示模块,还用于所述接收模块接收用户的第一输入之后控制所述第二电子设备在所述第二电子设备上显示第二编辑控件;The device according to claim 6, wherein the display module is further configured to control the second electronic device to display a second editing control on the second electronic device after the receiving module receives the user's first input ;
    所述处理模块,具体用于接收所述第二电子设备发送的第一指令,所述第一指令为所述第二电子设备根据用户在所述第二电子设备上对所述第二编辑控件的第二输入发送的指令,并基于所述第一指令,采用所述第二编辑控件对应的第二编辑方式,对所述目标视频画面进行编辑处理。The processing module is specifically configured to receive a first instruction sent by the second electronic device, the first instruction is the second electronic device according to the user's operation of the second editing control on the second electronic device. The instruction sent by the second input, and based on the first instruction, edit the target video frame by using the second editing mode corresponding to the second editing control.
  9. 根据权利要求6至8中任一项所述的装置,其中,所述视频编辑界面中包括多个图像标识,所述多个图像标识为所述目标视频画面中的多帧图像的标识;所述第二输入包括第一子输入和第二子输入;The device according to any one of claims 6 to 8, wherein the video editing interface includes a plurality of image identifications, and the plurality of image identifications are identifications of multiple frame images in the target video frame; The second input includes a first sub-input and a second sub-input;
    所述处理模块,具体用于基于用户的第一子输入,从所述目标视频画面中确定待编辑处理的N帧图像,所述第一子输入为用户在所述视频编辑界面中,对所述多个图像标识中的N个图像标识的输入,所述N个图像标识中的每个图像标识分别对应所述N帧图像中的一帧图像;并基于用户的第二子输入,对所述N帧图像进行编辑处理;The processing module is specifically configured to determine N frames of images to be edited from the target video screen based on the first sub-input of the user, the first sub-input is the user's input to the video in the video editing interface Input of N image identifiers among the plurality of image identifiers, each image identifier of the N image identifiers corresponds to one frame of images in the N frames of images; and based on the second sub-input of the user, for all The above N frames of images are edited;
    所述控制模块,还用于控制所述第二电子设备显示所述N帧图像的编辑界面,所述第二子输入为用户在所述视频编辑界面中的编辑输入,或在所述第二电子设备上的编辑输入。The control module is further configured to control the second electronic device to display an editing interface of the N frames of images, and the second sub-input is an editing input of the user in the video editing interface, or in the second sub-input Editing input on electronic devices.
  10. 根据权利要求6所述的装置,其中,所述处理模块,具体用于采用目标编辑方式,对所述目标视频画面进行内容添加处理,所述目标编辑方式包括以下至少一项:图片添加方式、视频添加方式、文字添加方式、滤镜添加方式;The device according to claim 6, wherein the processing module is specifically configured to add content to the target video screen in a target editing mode, and the target editing mode includes at least one of the following: picture adding mode, Video adding method, text adding method, filter adding method;
    或者,or,
    对所述目标视频画面中的至少一帧图像进行删除处理;Perform deletion processing on at least one frame of image in the target video frame;
    或者,or,
    对所述目标视频画面进行显示参数调整处理。A display parameter adjustment process is performed on the target video picture.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理 器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的视频编辑方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 5 are realized The step of the video editing method described in any one.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的视频编辑方法的步骤。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 editing method according to any one of claims 1 to 5 are realized.
  13. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的视频编辑方法方法。A computer program product, the program product is executed by at least one processor to implement the video editing method according to any one of claims 1 to 5.
  14. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的视频编辑方法方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the video as described in any one of claims 1 to 5 Edit method method.
  15. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至5中任一项所述的视频编辑方法方法。An electronic device, comprising the electronic device configured to execute the video editing method according to any one of claims 1 to 5.
PCT/CN2022/115806 2021-08-31 2022-08-30 Method and apparatus for video editing, and electronic device WO2023030306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111017114.3A CN113891127A (en) 2021-08-31 2021-08-31 Video editing method and device and electronic equipment
CN202111017114.3 2021-08-31

Publications (1)

Publication Number Publication Date
WO2023030306A1 true WO2023030306A1 (en) 2023-03-09

Family

ID=79011520

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/115806 WO2023030306A1 (en) 2021-08-31 2022-08-30 Method and apparatus for video editing, and electronic device

Country Status (2)

Country Link
CN (1) CN113891127A (en)
WO (1) WO2023030306A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891127A (en) * 2021-08-31 2022-01-04 维沃移动通信有限公司 Video editing method and device and electronic equipment
CN114845171A (en) * 2022-03-21 2022-08-02 维沃移动通信有限公司 Video editing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247726A1 (en) * 2007-04-04 2008-10-09 Nhn Corporation Video editor and method of editing videos
US20170171101A1 (en) * 2015-12-09 2017-06-15 Industrial Technology Research Institute Multimedia content cross screen synchronization apparatus and method, and display device and server
CN112394895A (en) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 Cross-equipment display method and device of picture and electronic equipment
CN112968991A (en) * 2019-06-20 2021-06-15 华为技术有限公司 Input method, electronic equipment and screen projection system
CN113099309A (en) * 2021-03-30 2021-07-09 上海哔哩哔哩科技有限公司 Video processing method and device
CN113891127A (en) * 2021-08-31 2022-01-04 维沃移动通信有限公司 Video editing method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629252B (en) * 2020-06-10 2022-03-25 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN112860163B (en) * 2021-01-21 2022-11-11 维沃移动通信(深圳)有限公司 Image editing method and device
CN112887794B (en) * 2021-01-26 2023-07-18 维沃移动通信有限公司 Video editing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247726A1 (en) * 2007-04-04 2008-10-09 Nhn Corporation Video editor and method of editing videos
US20170171101A1 (en) * 2015-12-09 2017-06-15 Industrial Technology Research Institute Multimedia content cross screen synchronization apparatus and method, and display device and server
CN112968991A (en) * 2019-06-20 2021-06-15 华为技术有限公司 Input method, electronic equipment and screen projection system
CN112394895A (en) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 Cross-equipment display method and device of picture and electronic equipment
CN113099309A (en) * 2021-03-30 2021-07-09 上海哔哩哔哩科技有限公司 Video processing method and device
CN113891127A (en) * 2021-08-31 2022-01-04 维沃移动通信有限公司 Video editing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113891127A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2023030306A1 (en) Method and apparatus for video editing, and electronic device
CN108334371B (en) Method and device for editing object
CN103716712A (en) Video processing method based on mobile terminal
WO2019120013A1 (en) Video editing method and apparatus, and smart mobile terminal
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN112099707A (en) Display method and device and electronic equipment
WO2023046068A1 (en) File processing method and apparatus
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
WO2023061414A1 (en) File generation method and apparatus, and electronic device
WO2023045837A1 (en) Desktop editing method and electronic device
WO2022262721A1 (en) Information interaction method and apparatus, and electronic device
CN112836086A (en) Video processing method and device and electronic equipment
WO2022068803A1 (en) File processing method and apparatus, and electronic device
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
CN112698762B (en) Icon display method and device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN111679772B (en) Screen recording method and system, multi-screen device and readable storage medium
WO2023016476A1 (en) Screen capture method and device
WO2023179539A1 (en) Video editing method and apparatus, and electronic device
WO2023025305A1 (en) Application icon management method and apparatus, and electronic device
WO2023045923A1 (en) Text editing method and apparatus, and electronic device
WO2023072083A1 (en) File processing method, and electronic device
WO2023284639A1 (en) Display control method and apparatus
WO2023284640A1 (en) Picture processing method and electronic device

Legal Events

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

Ref document number: 22863441

Country of ref document: EP

Kind code of ref document: A1