Video processing method, device and electronic equipment

By extracting the wonderful pictures and audio clips from the video and splicing them into long pictures with sound, it solves the search and transmission problems caused by excessively large video files, improves user experience and browsing enthusiasm, and realizes the rapid acquisition and sharing of key video content.

CN114063863BActive Publication Date: 2024-10-15VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111430562.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-10-15
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

Video files that are too large make it more difficult for users to find key content, make transmission and sharing difficult, and reduce users' enthusiasm for browsing.

Method used

By extracting the wonderful pictures and nearby audio clips in the video, and splicing them into long pictures with sound, it retains the highlights of the video and fuses the original audio to quickly obtain the key content of the video, and provides sharing and editing functions.

Benefits of technology

It improves user experience, reduces transmission costs, enables users to quickly obtain key video content, and increases the fun of media browsing and interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063863B_ABST
    Figure CN114063863B_ABST
Patent Text Reader

Abstract

The present application discloses a video processing method, device and electronic device, belonging to the field of communication technology; the method comprises: the electronic device receives a first input for a video to be processed; in response to the first input, processes multiple frames of images included in the video to be processed and an audio file corresponding to each frame of the image, obtains and displays a long image with sound; the long image with sound comprises: multiple frames of sound images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a video processing method, device and electronic equipment. Background Art

[0002] As the times change, more and more people like to use their mobile phones to record and share their lives. However, video files are too large and too long, which makes it more difficult for users to find key content. On the other hand, it increases the transmission difficulty for video sharers and suppresses readers' enthusiasm for browsing. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a video processing method, device and electronic device, which can solve the problems of viewing, transmitting, sharing and the like caused by excessively large video files in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a video processing method, including:

[0005] Receiving a first input for a video to be processed;

[0006] In response to the first input, the multiple frames of pictures included in the video to be processed and the audio files corresponding to each frame of the picture are processed to obtain and display a long picture with sound; the long picture with sound includes: multiple frames of pictures with sound.

[0007] In a second aspect, an embodiment of the present application provides a video processing device, including:

[0008] A first receiving module, configured to receive a first input for a video to be processed;

[0009] The first response module is used to respond to the first input, process the multiple frames of pictures included in the video to be processed and the audio file corresponding to each frame of the picture, obtain and display a long picture with sound; the long picture with sound includes: multiple frames of sound pictures.

[0010] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0012] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0013] In an embodiment of the present application, by extracting a number of wonderful pictures and nearby sound sources in the video and splicing them into a long picture with sound, the highlight images of the video are retained, and at the same time, the original audio of the video is retained by integrating the sound picture technology, so that users can quickly obtain the key content of the video and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A flowchart showing the steps of a video processing method provided by an embodiment of the present application;

[0015] Figure 2 One of the diagrams showing an example of user operation interaction of the video processing method provided in an embodiment of the present application;

[0016] Figure 3 A second diagram showing an example of user operation interaction of the video processing method provided in an embodiment of the present application;

[0017] Figure 4 Figure 3 showing an example of user operation interaction of the video processing method provided by an embodiment of the present application;

[0018] Figure 5 Figure 4 is a diagram showing an example of user operation interaction of the video processing method provided in an embodiment of the present application;

[0019] Figure 6 Figure 5 showing an example of user operation interaction of the video processing method provided by an embodiment of the present application;

[0020] Figure 7 Figure 6 showing an example of user operation interaction of the video processing method provided by an embodiment of the present application;

[0021] Figure 8 Figure 7 showing an example of user operation interaction of the video processing method provided by an embodiment of the present application;

[0022] Fig. 9 Figure 8 showing an example of user operation interaction of the video processing method provided by an embodiment of the present application;

[0023] Fig.10 A schematic diagram showing the structure of a video processing device provided in an embodiment of the present application;

[0024] Fig.11 One of the structural schematic diagrams of the electronic device provided in the embodiment of the present application is shown;

[0025] Fig.12The second structural schematic diagram of the electronic device provided in the embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] The video processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0029] See also Figure 1 , Figure 1 : is a flowchart of the steps of a video processing method provided in an embodiment of the present application, the video processing method comprising:

[0030] Step 101, receiving a first input for a video to be processed;

[0031] Optionally, the video to be processed may be a video stored locally on the electronic device, or a video shot in real time, or a video played by an application or a web page, which is not specifically limited here.

[0032] Step 102, in response to the first input, the multiple frames of pictures included in the video to be processed and the audio files corresponding to each frame of the picture are processed to obtain and display a long picture with sound; the long picture with sound includes: multiple frames of pictures with sound.

[0033] Optionally, the multiple frames of images included in the above-mentioned video to be processed may be images corresponding to the wonderful scenes or highlight scenes of the video to be processed; it should be emphasized that the above-mentioned multiple frames of images are not all the video frames of the video to be processed, but only some frame images extracted from all the video frames of the video to be processed. For example, the video to be processed is identified by using AI technology, the wonderful scenes or highlight scenes of the video to be processed are identified and the corresponding frame images are intercepted, thereby obtaining the above-mentioned multiple frames of images.

[0034] Optionally, the above-mentioned "audio file corresponding to each frame of the picture" can be understood as: the audio file of the video clip where the frame of the picture is located; the starting point, length, etc. of the video clip where the frame of the picture is located can be pre-configured, or obtained by AI technology analysis; for example, the starting point of the video clip where the frame of the picture is located is the frame where the frame of the picture is located, and the length is 3 seconds; for another example, the length of the video clip where the frame of the picture is located is 4 seconds, and the starting point is 2 seconds before the frame where the frame of the picture is located; they are not enumerated here one by one.

[0035] Optionally, the electronic device first parses the video to be processed to obtain multiple frames of images and an audio file corresponding to each frame of the image; then processes each frame of the image and the corresponding audio file in turn to obtain multiple frames of sound images; and further splices the multiple frames of sound images into a long sound image based on the time sequence of the multiple frames of sound images.

[0036] Optionally, in the above steps, each frame image and the corresponding audio file row are processed in turn to obtain multiple frames of sound images, including: encoding the audio file as an extended data block of the corresponding frame image into the frame image to obtain the above-mentioned sound image.

[0037] Optionally, in this step, the electronic device uses artificial intelligence (AI) technology to automatically parse the video to be processed, obtains multiple frames of pictures and retains the sound source fragments near the corresponding pictures (i.e., retains them as audio files), and processes the multiple frames of pictures and the corresponding audio files to obtain multiple frames of sound pictures, and then splices the multiple frames of sound pictures into a long picture with sound according to the time series of the pictures; the long picture with sound retains the highlight images of the video, and at the same time integrates the sound picture technology to retain the original audio of the video, so that users can quickly obtain the key content of the video and improve the user experience.

[0038] In at least one optional embodiment of the present application, the method further includes:

[0039] receiving a second input of a first sound picture included in the sound long picture;

[0040] In response to the second input, displaying a video clip corresponding to the frame where the first picture with sound is located; wherein the audio file of the video clip is an audio file corresponding to the first picture with sound;

[0041] receiving a third input for the video clip;

[0042] In response to the third input, a second picture is generated, and the picture displayed by the first sound picture is replaced by the second picture.

[0043] In the embodiment of the present application, after the long picture with sound is automatically generated in step 102, if the user of the electronic device is not satisfied with one or more of the automatically generated long pictures with sound, the user can further replace the picture displayed by at least one of the long pictures with sound through the second input and the third input, so that the user can actively edit the long picture with sound, avoiding the problem that the automatically generated long picture with sound cannot accurately obtain the wonderful content of the video.

[0044] For example, Figure 2 As shown, first, the audio long picture of the electronic device is in a state to be modified. In this state, each audio screenshot is displayed at a certain interval. The user clicks on a single audio screenshot. Figure 2 (Screenshots with sound can also be called pictures with sound). Figure 2 The video clip corresponding to the frame pops up (for example, Figure 2 The position of the original video bar in the video is displayed). Users can manually capture new pictures by dragging the video progress bar. The captured new pictures can be Figure 2 The "picture preview interface" in the screenshot is displayed (the user can determine whether the captured picture is appropriate based on the preview interface). After capturing a new picture, the electronic device will automatically convert the audio file near the picture into an audio file (optionally, the audio file near the new picture is the same as the original audio file). Figure 2 The corresponding audio file is the same) encoded into the corresponding picture, and the newly formed sound picture replaces the original sound clip Figure 2 , thus obtaining a new long picture with sound, such as Figure 2 As shown, at this time, the long picture with sound is in a non-modification state (also called a preview state or a display state). In this state, each screenshot with sound is displayed seamlessly.

[0045] The embodiment of the present invention generates a long picture with sound corresponding to the video to be processed by automatically generating and actively modifying the long picture with sound, which can ensure that the long picture with sound displays the key content of the video and improve the user experience.

[0046] When a user needs to share a video to be processed with other users, two sharing methods are provided in the embodiment of the present application:

[0047] Method 1: sharing part of the sound-bearing picture in the long sound-bearing picture with other users; that is, the method further includes:

[0048] receiving a fourth input for a third sounded picture in the sounded long picture;

[0049] In response to the fourth input, displaying a single image sharing component;

[0050] Receiving a fifth input for the single image sharing component;

[0051] In response to the fifth input, a sharing page for sharing the third picture with sound is displayed.

[0052] For example, Figure 3 As shown, the user long presses the audio cut Figure 2 (i.e., the fourth input), the electronic device displays a single picture sharing button, and the user clicks the button (i.e., the fifth input) to start the sharing interface, through which the audio screenshot is shared. Figure 2 Share with other users.

[0053] Method 2: Share the entire long picture with sound with other users. That is, the method also includes:

[0054] receiving a sixth input;

[0055] In response to the sixth input, a sharing page for sharing the long picture with sound is displayed.

[0056] For example, Figure 4 As shown, the user clicks the "Share" button (ie, the sixth input) at the top of the long picture with sound page to start the sharing interface, through which the entire long picture with sound is shared with other users.

[0057] After the embodiment of the present invention processes the video to be processed to generate a long picture with sound, when the corresponding video to be processed needs to be shared, the sender only needs to share the long picture with sound or a single picture with audio, which not only reduces the transmission cost but also allows the receiver to quickly obtain the key content of the video, thereby improving the user experience.

[0058] In at least one embodiment of the present application, the method further includes:

[0059] receiving a seventh input;

[0060] In response to the seventh input, a first desktop component is displayed, wherein the first desktop component is used to display the long picture with sound.

[0061] For example, Figure 5 As shown, the user pulls up the component library (ie, the seventh input) through a gesture and drags out the long picture component with sound (ie, the first desktop component).

[0062] Optionally, the first desktop component has a default size of 2×2 and supports a maximum size of 7×2, displaying default materials. Figure 6 As shown, long press the component and click the "Transform" button in the lower right corner to change the length of the component.

[0063] In an embodiment of the present application, a long picture with sound can exist as a desktop component on the desktop of an electronic device. Users can view and slide the long picture with sound on the desktop without having to enter the mobile phone album. While sliding the long picture with sound, they can choose to play the original sound of the video, thereby increasing the fun of media browsing and interaction.

[0064] In at least one optional embodiment of the present application, the method further includes:

[0065] Receiving an eighth input for the first desktop component;

[0066] In response to the eighth input, displaying a long picture library management page with sound, wherein the long picture library management page with sound includes at least one long picture with sound;

[0067] Receiving a ninth input for the long picture with sound gallery management page, wherein the ninth input is used to select at least one long picture with sound in the long picture with sound gallery;

[0068] In response to the ninth input, the selected long picture with sound is added to the first desktop component.

[0069] For example, the user clicks on the first desktop component to enter the management page of the long picture with sound gallery, and clicks "Add a new long picture with sound" to call up the system album where the long picture with sound is located (that is, the management page of the long picture gallery with sound). The user can select one or more long pictures with sound that have been made and put them into the first desktop component. After completing the setting, the corresponding long picture with sound can be displayed on the desktop.

[0070] In another optional embodiment of the present application, if the long picture with sound gallery management page does not include the long picture with sound, that is, the user has not previously clicked the long picture with sound, the method further includes:

[0071] receiving a thirteenth input for the first desktop component;

[0072] In response to the thirteenth input, displaying a video library, the video library including at least one video;

[0073] Receiving a fourteenth input for the video library; the fourteenth input is used to select a video to be processed;

[0074] In response to the fourteenth input, the selected video to be processed is displayed.

[0075] For example, the user clicks on the first desktop component to enter the management page of the long picture library with sound, clicks "Add a long picture with sound" - "Create a new material", jumps to the video library, and after the user selects a video, enters the long picture production process with sound of "Step 101 and Step 102"; the completed material will be automatically stored in the component material management library and the system long picture album with sound.

[0076] Optionally, long images with sound in the material management library can be added or removed freely.

[0077] In at least one embodiment of the present application, the method further includes:

[0078] Receiving a tenth input for the long picture with sound displayed in the first desktop component;

[0079] In response to the tenth input, frames of the long picture with sound are displayed in sequence.

[0080] For example, Figure 7 As shown, the user can browse the long image by sliding up and down on the first desktop component (ie, the tenth input is sliding up and down).

[0081] In at least one embodiment of the present application, the method further includes:

[0082] Receiving an eleventh input for a fourth sound picture in the long sound picture displayed in the first desktop component;

[0083] In response to the eleventh input, the audio file corresponding to the fourth sound picture is played.

[0084] For example, Figure 8 As shown, the user double-clicks (i.e., the eleventh input) a picture with sound to play the sound source corresponding to the picture.

[0085] In at least one embodiment of the present application, the method further includes:

[0086] Receiving a twelfth input for the long picture with sound displayed in the first desktop component;

[0087] In response to the twelfth input, other long pictures with sound in the first desktop component are displayed.

[0088] For example, Fig. 9 As shown, the user can switch the long picture material with sound by sliding left and right on the first desktop component (that is, the twelfth input is sliding left and right).

[0089] In an embodiment of the present application, a long picture with sound can exist as a desktop component on the desktop of an electronic device. Users can view and slide the long picture with sound on the desktop without having to enter the mobile phone album. While sliding the long picture with sound, they can choose to play the original sound of the video, thereby increasing the fun of media browsing and interaction, further increasing the connection between images, sounds and users, and enhancing the sense of happiness.

[0090] It should be noted that the video processing method provided in the embodiment of the present application can be executed by a video processing device or a control module in the video processing device for executing the video processing method. In the embodiment of the present application, the video processing device provided in the embodiment of the present application is described by taking the video processing method executed by the video processing device as an example.

[0091] See also Fig.10 , Fig.10 1 is a structural diagram of a video processing device provided in an embodiment of the present application. The video processing device 1000 includes:

[0092] The first receiving module 10001 is used to receive a first input for a video to be processed,

[0093] The first response module 1002 is used to respond to the first input, process and display the multiple frames of pictures included in the video to be processed and the audio file corresponding to each frame of the picture, and obtain a long picture with sound; the long picture with sound includes: multiple frames of sound pictures.

[0094] As an optional embodiment, the device further includes:

[0095] A second receiving module is used to receive a second input of a first sound picture included in the long sound picture;

[0096] A second response module is configured to display, in response to the second input, a video clip corresponding to the frame where the first sound picture is located; wherein the audio file of the video clip is an audio file corresponding to the first sound picture;

[0097] A third receiving module, configured to receive a third input for the video segment;

[0098] The third response module is used to generate a second picture in response to the third input, and replace the picture displayed by the first sound picture with the second picture.

[0099] As an optional embodiment, the device further includes:

[0100] A fourth receiving module, configured to receive a fourth input of a third sound picture in the long sound picture;

[0101] a fourth response module, configured to display a single image sharing component in response to the fourth input;

[0102] A fifth receiving module, configured to receive a fifth input for the single image sharing component;

[0103] The fifth response module is used to display a sharing page for sharing the third picture with sound in response to the fifth input.

[0104] As an optional embodiment, the device further includes:

[0105] A sixth receiving module, configured to receive a sixth input;

[0106] The sixth response module is used to display a sharing page for sharing the long picture with sound in response to the sixth input.

[0107] As an optional embodiment, the device further includes:

[0108] a seventh receiving module, configured to receive a seventh input;

[0109] The seventh response module is used to display a first desktop component in response to the seventh input, and the first desktop component is used to display the long picture with sound.

[0110] As an optional embodiment, the device further includes:

[0111] An eighth receiving module, used for receiving an eighth input for the first desktop component;

[0112] an eighth response module, configured to display a long picture library management page with sound in response to the eighth input, wherein the long picture library management page with sound includes at least one long picture with sound;

[0113] A ninth receiving module, configured to receive a ninth input for the long picture with sound gallery management page, wherein the ninth input is used to select at least one long picture with sound in the long picture with sound gallery;

[0114] The ninth response module is used to add the selected long picture with sound to the first desktop component in response to the ninth input.

[0115] As an optional embodiment, the device further includes:

[0116] A tenth receiving module, used for receiving a tenth input for the long picture with sound displayed in the first desktop component;

[0117] The tenth response module is used to respond to the tenth input and display the sound-carrying picture frames of the long sound-carrying picture in sequence.

[0118] As an optional embodiment, the device further includes:

[0119] An eleventh receiving module, configured to receive an eleventh input for a fourth sound picture in the long sound picture displayed in the first desktop component;

[0120] The eleventh response module is used to play the audio file corresponding to the fourth sound picture in response to the eleventh input.

[0121] As an optional embodiment, the device further includes:

[0122] A twelfth receiving module, used for receiving a twelfth input for the long picture with sound displayed in the first desktop component;

[0123] The twelfth response module is used to display other long pictures with sound in the first desktop component in response to the twelfth input.

[0124] In the embodiment of the present application, by extracting a number of wonderful pictures and nearby sound sources from the video and splicing them into a long picture with sound, the highlight of the video is retained, and at the same time, the original audio of the video is retained by integrating the sound picture technology, so that users can quickly obtain the key content of the video and improve the user experience. Further, in the case of sharing the corresponding unprocessed video, the sender only needs to share the long picture with sound or a single picture with audio, which not only reduces the transmission cost, but also allows the receiver to quickly obtain the key content of the video and improve the user experience; and the long picture with sound can exist as a desktop component on the desktop of the electronic device, so the user does not need to enter the mobile phone album, and can view the long picture with sound on the desktop by sliding. While sliding the long picture with sound, you can choose to play the original sound of the video, which increases the fun of media browsing and interaction.

[0125] It should be noted that the video processing device provided in the embodiment of the present application is a device capable of executing the above-mentioned video processing method, and all embodiments of the above-mentioned video processing method are applicable to the device and can achieve the same or similar beneficial effects.

[0126] The video processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0127] The video processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0128] The video processing device provided in the embodiment of the present application can achieve Figures 1 to 9 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0129] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides an electronic device 1100, including a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101. When the program or instruction is executed by the processor 1101, each process of the above-mentioned video processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0130] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0131] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0132] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210 and other components.

[0133] Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0134] The radio frequency unit 1201 is used to receive a first input for a video to be processed;

[0135] Processor 1210 is used to process the multiple frames of pictures included in the video to be processed and the audio file corresponding to each frame of the picture in response to the first input, obtain and display a long picture with sound; the long picture with sound includes: multiple frames of sound pictures.

[0136] In an embodiment of the present application, by extracting a number of wonderful pictures and nearby sound sources in the video and splicing them into a long picture with sound, the highlight images of the video are retained, and at the same time, the original audio of the video is retained by integrating the sound picture technology, so that users can quickly obtain the key content of the video and improve the user experience.

[0137] Optionally, the radio frequency unit 1201 is further configured to receive a second input of a first sound picture included in the sound long picture;

[0138] The processor 1210 is further configured to display, in response to the second input, a video clip corresponding to the frame where the first sound picture is located; wherein the audio file of the video clip is an audio file corresponding to the first sound picture;

[0139] The radio frequency unit 1201 is further configured to receive a third input for the video segment;

[0140] The processor 1210 is further configured to generate a second picture in response to the third input, and replace the picture displayed as the first picture with sound with the second picture.

[0141] Optionally, the radio frequency unit 1201 is further configured to receive a fourth input for the long picture with sound;

[0142] The processor 1210 is further configured to display a single-image sharing selection page in response to the fourth input, wherein the single-image sharing selection page includes at least one image with sound among the long images with sound;

[0143] The radio frequency unit 1201 is further configured to receive a fifth input for the single picture sharing selection page; the fifth input is used to select a third picture with sound to be shared in the long picture with sound;

[0144] The processor 1210 is further configured to display, in response to the fifth input, a sharing page for sharing the third picture with sound.

[0145] Optionally, the radio frequency unit 1201 is further configured to receive a sixth input;

[0146] The processor 110 is further configured to display, in response to the sixth input, a sharing page for sharing the long picture with sound.

[0147] In the embodiment of the present application, when the corresponding video to be processed needs to be shared, the sender only needs to share a long picture or a single picture with audio, which not only reduces the transmission cost but also allows the receiver to quickly obtain the key content of the video, thereby improving the user experience.

[0148] Optionally, the radio frequency unit 1201 is further configured to receive a seventh input;

[0149] The processor 1210 is further configured to display a first desktop component in response to the seventh input, wherein the first desktop component is configured to display the long picture with sound.

[0150] Optionally, the radio frequency unit 1201 is further configured to receive an eighth input for the first desktop component;

[0151] The processor 1210 is further configured to display a long picture library management page with sound in response to the eighth input, wherein the long picture library management page with sound includes at least one long picture with sound;

[0152] The radio frequency unit 1201 is further configured to receive a ninth input for the long picture with sound gallery management page, wherein the ninth input is used to select at least one long picture with sound in the long picture with sound gallery;

[0153] The processor 1210 is further configured to, in response to the ninth input, add the selected long picture with sound to the first desktop component.

[0154] Optionally, the radio frequency unit 1201 is further configured to receive a tenth input for the long picture with sound displayed in the first desktop component;

[0155] The processor 1210 is further configured to, in response to the tenth input, sequentially display each frame of the long picture with sound.

[0156] Optionally, the radio frequency unit 1201 is further configured to receive an eleventh input for a fourth picture with sound in the long picture with sound displayed in the first desktop component;

[0157] The processor 1210 is further configured to, in response to the eleventh input, play the audio file corresponding to the fourth sound picture.

[0158] Optionally, the radio frequency unit 1201 is further configured to receive a twelfth input for the long picture with sound displayed in the first desktop component;

[0159] The processor 1210 is further configured to display other long pictures with sound in the first desktop component in response to the twelfth input.

[0160] In an embodiment of the present application, a long picture with sound can exist as a desktop component on the desktop of an electronic device. Users can view and slide the long picture with sound on the desktop without having to enter the mobile phone album. While sliding the long picture with sound, they can choose to play the original sound of the video, thereby increasing the fun of media browsing and interaction.

[0161] It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1209 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1210.

[0162] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned video processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0163] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0164] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned video processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0165] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0166] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0168] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A video processing method, characterized in that: include: Receiving a first input for a video to be processed; In response to the first input, the multiple frames of images included in the video to be processed and the audio file corresponding to each frame of the image are processed to obtain and display a long image with sound; The long picture with sound includes: a plurality of frames of picture with sound; receiving a second input of a first sound picture included in the sound long picture; In response to the second input, displaying a video clip corresponding to the frame where the first picture with sound is located; wherein the audio file of the video clip is an audio file corresponding to the first picture with sound; receiving a third input for the video clip; In response to the third input, a second picture is generated, and the picture displayed by the first sound picture is replaced by the second picture.

2. The method according to claim 1, characterized in that The method further comprises: receiving a fourth input for a third sounded picture in the sounded long picture; In response to the fourth input, displaying a single image sharing component; Receiving a fifth input for the single image sharing component; In response to the fifth input, a sharing page for sharing the third picture with sound is displayed.

3. The method according to claim 1, characterized in that The method further comprises: receiving a sixth input; In response to the sixth input, a sharing page for sharing the long picture with sound is displayed.

4. The method according to claim 1, characterized in that: The method further comprises: receiving a seventh input; In response to the seventh input, a first desktop component is displayed, wherein the first desktop component is used to display a long picture with sound.

5. The method according to claim 4, characterized in that The method further comprises: Receiving an eighth input for the first desktop component; In response to the eighth input, displaying a long picture library management page with sound, wherein the long picture library management page with sound includes at least one long picture with sound; Receiving a ninth input for the long picture with sound gallery management page, wherein the ninth input is used to select at least one long picture with sound in the long picture with sound gallery; In response to the ninth input, the selected long picture with sound is added to the first desktop component.

6. The method according to claim 4, characterized in that The method further comprises: Receiving a tenth input for the long picture with sound displayed in the first desktop component; In response to the tenth input, frames of the long picture with sound are displayed in sequence.

7. The method according to claim 4, characterized in that The method further comprises: Receiving an eleventh input for a fourth sound picture in the long sound picture displayed in the first desktop component; In response to the eleventh input, the audio file corresponding to the fourth sound picture is played.

8. The method according to claim 4, characterized in that The method further comprises: Receiving a twelfth input for the long picture with sound displayed in the first desktop component; In response to the twelfth input, other long pictures with sound in the first desktop component are displayed.

9. A video processing device, characterized in that: include: A first receiving module, configured to receive a first input for a video to be processed; A first response module, configured to process, in response to the first input, multiple frames of images included in the video to be processed and an audio file corresponding to each frame of the image, obtain a long image with sound and display it; The long picture with sound includes: a plurality of frames of pictures with sound; A second receiving module is used to receive a second input of a first sound picture included in the long sound picture; A second response module is configured to display, in response to the second input, a video clip corresponding to the frame where the first sound picture is located; wherein the audio file of the video clip is an audio file corresponding to the first sound picture; A third receiving module, configured to receive a third input for the video segment; The third response module is used to generate a second picture in response to the third input, and replace the picture displayed by the first sound picture with the second picture.

10. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the video processing method according to any one of claims 1 to 8.

11. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the video processing method according to any one of claims 1 to 8 are implemented.