WO2022262536A1 - 一种视频处理方法及电子设备 - Google Patents
一种视频处理方法及电子设备 Download PDFInfo
- Publication number
- WO2022262536A1 WO2022262536A1 PCT/CN2022/094792 CN2022094792W WO2022262536A1 WO 2022262536 A1 WO2022262536 A1 WO 2022262536A1 CN 2022094792 W CN2022094792 W CN 2022094792W WO 2022262536 A1 WO2022262536 A1 WO 2022262536A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- video
- electronic device
- duration
- user
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 8
- 230000000694 effects Effects 0.000 claims abstract description 240
- 230000004044 response Effects 0.000 claims abstract description 94
- 238000000034 method Methods 0.000 claims abstract description 70
- 230000006870 function Effects 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 37
- 230000000875 corresponding effect Effects 0.000 description 34
- 238000013461 design Methods 0.000 description 28
- 230000008569 process Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 19
- 238000007726 management method Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 14
- 230000007704 transition Effects 0.000 description 14
- 230000001151 other effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010612 desalination reaction Methods 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
- H04N21/47205—End-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 for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/4223—Cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/77—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
- H04N5/772—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera the recording apparatus and the television camera being placed in the same enclosure
Definitions
- the present application relates to the technical field of photographing, and in particular to a video processing method and electronic equipment.
- Electronic devices such as mobile phones and tablets provide functions such as video recording and processing.
- a gallery application is provided in the mobile phone, and the video can be processed by using the gallery application. For example, you can add filters, soundtracks, and more to your videos.
- Embodiments of the present application provide a video processing method and an electronic device, which can form slices with different effects for the same video, and improve the diversity of slices.
- the embodiment of the present application provides a video shooting method, which is applied to electronic devices such as mobile phones and tablets that support video shooting.
- the electronic device displays the first interface.
- the first interface includes a first option, and the first option displays a thumbnail of an image frame in the first video.
- the electronic device displays the second interface in response to the user's click operation on the first option in the first interface.
- the second interface is an editing interface of the first video, and the second interface also includes a first control.
- the first control is a button of "one-click filming"
- the electronic device generates the first film in response to the user's first operation on the first control in the second interface
- the first filming is the video added by the electronic device to the first video The resulting video after the first video effect. So far, the electronic device has added the first video effect to the video in the electronic device.
- the electronic device can display the third interface.
- the third interface includes a second option and a first option, and the second option displays a thumbnail of a frame of image in the first film. That is to say, after the video effect is added to the first video, the electronic device can provide two options of the first video and the first finished film for selection.
- the electronic device displays the fourth interface in response to the user's click operation on the first option in the third interface.
- the fourth interface is an editing interface of the first video, and the fourth interface also includes the first control.
- the electronic device generates a second video in response to the user's first operation on the first control in the fourth interface; the second video is a video obtained by adding a second video effect to the first video by the electronic device. Wherein, the first video effect is different from the second video effect.
- the electronic device can add video effects to the first video in response to the user's operation on the first control to form the first film. Afterwards, the electronic device still provides the option of the first video to the user. In addition, for the first video, the electronic device may add different video effects to the first video in response to the user's operation on the first control again to form a second film. Therefore, for the same video, a film with different effects can be formed, and the diversity of the film can be improved.
- the first interface is an interface before recording a video or taking a photo in a camera application of the electronic device, or the first interface is an application interface of a gallery application in the electronic device.
- the third interface is an application interface of a gallery application.
- the electronic device displays the second interface in response to the user's click operation on the first option in the first interface, including: the electronic device responds to the user's click operation on the first option in the first interface For the click operation of the option, if the first video is a video without video effects added, the electronic device displays the second interface.
- the electronic device only provides the function of adding video effects to videos without adding video effects, that is, the function of "one-click filming". In this way, it is possible to add video effects in a targeted manner and improve the effect of video processing.
- the above method further includes: the electronic device responds to the user's click operation on the first option in the first interface, and if the first video has a video with video effects added, the electronic device displays the second video.
- the fifth interface is an editing interface of the first video, and the fifth interface does not include the first control.
- the electronic device no longer provides the function of adding video effects to the video to which video effects have been added, but only displays a common editing interface, that is, the fifth interface. So as to avoid video effect confusion.
- the above further includes: the electronic device displays a sixth interface in response to the user's click operation on the second option; the sixth interface is the first In the editing interface of a piece, the sixth interface does not include the first control.
- the electronic device since the second option corresponds to the first segment, and the first segment is a segment to which a video effect has been added, the electronic device does not provide it with a function of adding a video effect. So as to avoid video effect confusion.
- the electronic device displays the second interface in response to the user's click operation on the first option in the first interface, including: the electronic device responds to the user's click operation on the first option in the first interface For the click operation of the option, if the video duration of the first video exceeds the first duration, and the video duration of the first video does not exceed the second duration, the electronic device displays the second interface; the first duration is less than the second duration.
- the electronic device only provides the function of adding video effects to videos with a video duration within a certain duration range, which can improve the effect of video processing.
- the above method further includes: when the electronic device displays the first control for the first time, the electronic device displays first prompt information at the same time, and the first prompt information is used to prompt that the function of adding video effects is applicable video duration.
- the electronic device when the electronic device displays the first interface for the first time, it prompts the video duration applicable to the function of adding video effects. In this way, the scope of application of the function of adding video effects can be clearly indicated, and the efficiency of human-computer interaction can be improved.
- the above method further includes: the electronic device responds to the user's click operation on the first option in the first interface, if the video duration of the first video does not exceed the first duration, or, The video duration of the first video exceeds the second duration, and the electronic device displays a seventh interface; the seventh interface is an editing interface of the first video, and the seventh interface does not include the first control.
- the electronic device does not provide it with the function of adding video effects. In this way, the effect of video processing can be improved.
- the video duration of the first video exceeds the second duration.
- the electronic device generates the first slice in response to the user's first operation on the first control in the second interface, including: the electronic device displays the eighth interface in response to the user's first operation on the first control in the second interface ;
- the eighth interface is an interface for cutting the first video by the electronic device.
- the electronic device In response to the second operation of the user on the eighth interface, the electronic device generates a first segment; the first segment is a video obtained by adding a first video effect to the target segment by the electronic device, the target segment belongs to the first video, and segments of the target segment The duration does not exceed the second duration.
- the electronic device may first trim the video, and then add a video effect to the trimmed video. In this way, the electronic device can provide a function of adding video effects to a relatively long video. Thereby, the applicability of the function of adding video effects can be improved.
- the method further includes: the electronic device displays a preview interface of the first piece.
- the electronic device can directly display a preview after generating a film, so that the video effect can be directly previewed, and the efficiency of human-computer interaction is improved.
- the preview interface includes a second control, and the second control is used to trigger the electronic device to edit the clip.
- the method further includes: the electronic device plays the first film on the preview interface.
- the electronic device responds to the completion of the first piece of playback, and displays the second prompt information on the preview interface; the second prompt information is used to prompt the electronic device Edit the first film.
- the electronic device may provide an editing prompt in the preview interface, so as to clearly instruct the user to continue editing into a piece.
- the above-mentioned fifth interface includes a second control, and the second control is used to trigger editing of the electronic device into a piece.
- the method further includes: the electronic device switches at least one effect among the first video effects in response to the user's third operation on the second control; the at least one effect includes One or more of background music, filters, stickers, frames, transitions, and credits.
- the video effect added by the electronic device can be adjusted. Thereby, the video effect added by the electronic device can be broken, and a more diverse video can be formed.
- the method further includes: the electronic device saves the first piece in response to the user's fourth operation on the preview interface.
- the electronic device displays a ninth interface; the ninth interface is an editing interface of the first piece, and the ninth interface does not include the first control.
- the electronic device displaying the third interface includes: the electronic device displays the third interface in response to a return operation input by the user on the ninth interface.
- the embodiment of the present application further provides an electronic device that can support a video shooting function
- the electronic device includes a display screen, a memory, and one or more processors.
- the display screen, the memory and the processor are coupled.
- the memory is used to store computer program codes, the computer program codes include computer instructions, and when the computer instructions are executed by the processor, the electronic device is made to perform the following steps: the electronic device displays a first interface;
- the first interface includes a first option, and the first option displays a thumbnail of a frame image in the first video;
- the electronic device responds to the user clicking on the first option in the first interface Operation, displaying a second interface;
- the second interface is an editing interface of the first video, and the second interface also includes a first control;
- the electronic device responds to the The first operation of the first control generates a first film;
- the first film is a video obtained after the electronic device adds a first video effect to the first video;
- the electronic device displays a third interface;
- the third interface
- the first interface is an interface before video recording or taking pictures in the camera application of the electronic device, or the first interface is a gallery in the electronic device An application interface of an application; and, the third interface is an application interface of the gallery application.
- the electronic device when the computer instruction is executed by the processor, the electronic device is made to perform the following steps: the electronic device responds to the user's The click operation of the first option, if the first video is a video without video effects added, the electronic device displays the second interface.
- the electronic device when the computer instruction is executed by the processor, the electronic device is made to perform the following steps: the electronic device responds to the user's The click operation of the first option, if the first video has video effects added, the electronic device displays the fifth interface; the fifth interface is the editing interface of the first video, and the fifth interface The first control is not included in .
- the electronic device when the computer instructions are executed by the processor, the electronic device is caused to perform the following steps: the electronic device responds to the user clicking on the second option Operation, displaying a sixth interface; the sixth interface is an editing interface of the first piece, and the sixth interface does not include the first control.
- the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following steps: the electronic device responds to the user's response to the The click operation of the first option, if the video duration of the first video exceeds the first duration, and the video duration of the first video does not exceed the second duration, the electronic device displays the second interface; the The first duration is less than the second duration.
- the electronic device when the computer instructions are executed by the processor, the electronic device is caused to perform the following steps: when the electronic device displays the first control for the first time, the The electronic device displays first prompt information at the same time, and the first prompt information is used to prompt the video duration for which the function of adding video effects is applicable.
- the electronic device when the computer instruction is executed by the processor, the electronic device is made to perform the following steps: the electronic device responds to the user's The click operation of the first option, if the video duration of the first video does not exceed the first duration, or, the video duration of the first video exceeds the second duration, the electronic device displays a seventh interface ;
- the seventh interface is an editing interface of the first video, and the seventh interface does not include the first control.
- the video duration of the first video exceeds the second duration; when the computer instructions are executed by the processor, the electronic device is made to perform the following steps: The electronic device displays an eighth interface in response to the user's first operation on the first control in the second interface; the eighth interface is an interface for the electronic device to crop the first video; the The electronic device generates a first film in response to the user's second operation on the eighth interface; the first film is a video obtained by adding the first video effect to the target segment by the electronic device, and the target The segment belongs to the first video, and the segment duration of the target segment does not exceed the second duration.
- the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following step: the electronic device displays the preview interface of the first piece.
- the preview interface includes a second control, and the second control is used to trigger editing of the electronic device into a piece.
- the electronic device is made to perform the following steps: the electronic device plays the first film in the preview interface; the electronic device has not detected the user
- the electronic device displays second prompt information on the preview interface in response to the completion of the first video playback; the second prompt information is used to prompt
- the electronic device edits the first slice.
- the fifth interface includes a second control, and the second control is used to trigger editing of the electronic device into slices; when the computer instruction is executed by the processor When executed, the electronic device is made to perform the following steps: the electronic device switches at least one effect in the first video effect in response to the user's third operation on the second control; the at least one effect include one or more of background music, filters, stickers, frames, transitions, and credits.
- the electronic device when the computer instructions are executed by the processor, the electronic device is made to perform the following steps: the electronic device responds to the fourth operation, saving the first piece; the electronic device displays a ninth interface in response to the completion of saving the first piece; the ninth interface is the editing interface of the first piece, and the ninth The interface does not include the first control; the electronic device displays the third interface in response to a return operation input by the user on the ninth interface.
- an embodiment of the present application provides a chip system, which is applied to an electronic device including a display screen and a memory; the chip system includes one or more interface circuits and one or more processors; the interface The circuit and the processor are interconnected by a line; the interface circuit is configured to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; When the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any possible design manner thereof.
- the present application provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the first aspect and any possible design method thereof. the method described.
- the present application provides a computer program product.
- the computer program product runs on a computer, the computer executes the method described in the first aspect and any possible design manner thereof.
- FIG. 1 is a schematic diagram of a hardware structure of a mobile phone provided by an embodiment of the present application
- Fig. 2 is one of the interface diagrams of a mobile phone provided by the embodiment of the present application.
- FIG. 3A is the second schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 3B is the third schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 4 is the fourth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- Fig. 5A is a schematic diagram of a sheeting effect provided by the embodiment of the present application.
- FIG. 5B is the fifth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 6A is a schematic diagram of a video duration provided by an embodiment of the present application.
- FIG. 6B is the sixth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 6C is the seventh schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 6D is the eighth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- Fig. 7A is the ninth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 7B is a schematic diagram of a music desalination process provided by the embodiment of the present application.
- Fig. 8 is the tenth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 9 is the eleventh schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 10 is the twelveth schematic diagram of the interface of a mobile phone provided by the embodiment of the present application.
- FIG. 11 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
- An embodiment of the present application provides a video processing method, which can be applied to electronic devices supporting video processing, such as mobile phones and tablets.
- the electronic device can provide a quick editing entry for the video in the electronic device.
- the electronic device can receive a user's preset operation on the shortcut editing entry, such as a click operation, a slide operation, and the like.
- the electronic device can add a set of video effects such as background music, filters, special effects (such as twinkling stars), transitions, photo frames, and stickers to the video to generate a movie.
- the electronic device may add different sets of video effects to the video in response to multiple preset operations by the user, thereby generating films with different effects.
- the electronic device can quickly add a set of effects to the video in response to the user's preset operation, and improve the intelligence and efficiency of video processing. Moreover, for the same video, in response to multiple preset operations by the user, films with different effects can be formed to increase the diversity of the films.
- the electronic equipment in the embodiment of the present application can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, and a cellular Phones, personal digital assistants (personal digital assistant, PDA), augmented reality (augmented reality, AR) ⁇ virtual reality (virtual reality, VR) equipment and other equipment that support video processing, the embodiment of the present application does not make any reference to the specific form of the electronic equipment special restrictions.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- the mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power supply Management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, An indicator 192, a camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
- SIM subscriber identification module
- the structure shown in this embodiment does not constitute a specific limitation on the electronic device.
- the electronic device may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
- the illustrated components can be realized in hardware, software or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
- application processor application processor, AP
- modem processor graphics processing unit
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit
- the interface connection relationship among the modules shown in this embodiment is only a schematic illustration, and does not constitute a structural limitation of the electronic device.
- the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
- the charging management module 140 is configured to receive a charging input from a charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
- the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
- the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 191 , and the wireless communication module 160 .
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 141 may also be disposed in the processor 110 .
- the power management module 141 and the charging management module 140 may also be set in the same device.
- the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
- System global navigation satellite system, GNSS
- frequency modulation frequency modulation, FM
- near field communication technology near field communication, NFC
- infrared technology infrared, IR
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
- the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the electronic device can realize the shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
- the ISP is used for processing the data fed back by the camera 193 .
- Camera 193 is used to capture still images or video.
- the object generates an optical image through the lens and projects it to the photosensitive element.
- the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
- the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
- the internal memory 121 may be used to store computer-executable program codes including instructions.
- the processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 .
- the processor 110 may display different content on the display screen 184 in response to the user's operation of expanding the display screen 194 by executing instructions stored in the internal memory 121 .
- the internal memory 121 may include an area for storing programs and an area for storing data.
- the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
- the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
- the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
- the keys 190 include a power key, a volume key and the like.
- the key 190 may be a mechanical key. It can also be a touch button.
- the electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
- the motor 191 can generate a vibrating reminder.
- the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
- the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
- the SIM card interface 195 is used for connecting a SIM card.
- the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation with the electronic device.
- the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the method in the embodiment of the present application will be described in detail below with reference to the accompanying drawings and taking the electronic device as a mobile phone as an example.
- the method in the embodiment of the present application may be applied to a scene of video processing.
- the video to be processed (also referred to as the first video) may be a video captured by a mobile phone, or may be a video downloaded from the Internet or stored in a cloud.
- the solution of this application is mainly described by taking the video to be processed as a video captured by a mobile phone as an example.
- the mobile phone can capture a video to be processed in a single-lens video mode.
- the single-lens video mode is an ordinary video mode in the conventional sense.
- the mobile phone only uses one camera to shoot video.
- the interface 201 shown in (a) in FIG. 2 is a viewfinder interface before recording in single-lens recording mode.
- the interface 201 only includes an image 202 captured by a single camera (such as a front camera). In this case, the shooting starts, and the mobile phone shoots in the single-lens video mode.
- the mobile phone can capture a video to be processed in a multi-camera recording mode.
- the mobile phone can use two or more cameras to shoot video at the same time.
- the interface 203 shown in (b) in FIG. 2 is a viewfinder interface before recording in multi-lens recording mode.
- the interface 203 includes an image 204 and an image 205 captured by two cameras (such as a rear main camera and a front camera). In this case, the shooting starts, and the mobile phone shoots in the multi-lens video mode.
- the solution of the present application will be described mainly in the multi-mirror video recording mode.
- a switching operation for example, clicking the switching button 206 in the interface 203, can trigger the mobile phone to switch to using a single camera to shoot video.
- a mode in which a single camera is used to shoot video can be recorded as a multi-mirror mode.
- the mobile phone in the multi-mirror video recording mode, in the viewfinder interface before video shooting, such as in interface 301, the mobile phone can receive the user's operation 1, which is used to Trigger the phone to start video recording.
- the viewfinder interface before shooting includes a control 1, such as the button 302 in the interface 301 shown in (a) of FIG. 3A .
- Control 1 is used to trigger the mobile phone to start video shooting, and operation 1 may be a user's click operation on control 1 .
- the mobile phone may start video shooting, and display a viewfinder interface during video shooting, such as interface 303 shown in (b) of FIG. 3A .
- the mobile phone can receive the user's operation 2, and the operation 2 is used to trigger the mobile phone to end the video shooting.
- the viewfinder interface during shooting includes the control 2, such as the button 304 in the interface 303 .
- Control 2 is used to trigger the mobile phone to end video shooting, and operation 2 may be a user's click operation on control 2 .
- the mobile phone can end the video shooting, and store the shot video (which can be recorded as video 1, which belongs to the first video).
- operation 1 and operation 2 are not limited to the forms in the above examples.
- operation 1 may also be a user's sliding operation from the right edge of the viewfinder interface before video shooting to the left.
- operation 2 may also be a user's double-click operation on the viewfinder interface during video shooting, or the like. The embodiments of the present application do not specifically limit this.
- the mobile phone can resume displaying the viewfinder interface (also called the first interface) before shooting.
- the viewfinder interface before video shooting includes a gallery resource control, and the gallery resource control can display a thumbnail of an image frame in video 1 (it can be referred to as the thumbnail of video 1).
- the mobile phone may display an interface 311 shown in (a) in FIG. 3B , which is a viewfinder interface before video shooting.
- the button 312 at the bottom left of the interface 311 is a gallery resource control, and the thumbnail 313 of the video 1 is displayed in the button 312 .
- the thumbnail may be called an option, for example, the thumbnail of Video 1 is called the first option.
- the gallery resource control can be used to trigger the mobile phone to display the video corresponding to the thumbnail.
- the mobile phone can receive the user's click operation, long press operation, slide operation, etc. on the gallery resource control.
- the following will mainly use the click operation as an example to illustrate.
- the mobile phone may display an interface 1 (also referred to as a second interface), where interface 1 is an editing interface for video 1 .
- interface 1 also referred to as a second interface
- the mobile phone may display the interface 316 shown in (c) in FIG. 3B , that is, interface 1 .
- the video corresponding to the thumbnail 313 in the button 312 can be edited.
- the mobile phone can synchronize the video 1 to the gallery application, and then in the application interface of the gallery application (also The thumbnail of video 1 will also be displayed in the first interface).
- the mobile phone may display an interface 314 shown in (b) of FIG. 3B , and the interface 314 is an application interface of the gallery application.
- Interface 314 includes a thumbnail 315 of Video 1 .
- the thumbnail of Video 1 may be referred to as the first option.
- the mobile phone may receive a user's click operation on the thumbnail in the application interface.
- the mobile phone may also display Interface 1 (also referred to as a second interface), where Interface 1 is an editing interface for Video 1 .
- Interface 1 is an editing interface for Video 1 .
- the mobile phone may display ( c) Interface 316 is shown, ie interface 1 .
- Interface 316 Video 1 may be edited.
- the interface 1 may include share controls, favorite controls, edit controls, delete controls and the like.
- the sharing control may be a "Share” button
- the collection control may be a "Favorite” button and so on. This allows basic video editing to be done.
- the interface 1 includes a control 3 (that is, the quick editing entry, which may also be referred to as the first control), such as the "one-key blockbuster” button in the interface 316 shown in (c) of FIG. 3B .
- Control 3 is used to trigger the mobile phone to use an effect template (such as template 1) to process the video to be processed (such as video 1).
- this processing function may be called “one-key blockbuster”.
- the scheme of this application will be described below mainly by taking template 1 as an example of the effect template used in "One Click Blockbuster".
- Each effect template has a combination of background music, filters, special effects (such as twinkling stars), transitions, photo frames, stickers and other effects, which can be referred to as video effects for short. That is, each effect template corresponds to a set of video effects.
- each effect template corresponds to a set of video effects.
- the mobile phone uses an effect template, it can add a corresponding video effect to the video.
- a group of video effects corresponding to template 1 may be referred to as a first video effect.
- the mobile phone may receive the user's operation 3 (also referred to as the first operation) on the control 3 . Operation 3 is used to trigger the mobile phone to use template 1 to process the video to be processed (such as video 1).
- the operation 3 may be a click operation, a long press operation, a slide operation, etc. of the control 3 by the user.
- the operation 3 may be the user's sliding up operation on the control 3 and so on.
- the present application does not specifically limit the form of operation 3.
- the solution of this application is mainly described by taking operation 3 as an example where the user clicks on the control 3 .
- the mobile phone may use template 1 to process the video to be processed (such as video 1) to form a piece (also called the first piece).
- the mobile phone can add a set of video effects corresponding to template 1 to video 1, such as background music, filters, special effects, transitions, photo frames, stickers and other effects, so that the formed film effect is the same as that of the video corresponding to template 1
- the effect is exactly the same.
- the effect of the film can be as shown in (d) in FIG. 3B , and the film has effects such as a dark gray filter and a "Happy Hour" sticker.
- the video in the mobile phone may not be processed with an effect template, such as video 1, or may be processed with an effect template.
- the video processed using the effect template can be recorded as video 2 (belonging to the first video).
- effect templates including the following two cases: the first one is processed by "one-click film”.
- One-click filming please refer to the previous description, so I won't repeat it here.
- the second is to select an effect template (such as template 2) before starting video shooting, and automatically process the captured video according to template 2 after the video shooting ends, and save it in the mobile phone after generating a film.
- the following uses a specific example to illustrate the second case:
- the mobile phone may display an interface 401 shown in (a) in FIG. Mobile phone selection effect template.
- the mobile phone can receive the user's click operation on the "micro movie” button 402 .
- the mobile phone can display template options of multiple effect templates, such as “Hello Summer”, “Beautiful”, “Good Mood” as shown in (b) in Figure 4 , "Xiaomeimei” a total of 4 template options.
- the mobile phone may receive the user's selection operation on template option 1 (such as the option of "Hello Summer"), wherein template option 1 is any one of multiple template options.
- the mobile phone can select a corresponding effect template, such as "Hello Summer". Afterwards, the mobile phone may receive an operation to start shooting, such as the user's click operation on the button 403 in (b) in FIG. 4 . In response to the operation of starting shooting, the mobile phone may start video shooting. After the video shooting is over, the mobile phone can automatically use the effect template selected before shooting to process the captured video, form a film (such as video 2) and save it in the mobile phone. For example, video 2 can be shown in (c) in Figure 4, with effects such as a light gray filter and "summer love, we are together in the most beautiful summer" stickers.
- the filming effect is not good.
- the effect shown in (a) in FIG. 5A and the effect shown in (b) in FIG. 5A are superimposed, and the effect shown in (c) in FIG. 5A can be obtained.
- the superimposition of light gray filters and dark gray filters causes the color of the filters in the finished film to be too dark, affecting the picture of the original video content.
- the superimposition of the two stickers "Happy Hour” and “Summer Love, We Are Together in the Most Beautiful Summer” leads to inconsistencies in the theme of the video.
- the mobile phone can add a processing identifier to the video in the mobile phone, add the first identifier to the video (such as video 1) that has not been processed by using the effect template, and/or add the first identifier to the video obtained after processing using the effect template.
- the mobile phone may display the application interface 501 of the gallery application shown in (a) in FIG. .
- the upper right corners of the thumbnails 503 and 504 are marked with a five-pointed star, which is used to indicate that the video corresponding to the thumbnail 503 and the thumbnail 504 is a video processed using an effect template. That is, the five-pointed star is the second logo. If there is no five-pointed star in the upper right corner of the thumbnail 502, it indicates that the video corresponding to the thumbnail 502 is a video that has not been processed with an effect template.
- the mobile phone responds to the user's click operation on any thumbnail (which can be recorded as the target thumbnail, and can also be called the first option) in the viewfinder interface before video shooting or in the application interface of the gallery application.
- the processing identifier of the video corresponding to the thumbnail is the first identifier, or the processing identifier of the target video is not the second identifier, and the mobile phone can display the interface 1 .
- the interface 1 reference may be made to the descriptions in the foregoing embodiments, and details are not repeated here.
- the target thumbnail is the thumbnail 503 shown in (a) in FIG. video.
- the mobile phone may display the interface 505 shown in (b) in FIG. 5B.
- the interface 505 includes a control 3, such as a "one-click-to-film" button. That is, interface 505 is interface 1 .
- the mobile phone may Display interface 2.
- the interface 2 in this embodiment may be referred to as the fifth interface.
- Interface 2 is also a video editing interface, but interface 2 does not include control 3 .
- video 3 is the video corresponding to the thumbnail image 504 shown in (a) in FIG. Effect template processed video.
- the mobile phone may display the interface 506 shown in (c) in FIG. 5B in response to the user's click operation on the thumbnail image 504 .
- the interface 506 includes the target video, but does not include the control 3, such as the "one-click-to-film" button. That is, interface 506 is interface 2 .
- the mobile phone responds to the user's click operation on the target thumbnail in the viewfinder interface before video shooting or in the application interface of the gallery application, if the target video is not the video obtained by the mobile phone after adding video effects according to the effect template (such as video 1) , the mobile phone can display interface 1, and control 3 is provided in interface 1. If the target video is a video (such as video 2) obtained after the mobile phone adds video effects according to the effect template, the mobile phone can display interface 2, and control 3 is not provided in interface 2.
- the target video is a video (such as video 2) obtained after the mobile phone adds video effects according to the effect template
- control 3 is only provided for videos that have not been processed with an effect template, so as to realize "one-click filming".
- "one-click filming" can be realized in a targeted manner, and the effect of video processing can be improved.
- the mobile phone can provide controls 3 for all videos, and record each video (such as video 2) obtained after the mobile phone adds video effects according to the effect template and the corresponding original video (such as video 1). Correspondence. Then, when the mobile phone "one-clicks" the video (such as video 2) obtained after the video effect is added according to the effect template, it can search for the corresponding original video, and obtain it by adding the video effect on the basis of the original video. new video.
- the mobile phone when the mobile phone "one-clicks into a video" obtained by adding video effects according to the effect template, the mobile phone can avoid the superposition of video effects by searching for the original video and then processing it. Thereby improving the effect of video processing.
- the video durations of videos in mobile phones are different.
- the video duration of the video is 00:15, that is, 15s; the video duration of the video corresponding to the thumbnail 504 is 00:08, that is, 8s.
- the video duration is "one-click into a film" according to the effect template, if the video is "one-click into a film" according to the effect template, if the video duration is too short, the effect corresponding to the effect template may not be well presented.
- template 1 includes transitions, effects of fade-in at the beginning and fade-out at the end, and the required durations are 1.5s, 2s and 1.5s respectively.
- the video duration is 8s. If template 1 is used to "one-click into a film" for the video shown in (a) in Figure 6A, the video frame of the first 1.5s needs to be used for For the fade-in effect, the 1.5s video frame at the end needs to be used for the fade-out effect, and the 2s video frame in the middle is used for the transition effect, then only the 3s video frame left in the whole video can be displayed normally, resulting in the "one-click film” effect not effectively.
- the mobile phone responds to the user's click operation on the target thumbnail in the viewfinder interface before video shooting or in the application interface of the gallery application, if the video duration of the target video (that is, the video corresponding to the target thumbnail) is After the duration 1 (which may be referred to as the first duration), the mobile phone may display the interface 1 .
- the interface 1 reference may be made to the descriptions in the foregoing embodiments, and details are not repeated here.
- the target thumbnail is the thumbnail 602 in the application interface 601 of the camera application shown in (a) in FIG. 6B as an example, and the video corresponding to the thumbnail 602 is the video of the target video
- the duration is 00:15, which is 15s, which exceeds the duration of 1.
- the mobile phone may display the interface 604 shown in (b) in FIG. 6B in response to the user's click operation on the thumbnail image 602 .
- the interface 604 includes a control 3, such as a "one-click-to-film" button.
- the interface 604 is the interface 1, which can also be obtained after the user clicks the control 312 in the interface 311, and the interface includes the prompt information 608 "One-click blockbuster provides intelligent editing for videos with a duration of 10 to 29 seconds, automatically generated Wonderful movie", the prompt information can also be other suitable content, such as "record a video between 10 and 35 seconds, and it can be converted into a movie with one click", which is not limited in this application.
- the mobile phone may display interface 2 .
- the interface 2 in this embodiment may be referred to as the seventh interface.
- Interface 2 is also a video editing interface, but interface 2 does not include control 3 .
- the target thumbnail is the thumbnail 603 in the application interface 601 of the camera application shown in (a) in FIG. 6B as an example, and the video corresponding to the thumbnail 603 is the video of the target video
- the duration is 00:08, which is 8s, which does not exceed duration 1.
- the mobile phone may display the interface 605 shown in (c) in FIG. 6B in response to the user's click operation on the thumbnail image 603 .
- the interface 605 includes the target video, but does not include the control 3 , such as the "one-click-to-film" button. That is, interface 605 is interface 2 .
- the duration 1 may be a value set according to experience, such as 5s, 8s, 10s and so on.
- multiple effect templates may be stored in the mobile phone, and each effect template has its own template duration.
- the video duration of the video to be processed (such as video 1) is at least close to the duration of the template, a relatively good film effect can finally be presented.
- the template duration of template 1 is 15s
- template 1 includes 3 transition effects
- the duration of each transition is 2s, so the transition effect takes 6s
- the average interval between every two transitions is 3s. If the video duration is less than 15s, the interval between every two transitions will be shorter, resulting in a poor film effect. Based on this, the duration 1 can be set to be shorter than the shortest template duration.
- the shortest template duration is 15s.
- the duration 1 can be set to a value less than 15s, such as 10s. Subsequent videos that do not reach 10s may not be provided with the "one-click film" function.
- control 3 is only provided for videos whose video duration exceeds duration 1, and is used to realize "one-click filming", so that "one-key filming" can be realized in a targeted manner, and the effect of video processing can be improved.
- the group of effects corresponding to template 1 includes background music, and the duration of the background music is 30s. As shown in (b) in Figure 6A, the video duration is 35s.
- the background music of template 1 can only cover the first 30s of the video frame, and the remaining 5s will not Background sound and coverage will also affect the filming effect.
- there are multiple cameras to record video in the scene of shooting video in the multi-camera recording mode. If the video time is too long, the video file will be larger, which is not conducive to the later "one-click film” processing, and the final result will be The slices will also be very large, which is not convenient for storage, uploading and sharing.
- the mobile phone responds to the user's click operation on the target thumbnail in the viewfinder interface before video shooting or in the application interface of the gallery application, if the target video (that is, the video corresponding to the target thumbnail)
- the video duration does not exceed duration 2 (also called the second duration)
- the mobile phone can display interface 1.
- the duration 2 is the duration 2 as 29s
- the target thumbnail is the thumbnail 602 in the application interface 601 of the camera application shown in (a) in FIG. 6B as an example. Since the video corresponding to the thumbnail 602 is the target video The video duration is 00:15, which is 15s, which does not exceed duration 2.
- the mobile phone can display an interface 604 shown in (b) in FIG. That is, interface 604 is interface 1 .
- the mobile phone responds to the user's click operation on the target thumbnail in the viewfinder interface before video shooting or in the application interface of the gallery application. If the video duration of the target video exceeds the duration 2, the mobile phone may display the interface 2 .
- the interface 2 in this embodiment may be referred to as the seventh interface.
- Interface 2 is also a video editing interface, but interface 2 does not include control 3 .
- the mobile phone can display the interface 607 shown in (d) in Figure 6B in response to the user's click operation on the thumbnail image 606. Does not include controls 3, such as the "One-Click" button. That is, interface 607 is interface 2 .
- the duration 2 may be a value set according to experience. For example, in the scene of shooting video in multi-camera recording mode, if the video duration exceeds 30s, the video file will be too large, which is not conducive to post-processing, storage, etc. Therefore, the video duration can be set to 30s.
- multiple effect templates may be stored in the mobile phone, and a set of effects of each effect template includes background music. Usually, the background music needs to be able to cover the video to be processed (such as video 1) in order to present a better film effect. For example, as shown in (b) in FIG.
- the duration 2 can be set to be longer than or equal to the longest music duration.
- duration 2 which is the longest music duration, any effect template is used to process the video to be processed, and the background music cannot cover the entire video. In the future, it is not necessary to provide it with the "one-click filming" function.
- the music duration of the longest background music is 30s
- the duration 2 can be set to be greater than or equal to 30s, such as 30s.
- a set of effects of the effect template may also include a credits, which is fixed content, such as a mobile phone merchant's trademark (logo), and usually has nothing to do with the captured video content.
- the background music needs to be able to cover the video to be processed and the end credits in order to present a better film effect. For example, if the video is too long, the background music may not cover the credits.
- the duration 2 can be set to be longer than or equal to the difference between the longest music duration and the ending duration. For example, if the music duration of the longest background music is 30s and the ending credit duration is 1s, then the duration 2 can be set to 29s.
- control 3 is only provided for videos whose video duration does not exceed duration 2, and is used to realize "one-click filming", so that "one-key filming" can be realized in a targeted manner, and the effect of video processing can be improved .
- the mobile phone may only provide control 3 for videos whose video duration exceeds duration 1 and does not exceed duration 2 .
- duration 1 is less than duration 2.
- the mobile phone when the mobile phone provides the control 3 for the first time, the mobile phone can also display the prompt information 1 (also called the first prompt information) at the same time. ), the prompt message 1 is used to prompt the applicable video duration of "One-Click Blockbuster".
- the interface 1 displayed for the first time is the interface 604 shown in (b) of FIG. 6B , and the interface 604 includes a control 3 , such as a "one-key slice" button.
- Interface 604 also includes prompt 608, the specific content of prompt 608 is "One-click blockbuster provides intelligent editing for videos with a duration of 10-29 seconds, and automatically generates wonderful movies", so as to prompt the applicable video duration of "One-click blockbuster” . That is, prompt 608 is prompt information 1 .
- the mobile phone may provide the control 3 for videos of any length.
- the target thumbnail is the thumbnail 606 in the interface 601 shown in (a) in FIG. 6B as an example, the video corresponding to the thumbnail 606, that is, the video duration of the target video is 00: 35, that is, 35s, exceeding the duration 2.
- the mobile phone may display an interface 611 shown in (a) in FIG. 6C.
- the interface 611 also includes a control 3 , that is, a "one-click-to-film" button. That is to say, if the video duration of the target video exceeds the duration 2, the mobile phone can also provide it with a control 3 to trigger the use of "one-click blockbuster".
- the mobile phone can provide the control 3 for videos of any length, and when the control 3 is provided for the first time, the prompt information 2 can be displayed.
- Prompt message 2 is only used to prompt the function of "one-click movie" without prompting the applicable video duration of "one-click blockbuster".
- the interface 1 displayed for the first time is the interface 611 shown in (a) of FIG. 6C , and the interface 611 includes a control 3 , such as a "one-click-to-tablet" button.
- the interface 611 also includes a reminder 615.
- the specific content of the reminder 615 is "one-click blockbuster provides intelligent editing for video, and automatically generates wonderful movies", so that the function of "one-click blockbuster” can be prompted. That is, the prompt 615 is the prompt information 2 .
- the mobile phone can receive the user's operation 3, such as the click operation on the "one-click film” button.
- the mobile phone may use template 1 to process the target video to form a piece.
- the mobile phone may display interface 3 (also referred to as an eighth interface).
- the mobile phone can respond to the user's interception operation (also referred to as the second operation) to intercept a video segment that does not exceed duration 2 (which can be recorded as the target segment) from the target video, so that the effect of template 1 can match The target fragment. That is to say, interface 3 is an interface used by the mobile phone to crop the target.
- the mobile phone may use template 1 to add video effects to the target segment to form a segment.
- the duration 2 is 29s
- the target thumbnail is the thumbnail 606 shown in (a) in FIG. 6B
- the interface 3 displayed in response to the click operation on the thumbnail 606 is (a) in FIG. ) shows the interface 611 as an example, because the video corresponding to the thumbnail 606, that is, the video duration of the target video is 00:35, that is, 35s, exceeding the duration 2.
- the mobile phone may display the interface 612 shown in (b) in FIG. 6C in response to the user's click operation on the "one-key to film" button in the interface 611 .
- the mobile phone can intercept and select a video segment that does not exceed 29s, that is, the target segment.
- the interface 3 includes a control 4, and the control 4 is used to trigger the mobile phone to select a video clip not exceeding the duration 2.
- the control 4 is the selection box 613 shown in (b) in FIG. 6C , and the selection box 613 can select a video segment with a maximum duration of 2. Normally, control 4 selects the video clip with length 2 at the beginning of video 3 by default.
- the mobile phone can receive the user's sliding operation on the video segment selected by the control 4, and in response to the user's sliding operation on the video segment selected by the control 4, the mobile phone can select a new video segment.
- the mobile phone can receive the user's push and pull operation on the left and right edges of the control 4, and in response to the user's push and pull operation on the left and right edges of the control 4, the mobile phone can change the segment duration of the selected video segment, thereby selecting a new video fragment.
- the mobile phone in response to the user's push and pull operation on the left and right edges of the control 4, if the length of the dragged segment exceeds the duration 2, the mobile phone can display a prompt message 3 on the interface 3, and the prompt message 3 is used to indicate that the maximum duration has been reached.
- the video segment of 29s has been selected at this time, on this basis, as shown in (b) in Figure 6D, in response to user Push the right edge of the selection box in the direction indicated by the arrow, and the mobile phone may display a prompt 624 as shown in (c) in FIG. 6D.
- the specific content of the prompt 624 is "the maximum adjustable duration has been reached", so that it can prompt that the maximum duration has been reached. That is, the prompt 624 is prompt information 3 .
- the interface 3 may also include a playback progress bar, and the entire duration corresponding to the playback progress bar indicates the duration of the selected video segment.
- the playback progress bar is the progress bar 614 shown in (b) in FIG. 14s.
- the playback progress bar can be used to trigger the mobile phone to update the playback progress of the currently selected video segment.
- the playback progress bar and the control 4 are set independently, so as to facilitate and accurately adjust the playback progress.
- the mobile phone can receive the user's operation 4 (ie, the second operation) on the interface 3, and the operation 4 is used to trigger the mobile phone to crop the target video.
- the operation 4 may be a preset gesture of the user on the interface 3 , such as an upward sliding gesture inward from the bottom edge of the interface 3 .
- the interface 3 includes an interception control, such as the " ⁇ " button in the upper right corner of the interface 612 shown in (b) in FIG. 6C , and the interception control is used to trigger the mobile phone to intercept video clips.
- Operation 4 may be a click operation, a long press operation, etc. of the interception control by the user.
- the form of operation 4 is not specifically limited.
- the mobile phone may intercept the target segment, which is the latest video segment selected by the mobile phone and not exceeding the duration 2, and add video effects to the intercepted target segment to generate a video.
- the interface 3 may include a cancel control, such as the “ ⁇ ” button in the upper left corner of the interface 612 shown in (b) in FIG. 6C , the cancel control is used to trigger the mobile phone to intercept the default video segment. For example, the previous video segment with duration 2 in the target video.
- the cancel control In response to the user's click operation, long press operation, etc. on the cancel control, the mobile phone can intercept a default video segment and add video effects to generate a film.
- the "one-click blockbuster” processing can be implemented for videos of any length.
- the target segment with the duration 2 is firstly intercepted from the target video, and then the target segment is processed by using "one-key into a film". In this way, the problem of mismatching the effect in template 1 due to the length of the video can be avoided, thereby improving the effect of the film.
- the mobile phone can use the effect template to process the target segment after the mobile phone responds to the mobile phone intercepting the target segment. Instead of responding to operation 3, an effect template is used to process the entire video.
- multiple effect templates are stored in the mobile phone, and different effect templates have different effects. Taking the effect including background music as an example, the background music of template 1 is dynamic music, and the background music of template 2 is cheerful music.
- the mobile phone in response to operation 3, such as clicking on the button of "One-Click to Film", the mobile phone can select a target template from multiple effect templates to be processed.
- the video (such as video 1) is processed.
- the mobile phone may select a target template from multiple effect templates randomly or according to a certain rule, for example, according to the sequence of template numbers.
- the mobile phone can use different effect templates to process the video, thereby obtaining different effects.
- the mobile phone may receive user's first operation 3 .
- the mobile phone can use the template 1 to process the video 1 to form a piece 1 .
- the effect of sheet 1 is exactly the same as that of template 1.
- the mobile phone after the mobile phone displays the interface 1 again, the mobile phone can receive the user's second operation 3 .
- the mobile phone can use the template 2 to process the video 1 to form a piece 2 .
- the effect of piece 2 is exactly the same as that of template 2.
- the mobile phone uses the template 1 to process the video 1, and the film 1 can be obtained.
- the effect of piece 1 is shown in (b) in FIG. 7A , and piece 1 has effects such as a dark gray filter and "Happy Hour” stickers.
- the mobile phone uses the template 2 to process the video 1 to obtain a film 2 .
- the effect of the finished piece 2 is shown in (c) in Figure 7A.
- the finished piece 2 has effects such as a light gray filter, "summer love, we are together in the most beautiful summer” stickers, and the like.
- the mobile phone can form films with different effects in response to operation 3 multiple times. Thereby, the diversity of the film can be improved.
- the mobile phone After the mobile phone selects the target template (such as template 1), it can add background music, filters, fit, special effects, and photo frames to the video to be processed during the process of processing the video to be processed using the target template (such as template 1). and other effects.
- the background music matched by each effect template has two versions (can be recorded as version 1 and version 2), the duration of version 1 is equal to the duration of the template of the effect template, and the duration of version 2 is a fixed duration, such as 30s. Wherein, the fixed duration is longer than the maximum template duration.
- Table 2 the corresponding relationship between the effect templates stored in the mobile phone and the background music is shown in Table 2 below:
- the template “Hello Summer” in Table 2 above is an example.
- the matching background music is soothing music. Since the template duration of the "Hello Summer” template is 15s, version 1 of the soothing music is the 15s version. Take the "Happy Winter” template in Table 2 as an example.
- the matching background music is winter music. Since the template duration of the "Happy Winter” template is 20s, version 1 of the winter music is the 15s version. In addition, version 2 of all music is a version with a fixed duration of 30s.
- the mobile phone when the mobile phone adds background music to the video to be processed (such as video 1), it can match the version of the added background music according to the video duration of the video to be processed. If the video duration of the video to be processed is shorter than or equal to the template duration of the target template, the mobile phone can add version 1 of the background music matched by the target template as the background music of the video to be processed. For example, if the target template is the "Hello Summer” template in Table 2 above, assuming that the video duration of Video 1 is 14s, which is 15s shorter than that of the "Hello Summer” template, you can add the 15s version of soothing music as Background music for video 1.
- the mobile phone can add version 2 of the background music matched by the target template as the background music of the video to be processed.
- the target template is the "Hello Summer” template in Table 2 above
- the video duration of Video 1 is 28s, which is 15s longer than the "Hello Summer” template, but shorter than the fixed duration of 30s
- the soothing music of the 30s version is the background music of Video 1. In this way, the added background music can be enough to cover the entire video, improving the effect of the film.
- the mobile phone may not provide the control 3 for the video whose video length exceeds the duration 2; or, the mobile phone may provide the control 3 for it, but it needs to first Cropping, you can choose an effect template to process after cropping. Therefore, the fixed duration can be set equal to the duration 2, so that the background music of version 2 can cover all the videos to be processed, for example, the target segment obtained after cropping that does not exceed the duration 2.
- the set of effects of the target template does not include the credits, and correspondingly, the final film does not include the credits, and the length of the film is the video duration.
- the mobile phone can align the beginning of the background music with the beginning of the video to be processed, and then align the end of the background music beyond the Part of the shooting duration is deleted, that is, the background music corresponding to the redundant duration 1 in (a) in 7B is deleted to obtain effective music. Adds a music fade to the end of active music to smooth out the end of background music in the finished film.
- a set of effects of the target template includes the credits, and correspondingly, the final movie includes the credits, and the duration of the movie is equal to the sum of the video duration and the credits duration.
- the mobile phone can align the beginning of the background music with the beginning of the video to be processed, and then align the background music Delete the part of the end of the music that exceeds the duration of the credits, that is, delete the background music corresponding to the excess duration 2 in (b) in FIG. 7B to obtain effective music. Adds a music fade to the end of active music to smooth out the end of background music in the finished film.
- the mobile phone can display an interface 5, which is a preview interface of the film.
- interface 5 it can be played into a film.
- the film-forming effect can be presented to the user.
- the interface 5 is the interface 801 shown in (a) of FIG. 8 .
- a finished film is being played in the interface 801, and the finished film has effects such as a light gray filter and a sticker of "summer love, the most beautiful summer, we are together".
- the mobile phone may display a prompt message 4 (also referred to as the second prompt message) on the interface 5, as shown in (b) in FIG. 8
- the prompt 806 in the interface 802 is "click to try different movie styles".
- the prompt information 4 is used to prompt the effect of adjusting the film, that is, to adjust the added video effect.
- satisfying the preset condition includes: the display duration of the interface 5 reaches a duration of 3, such as 10s, and no preset operation of the user is detected.
- the finished film can be played in the interface 5, and after the interface is displayed, the finished film starts to be played.
- satisfying the preset condition includes: the playback of the movie in the interface 5 ends, and no preset operation by the user is detected. The above preset operations are used to trigger the effect of adjusting the mobile phone into a film.
- the interface 5 includes an effect switching control (also referred to as a second control), and the effect switching control is used to trigger the effect of adjusting the mobile phone into a film.
- the effect switching control may include a style switching control, such as the "style" button 803 in the interface 802 shown in (b) in FIG.
- the overall effect other than background music such as the overall effect of various effects such as filters, stickers, and photo frames.
- the effect switching control may include a music switching control, such as the music button 804 in the interface 802 shown in (b) of FIG.
- the effect switching control may include an editing control, such as the editing button 805 in the interface 802 shown in (b) in FIG. Transitions, volume, credits and other effects.
- the preset operation may be a user's click operation or long press operation (also referred to as a third operation) on the effect switching control.
- the failure to detect the preset operation of the user means that since the first use of the mobile phone, after using the "one-click film” and entering the interface 5, the user has never been detected to input the preset operation. For example, in the process of using the mobile phone in the past, the user clicked the style switching control in interface 5 after using the "one-click film” to form a film. Prompt message 4 is not displayed. In this way, repeated prompts to users who are already familiar with the effect switching function can be avoided.
- the mobile phone can receive a user's preset operation, and the preset operation is used to adjust the effect of the film.
- the preset operation may be the user's click operation on the music button 902 in the interface 901 shown in (a) of FIG. 9 .
- the mobile phone can display multiple effect options in the interface 5, such as "soothing", “summer", and “dynamic” in the pop-up window 903 shown in (b) in Figure 9 , "happy" a total of 4 music options, each music option corresponds to a background music.
- the cover art and name of music options are not related to the corresponding effect templates.
- the cover art of the music option may be set as the template cover of the effect template corresponding to the music.
- the name of the music option may be set as the template name of the corresponding music matching effect template.
- the option corresponding to the background music of the currently used effect template can be displayed as the first of the multiple music options, so as to facilitate quick restoration to the original background music.
- the first music option may be selected by default.
- the mobile phone may display a pop-up window 903 shown in (b) in FIG. , indicating that the option is selected by default.
- the mobile phone may receive a user's selection operation on any music option (which may be recorded as music option 1).
- the mobile phone can replace the background music in the movie with the background music corresponding to option 1, and play the movie from the beginning.
- the mobile phone may receive the user's operation 5, and the operation 5 is used to trigger the mobile phone to switch background music.
- operation 5 may be a sliding operation from top to bottom from a pop-up window displaying multiple music options (may be recorded as a music pop-up window).
- the music pop-up window includes a confirmation control
- operation 5 may be a click operation or a long press operation of the user on the confirmation control.
- the music pop-up window is the pop-up window 905 shown in (d) in FIG. 9
- the pop-up window 905 includes a " ⁇ " button.
- the " ⁇ " button is a confirmation control.
- Operation 5 may be the user's click operation on the " ⁇ ” button.
- the embodiment of the present application does not specifically limit the form of operation 5.
- the mobile phone can turn off multiple music options, and resume displaying interface 5 that does not include music options.
- an interface 901 shown in (a) of FIG. 9 may be displayed.
- the mobile phone can adjust at least one effect in a group of added video effects (such as the video effect of template 1) in response to the preset operation, so as to break the effect template (such as the fixed combination of background music, filters, photo frames, stickers and other effects in template 1).
- a group of added video effects such as the video effect of template 1
- effects such as filters, photo frames, and stickers of the template 1 can be combined with the switched background music.
- the mobile phone can receive the user's operation 6 (also referred to as the fourth operation), and the operation 6 is used to trigger the mobile phone to save the file.
- operation 6 may be a user's left sliding operation inward from the right edge of interface 5 .
- the interface 5 includes a control 5, such as the " ⁇ " button 1002 in the interface 1001 shown in (a) of FIG.
- the operation 6 may be a click operation or a long press operation on the control 5 by the user.
- the form of operation 6 is not specifically limited in the embodiment of the present application.
- the mobile phone can save the file, and display a saving prompt on interface 5 .
- the saving prompt is the prompt 1003 shown in (b) in FIG. 10
- the prompt 1003 prompts that the saving progress is 45%, and when the saving is completed, the progress is 100%.
- the mobile phone may display interface 6 (also referred to as the ninth interface) in response to the completion of saving.
- Interface 6 is the editing interface of the film.
- interface 6 includes the filming of the video to be processed in interface 1, and interface 6 does not include control 3, such as the "one-key filming" button.
- the interface 6 may be the interface 1004 shown in (c) of FIG. 10 .
- the video in the interface 1004 has effects such as filters and stickers, and is a piece of the video in the interface 316; the interface 1004 does not include the control 3 , such as the "One-Click to Tablet" button.
- the mobile phone in response to operation 6 , may not display the saving prompt, but directly jump to interface 6 .
- This embodiment of the present application does not specifically limit it.
- the mobile phone can directly save the film after filming without displaying the preview.
- the mobile phone may receive the user's operation 7 on the interface 6 (may be referred to as a return operation), and the operation 7 is used to trigger the mobile phone to return to the application interface of the gallery application.
- operation 7 may be a right sliding operation performed by the user from the left edge of the interface 6 inward.
- the interface 6 includes a return control, such as the button 1005 shown in (c) in FIG. 10 .
- Operation 7 may be the user's click operation on the return control.
- the form of operation 7 is not specifically limited.
- the mobile phone may display an interface 7 (also referred to as a third interface), and the interface 7 is an application interface of the gallery application.
- thumbnail image (which may be called the second option) of one frame of the image generated this time is newly added in the application interface of the gallery application.
- the mobile phone may display the interface 1006 shown in (d) in FIG. 10 , and the interface 1006 includes thumbnail images 1007 .
- the thumbnail image 1007 is the latest saved thumbnail image.
- the mobile phone can use different effect templates to process the video, so as to obtain Films with different effects. Therefore, in some embodiments, after displaying the interface 7, the mobile phone can receive the user's thumbnail (ie, the first option) of the video 1 again, such as the thumbnail 1008 in the interface 1006 shown in (d) in FIG. 10 In response to the user's click operation on the thumbnail of video 1 (ie, the first option), the mobile phone can display interface 8 (also referred to as the fourth interface). Interface 8 is an editing interface of Video 1 , and Control 3 is provided in Interface 8 .
- the mobile phone can receive the user's operation 3 on the interface 8 , such as a click operation on the control 3 .
- the mobile phone may add video effects to video 1 according to different effect templates (such as template 2) to generate a new film (which may be called a second film).
- the video effect of template 2 may be referred to as a second video effect.
- the second video effect is different from the first video effect.
- the difference between the second video effect and the first video effect means that at least one of the second video effect is different from the first video effect, for example, background music, filters, stickers, photo frames, transitions At least one of the other effects is different. In this way, for the same video, "one-click filming" for multiple times in a row can form films with different effects.
- the mobile phone does not need to provide the control 3 for the video (such as video 2) obtained after adding video effects to the mobile phone.
- the interface 7 includes thumbnails of the films generated this time (ie, the second option). Therefore, in some embodiments, after the interface 7 is displayed, the mobile phone can receive the user's click operation on the generated thumbnail images this time, and in response to the user's click operation on the generated thumbnail images this time, the mobile phone can Display interface 9.
- the interface 9 is the editing interface of the film generated this time. Since the film generated this time is recorded as a video with video effects added, the interface 9 does not include the control 3 . Therefore, it is possible to avoid confusion of video effects caused by further adding video effects to the generated film.
- an electronic device which may include: the above-mentioned display screen (such as a touch screen), a memory, and one or more processors.
- the display screen, memory and processor are coupled.
- the memory is used to store computer program code comprising computer instructions.
- the processor executes the computer instructions, the electronic device can execute various functions or steps performed by the mobile phone in the foregoing method embodiments.
- the structure of the electronic device reference may be made to the structure of the mobile phone shown in FIG. 1 .
- the chip system 1100 includes at least one processor 1101 and at least one interface circuit 1102 .
- the processor 1101 and the interface circuit 1102 may be interconnected through wires.
- interface circuitry 1102 may be used to receive signals from other devices, such as memory of an electronic device.
- the interface circuit 1102 may be used to send signals to other devices (such as the processor 1101).
- the interface circuit 1102 can read instructions stored in the memory, and send the instructions to the processor 1101 .
- the electronic device may be made to execute various steps in the foregoing embodiments.
- the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
- the embodiment of the present application also provides a computer storage medium, the computer storage medium includes computer instructions, and when the computer instructions are run on the above-mentioned electronic device, the electronic device is made to perform the various functions or steps performed by the mobile phone in the above-mentioned method embodiment .
- the embodiment of the present application also provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute each function or step performed by the mobile phone in the method embodiment above.
- the disclosed devices and methods may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
- the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Television Signal Processing For Recording (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
Description
Claims (15)
- 一种视频处理方法,其特征在于,应用于电子设备,包括:所述电子设备显示第一界面;所述第一界面中包括第一选项,所述第一选项显示有第一视频中一帧图像的缩略图;所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,显示第二界面;所述第二界面是所述第一视频的编辑界面,所述第二界面中还包括第一控件;所述电子设备响应于用户对所述第二界面中所述第一控件的第一操作,生成第一成片;所述第一成片是所述电子设备为所述第一视频添加第一视频效果后得到的视频;所述电子设备显示第三界面;所述第三界面中包括第二选项和所述第一选项,所述第二选项显示有第一成片中一帧图像的缩略图;所述电子设备响应于用户对所述第三界面中所述第一选项的点击操作,显示第四界面;所述第四界面是所述第一视频的编辑界面,所述第四界面中还包括所述第一控件;所述电子设备响应于用户对所述第四界面中所述第一控件的所述第一操作,生成第二成片;所述第二成片是所述电子设备为所述第一视频添加第二视频效果后得到的视频;其中,所述第一视频效果和所述第二视频效果不同。
- 根据权利要求1所述的方法,其特征在于,所述第一界面是所述电子设备的相机应用中录制视频前或者拍照前的界面,或者,所述第一界面是所述电子设备中图库应用的应用界面;以及,所述第三界面是所述图库应用的应用界面。
- 根据权利要求1或2所述的方法,其特征在于,所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,显示第二界面,包括:所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,若所述第一视频是未添加视频效果的视频,所述电子设备显示所述第二界面。
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,若所述第一视频已添加视频效果的视频,所述电子设备显示第五界面;所述第五界面是所述第一视频的编辑界面,所述第五界面中不包括所述第一控件。
- 根据权利要求1-4中任一项所述的方法,其特征在于,在所述电子设备显示第三界面之后,所述方法还包括:所述电子设备响应于用户对所述第二选项的点击操作,显示第六界面;所述第六界面是所述第一成片的编辑界面,所述第六界面中不包括所述第一控件。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,显示第二界面,包括:所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,若所述第一视频的视频时长超过第一时长,且所述第一视频的视频时长未超过第二时长,所述电子设备显示所述第二界面;所述第一时长小于所述第二时长。
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:在所述电子设备首次显示所述第一控件时,所述电子设备同时显示第一提示信息,所述第一提示信息用于提示添加视频效果的功能适用的视频时长。
- 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:所述电子设备响应于用户对所述第一界面中所述第一选项的点击操作,若所述第一视频的视频时长未超过所述第一时长,或者,所述第一视频的视频时长超过所述第二时长,所述电子设备显示第七界面;所述第七界面是所述第一视频的编辑界面,所述第七界面中不包括所述第一控件。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一视频的视频时长超过第二时长;其中,所述电子设备响应于用户对所述第二界面中所述第一控件的第一操作,生成第一成片,包括:所述电子设备响应于用户对所述第二界面中所述第一控件的所述第一操作,显示第八界面;所述第八界面是所述电子设备裁剪所述第一视频的界面;所述电子设备响应于用户对所述第八界面的第二操作,生成第一成片;所述第一成片是所述电子设备为目标片段添加所述第一视频效果得到的视频,所述目标片段属于所述第一视频,所述目标片段的片段时长未超过所述第二时长。
- 根据权利要求1-9中任一项所述的方法,其特征在于,在所述生成第一成片后,所述方法还包括:所述电子设备显示所述第一成片的预览界面。
- 根据权利要求10所述的方法,其特征在于,所述预览界面中包括第二控件,所述第二控件用于触发所述电子设备编辑成片;其中,在所述电子设备显示所述第一成片的预览界面之后,所述方法还包括:所述电子设备在所述预览界面中播放所述第一成片;在所述电子设备未检测到过用户对所述第二控件的第三操作的情况下,所述电子设备响应于所述第一成片播放完成,在所述预览界面中显示第二提示信息;所述第二提示信息用于提示所述电子设备编辑所述第一成片。
- 根据权利要求10或11所述的方法,其特征在于,所述第五界面中包括第二控件,所述第二控件用于触发所述电子设备编辑成片;其中,在所述电子设备显示所述第一成片的预览界面之后,所述方法还包括:所述电子设备响应于用户对所述第二控件的第三操作,切换所述第一视频效果中的至少一种效果;所述至少一种效果包括背景音乐、滤镜、贴纸、相框、转场和片尾中的一种或多种。
- 根据权利要求10-12中任一项所述的方法,其特征在于,在所述电子设备显示所述第一成片的预览界面之后,所述方法还包括:所述电子设备响应于用户对所述预览界面的第四操作,保存所述第一成片;所述电子设备响应于所述第一成片保存完成,显示第九界面;所述第九界面是所述第一成片的编辑界面,所述第九界面中不包括所述第一控件;其中,所述电子设备显示第三界面,包括:所述电子设备响应于用户在所述第九界面中输入的返回操作,显示所述第三界面。
- 一种电子设备,其特征在于,所述电子设备中安装有多个应用,所述电子设备包括显示屏、存储器和一个或多个处理器;所述显示屏、所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如权利要求1-13中任一项所述的方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-13中任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP22824017.2A EP4336849A1 (en) | 2021-06-16 | 2022-05-24 | Video processing method and electronic device |
US18/570,379 US20240223840A1 (en) | 2021-06-16 | 2022-05-24 | Video processing method and electronic device |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110676709.3 | 2021-06-16 | ||
CN202110676709 | 2021-06-16 | ||
CN202111439314.8 | 2021-11-29 | ||
CN202111439314 | 2021-11-29 | ||
CN202210038856.2A CN115484395A (zh) | 2021-06-16 | 2022-01-13 | 一种视频处理方法及电子设备 |
CN202210038856.2 | 2022-01-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022262536A1 true WO2022262536A1 (zh) | 2022-12-22 |
Family
ID=84420543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/094792 WO2022262536A1 (zh) | 2021-06-16 | 2022-05-24 | 一种视频处理方法及电子设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20240223840A1 (zh) |
EP (1) | EP4336849A1 (zh) |
CN (1) | CN115484395A (zh) |
WO (1) | WO2022262536A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116347009A (zh) * | 2023-02-24 | 2023-06-27 | 荣耀终端有限公司 | 视频生成方法及电子设备 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150113408A1 (en) * | 2013-10-18 | 2015-04-23 | Apple Inc. | Automatic custom sound effects for graphical elements |
CN108769562A (zh) * | 2018-06-29 | 2018-11-06 | 广州酷狗计算机科技有限公司 | 生成特效视频的方法和装置 |
CN109040615A (zh) * | 2018-08-10 | 2018-12-18 | 北京微播视界科技有限公司 | 视频特效添加方法、装置、终端设备及计算机存储介质 |
CN110049266A (zh) * | 2019-04-10 | 2019-07-23 | 北京字节跳动网络技术有限公司 | 视频数据发布方法、装置、电子设备和存储介质 |
CN111209438A (zh) * | 2020-01-14 | 2020-05-29 | 上海摩象网络科技有限公司 | 视频处理方法、装置、设备及计算机存储介质 |
CN111541936A (zh) * | 2020-04-02 | 2020-08-14 | 腾讯科技(深圳)有限公司 | 视频及图像处理方法、装置、电子设备、存储介质 |
CN111656347A (zh) * | 2018-06-01 | 2020-09-11 | 华为技术有限公司 | 一种项目的显示方法及终端 |
CN111835986A (zh) * | 2020-07-09 | 2020-10-27 | 腾讯科技(深圳)有限公司 | 视频编辑处理方法、装置及电子设备 |
CN112261416A (zh) * | 2020-10-20 | 2021-01-22 | 广州博冠信息科技有限公司 | 基于云的视频处理方法、装置、存储介质与电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9131192B2 (en) * | 2012-03-06 | 2015-09-08 | Apple Inc. | Unified slider control for modifying multiple image properties |
CN107896306A (zh) * | 2017-12-11 | 2018-04-10 | 深圳市欧唯科技有限公司 | 一种滤镜拍照的方法及系统 |
CN111930994A (zh) * | 2020-07-14 | 2020-11-13 | 腾讯科技(深圳)有限公司 | 视频编辑的处理方法、装置、电子设备及存储介质 |
CN111954058B (zh) * | 2020-08-13 | 2023-11-21 | 北京达佳互联信息技术有限公司 | 图像处理方法、装置、电子设备以及存储介质 |
-
2022
- 2022-01-13 CN CN202210038856.2A patent/CN115484395A/zh active Pending
- 2022-05-24 WO PCT/CN2022/094792 patent/WO2022262536A1/zh active Application Filing
- 2022-05-24 US US18/570,379 patent/US20240223840A1/en active Pending
- 2022-05-24 EP EP22824017.2A patent/EP4336849A1/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150113408A1 (en) * | 2013-10-18 | 2015-04-23 | Apple Inc. | Automatic custom sound effects for graphical elements |
CN111656347A (zh) * | 2018-06-01 | 2020-09-11 | 华为技术有限公司 | 一种项目的显示方法及终端 |
CN108769562A (zh) * | 2018-06-29 | 2018-11-06 | 广州酷狗计算机科技有限公司 | 生成特效视频的方法和装置 |
CN109040615A (zh) * | 2018-08-10 | 2018-12-18 | 北京微播视界科技有限公司 | 视频特效添加方法、装置、终端设备及计算机存储介质 |
CN110049266A (zh) * | 2019-04-10 | 2019-07-23 | 北京字节跳动网络技术有限公司 | 视频数据发布方法、装置、电子设备和存储介质 |
CN111209438A (zh) * | 2020-01-14 | 2020-05-29 | 上海摩象网络科技有限公司 | 视频处理方法、装置、设备及计算机存储介质 |
CN111541936A (zh) * | 2020-04-02 | 2020-08-14 | 腾讯科技(深圳)有限公司 | 视频及图像处理方法、装置、电子设备、存储介质 |
CN111835986A (zh) * | 2020-07-09 | 2020-10-27 | 腾讯科技(深圳)有限公司 | 视频编辑处理方法、装置及电子设备 |
CN112261416A (zh) * | 2020-10-20 | 2021-01-22 | 广州博冠信息科技有限公司 | 基于云的视频处理方法、装置、存储介质与电子设备 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116347009A (zh) * | 2023-02-24 | 2023-06-27 | 荣耀终端有限公司 | 视频生成方法及电子设备 |
CN116347009B (zh) * | 2023-02-24 | 2023-12-15 | 荣耀终端有限公司 | 视频生成方法及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN115484395A (zh) | 2022-12-16 |
US20240223840A1 (en) | 2024-07-04 |
EP4336849A1 (en) | 2024-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020057661A1 (zh) | 一种拍照方法、装置与设备 | |
KR101871364B1 (ko) | 카메라 스위칭 동안 계속적으로 비디오를 캡쳐하는 방법 및 그 장치 | |
US11895399B2 (en) | Photographing processing method and apparatus, terminal device, and storage medium | |
KR102449670B1 (ko) | 복수의 카메라를 이용하여 영상 데이터를 생성하는 방법 및 서버 | |
US20170068380A1 (en) | Mobile terminal and method for controlling the same | |
WO2023020006A1 (zh) | 基于可折叠屏的拍摄控制方法及电子设备 | |
WO2022252660A1 (zh) | 一种视频拍摄方法及电子设备 | |
CN106303293B (zh) | 视频处理方法、装置及移动终端 | |
CN112449099A (zh) | 一种图像处理方法、电子设备及云服务器 | |
CN111741366A (zh) | 音频播放方法、装置、终端及存储介质 | |
CN104503675A (zh) | 一种在Android系统下设置开关机动画和/或音乐的方法 | |
US20240064346A1 (en) | Video Switching Method and Apparatus, Storage Medium, and Device | |
WO2022088823A1 (zh) | 图像处理方法及装置 | |
WO2023160241A1 (zh) | 一种视频处理方法及相关装置 | |
CN114827342A (zh) | 视频处理方法、电子设备及可读介质 | |
WO2022262536A1 (zh) | 一种视频处理方法及电子设备 | |
CN112417180A (zh) | 生成影集视频的方法、装置、设备及介质 | |
WO2022088926A1 (zh) | 一种拍摄方法和终端设备 | |
WO2022237317A1 (zh) | 显示方法及电子设备 | |
US20230412535A1 (en) | Message display method and electronic device | |
CN114466101B (zh) | 显示方法及电子设备 | |
CN105430260B (zh) | 获取视频图像的方法及装置 | |
CN115484396B (zh) | 一种视频处理方法及电子设备 | |
CN115484398B (zh) | 一种视频拍摄方法及电子设备 | |
EP4345650A1 (en) | Human-machine interaction method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22824017 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2022824017 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18570379 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 2022824017 Country of ref document: EP Effective date: 20231208 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |