CN113727047A - Video processing method, mobile terminal and readable storage medium - Google Patents

Video processing method, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN113727047A
CN113727047A CN202110947150.3A CN202110947150A CN113727047A CN 113727047 A CN113727047 A CN 113727047A CN 202110947150 A CN202110947150 A CN 202110947150A CN 113727047 A CN113727047 A CN 113727047A
Authority
CN
China
Prior art keywords
video
video clip
local
shooting
clip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110947150.3A
Other languages
Chinese (zh)
Inventor
王涣森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202110947150.3A priority Critical patent/CN113727047A/en
Publication of CN113727047A publication Critical patent/CN113727047A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application relates to a video processing method, a mobile terminal and a readable storage medium, wherein the video processing method comprises the following steps: entering a video shooting mode; carrying out video recording to obtain at least one live video clip; and in the video shooting mode, synthesizing at least one real shooting video clip and at least one local video clip. Through the mode, the real-time shooting video clip and the local video clip can be synthesized in real time, and the video shooting and editing effects can be displayed in time.

Description

Video processing method, mobile terminal and readable storage medium
Technical Field
The present application relates to the field of video processing technologies, and in particular, to a video processing method, a mobile terminal, and a readable storage medium.
Background
With the rapid development of mobile terminal technology, the photographing function of mobile terminals such as mobile phones and tablet computers is also improved, and the mobile terminal becomes one of the common tools in daily life and work of people. Some implementations of movie mode are: one dozen or more seconds of short videos are taken for several nodes, and then the short videos of all the nodes are combined together to form a micro-movie.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: the movie mode only supports real-time shooting, and a user cannot add different elements into the movie in the shooting process, such as other video resources are synthesized, so that the user experience is influenced.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a video processing method, a mobile terminal and a readable storage medium, which can synthesize a real-time shot video clip and a local video clip in real time and show video shooting and editing effects in time.
To solve the foregoing technical problem, the present application provides a video processing method, optionally applicable to a mobile terminal, including:
step S10: entering a video shooting mode;
step S20: carrying out video recording to obtain at least one live video clip;
step S30: and in the video shooting mode, synthesizing the at least one real shooting video clip and the at least one local video clip.
Optionally, the method further comprises:
inserting the local video segment before the step S20; and/or the presence of a gas in the gas,
after the step S20, the local video segment is inserted.
Optionally, the step S30 includes:
step S31: selecting a video synthesis mode in the video shooting mode;
step S32: and synthesizing the real shooting video clip and the local video clip according to the video synthesis mode.
Optionally, the step S32, including at least one of:
splicing the local video clip and the real shooting video clip in sequence according to the insertion position of the local video clip in a first video synthesis mode;
in a second video synthesis mode, the local video clip is superposed in a specified area of a picture of the real shooting video clip for playing;
and under a third video synthesis mode, dividing the whole picture into at least two parts according to a preset mode, and simultaneously displaying the real shooting video clip and the local video clip on different parts of the whole picture for synchronous playing.
Optionally, the overlaying the local video segment on the specified area of the picture of the live video segment for playing includes at least one of:
overlapping all frames of the local video clip with the live video clip;
overlapping a partial frame of the local video clip with the live video clip;
all frames of the local video are overlaid with at least one live video clip.
Optionally, the step S30, further includes at least one of:
adjusting the duration and/or resolution of the local video clip according to the preset duration and/or preset resolution of the video shooting mode;
and adjusting the duration and/or resolution of the real shooting video clip according to the duration and/or resolution of the local video clip, so that the duration and/or resolution of the real shooting video clip is consistent with the duration and/or resolution of the local video clip.
Optionally, the adjusting the duration and/or the resolution of the local video segment according to the preset duration and/or the preset resolution of the video shooting mode includes:
if the duration of the local video clip is not equal to the preset duration, displaying an editing option;
and adjusting the duration and/or resolution of the local video clip according to the operation of the editing option.
Optionally, after the step S30, the method further includes:
and outputting a target video, wherein a local video clip in the target video has a special effect and/or sound effect corresponding to the video production mode.
Optionally, after the step S10, the method further includes:
recording at least one video clip;
and storing the video clip as the local video clip.
Optionally, after the step S30, the method further includes:
deleting at least one real shooting video clip according to preset operation;
recording at least one real shooting video clip again in the video shooting mode;
and synthesizing the re-recorded live video segment with the undeleted live video segment and/or the local video segment.
Optionally, after the step S30, the method further includes:
under the video shooting mode, continuously recording at least one real shooting video segment and/or inserting at least one local video segment;
and synthesizing the real shooting video segment which is continuously recorded and/or the inserted local video segment with the synthesized video segment.
The present application further provides a video processing method, optionally applicable to a mobile terminal, including:
step S100: selecting at least one local video clip;
step S200: carrying out video recording to obtain at least one live video clip;
step S300: and in a video shooting mode, synthesizing the real shooting video clip and the local video clip, and outputting a target video.
Optionally, before the step S100, the method further includes:
and setting a video synthesis mode corresponding to the local video clip.
Optionally, the step S300 includes at least one of:
splicing the local video clip and the real shooting video clip according to a preset sequence in a first video synthesis mode;
in a second video synthesis mode, according to the insertion position of the local video clip, the local video clip is superposed in the appointed area of the picture of the real shooting video clip;
and under a third video synthesis mode, dividing the whole picture into at least two parts according to a preset mode, and simultaneously displaying the real shooting video clip and the local video clip on different parts of the whole picture for synchronous playing.
The present application further provides a mobile terminal, including: the device comprises a memory and a processor, wherein the memory stores a video processing program, and the video processing program realizes the steps of the method when being executed by the processor.
The present application also provides a readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method as described above.
As described above, the video processing method, the mobile terminal, and the readable storage medium of the present application include: entering a video shooting mode; carrying out video recording to obtain at least one live video clip; and in the video shooting mode, synthesizing at least one real shooting video clip and at least one local video clip. Through the mode, the real-time shooting video clip and the local video clip can be synthesized in real time, and the video shooting and editing effects can be displayed in time.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a video processing method according to the first embodiment;
fig. 4 is a flowchart illustrating a video processing method according to a second embodiment;
fig. 5 is a flowchart illustrating a video processing method according to the third embodiment.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of flash modules and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or flashlight module that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or flashlight module. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or flash module that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, the specific meaning of which should be determined by its interpretation in the embodiment or by further context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation flash module, a wearable device, a smart band, a pedometer, and the like, and fixed mobile terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a mobile terminal of a fixed type, in addition to elements particularly used for moving purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capture flash module (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations performed by a user (e.g., operations performed by the user on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger or a stylus), and drive the connected flash module according to a preset program. The touch panel 1071 may include two parts of a touch detection flash module and a touch controller. Optionally, the touch detection flash module detects a touch direction of a user, detects a signal caused by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection flash module, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external flash module can be connected with the mobile terminal 100. For example, the external flash module may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a flash module having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and so forth. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external flash module and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and the external flash module.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the mobile terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Referring to fig. 3, the video processing method of the present embodiment may be optionally applied to a mobile terminal, and includes:
step S10: entering a video shooting mode;
step S20: carrying out video recording to obtain at least one live video clip;
step S30: and in the video shooting mode, synthesizing at least one real shooting video clip and at least one local video clip.
In this embodiment, the video shooting mode may be a video shooting mode that is entered by default after the shooting application is started, or a movie mode, a Vlog mode, or the like that is started according to a user selection after the shooting application is started. And starting video recording after entering a video shooting mode. One or more video segments are captured in real-time, and an option is provided for embedding other video elements, such as local video, into the video segments before the video segments are output for fragmentation. The embodiment is suitable for the situation that a user shoots the micro-movie, and can synthesize some local video clips in the real shooting video clip, so that the final micro-movie can better meet the actual requirements of the user.
In the video shooting mode, the number and combination form of real shooting video clips and local video clips are not limited, and the real shooting video clips and the local video clips can be synthesized in any number of clips. For local video clips, videos close to the real shooting time length can be selected. If the duration of the local video clip is inconsistent with the duration of the real shooting video clip, options can be provided for a user to cut or splice the local video clip. Optionally, after the local video clip is synthesized with the live video clip, a default special effect and sound effect in the current video shooting mode are automatically added to the local video clip, so that richer shooting experience is brought to the user.
Optionally, the video processing method of this embodiment further includes:
inserting the local video clip before step S20; and/or the presence of a gas in the gas,
after step S20, the local video segment is inserted.
It should be noted that before video recording is performed and a live video segment is obtained, a local video segment to be synthesized may be selected in advance, and an undone position of the local video segment during synthesis may be determined. Or after finishing video shooting and obtaining the real shooting video clip, selecting the local video clip to carry out the video editing operation of inserting and synthesizing.
Optionally, step S30, includes:
step S31: selecting a video synthesis mode in a video shooting mode;
step S32: and synthesizing the real shooting video clip and the local video clip according to the video synthesis mode.
Optionally, step S32, including at least one of:
splicing the local video clip and the real shooting video clip in sequence according to the insertion position of the local video clip in a first video synthesis mode;
in a second video synthesis mode, the local video clip is superposed in a specified area of a picture of the live video clip for playing;
and under a third video synthesis mode, the whole picture is divided into at least two parts according to a preset mode, and the live-shooting video clip and the local video clip are simultaneously displayed on different parts of the whole picture for synchronous playing.
It should be noted that the composition method of the live video clip and the local video clip needs to be determined before composition. The real shooting video clip and the local video clip have three synthesizing modes:
first, splicing. For example, in a video shooting mode, a certain type (e.g. performance) is shot in four segments, and a local video segment can be selected as one segment to be spliced with other three segments of real-shot videos, and the duration and the resolution should be consistent with the effect of the real-shot video segment. After splicing and synthesizing, the local video clip can also have the special effect and the effect of the real shooting video clip.
Second, superposition. After a certain real-shot video clip is finished, one or more local video clips can be selected to be overlapped with the real-shot video clip, and the local video clips and the real-shot video clip are overlapped and printed into a picture. Optionally, the local video segment is consistent with the real shooting video in time length and resolution. The superposed processing effect can be used for expressing the memories, dreams, imaginations and the like of characters, enriching the content of real shot video clips and improving the overall effect of the video.
And thirdly, dividing. After a certain real shooting video segment is finished, one or more local video segments can be selected to be spliced with the real shooting video segment. Alternatively, a vertical line, a horizontal line or an oblique line may be used to divide a screen into a plurality of blocks, such as two blocks, three blocks, etc. And when the video is displayed, the real shooting video clip and the local video clip are played simultaneously, and the duration and the resolution of the local video clip and the real shooting video clip are kept consistent. The processing effect of segmentation can be used for representing the visual conflict effect caused by characters and time contrast.
Optionally, the playing of the local video clip superimposed on the specified area of the picture of the live video clip includes at least one of the following:
overlapping all frames of the local video clip with the real shooting video clip;
overlapping partial frames of the local video clip with the real shooting video clip;
all frames of the local video are overlaid with at least one live video segment.
It should be noted that, when the local video segment is superimposed on the live video segment, the filter of the local video segment may be superimposed on all or a part of the frames of one live video segment, or the filter of the local video segment may be superimposed on all or a part of the frames of a plurality of live video segments. Of course, the real shooting video clip can be used as a filter to be superposed on the local video clip, so that a plurality of superposed and synthesized video editing modes are provided for the user.
Optionally, step S30, further comprising at least one of:
adjusting the duration and/or resolution of a local video clip according to the preset duration and/or preset resolution of the video shooting mode;
and adjusting the duration and/or resolution of the real shooting video segment according to the duration and/or resolution of the local video segment, so that the duration and/or resolution of the real shooting video segment is consistent with the duration and/or resolution of the local video segment.
It should be noted that, before the real-time video segment is synthesized with the local video segment, the duration and/or resolution of the real-time video segment and the local video segment need to be consistent. Parameter standards such as duration and resolution of video clip shooting can be defined in the video shooting mode, and real shooting video clips meeting the parameter standards are obtained after shooting. It is then checked whether the local video segment meets the parameter criteria. If the two are consistent, the synthesis can be directly carried out; and/or if the video clip does not conform to the real shot video clip, the relevant parameters of the local video clip are adjusted to be consistent with the real shot video clip, and then the video clip is synthesized. Of course, before the live video segment is synthesized with the local video segment, if the durations and/or resolutions of the live video segment and the local video segment are not consistent, the duration and/or resolution of the live video segment may also be adjusted according to the local video segment.
Optionally, adjusting the duration and/or resolution of the local video segment according to the preset duration and/or preset resolution of the video shooting mode includes:
if the duration of the local video clip is not equal to the preset duration, displaying an editing option;
and adjusting the duration and/or resolution of the local video clip according to the operation of the editing option.
When the video composition interface displays the editing options, besides the editing options for adjusting the duration and/or the resolution of the local video segment, the editing options for adjusting the exposure, the transparency, the gray scale, the contrast, the brightness and the like of the local video segment can be displayed.
Optionally, after step S30, the method further includes:
and outputting the target video, wherein the local video clip in the target video has special effect and/or sound effect corresponding to the video production mode.
And automatically adding preset special effects and/or sound effect parameters when the real shooting video clip is synthesized with the local video clip. The preset special effect and/or sound effect parameters are default parameters of the video shooting mode or are defined by a user.
Optionally, after step S10, the method further includes:
recording at least one video clip;
the video clip is stored as a local video clip.
Optionally, after step S30, the method further includes:
deleting at least one real shooting video clip according to preset operation;
recording at least one real shooting video clip again in a video shooting mode;
and synthesizing the re-recorded live video segment with the undeleted live video segment and/or the local video segment.
It should be noted that, after the real-time video segment and the local video segment are synthesized, if a user needs to modify a certain video segment, the video segment is deleted after the video segment is selected. And if the real shooting video clip is deleted, providing an option of re-shooting the video clip. And/or, if the local video clip is deleted, providing an option to reload the local video clip. The deleted video clip is cached, so that the function of withdrawing the video editing step or comparing the video effects before and after modification by the user can be provided.
Optionally, after step S30, the method further includes:
under the video shooting mode, continuously recording at least one real shooting video segment and/or inserting at least one local video segment;
and synthesizing the real shooting video segment which is continuously recorded and/or the inserted local video segment with the synthesized video segment.
After the live-action video clip and the local video clip are combined, the video clip can be added to the combined video as needed by the user. The added video clip may be a live video clip or a local video clip.
Optionally, step S30, includes:
and in the synthesis process, displaying a preview picture of the local video clip in real time.
The video processing method of the embodiment comprises the following steps: entering a video shooting mode; carrying out video recording to obtain at least one live video clip; and in the video shooting mode, synthesizing at least one real shooting video clip and at least one local video clip. Through the mode, the embodiment can synthesize the real shot video clip and the local video clip in real time, and display video shooting and editing effects in time.
Second embodiment
Referring to fig. 4, the video processing method of the present embodiment, optionally, may be applied to a mobile terminal, and includes:
step S100: selecting at least one local video clip;
step S200: carrying out video recording to obtain at least one live video clip;
step S300: and in the video shooting mode, synthesizing the real shooting video clip and the local video clip, and outputting the target video.
It should be noted that, in this embodiment, first, a local video segment to be synthesized is selected, and then at least one live-shot video segment is shot. And then, entering a video shooting mode, and synthesizing the local video clip and the real shooting video clip to obtain the target video. After entering the video capture mode, video segments may also continue to be captured for compositing.
Optionally, before step S100, the method further includes:
and setting a video synthesis mode corresponding to the local video clip.
Optionally, step S300, includes at least one of:
splicing the local video clip and the real shooting video clip according to a preset sequence in a first video synthesis mode;
in a second video synthesis mode, according to the insertion position of the local video clip, the local video clip is superposed in the specified area of the picture of the real shooting video clip;
and under a third video synthesis mode, the whole picture is divided into at least two parts according to a preset mode, and the live-shooting video clip and the local video clip are simultaneously displayed on different parts of the whole picture for synchronous playing.
The video processing method of the embodiment comprises the following steps: selecting at least one local video clip; carrying out video recording to obtain at least one live video clip; and in the video shooting mode, synthesizing the real shooting video clip and the local video clip, and outputting the target video. Through the mode, the embodiment can synthesize the real shot video clip and the local video clip in real time, and display video shooting and editing effects in time.
Third embodiment
As shown in fig. 5, in the present embodiment, after entering the movie mode, the shooting type is selected. For example, four-segment shooting is adopted, that is, four video segments are shot and then synthesized. Next, a selection is made whether the local video segment needs to be inserted in the composite video. And if the local video clip is required to be inserted, selecting a synthesis mode of the local video clip and the real shooting video clip. And synthesizing the local video clip and the real shooting video clip according to the synthesis mode, and then outputting and storing the target video. And if the local video clips do not need to be inserted, performing real shooting of the movie video, and synthesizing and outputting the four real-shot video clips into the original real-shot micro movie after shooting is completed. Of course, one or at least one real shooting video clip can be synthesized and then the target video can be output and stored. The synthesis mode comprises splicing, superposition, segmentation and the like.
Optionally, in a splicing manner, the local video segment and the live video segment are spliced in sequence according to the insertion position of the local video segment. For example, in a video shooting mode, a certain type (e.g. performance) is shot in four segments, and a local video segment can be selected as one segment to be spliced with other three segments of real-shot videos, and the duration and the resolution should be consistent with the effect of the real-shot video segment. And after splicing and synthesis, the spliced micro-shadow is obtained, and the local video clip can also have the special effect and the effect of the real shooting video clip.
Optionally, in the overlay mode, the local video clip is overlaid in a specified area of a picture of the live video clip for playing. After a certain real-shot video clip is finished, one or more local video clips can be selected to be overlapped with the real-shot video clip, and the local video clips and the real-shot video clip are overlapped and printed into a picture. Optionally, the local video segment is consistent with the real shooting video in time length and resolution. After superposition synthesis, a superposed micro-shadow is obtained, and the superposition mode can be used for expressing memories, dreams, imaginations and the like of people, enriching the content of real shot video clips and improving the overall effect of the video.
Optionally, in the splitting mode, the whole picture is split into at least two parts according to a preset mode, and the live-shooting video clip and the local video clip are simultaneously displayed on different parts of the whole picture for synchronous playing. After a certain real shooting video segment is finished, one or more local video segments can be selected to be spliced with the real shooting video segment. Alternatively, a vertical line, a horizontal line or an oblique line may be used to divide a screen into a plurality of blocks, such as two blocks, three blocks, etc. And when the video is displayed, the real shooting video clip and the local video clip are played simultaneously, and the duration and the resolution of the local video clip and the real shooting video clip are kept consistent. After segmentation and synthesis, the obtained micro-shadow after segmentation can be used for expressing visual conflict effects brought by character and time contrast.
The embodiment utilizes the video related editing technology and the partial shooting method of the movie to synthesize the live video and the local video when the user uses the movie mode, so that the shot video is more personalized and richer in content presentation form, and meanwhile, the user is left with a space for self-development and creation, so that the finally output movie is more suitable for the core requirements of the user.
The application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is stored with a video processing program, and the video processing program is executed by the processor to realize the steps of the video processing method in any embodiment.
The present application further provides a computer-readable storage medium, on which a video processing program is stored, and when being executed by a processor, the video processing program implements the steps of the video processing method in any of the above embodiments.
In the embodiments of the mobile terminal and the computer-readable storage medium provided in the present application, all technical features of any one of the embodiments of the video processing method may be included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal device (e.g., a mobile phone, a computer, a server, a controlled mobile terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (12)

1. A video processing method, comprising:
step S10: entering a video shooting mode;
step S20: carrying out video recording to obtain at least one live video clip;
step S30: and in the video shooting mode, synthesizing the at least one real shooting video clip and the at least one local video clip.
2. The method according to claim 1, wherein the step S30 includes:
step S31: selecting a video synthesis mode in the video shooting mode;
step S32: and synthesizing the real shooting video clip and the local video clip according to the video synthesis mode.
3. The method according to claim 2, wherein the step S32 includes at least one of:
splicing the local video clip and the real shooting video clip in sequence according to the insertion position of the local video clip in a first video synthesis mode;
in a second video synthesis mode, the local video clip is superposed in a specified area of a picture of the real shooting video clip for playing;
and under a third video synthesis mode, dividing the whole picture into at least two parts according to a preset mode, and simultaneously displaying the real shooting video clip and the local video clip on different parts of the whole picture for synchronous playing.
4. The method according to claim 3, wherein the overlaying the local video segment on the designated area of the picture of the live video segment for playing comprises at least one of the following:
overlapping all frames of the local video clip with the live video clip;
overlapping a partial frame of the local video clip with the live video clip;
all frames of the local video are overlaid with at least one live video clip.
5. The method according to any one of claims 1 to 4, wherein the step S30 further comprises at least one of:
adjusting the duration and/or resolution of the local video clip according to the preset duration and/or preset resolution of the video shooting mode;
and adjusting the duration and/or resolution of the real shooting video clip according to the duration and/or resolution of the local video clip, so that the duration and/or resolution of the real shooting video clip is consistent with the duration and/or resolution of the local video clip.
6. The method of claim 5, wherein the adjusting the duration and/or resolution of the local video segment according to the preset duration and/or preset resolution of the video capture mode comprises:
if the duration of the local video clip is not equal to the preset duration, displaying an editing option;
and adjusting the duration and/or resolution of the local video clip according to the operation of the editing option.
7. The method according to any one of claims 1 to 4, wherein after the step S30, the method further comprises:
deleting at least one real shooting video clip according to preset operation;
recording at least one real shooting video clip again in the video shooting mode;
and synthesizing the re-recorded live video segment with the undeleted live video segment and/or the local video segment.
8. The method according to any one of claims 1 to 4, wherein after the step S30, the method further comprises:
under the video shooting mode, continuously recording at least one real shooting video segment and/or inserting at least one local video segment;
and synthesizing the real shooting video segment which is continuously recorded and/or the inserted local video segment with the synthesized video segment.
9. A video processing method, comprising:
step S100: selecting at least one local video clip;
step S200: carrying out video recording to obtain at least one live video clip;
step S300: and in a video shooting mode, synthesizing the real shooting video clip and the local video clip, and outputting a target video.
10. The method according to claim 9, wherein the step S300 comprises at least one of:
splicing the local video clip and the real shooting video clip according to a preset sequence in a first video synthesis mode;
in a second video synthesis mode, according to the insertion position of the local video clip, the local video clip is superposed in the appointed area of the picture of the real shooting video clip;
and under a third video synthesis mode, dividing the whole picture into at least two parts according to a preset mode, and simultaneously displaying the real shooting video clip and the local video clip on different parts of the whole picture for synchronous playing.
11. A mobile terminal, characterized in that the mobile terminal comprises: memory, processor, wherein the memory has stored thereon a video processing program which, when executed by the processor, implements the steps of the video processing method according to any one of claims 1 to 10.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the video processing method according to any one of claims 1 to 10.
CN202110947150.3A 2021-08-18 2021-08-18 Video processing method, mobile terminal and readable storage medium Pending CN113727047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110947150.3A CN113727047A (en) 2021-08-18 2021-08-18 Video processing method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110947150.3A CN113727047A (en) 2021-08-18 2021-08-18 Video processing method, mobile terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN113727047A true CN113727047A (en) 2021-11-30

Family

ID=78676209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110947150.3A Pending CN113727047A (en) 2021-08-18 2021-08-18 Video processing method, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN113727047A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155143A1 (en) * 2022-02-18 2023-08-24 北京卓越乐享网络科技有限公司 Video production method and apparatus, electronic device, storage medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303293A (en) * 2016-08-15 2017-01-04 广东欧珀移动通信有限公司 Method for processing video frequency, device and mobile terminal
CN109068166A (en) * 2018-08-17 2018-12-21 北京达佳互联信息技术有限公司 A kind of image synthesizing method, device, equipment and storage medium
CN112887584A (en) * 2019-11-29 2021-06-01 华为技术有限公司 Video shooting method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303293A (en) * 2016-08-15 2017-01-04 广东欧珀移动通信有限公司 Method for processing video frequency, device and mobile terminal
CN109068166A (en) * 2018-08-17 2018-12-21 北京达佳互联信息技术有限公司 A kind of image synthesizing method, device, equipment and storage medium
CN111356000A (en) * 2018-08-17 2020-06-30 北京达佳互联信息技术有限公司 Video synthesis method, device, equipment and storage medium
CN112887584A (en) * 2019-11-29 2021-06-01 华为技术有限公司 Video shooting method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155143A1 (en) * 2022-02-18 2023-08-24 北京卓越乐享网络科技有限公司 Video production method and apparatus, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN107390972B (en) Terminal screen recording method and device and computer readable storage medium
CN107229402B (en) Dynamic screen capturing method and device of terminal and readable storage medium
CN108259781B (en) Video synthesis method, terminal and computer-readable storage medium
CN113542610A (en) Shooting method, mobile terminal and storage medium
CN111935402A (en) Picture shooting method, terminal device and computer readable storage medium
CN113194197A (en) Interaction method, terminal and storage medium
CN113556492A (en) Thumbnail generation method, mobile terminal and readable storage medium
CN112511741A (en) Image processing method, mobile terminal and computer storage medium
CN113938620B (en) Image processing method, mobile terminal and storage medium
CN108282608B (en) Multi-region focusing method, mobile terminal and computer readable storage medium
CN113727047A (en) Video processing method, mobile terminal and readable storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN113286106B (en) Video recording method, mobile terminal and storage medium
CN115665551A (en) Processing method, intelligent terminal and storage medium
CN113194227A (en) Processing method, mobile terminal and storage medium
CN113901245A (en) Picture searching method, intelligent terminal and storage medium
CN114092366A (en) Image processing method, mobile terminal and storage medium
CN109495683B (en) Interval shooting method and device and computer readable storage medium
CN112561798A (en) Picture processing method, mobile terminal and storage medium
CN107566745B (en) Shooting method, terminal and computer readable storage medium
CN114040183B (en) Image processing method, mobile terminal and storage medium
CN113596350B (en) Image processing method, mobile terminal and readable storage medium
CN114119813A (en) Content demonstration method, mobile terminal and storage medium
CN115601481A (en) Processing method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211130