CN114302009A - Video processing method, video processing device, electronic equipment and medium - Google Patents

Video processing method, video processing device, electronic equipment and medium Download PDF

Info

Publication number
CN114302009A
CN114302009A CN202111478316.8A CN202111478316A CN114302009A CN 114302009 A CN114302009 A CN 114302009A CN 202111478316 A CN202111478316 A CN 202111478316A CN 114302009 A CN114302009 A CN 114302009A
Authority
CN
China
Prior art keywords
video
edited
image
target
thumbnails
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111478316.8A
Other languages
Chinese (zh)
Inventor
耿筝
叶培根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111478316.8A priority Critical patent/CN114302009A/en
Publication of CN114302009A publication Critical patent/CN114302009A/en
Priority to PCT/CN2022/136533 priority patent/WO2023103949A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The application discloses a video processing method, a video processing device, electronic equipment and media, and belongs to the technical field of video processing. Wherein, the method comprises the following steps: displaying an editing interface of an image to be edited in a first screen area, wherein the image to be edited is a video frame in a video to be edited; receiving a first input of a user to an editing interface; and responding to the first input, and displaying a target preview image in the second screen area, wherein the target preview image is generated according to the image to be edited and the first input.

Description

Video processing method, video processing device, electronic equipment and medium
Technical Field
The application belongs to the technical field of video processing, and particularly relates to a video processing method, a video processing device, electronic equipment and a medium.
Background
Generally, in the process that a user uses an electronic device to edit a video, the user may first trigger the electronic device to edit a part of video frames in the video, and then trigger the electronic device to play the processed video, so as to determine whether the processed part of video frames is required by the user. In this way, when the processed partial video frame does not meet the user requirement, the user can trigger the electronic device to edit the processed partial video frame again to obtain the video required by the user.
However, when the video editing processing is performed by using the related technology, the operation process is complicated, and the user can obtain a satisfactory video only by repeatedly performing editing and debugging, which takes a long time.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video processing method, an apparatus, an electronic device, and a medium, which can solve the problem of complex operation when the electronic device edits a video.
In a first aspect, an embodiment of the present application provides a video processing method, where the method includes: displaying an editing interface of an image to be edited in a first screen area, wherein the image to be edited is a video frame in a video to be edited; receiving a first input of a user to an editing interface; and responding to the first input, and displaying a target preview image in the second screen area, wherein the target preview image is generated according to the image to be edited and the first input.
In a second aspect, an embodiment of the present application provides a video processing apparatus, including: the device comprises a display module and a receiving module. The display module is used for displaying an editing interface of an image to be edited in the first screen area, wherein the image to be edited is a video frame in the video to be edited. And the receiving module is used for receiving a first input of a user to the editing interface displayed by the display module. And the display module is also used for responding to the first input received by the receiving module and displaying a target preview image in the second screen area, wherein the target preview image is generated according to the image to be edited and the first input.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this embodiment of the application, the electronic device may first display an editing interface of an image to be edited in a video to be edited in a first screen area of the electronic device, and then display a target preview image generated according to the image to be edited and a first input in a second screen area of the electronic device according to the first input to the editing interface by a user. The electronic equipment can display the editing interface of the image to be edited in the video to be edited in the first screen area, and then display the target preview image generated according to the image to be edited and the first input in the second screen area according to the input of the user, namely, the electronic equipment can simultaneously display the image to be edited and the target preview image obtained after the editing processing is performed on the image to be edited in different screen areas, so that the user can directly determine whether the target preview image is required by the user, the electronic equipment does not need to be triggered to play the processed video to be edited, the user operation can be simplified, the time consumed by the electronic equipment for editing the video is reduced, and the efficiency of the electronic equipment for editing the video can be improved.
Drawings
Fig. 1 is a schematic diagram of a video processing method provided in an embodiment of the present application;
fig. 2 is a second schematic diagram of a video processing method according to an embodiment of the present application;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 6 is a third schematic diagram of a video processing method according to an embodiment of the present application;
fig. 7 is a fourth schematic diagram of a video processing method according to an embodiment of the present application;
fig. 8 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 9 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 10 is a fifth schematic view of a video processing method according to an embodiment of the present application;
fig. 11 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 14 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video processing method, the video processing apparatus, the electronic device, and the video processing medium according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The video processing method provided by the embodiment of the application can be applied to scenes in which part of video frames are optimized in the process of editing videos.
In the embodiment of the application, the electronic device may display an editing interface of a video frame in a video to be edited in one screen area of a display screen, and then display a preview image generated according to the video frame and input in another screen area of the electronic device while editing the video frame according to the input of a user in the editing interface. Therefore, the user can directly determine whether the preview image is required by the user, and the electronic device does not need to be triggered to play the video after the editing processing, so that the time consumption of the electronic device for editing the video can be reduced.
Fig. 1 shows a flowchart of a video processing method according to an embodiment of the present application. As shown in fig. 1, a video processing method provided in an embodiment of the present application may include steps 101 to 103 described below.
Step 101, the video processing device displays an editing interface of an image to be edited in a first screen area.
Optionally, in this embodiment of the present application, the video processing apparatus may include one display screen or a plurality of display screens.
Further optionally, in this embodiment of the application, in a case that the video processing apparatus includes one display screen, the one display screen may specifically be a scroll screen.
In this embodiment, the image to be edited is a video frame in a video to be edited.
Optionally, in this embodiment of the application, the image to be edited may specifically be a first video frame or a last video frame in the video to be edited, or a video frame determined according to user input.
Optionally, in this embodiment of the application, in a case that an application icon of a desktop is displayed, the video processing apparatus may display an interface of a target application according to a click input of a user on the application icon of the target application, so that the video processing apparatus may display all video frames of a video to be edited according to an input of the user in the interface, and the video processing apparatus may display an editing interface of the image to be edited according to a click input of the user on the image to be edited in all video frames.
Wherein the target application may be any one of: shooting type application, short video interaction type application, video processing type application, multimedia file storage type application and the like. The multimedia file storage class application may specifically be: an "album" application.
In one example, an identification (e.g., a thumbnail) of at least one video is included in the interface of the target application, and the video processing apparatus may display all video frames of a video to be edited according to a click input by a user to the identification of the video to be edited in the at least one video.
It is to be understood that, in this example, the video to be edited may be a video previously taken by the user.
In another example, the interface of the target application includes an identifier of at least one multimedia file, and the video processing apparatus may synthesize a video to be edited according to a click input of a user on the identifier of at least one multimedia file in the at least one multimedia file, and display all video frames of the video to be edited.
Wherein the multimedia file may be at least one of: video, images, etc.
It is to be understood that, in this example, the video to be edited may also be a video synthesized by the video processing apparatus triggered by the user.
Optionally, in this embodiment of the application, when the video processing apparatus includes one display screen and the one display screen is a scroll screen, the first screen area may specifically be: and (4) newly adding screen area after the scroll screen is unfolded.
The video processing device can control the scroll screen to be unfolded firstly, and then an editing interface of an image to be edited is displayed in a first screen area newly added after the scroll screen is unfolded.
Optionally, in this embodiment of the application, when the video processing apparatus includes a plurality of display screens, the first screen area may specifically be: a screen area in the main display screen.
In this embodiment of the application, the editing interface includes an image to be edited.
Optionally, in this embodiment of the application, the editing interface may include a first window, where the first window includes an image to be edited.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 2, before the step 101, the video processing method provided in this embodiment may further include the following steps 201 to 204, and the step 101 may be specifically implemented by the following step 101 a.
Step 201, the video processing device displays M object images in the first screen area.
In this embodiment of the application, each object image in the M object images corresponds to a shooting object in a video to be edited, and M is a positive integer.
Further optionally, in this embodiment of the application, in a case where all video frames of the video to be edited are displayed, the video processing apparatus may display M object images in the first screen area, so that the video processing apparatus may display an editing interface of the image to be edited according to an input of an object image of the M object images by a user.
Further optionally, in this embodiment of the application, the video processing apparatus may first identify a video to be edited to obtain M groups of images, where each group of images corresponds to a shooting object in the video to be edited, and then cut any one of the images in each group of images to obtain an object image, so as to obtain M object images, and thus the video processing apparatus may display the M object images in the first screen area.
Specifically, the photographic subject may be any one of: humans, animals, food, etc.
Specifically, the video processing apparatus may use an Artificial Intelligence (AI) recognition method to recognize the video to be edited, so as to obtain M groups of images matching the features of the object.
Specifically, for each of the M sets of images, the image to be cropped may be: the first image, or the last image, or any one of the images in the set of images. This first image can be understood as: the first image, ordered from far to near by the storage time, can be understood as: the last image sorted from far to near by storage time.
Further optionally, in this embodiment of the application, in a case that the video processing apparatus includes one display screen, the video processing apparatus may display the first window in a first area of a first screen area of the one display screen, and display the M object images in a second area of the one display screen.
Wherein, the second area may be: the adjacent display area of the first area.
For example, a video processing apparatus is taken as a scroll screen mobile phone for description. As shown in fig. 3, the scroll-screen mobile phone displays an editing interface (e.g., the interface 10) of an image to be edited, the interface 10 includes a first window (e.g., the window 11) and M object images (e.g., the object image 12, the object image 13, and the object image 14), wherein the window 11 includes the image to be edited, the window 11 is displayed in a first area (e.g., the area 16) of the display screen of the scroll-screen mobile phone, the object image 12, the object image 13, and the object image 14 are displayed in a second area of the display screen of the scroll-screen mobile phone, the second area and the first area may be partial areas in the area 16, and the area 16 is an adjacent display area of the area 15.
Further optionally, in this embodiment of the application, in a case where the video processing apparatus includes a plurality of display screens, the video processing apparatus may display the first window in one of the plurality of display screens and display the M object images in another one of the plurality of display screens.
In step 202, the video processing apparatus receives a second input of the first object image of the M object images from the user.
Optionally, in this embodiment of the application, the first object image may include one image or a plurality of images.
In this embodiment, the second input is used to trigger the video processing apparatus to display a video frame of a video to be edited.
Optionally, in this embodiment of the application, the second input may specifically be a click input of the first object image by the user, or a voice instruction input by the user, or a specific gesture input by the user, and specifically may be determined according to an actual use requirement, which is not limited in this embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In step 203, the video processing apparatus displays N first thumbnails in the first screen area in response to the second input.
In this embodiment of the application, each of the N first thumbnails is a thumbnail of a video frame including a first photographic object in a video to be edited, the first photographic object is a photographic object corresponding to a first object image, and N is a positive integer.
Further optionally, in this embodiment of the application, the video processing apparatus may display a second window in a first screen sub-area in the first screen area, where the second window includes N first thumbnails.
For example, the user may make a second input to a first object image (e.g., the object image 13) of the object images 12, 13, and 14, so that the video processing apparatus may display a thumbnail of a video frame corresponding to the first photographic object (i.e., the photographic object corresponding to the object image 13); as shown in fig. 4, after the user makes the second input, the video processing device may display a second window (e.g., window 17) in area 16, where window 17 includes N first thumbnails.
In step 204, the video processing apparatus receives a third input of the user to the first target thumbnail of the N first thumbnails.
Optionally, in this embodiment of the application, the third input may specifically be a click input of the first target thumbnail by a user, or a voice instruction input by the user, or a specific gesture input by the user, and may specifically be determined according to an actual use requirement, which is not limited in this embodiment of the application.
In step 101a, the video processing device responds to a third input, and displays an editing interface of an image corresponding to the first target thumbnail in the first screen area.
It is understood that the first target thumbnail is a thumbnail of the image to be edited.
Further optionally, in this embodiment of the application, the video processing apparatus may update the editing interface of the image displayed in the first screen area to the editing interface of the image to be edited.
Therefore, the video processing device can display the M object images corresponding to the M shooting objects in the video to be edited, and then display the N thumbnails of the video frames of the shooting objects corresponding to the first object image according to the input of the user to the first object image in the M object images, that is, display fewer thumbnails, so that the user can quickly select the first target thumbnail required by the user from the fewer thumbnails to quickly trigger the video processing device to display the editing interface of the image to be edited, which is required by the user.
Optionally, in this embodiment of the present application, after the step 203, the video processing method provided in this embodiment of the present application may further include the following steps 301 and 302.
In step 301, the video processing apparatus receives a fourth input of the second object image of the M object images from the user.
Optionally, in this embodiment of the application, the second object image may include one image or a plurality of images.
In an embodiment of the present application, the fourth input is used to trigger the video processing apparatus to display a thumbnail of a video frame including the second shooting object in the video to be edited.
Optionally, in this embodiment of the application, the fourth input may specifically be a click input of the second object image by the user, or a voice instruction input by the user, or a specific gesture input by the user, and may specifically be determined according to an actual use requirement, which is not limited in this embodiment of the application.
In step 302, the video processing apparatus displays Q second thumbnails in the first screen area in response to a fourth input.
In this embodiment of the application, the second thumbnail is a thumbnail of a video frame including a second shooting object in the video to be edited, the second shooting object is a shooting object corresponding to the second object image, and Q is a positive integer.
Further optionally, in this embodiment of the application, the video processing apparatus may update the N first thumbnails in the second window to Q second thumbnails.
In the embodiment of the application, since the N first thumbnails may not include the thumbnail of the video frame required by the user, the user may perform a fourth input on the second object image, so that the video processing apparatus may update the displayed thumbnail.
Therefore, the video processing device can display the Q second thumbnails of the video frames comprising the second shooting object according to the fourth input of the user to the second object image, so that the user can search the thumbnails required by the user in the Q second thumbnails without searching in the thumbnails of all the video frames of the video to be edited, and the efficiency of the video processing device in editing the video can be improved.
Step 102, the video processing apparatus receives a first input of an editing interface from a user.
Optionally, in this embodiment of the application, the first input is used to edit an image to be edited. Wherein the editing process comprises at least one of: deleting processing, adding text processing, adding mark processing and adjusting image parameter processing.
The "deletion process" can be understood as: the processing mode of deleting the image (namely the video frame in the video to be edited). The above "add text processing" can be understood as: and adding a processing mode of text required by the user (such as text input by the user or text selected by the user) on the image. The "labeling process" described above can be understood as: and adding a mark symbol on the image.
Further optionally, in this embodiment of the application, the image parameter may include at least one of: color saturation, brightness, transparency, etc.
In this embodiment of the present application, the first input is used to trigger the video processing apparatus to perform image processing on an image to be edited.
Further optionally, in this embodiment of the application, the first input may specifically be a click input of a user on an image to be edited, or a voice instruction input by the user, or a specific gesture input by the user, which may be specifically determined according to an actual use requirement, and this is not limited in this embodiment of the application.
Specifically, when the first input is a click input of a user in an image to be edited, the editing interface further includes at least one processing control, each processing control corresponds to an editing process, and the first input may specifically be: and clicking input of a target processing control in the at least one processing control by a user, and/or inputting an image to be edited.
Step 103, the video processing device responds to the first input and displays the target preview image in the second screen area.
Optionally, in this embodiment of the application, the second screen area may specifically be: a screen area adjacent to the first screen area.
Further optionally, in this embodiment of the application, when the video processing apparatus includes one display screen and the one display screen is a scroll screen, the second screen area may specifically be a screen area before the scroll screen is expanded.
For example, as shown in fig. 5, the mobile phone includes one display screen, and the one display screen is a scroll screen, the first screen area may be a newly added screen area (for example, area 18) after the scroll screen is unfolded, and the second screen area may be a screen area (for example, area 19) before the scroll screen is unfolded.
Further optionally, in this embodiment of the application, when the video processing apparatus includes a plurality of display screens, the second screen area may specifically be: screen regions in other displays (i.e., any display other than the main display).
In the embodiment of the present application, the target preview image is generated according to the image to be edited and the first input.
Optionally, in this embodiment of the application, the target preview image is specifically generated according to the image to be edited and the first input parameter. Wherein the input parameters may include at least one of: input position, input trajectory, input object, etc.
Specifically, in a case where the input parameter includes an input object, the video processing apparatus may perform editing processing on the image to be edited according to the input object (e.g., the target processing control) of the first input to generate a target preview image.
For example, assuming that the target processing control corresponds to image parameter adjustment processing, the video processing apparatus may perform image parameter adjustment processing on an image to be edited according to the first input object to generate an adjusted target preview image.
Specifically, in the case that the input parameters include an input trajectory and an input object, the video processing apparatus may determine, according to a first input object (for example, a target processing control), a manner of performing editing processing on the image to be edited, and perform, according to the first input trajectory, the determined manner of performing editing processing on the image to be edited to generate the target preview image.
For example, assuming that the target processing control corresponds to a mark adding process, the video processing apparatus may determine, according to the first input object, to perform a mark adding process on the image to be edited, and add, according to the first input trajectory, a mark corresponding to the input trajectory on the image to be edited to generate a target preview image.
Optionally, in this embodiment of the application, the video processing apparatus may display a third window in the second screen area, where the third window includes the target preview image.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 6, after the step 103, the video processing method provided in this embodiment may further include the following step 401.
Step 401, the video processing device generates a target video according to the target preview image and the video frames of the video to be edited except the image to be edited.
Further optionally, in this embodiment of the application, the video processing apparatus may splice the target preview image and a video frame of the video to be edited, except for the image to be edited, to generate the target video.
It is understood that the video processing apparatus may replace the image to be edited in the video to be edited with the target preview image.
Therefore, the video processing device can directly obtain the target video according to the target preview image and the video frames except the image to be edited in the video to be edited, and the user does not need to perform multiple operations to trigger the video processing device to obtain the target video, so that the operation of the user can be simplified, and the time consumption is reduced.
According to the video processing method provided by the embodiment of the application, the video processing device can display the editing interface of the image to be edited in the video to be edited in the first screen area of the video processing device, and then display the target preview image generated according to the image to be edited and the first input in the second screen area of the video processing device according to the first input of the user to the editing interface. The video processing device can display the editing interface of the image to be edited in the video to be edited in the first screen area, and then display the target preview image generated according to the image to be edited and the first input in the second screen area according to the input of the user, namely, the video processing device can simultaneously display the image to be edited and the target preview image obtained after editing the image to be edited in different screen areas, so that the user can directly determine whether the target preview image is required by the user without triggering the video processing device to play the processed video to be edited, the user operation can be simplified, the time consumed by the video processing device for editing the video can be reduced, and the efficiency of the video processing device for editing the video can be improved.
Optionally, in this embodiment of the present application, as shown in fig. 7 in combination with fig. 1, before step 101 described above, the video processing method provided in this embodiment of the present application is applied to a video processing apparatus having a scroll screen, and the video processing method may further include steps 501 to 503 described below.
In step 501, in the case that the L third thumbnails are displayed in the album interface, the video processing apparatus receives a fifth input of the user to T third target thumbnails in the L third thumbnails.
It will be appreciated that the above target applications are: an "album" application.
Optionally, in the embodiment of the present application, in a case that an album interface is displayed, the video processing apparatus may display the L third thumbnails according to a press input of the user in the album interface.
In one example, a "video clip" control is included in the album interface so that the video processing apparatus may display a first interface including L third thumbnails in accordance with a user click input to the "video clip" control.
For example, as shown in fig. 8 (a), the video processing apparatus displays an album interface (e.g., the interface 20), and a "video clip" control is included in the interface 20, so that the user can click-input the "video clip" control; as shown in (B) in fig. 8, after the user makes a click input, the video processing apparatus may display a first interface (e.g., an interface 21) including L third thumbnails in the interface 21.
In another example, at least one group identifier is included in the album interface, and each group identifier corresponds to a group of multimedia files, so that the video processing apparatus can display a first interface according to the click input of the user on the target group identifier in the at least one group identifier, wherein the first interface includes L third thumbnails.
For example, in conjunction with (a) in fig. 8, the interface 20 further includes at least one group identifier (e.g., "stop-motion light 1" group identifier, "stop-motion light 2" group identifier, and "nice day" group identifier), so that the user can click and input the "nice day" group identifier; as shown in fig. 9, after the user makes a click input, the video processing apparatus may display a first interface (e.g., interface 22), where L third thumbnails are included in the interface 22.
In the embodiment of the application, each third thumbnail is used for indicating one multimedia file, and L, T is a positive integer.
It is understood that L > T.
In this embodiment of the application, the fifth input is used to trigger the video processing apparatus to select the multimedia file.
Further optionally, in this embodiment of the application, the fifth input may specifically be: the user may specifically determine the click input to the T multimedia files in sequence, or the voice instruction input by the user, or the specific gesture input by the user according to the actual use requirement, which is not limited in the embodiment of the present application.
And 502, under the condition that the number of the third target thumbnails is larger than the preset number, the video processing device responds to a fifth input, controls the scroll screen to be unfolded to a target state according to the number of the third target thumbnails, and displays T third target thumbnails in the unfolded scroll screen.
Further optionally, in this embodiment of the application, the target state may specifically be: the reel screen is unwound to a target size.
In this embodiment of the application, if the number T of the third target thumbnails is greater than the preset number, it may be considered that the number of the third target thumbnails is large, and the display screen may not be able to completely display T third target thumbnails, so the video processing apparatus may control the scroll screen to be expanded to a target size according to the number T of the third target thumbnails, and display T third target thumbnails in the expanded scroll screen.
Further optionally, in this embodiment of the application, in response to a fifth input, the video processing apparatus may select the multimedia files indicated by the T third target thumbnails, and control the scroll screen to expand to the target size according to the number T of the third target thumbnails.
Further optionally, in this embodiment of the application, the video processing apparatus may first calculate to obtain a target size according to the number T of the third target thumbnails by using a target algorithm, and then control the scroll screen to be expanded to the target size so as to be expanded to the target state.
Specifically, the target algorithm may specifically be:
m=floor((n-X)/7)×25%
wherein m is the target size (i.e., the expansion ratio), floor is a rounding-down function, X is a preset value, and n is the number of the selected third target thumbnails.
Further optionally, in this embodiment of the application, in a case that the number T of the third target thumbnails is less than the preset number, the video processing apparatus may select the multimedia files indicated by the T third thumbnails in response to a fifth input.
In this embodiment of the application, if the number T of the third target thumbnails is smaller than the preset number, the number of the third target thumbnails may be considered to be smaller, and the display screen may completely display the T third target thumbnails, so that the video processing apparatus may select the multimedia file indicated by the T third target thumbnails without controlling the scroll screen to expand.
Optionally, in this embodiment of the application, before "displaying T third target thumbnails in the expanded scroll screen" in step 502 described above, the video processing method provided in this embodiment of the application may further include step 504 described below, and step 502 described above may be specifically implemented by step 502a described below.
And 504, under the condition that the number of the third target thumbnails is larger than the preset number, the video processing device responds to a fifth input, controls the scroll screen to be unfolded to the target state according to the number of the third target thumbnails, and under the condition that the target state is the maximum unfolding state of the scroll screen, the video processing device adjusts the size of the third target thumbnails according to the number of the third target thumbnails.
It is understood that, in the case where the target state is the maximum unwinding state of the roll screen, the target size is the maximum unwinding size of the roll screen.
Optionally, in this embodiment of the application, the video processing apparatus may determine the first ratio according to a difference between the number T of the third target thumbnails and a preset number, and reduce the display size of the third target thumbnails according to the first ratio.
Specifically, the video processing apparatus may have at least one association relationship pre-stored therein, where each association relationship is an association relationship between one value and one ratio, so that the video processing apparatus may determine a corresponding target value from the at least one value according to a difference between the number T of the third target thumbnails and a preset number, and determine one ratio corresponding to the target value as the first ratio.
Further optionally, in this embodiment of the application, the first ratio is less than or equal to a preset ratio. Wherein, the preset proportion can be specifically as follows: the minimum scale of thumbnail size set by the video processing apparatus.
And step 502a, the video processing device displays the adjusted T third target thumbnails in the unfolded scroll screen.
Therefore, under the condition that the target size is the maximum expansion size of the scroll screen, the video processing device can reduce the display size of the T third target thumbnails and display the reduced T third target thumbnails, so that the situation that the T third target thumbnails cannot be displayed on the fully expanded scroll screen can be avoided, a user can directly look up whether the reduced T third target thumbnails are thumbnails of multimedia files required by the user, the user does not need to perform multiple operations, the operation of the user can be simplified, and time consumption is reduced.
Step 503, the video processing apparatus generates a video to be edited based on the T multimedia files indicated by the T third target thumbnails.
Optionally, in this embodiment of the application, the video processing apparatus may splice an ith multimedia file and an (i + 1) th multimedia file in the T multimedia files to obtain a video to be edited. Wherein i is a positive integer.
It can be appreciated that i ≦ T.
Specifically, the ith multimedia file may specifically be: the ith multimedia file is sorted according to the storage time from far to near, or the ith multimedia file is sorted according to the user input time from far to near.
Therefore, the video processing device can control the scroll screen to be expanded to the target size according to the fifth input of the user to the T third target thumbnails and the number T of the third target thumbnails, and obtain the video to be edited according to the multimedia files indicated by the T third target thumbnails, so that the user can directly look up whether the T third target thumbnails are thumbnails of the multimedia files required by the user in the expanded scroll screen to obtain the video to be edited required by the user without performing multiple operations by the user, and therefore, the efficiency of obtaining the video required by the user can be improved.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 10, after the step 101, the video processing method provided in this embodiment may further include a step 601 described below.
Step 601, the video processing device displays a progress bar of the video to be edited in the second screen area, and displays a first identifier of the image to be edited on the progress bar of the video to be edited.
In this embodiment of the application, the first identifier is used to indicate position information of an image to be edited in a video to be edited.
Optionally, in this embodiment of the application, the video processing apparatus may mark the image to be edited on the progress bar of the video to be edited in a target marking manner.
Wherein, the target marking mode may include at least one of the following: a dotted frame marking mode, a highlight marking mode, a color marking mode, a gray marking mode, a preset transparency marking mode, a flashing marking mode and the like.
For example, as shown in fig. 11, after the user makes a third input on the first target thumbnail of the N first thumbnails, the video processing apparatus may mark an image to be edited (for example, mark the image to be edited in a color marking manner, which is illustrated by a shaded frame in the figure) on a progress bar (for example, progress bar 23) of the video to be edited, and display a first window (for example, window 24) in the first screen area, where the image to be edited is included in the window 24.
Therefore, the video processing device can display the progress bar of the video to be edited in the second screen area and display the first identifier of the image to be edited on the progress bar, that is, the video processing device can mark the corresponding position of the image to be edited in the video to be edited on the progress bar of the video to be edited, so that the user can quickly search the image to be edited from the video to be edited.
Fig. 12 is a schematic diagram showing a possible configuration of a video processing apparatus related to an embodiment of the present application, the video processing apparatus having a reel screen. As shown in fig. 12, the video processing apparatus 60 may include: a display module 61 and a receiving module 62.
The display module 61 is configured to display an editing interface of an image to be edited in the first screen area, where the image to be edited is a video frame in the video to be edited. The receiving module 62 is configured to receive a first input of the editing interface displayed by the display module 61 from the user. The display module 61 is further configured to display a target preview image in the second screen area in response to the first input received by the receiving module 62, where the target preview image is generated according to the image to be edited and the first input.
According to the video processing device provided by the embodiment of the application, since the video processing device can display the editing interface of the image to be edited in the video to be edited in the first screen area, and then according to the input of the user, displaying a target preview image generated according to the image to be edited and the first input in the second screen region, namely, the video processing device can simultaneously display the image to be edited and the target preview image obtained after the image to be edited is edited in different screen areas, therefore, the user can directly determine whether the target preview image is required by the user, without triggering the video processing device to play the processed video to be edited, therefore, the user operation can be simplified, the time consumption of the video processing device for editing the video is reduced, and the efficiency of the video processing device for editing the video can be improved.
In one possible implementation manner, the first input is used for performing editing processing on an image to be edited; wherein the editing process comprises at least one of: deleting processing, adding text processing, adding mark processing and adjusting image parameter processing.
In a possible implementation manner, the display module 61 is further configured to display M object images in the first screen area, where each object image corresponds to a shooting object in the video to be edited, and M is a positive integer; the receiving module 62 is further configured to receive a second input of the first object image in the M object images displayed by the display module 61 from the user; the display module 61 is further configured to, in response to the second input received by the receiving module 62, display N first thumbnails in the first screen area, where the first thumbnails are thumbnails of video frames including a first photographic subject in the video to be edited, the first photographic subject is a photographic subject corresponding to the first subject image, and N is a positive integer; the receiving module 62 is further configured to receive a third input of the user to the first target thumbnail in the N first thumbnails displayed by the display module 61; the display module 61 is specifically configured to display, in response to the third input received by the receiving module 62, an editing interface of an image corresponding to the first target thumbnail in the first screen area.
Therefore, the video processing device can display the M object images corresponding to the M shooting objects in the video to be edited, and then display the N thumbnails of the video frames of the shooting objects corresponding to the first object image according to the input of the user to the first object image in the M object images, that is, display fewer thumbnails, so that the user can quickly select the first target thumbnail required by the user from the fewer thumbnails to quickly trigger the video processing device to display the editing interface of the image to be edited, which is required by the user.
In a possible implementation manner, the receiving module 62 is further configured to receive a fourth input of the second object image of the M object images from the user; the display module 61 is further configured to display Q second thumbnails in the first screen area in response to a fourth input received by the receiving module 62, where the second thumbnails are thumbnails of video frames including a second shooting object in the video to be edited, the second shooting object is a shooting object corresponding to a second object image, and Q is a positive integer.
Therefore, the video processing device can display the Q second thumbnails of the video frames comprising the second shooting object according to the fourth input of the user to the second object image, so that the user can search the thumbnail required by the user in the Q second thumbnails without searching in the thumbnails of all the video frames of the video to be edited, and the efficiency of the video processing device for editing the video can be improved.
In one possible implementation, the video processing device 60 has a scroll screen, and the video processing device 60 further includes: and a control module 63. The receiving module 62 is further configured to receive a fifth input of a user to T third target thumbnails in the L third thumbnails when the L third thumbnails are displayed in the album interface, where each third thumbnail is used to indicate a multimedia file, and L, T are positive integers; the control module 63, configured to, in response to a fifth input received by the receiving module 62, control the scroll screen to be expanded to the target state according to the number of the third target thumbnails when the number of the third target thumbnails is greater than the preset number; the display module 61 is further configured to display T third target thumbnails on the reel screen after the control module 63 controls the unwinding; the control module 63 is further configured to generate a video to be edited based on the T multimedia files indicated by the T third target thumbnails.
Therefore, the video processing device can control the scroll screen to be expanded to the target size according to the fifth input of the user to the T third target thumbnails and the number T of the third target thumbnails, and obtain the video to be edited according to the multimedia files indicated by the T third target thumbnails, so that the user can directly look up whether the T third target thumbnails are thumbnails of the multimedia files required by the user in the expanded scroll screen to obtain the video to be edited required by the user without performing multiple operations by the user, and therefore, the efficiency of obtaining the video required by the user can be improved.
In a possible implementation manner, the control module 63 is further configured to adjust the size of the third target thumbnail according to the number of the third target thumbnails in a case that the target state is the maximum expansion state of the scroll screen.
Therefore, under the condition that the target size is the maximum expansion size of the scroll screen, the video processing device can reduce the display size of the T third target thumbnails and display the reduced T third target thumbnails, so that the situation that the T third target thumbnails cannot be displayed on the fully expanded scroll screen can be avoided, a user can directly look up whether the reduced T third target thumbnails are thumbnails of multimedia files required by the user, the user does not need to perform multiple operations, the operation of the user can be simplified, and time consumption is reduced.
In one possible implementation, the video processing device 60 has a scroll screen, the first screen area is a screen area newly added after the scroll screen is unfolded, and the second screen area is a screen area before the scroll screen is unfolded.
In a possible implementation manner, the display module 61 is further configured to display a progress bar of the video to be edited in the second screen area, and display a first identifier of the image to be edited on the progress bar of the video to be edited, where the first identifier is used to indicate position information of the image to be edited in the video to be edited.
Therefore, the video processing device can display the progress bar of the video to be edited in the second screen area and display the first identifier of the image to be edited on the progress bar, that is, the video processing device can mark the corresponding position of the image to be edited in the video to be edited on the progress bar of the video to be edited, so that the user can quickly search the image to be edited from the video to be edited.
In a possible implementation manner, the control module 63 is further configured to generate a target video according to the target preview image and a video frame of the video to be edited, which is different from the image to be edited.
Therefore, the video processing device can directly obtain the target video according to the target preview image and the video frames except the image to be edited in the video to be edited, and the user does not need to perform multiple operations to trigger the video processing device to obtain the target video, so that the operation of the user can be simplified, and the time consumption is reduced.
The video processing apparatus in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 12, and is not described herein again to avoid repetition.
Optionally, in this embodiment, as shown in fig. 13, an electronic device 70 is further provided in this embodiment, and includes a processor 71, a memory 72, and a program or an instruction stored in the memory 72 and capable of being executed on the processor 71, where the program or the instruction is executed by the processor 71 to implement each process of the video processing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application, where the electronic device includes a target display chip.
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.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The display unit 106 is configured to display an editing interface of an image to be edited in the first screen area, where the image to be edited is a video frame in the video to be edited.
The user input unit 107 is used for receiving a first input of the editing interface by a user.
And the display unit 106 is also used for responding to the first input and displaying a target preview image in the second screen area, wherein the target preview image is generated according to the image to be edited and the first input.
According to the electronic device provided by the embodiment of the application, because the electronic device can display the editing interface of the image to be edited in the video to be edited in the first screen area firstly, and then display the target preview image generated according to the image to be edited and the first input in the second screen area according to the input of the user, namely, the electronic device can simultaneously display the image to be edited and the target preview image obtained after editing the image to be edited in different screen areas, the user can directly determine whether the target preview image is required by the user, and does not need to trigger the electronic device to play the processed video to be edited, so that the user operation can be simplified, the time consumed by the electronic device for editing the video is reduced, and thus, the efficiency of the electronic device for editing the video can be improved.
Optionally, in this embodiment of the present application, the display unit 106 is further configured to display M object images in the first screen area, where each object image corresponds to a shooting object in the video to be edited, and M is a positive integer.
The user input unit 107 is further configured to receive a second input of the first object image of the M object images from the user.
The display unit 106 is further configured to display, in response to a second input, N first thumbnails in the first screen area, where the first thumbnails are thumbnails of video frames including a first photographic subject in the video to be edited, the first photographic subject is a photographic subject corresponding to the first subject image, and N is a positive integer.
The user input unit 107 is further configured to receive a third input of the first target thumbnail from the N first thumbnails by the user.
The display unit 106 is specifically configured to display, in response to a third input, an editing interface of the image to be edited, which corresponds to the first target thumbnail, in the first screen area.
Therefore, the electronic equipment can display the M object images corresponding to the M shooting objects in the video to be edited, and then display the N thumbnails including the video frames of the shooting objects corresponding to the first object images according to the input of the user to the first object image in the M object images, namely, display fewer thumbnails, so that the user can quickly select the first target thumbnail required by the user from the fewer thumbnails to quickly trigger the electronic equipment to display the editing interface of the image to be edited, which is required by the user, and thus, the efficiency of the electronic equipment in editing the video can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a fourth input of the user to a second object image in the M object images.
The display unit 106 is further configured to display Q second thumbnails in the first screen area in response to a fourth input, where the second thumbnails are thumbnails of video frames including a second photographic subject in the video to be edited, the second photographic subject is a photographic subject corresponding to the second subject image, and Q is a positive integer.
Therefore, the electronic device can display the Q second thumbnails of the video frames comprising the second shooting object according to the fourth input of the user to the second object image, so that the user can search the thumbnail required by the user in the Q second thumbnails without searching in the thumbnails of all the video frames of the video to be edited, and the efficiency of the electronic device in editing the video can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive, in a case that L third thumbnails are displayed in the album interface, a fifth input of the user to T third target thumbnails in the L third thumbnails, where each third thumbnail is used to indicate one multimedia file, and L, T is a positive integer.
A processor 110 for controlling the scroll screen to be expanded to the target state according to the number of the third target thumbnails in response to a fifth input in a case where the number of the third target thumbnails is greater than a preset number;
and the display unit 106 is further used for displaying T third target thumbnails in the unfolded scroll screen.
The processor 110 is further configured to generate a video to be edited based on the T multimedia files indicated by the T third target thumbnails.
Therefore, the electronic equipment can control the scroll screen to be expanded to the target size according to the fifth input of the user to the T third target thumbnails and the number T of the third target thumbnails, and obtains the video to be edited according to the multimedia files indicated by the T third target thumbnails, so that the user can directly look up whether the T third target thumbnails are thumbnails of the multimedia files required by the user in the expanded scroll screen to obtain the video to be edited required by the user without performing multiple operations by the user, and therefore the efficiency of obtaining the video required by the user can be improved.
Optionally, in this embodiment of the application, the processor 110 is further configured to adjust the size of the third target thumbnail according to the number of the third target thumbnail in the case that the target state is the maximum expansion state of the scroll screen.
Therefore, under the condition that the target size is the maximum expansion size of the scroll screen, the display size of the T third target thumbnails can be reduced by the electronic equipment, and the reduced T third target thumbnails are displayed, so that the situation that the T third target thumbnails cannot be displayed by the fully expanded scroll screen can be avoided, a user can directly look up whether the reduced T third target thumbnails are thumbnails of multimedia files required by the user, the user does not need to perform multiple operations, the operation of the user can be simplified, and time consumption is reduced.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display a progress bar of the video to be edited in the second screen area, and display a first identifier of the image to be edited on the progress bar of the video to be edited, where the first identifier is used to indicate position information of the image to be edited in the video to be edited.
Therefore, the electronic equipment can display the progress bar of the video to be edited in the second screen area and display the first identifier of the image to be edited on the progress bar, namely, the electronic equipment can mark the corresponding position of the image to be edited in the video to be edited on the progress bar of the video to be edited, so that a user can quickly search the image to be edited from the video to be edited.
Optionally, in this embodiment of the application, the processor 110 is further configured to generate a target video according to the target preview image and a video frame of the video to be edited, which is different from the image to be edited.
Therefore, the electronic equipment can directly obtain the target video according to the target preview image and the video frames except the image to be edited in the video to be edited, and the user does not need to perform multiple operations to trigger the electronic equipment to obtain the target video, so that the operation of the user can be simplified, and the time consumption is reduced.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. 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 at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), a Synchronous Dynamic Random Access Memory (SDRAM), a double data rate synchronous DRAM (ddr SDRAM), an Enhanced SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). Memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, in this embodiment, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, an application program, and the like, and the modem processor mainly processes a wireless communication signal, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing video processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (20)

1. A method of video processing, the method comprising:
displaying an editing interface of an image to be edited in a first screen area, wherein the image to be edited is a video frame in a video to be edited;
receiving a first input of a user to the editing interface;
and responding to the first input, and displaying a target preview image in a second screen area, wherein the target preview image is generated according to the image to be edited and the first input.
2. The method according to claim 1, wherein the first input is used for performing editing processing on the image to be edited;
wherein the editing process comprises at least one of: deleting processing, adding text processing, adding mark processing and adjusting image parameter processing.
3. The method of claim 1, further comprising:
displaying M object images in the first screen area, wherein each object image corresponds to a shooting object in the video to be edited, and M is a positive integer;
receiving a second input of a user to a first object image of the M object images;
responding to the second input, displaying N first thumbnails in the first screen area, wherein the first thumbnails are thumbnails of video frames of the video to be edited, the video frames comprise a first shooting object, the first shooting object is a shooting object corresponding to the first object image, and N is a positive integer;
receiving a third input of a user to a first target thumbnail in the N first thumbnails;
the editing interface for displaying the image to be edited in the first screen area comprises:
and responding to the third input, and displaying an editing interface of the image corresponding to the first target thumbnail in the first screen area.
4. The method of claim 3, wherein after the first screen region displays N first thumbnails, the method further comprises:
receiving a fourth input of a user to a second object image of the M object images;
responding to the fourth input, displaying Q second thumbnails in the first screen area, wherein the second thumbnails are thumbnails of video frames of the video to be edited, the video frames comprise a second shooting object, the second shooting object is a shooting object corresponding to the second object image, and Q is a positive integer.
5. The method according to claim 1, applied to a video processing apparatus having a scroll screen, wherein before the first screen region displays an editing interface of an image to be edited, the method further comprises:
receiving a fifth input of a user to T third target thumbnails in the L third thumbnails under the condition that L third thumbnails are displayed in the album interface, wherein each third thumbnail is used for indicating a multimedia file, and L, T is a positive integer;
under the condition that the number of the third target thumbnails is larger than the preset number, responding to the fifth input, controlling the scroll screen to be unfolded to a target state according to the number of the third target thumbnails, and displaying the T third target thumbnails in the unfolded scroll screen;
and generating a video to be edited based on the T multimedia files indicated by the T third target thumbnails.
6. The method according to claim 5, wherein in a case where the target state is a maximum development state of the spool screen, before displaying the T third target thumbnails in the reel screen after development, the method further comprises:
adjusting the size of the third target thumbnail according to the number of the third target thumbnail.
7. The method of claim 1, applied to a video processing device having a scroll screen, wherein the first screen area is a newly added screen area after the scroll screen is unfolded, and the second screen area is a screen area before the scroll screen is unfolded.
8. The method of claim 1, further comprising:
displaying the progress bar of the video to be edited in the second screen area, and displaying a first identifier of the image to be edited on the progress bar of the video to be edited, wherein the first identifier is used for indicating the position information of the image to be edited in the video to be edited.
9. The method of claim 1, wherein after displaying the target preview image in the second screen area, the method further comprises:
and generating a target video according to the target preview image and the video frames of the video to be edited except the image to be edited.
10. A video processing apparatus, characterized in that the video processing apparatus comprises: a display module and a receiving module;
the display module is used for displaying an editing interface of an image to be edited in a first screen area, wherein the image to be edited is a video frame in a video to be edited;
the receiving module is used for receiving first input of a user to the editing interface displayed by the display module;
the display module is further configured to display a target preview image in a second screen area in response to the first input received by the receiving module, where the target preview image is generated according to the image to be edited and the first input.
11. The video processing apparatus according to claim 10, wherein the first input is used for performing an editing process on the image to be edited;
wherein the editing process comprises at least one of: deleting processing, adding text processing, adding mark processing and adjusting image parameter processing.
12. The video processing apparatus according to claim 10,
the display module is further configured to display M object images in the first screen area, where each object image corresponds to a shooting object in the video to be edited, and M is a positive integer;
the receiving module is further configured to receive a second input of a user to a first object image in the M object images displayed by the display module;
the display module is further configured to display, in response to the second input received by the receiving module, N first thumbnails in the first screen area, where the first thumbnails are thumbnails of video frames in the video to be edited, where the video frames include a first photographic object, the first photographic object is a photographic object corresponding to the first object image, and N is a positive integer;
the receiving module is further configured to receive a third input of a user to a first target thumbnail in the N first thumbnails displayed by the display module;
the display module is specifically configured to display, in response to the third input received by the receiving module, an editing interface of the image corresponding to the first target thumbnail in the first screen area.
13. The video processing apparatus according to claim 12,
the receiving module is further configured to receive a fourth input of a user to a second object image in the M object images;
the display module is further configured to display, in response to the fourth input received by the receiving module, Q second thumbnails in the first screen area, where the second thumbnails are thumbnails of video frames in the video to be edited, where the video frames include a second photographic object, the second photographic object is a photographic object corresponding to the second object image, and Q is a positive integer.
14. The video processing device of claim 10, wherein the video processing device has a scroll screen, the video processing device further comprising: a control module;
the receiving module is further configured to receive a fifth input of a user to T third target thumbnails of the L third thumbnails under the condition that L third thumbnails are displayed in the album interface, where each third thumbnail is used to indicate a multimedia file, and L, T are positive integers;
the control module is used for responding to the fifth input received by the receiving module and controlling the scroll screen to be unfolded to a target state according to the number of the third target thumbnails under the condition that the number of the third target thumbnails is larger than the preset number;
the display module is further used for displaying the T third target thumbnails in the reel screen after the control module controls the unfolding;
the control module is further configured to generate a video to be edited based on the T multimedia files indicated by the T third target thumbnails.
15. The video processing apparatus according to claim 14,
the control module is further configured to adjust the size of the third target thumbnail according to the number of the third target thumbnail when the target state is the maximum expansion state of the scroll screen.
16. The video processing device according to claim 10, wherein the video processing device has a scroll screen, the first screen area is a screen area newly added after the scroll screen is unfolded, and the second screen area is a screen area before the scroll screen is unfolded.
17. The video processing apparatus according to claim 10,
the display module is further configured to display a progress bar of the video to be edited in the second screen area, and display a first identifier of the image to be edited on the progress bar of the video to be edited, where the first identifier is used to indicate position information of the image to be edited in the video to be edited.
18. The video processing apparatus according to claim 10,
the control module is further configured to generate a target video according to the target preview image and video frames of the video to be edited, except for the image to be edited.
19. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the video processing method according to any one of claims 1 to 9.
20. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the video processing method according to any one of claims 1 to 9.
CN202111478316.8A 2021-12-06 2021-12-06 Video processing method, video processing device, electronic equipment and medium Pending CN114302009A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111478316.8A CN114302009A (en) 2021-12-06 2021-12-06 Video processing method, video processing device, electronic equipment and medium
PCT/CN2022/136533 WO2023103949A1 (en) 2021-12-06 2022-12-05 Video processing method and apparatus, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111478316.8A CN114302009A (en) 2021-12-06 2021-12-06 Video processing method, video processing device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN114302009A true CN114302009A (en) 2022-04-08

Family

ID=80966389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111478316.8A Pending CN114302009A (en) 2021-12-06 2021-12-06 Video processing method, video processing device, electronic equipment and medium

Country Status (2)

Country Link
CN (1) CN114302009A (en)
WO (1) WO2023103949A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023103949A1 (en) * 2021-12-06 2023-06-15 维沃移动通信有限公司 Video processing method and apparatus, electronic device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159983A (en) * 2019-12-31 2020-05-15 维沃移动通信有限公司 Editing method and electronic equipment
CN112367551A (en) * 2020-10-30 2021-02-12 维沃移动通信有限公司 Video editing method and device, electronic equipment and readable storage medium
CN112887794A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Video editing method and device
WO2021238943A1 (en) * 2020-05-29 2021-12-02 维沃移动通信有限公司 Gif picture generation method and apparatus, and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080090218A (en) * 2007-04-04 2008-10-08 엔에이치엔(주) Method for uploading an edited file automatically and apparatus thereof
CN112836086B (en) * 2020-12-31 2023-06-23 维沃移动通信有限公司 Video processing method and device and electronic equipment
CN114302009A (en) * 2021-12-06 2022-04-08 维沃移动通信有限公司 Video processing method, video processing device, electronic equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159983A (en) * 2019-12-31 2020-05-15 维沃移动通信有限公司 Editing method and electronic equipment
WO2021238943A1 (en) * 2020-05-29 2021-12-02 维沃移动通信有限公司 Gif picture generation method and apparatus, and electronic device
CN112367551A (en) * 2020-10-30 2021-02-12 维沃移动通信有限公司 Video editing method and device, electronic equipment and readable storage medium
CN112887794A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Video editing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023103949A1 (en) * 2021-12-06 2023-06-15 维沃移动通信有限公司 Video processing method and apparatus, electronic device and medium

Also Published As

Publication number Publication date
WO2023103949A1 (en) 2023-06-15

Similar Documents

Publication Publication Date Title
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN114518820A (en) Icon sorting method and device and electronic equipment
CN114518822A (en) Application icon management method and device and electronic equipment
CN112887794B (en) Video editing method and device
WO2023103949A1 (en) Video processing method and apparatus, electronic device and medium
CN112162805B (en) Screenshot method and device and electronic equipment
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN115037874A (en) Photographing method and device and electronic equipment
CN114845171A (en) Video editing method and device and electronic equipment
CN113961113A (en) Image processing method and device, electronic equipment and readable storage medium
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN112261483A (en) Video output method and device
CN113139367A (en) Document generation method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN117312595A (en) Picture display method and device
CN115334242A (en) Video recording method, video recording device, electronic equipment and medium
CN117311885A (en) Picture viewing method and device
CN117149038A (en) Image display method and image display device
CN114286010A (en) Shooting method, shooting device, electronic equipment and medium
CN115793921A (en) Desktop layout adjusting method and device, electronic equipment and readable storage medium
CN117354594A (en) Method and device for generating media content, electronic equipment and readable storage medium
CN114390356A (en) Video processing method, video processing device and electronic equipment
CN115904095A (en) Information input method and device, electronic equipment and readable storage medium
CN115729412A (en) Interface display method and device

Legal Events

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