CN113891098A - Processing method, intelligent terminal and storage medium - Google Patents

Processing method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN113891098A
CN113891098A CN202111335398.0A CN202111335398A CN113891098A CN 113891098 A CN113891098 A CN 113891098A CN 202111335398 A CN202111335398 A CN 202111335398A CN 113891098 A CN113891098 A CN 113891098A
Authority
CN
China
Prior art keywords
special effect
file
target
multimedia file
spectrum
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
CN202111335398.0A
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 CN202111335398.0A priority Critical patent/CN113891098A/en
Publication of CN113891098A publication Critical patent/CN113891098A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/21805Source of audio or video content, e.g. local disk arrays enabling multiple viewpoints, e.g. using a plurality of cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a processing method, an intelligent terminal and a storage medium. According to the method and the device, the special effects of the micro-movies in all time periods are automatically configured through the multimedia files, the shooting effect can be combined with the special effects of the multimedia files, the shooting effect of the micro-movies is rich due to the diversification of the multimedia files, and the video processing process is convenient.

Description

Processing method, intelligent terminal and storage medium
Technical Field
The application relates to the technical field of multimedia, in particular to a processing method, an intelligent terminal and a storage medium.
Background
With the development of technology, nowadays, intelligent terminals also have a micro-movie and micro-video shooting mode, so that the shooting of micro-movies and micro-videos is more and more convenient.
The difference between the micro-movie and the ordinary video is that in order to achieve the movie effect, the video combines special effects such as moving mirrors, filters, beauty, transition, music and the like, so that the video has the movie effect.
In the process of designing and implementing the application, the inventor finds that at least the following problems exist in the current micro-movie shooting process: to form a micro-movie, there are a wide variety of special effects that need to be set during the movie, and there are a greater variety of combinations of various special effects. Various special effects need to be combined for shooting in the shooting process, high participation of users is needed, and interaction is various.
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 processing method, an intelligent terminal, and a storage medium, so that in a video processing process, a target special effect or a special effect combination is automatically configured based on a multimedia file, so that the processing process is convenient and fast, and the processing effect is richer.
In order to solve the above technical problem, the present application provides a processing method, including the following steps:
s10: responding to the multimedia file selection operation;
s20: determining a target special effect according to the multimedia file;
s30: and processing the video image frame by adopting the target special effect to obtain a target video.
Optionally, the multimedia file includes at least one of a music file and a video file.
Optionally, the step of processing the video image frame with the target special effect includes:
acquiring a music parameter currently played by the multimedia file;
determining display parameters of the target special effect according to the music parameters;
and processing the video image frame according to the target special effect and/or the display parameters of the target special effect to obtain a target video.
Optionally, the music parameter comprises at least one of a music tempo and a music amplitude, and/or the display parameter of the target special effect comprises at least one of a special effect tempo and a special effect strength.
Optionally, the faster the music tempo, the faster the characteristic tempo, and/or the larger the music amplitude, the stronger the special effect strength.
Optionally, the step of determining a target special effect according to the multimedia file includes:
determining a corresponding target frequency spectrum file according to the multimedia file;
and determining a target special effect according to the mapping relation between the target frequency spectrum file and the special effect.
Optionally, the step of determining a target special effect according to the mapping relationship between the target spectrum file and the special effect includes:
acquiring the current playing time point of the multimedia file;
acquiring a frequency spectrum section corresponding to the current playing time point in the target frequency spectrum file;
and determining a target special effect according to the spectrum information of the spectrum section and/or the identification information of the spectrum section.
Optionally, the step of determining a corresponding target spectrum file according to the multimedia file includes:
determining whether a spectrum file corresponding to the multimedia file exists;
if yes, determining the target frequency spectrum file according to the mapping relation between the multimedia file and the frequency spectrum file; and/or if not, determining or generating the target frequency spectrum file according to the multimedia file.
Optionally, the step of determining or generating the target spectrum file according to the multimedia file includes:
analyzing the frequency spectrum information of the multimedia file;
dividing at least two frequency spectrum sections according to the frequency spectrum information;
determining a special effect corresponding to each frequency spectrum section according to a mapping relation between preset frequency spectrum information and the special effect;
and determining or generating a target spectrum file of the multimedia file based on the special effect corresponding to each spectrum section.
Optionally, the step of determining or generating a target spectrum file of the multimedia file based on the special effect corresponding to each spectrum segment includes:
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and after marking corresponding identification information on each frequency spectrum segment, determining or generating a target frequency spectrum file of the multimedia file, wherein the identification information is the same as the identification information of the target special effect.
Optionally, the multimedia file selection operation includes one of a local multimedia file selection operation and an online multimedia file selection operation.
Optionally, when the multimedia file selection operation is an online multimedia file selection operation, before the step of determining a target special effect according to the multimedia file, the method further includes:
and downloading the multimedia file according to the multimedia file selection operation.
In order to achieve the above object, the present application also provides a processing method, including:
s100: acquiring a multimedia file;
s200: analyzing the multimedia file, and constructing the incidence relation between the multimedia file and the target special effect according to the incidence relation between preset multimedia information and the special effect so as to obtain the target special effect required by the video through the multimedia file in the video processing process to obtain the target video.
Optionally, the step of analyzing the multimedia file and constructing an association relationship between the multimedia file and the target special effect according to a preset association relationship between multimedia information and the special effect includes:
analyzing the multimedia file to determine or generate a spectrum file;
and constructing the association relation between the multimedia file and the target special effect according to the mapping relation between the frequency spectrum information of the frequency spectrum file and the special effect.
Optionally, the step of constructing an association relationship between the multimedia file and the target special effect according to the mapping relationship between the spectrum information of the spectrum file and the special effect includes:
dividing at least two frequency spectrum sections according to the frequency spectrum file;
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and marking the identification information on the frequency spectrum file, wherein the identification information is the same as the identification information of the target special effect so as to construct the association relationship between the multimedia file and the target special effect.
The application also provides an intelligent terminal, including: memory, a processor, wherein the memory has stored thereon a processing program which, when executed by the processor, implements the steps of the method of any one of the above.
The present application also provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, performs the steps of the method according to any one of the above.
As described above, the processing method of the present application is applied to an intelligent terminal, responds to a multimedia file selection operation triggered based on the intelligent terminal, determines a target special effect according to the multimedia file, and further processes video image frames using the target special effect. The special effects of the micro-movies in all time periods are automatically configured through the multimedia files, the shooting effect can be combined with the special effects of the multimedia files, the shooting effect of the micro-movies is rich due to the diversification of the multimedia files, and the video processing process is convenient.
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 diagram of a hardware structure of an intelligent 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 processing method according to a first embodiment;
fig. 4 is a detailed flowchart of step S30 in the processing method according to the second embodiment;
fig. 5 is a detailed flowchart of step S20 in the processing method according to the third embodiment;
FIG. 6 is a detailed flowchart of step S22 in FIG. 5;
FIG. 7 is a flowchart illustrating a detailed process of one embodiment of step S21 in the processing method according to the fourth embodiment;
fig. 8 is a flowchart illustrating a processing method according to the fifth embodiment;
fig. 9 is a flowchart illustrating a processing method according to the sixth 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 apparatus 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 apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, 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 apparatus 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, that particular meaning should be determined by their interpretation in the embodiment or further by 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 smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may include smart 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 device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent 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 intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal 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), TDD-LTE (Time Division duplex-Long Term Evolution, Time Division Long Term Evolution), 5G, and so on.
WiFi belongs to short-distance wireless transmission technology, and the intelligent 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 smart 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 smart 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 smart 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 capturing device (e.g., a camera) in a video capturing mode or an image capturing 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 smart 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 and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves 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 intelligent 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, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, 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 smart 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 smart terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart terminal 100. For example, the external device 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 device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
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 intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent 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 intelligent 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 intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent 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 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 (e.g. 5G), and the like.
Based on the above intelligent terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Referring to fig. 3, the processing method is applied to an intelligent terminal, and the method includes:
step S10, responding to the multimedia file selection operation;
step S20, determining a target special effect according to the multimedia file;
and step S30, processing the video image frame by adopting the target special effect to obtain a target video.
Optionally, the multimedia file selection operation is triggered by a user based on an intelligent terminal.
The intelligent terminal can be a mobile phone, and can also be a mobile device with a video function, such as a video camera and a camera. In this embodiment, a mobile phone is taken as an example for explanation, the camera application in the intelligent terminal has a video processing function, and optionally, the video processing process in this embodiment is a processing process of a micro-movie.
The multimedia file has rich multimedia information, and when the multimedia information is different, the special effects of corresponding mapping are different. The multimedia information based on each multimedia file may be different, and various special effect combinations can be realized through the combination of different multimedia information. Therefore, the target special effect or the target special effect combination is automatically configured based on the multimedia file in the video processing process, the video processing process is convenient and fast, and the processing effect is richer.
Optionally, the multimedia file comprises at least one of a music file, a video file, a graphics file, and a text file. The corresponding multimedia information includes at least one of music, video, graphics, and text. The embodiment takes the multimedia file as a music file as an example for explanation.
The micro-movie processing effect of the intelligent terminal mainly has special effects of moving mirrors, filtering mirrors, beautifying, transition, music and the like. The variety of special effects is wide, and the combination of various characteristics is more. At present, the addition and combination of special effects are mostly manually operated by users, so a great amount of manpower is consumed in the process of processing the micro-shadow. In some embodiments, special effect combinations may also be preset by pre-defining the scene. For example, a "sports" scene is defined, and a series of effect combinations such as the number of segments, moving mirrors, filters, beauty, transition, music, etc. of the movie in the scene are correspondingly defined. The user defines the shooting effect of the micro-movie by selecting the corresponding scene. After the mode is selected based on the scene, the special effect and the special effect strength are fixed, and the special effect strength cannot be changed according to different atmospheres or mood of the multimedia file in the shooting process. And scene definition is limited, thereby defining the shooting category of the micro-movie.
Optionally, in the micro-movie processing, the special effect and the music are set separately, and after the special effect is set, the music is selected, however, the setting mode easily causes the mismatch between the music and the special effect. Or, in the music playing process, the user may manually set the special effect duration according to the music playing progress, however, this setting method also requires the user to continuously adjust and set, and the process is complicated.
Aiming at the defects that the theme shooting mode of the micro-film is not flexible enough, the interestingness is lacked, the shooting process is complicated, the shooting types are limited, the music and the special effect are difficult to match and the like, the special effect combination of the micro-film is determined based on the selected multimedia file by presetting the association relationship between the multimedia file and the target special effect. Therefore, when the micro-movie shooting operation is triggered, a user can perform a multimedia file selection operation based on an output multimedia file selection interface, when the user selects at least one multimedia file, the selected multimedia file is determined in response to the multimedia file selection operation, a target special effect corresponding to the multimedia file is determined based on a mapping relation between multimedia information and the special effect of the multimedia file (such as a mapping relation between music information and the special effect), in the video processing process, each video image frame obtained by the target special effect processing is adopted, and the target micro-movie is formed through each video image frame subjected to the target special effect processing. Optionally, the music information includes at least one of a name of the music file, a music type of the music file, and a music characteristic of the music file.
In this embodiment, the special effect processing is automatically performed in the video processing process through the music file, and the processing effect and the display effect are better, for the following reasons:
first, because the music file is associated with the special effect, in the micro-movie processing process, the music is automatically matched with the special effect, manual setting by a user is not needed, and a complicated process of configuring the music by the special effect is omitted.
Secondly, the selected music files are adopted to carry out special effect processing on the video image frames in the micro-movie processing process through the incidence relation between the music files and the special effects, and at least one music file has at least one special effect. Thus, a micro-movie can form different special effect combinations by switching different music files. And each micro-movie needs music based on the combination of music, images and special effects, so that the special effects of the micro-movies are determined or generated based on the music files and are not limited by scenes, so that the micro-movies have more shooting types and are richer.
Thirdly, each music file can be set to be at least two special effect combinations according to the playing sequence or the played temperament, and one micro movie can switch the special effects along with the change of the playing sequence or the temperament of the music, so that the micro movie has rich special effect.
Optionally, in some embodiments, the target special effect is determined based on a music genre of the music file, such as the music genre comprising at least one of classical music, pop music, national music, rock music, and national wind music. The music types are different, and the corresponding associated special effects are different. Based on this, the embodiment can also process the video image frames according to the music type configuration and the special effect matched with the music type, so that the theme of the micro-movie is better and richer. Optionally, in the embodiment where the special effects are configured by the music genre, it may also be implemented that when the same piece of music is played by different music genres, the determined target special effects are different, and thus, the special effects of the micro-movies are different. Compared with the exemplary technology, the micro-shadow shooting type and the special effect of the embodiment are richer and are not limited by a fixed special effect combination.
It will be appreciated that optionally the music file is associated with an effect map, it may be that the music file itself is associated with an effect map, e.g. a music file itself is at least map associated with an effect. The content of the music file may also be associated with the special effect map, for example, different contents in a music file may be associated with different special effects, and optionally, the content may be a type of an audio spectrum, or may be a special effect of an audio spectrum or a music parameter, and the like.
Optionally, the multimedia file selection operation includes one of a local multimedia file selection operation and an online multimedia file selection operation.
The local multimedia file of the intelligent terminal can realize the configuration of the associated special effect, if the local multimedia file is selected, the target special effect can be directly determined based on the pre-configured associated special effect, the preset multimedia file is generally selected elaborately, or the user sets the special effect according to the requirement in advance, so that the special effect of the preset multimedia file is more in line with the requirement of the user, or is more matched with music. But the local multimedia files are limited, so that the video effect has limitation.
Because the online multimedia file is downloaded online, and the associated special effect cannot be configured in the intelligent terminal in advance, if a user selects to download based on the online multimedia file, the type of the multimedia file can be analyzed or a local multimedia file with higher similarity to the multimedia file can be identified after the multimedia file is downloaded based on the preset file association relationship, and the associated special effect of the online downloaded multimedia file can be established according to the configured special effect of the local multimedia file. Or configuring the associated special effects of the multimedia files downloaded online according to a combination of a plurality of local multimedia files. Or configuring the associated special effects of the multimedia files downloaded online based on the content analysis of the multimedia files. And further processing the video image frame by using the target special effect in the video processing process. The online multimedia file is not limited by a local storage space, so that the video effect universality is higher.
Optionally, through a mapping relation between the multimedia file and the special effect, when a user selects an operation based on the multimedia file triggered by the intelligent terminal, a target special effect is determined according to the multimedia file, and then the target special effect is adopted to process the video image frame. The special effects of the micro-movies in all time periods are automatically configured through the multimedia files, the shooting effect can be combined with the special effects of the multimedia files, the shooting effect of the micro-movies is rich due to the diversification of the multimedia files, and the video recording process is convenient.
Second embodiment
Referring to fig. 4, based on the first embodiment, compared to the first embodiment, the present embodiment further improves flexibility of special effect processing in micro-cinema shooting, and further improves the effect of micro-cinema shooting. Step S30 includes:
step S31, acquiring the music parameters of the multimedia file currently played;
step S32, determining display parameters of the target special effect according to the music parameters;
and step S33, processing the video image frame according to the target special effect and/or the display parameter of the target special effect to obtain a target video.
In this embodiment, the multimedia file is taken as a music file for example, the multi-music file includes a music parameter, and optionally, the music parameter includes at least one of a music tempo and a music amplitude. The display parameter of the target special effect comprises at least one of a special effect rhythm and a special effect strength.
It should be noted that the special effects include moving mirrors, filters, beauty, passing fields, etc., but the display speed and the intensity of the special effects are different, and the displayed special effects are different. In an example technology, the strength of a special effect is fixed according to a special effect template, the speed of the special effect is determined based on user selection, or in a scene micro-movie, the strength and the speed of the special effect are bound with a scene, and after the scene is determined, the low strength and the speed of the special effect are correspondingly fixed, so that the problems that the user operation is too complicated and the effect of the special effect is too fixed exist in the settings.
Based on this, in this embodiment, by presetting the association relationship between the music parameter and the display parameter of the special effect, after the target special effect is determined based on the music file, the display parameter of the target special effect is determined according to the music parameter of the music file, and then when the video image frame is processed by using the target special effect, the display effect of the special effect is processed according to the display parameter, so that the special effect display effect of the determined or generated target micro-movie video is different according to the difference between the rhythm and amplitude of music. In this way, even if the used special effects are the same, if the music parameters are different, the display parameters based on the target special effects are different, so that the presentation effects of the target special effects are also different. Similarly, the field-crossing special effect is adopted, but the speed of the special effect in the process is different, and the corresponding video effects are different.
The display parameter of special effect is adjusted based on the music parameter to this embodiment, not only makes the display effect of special effect more match with the music, strengthens the effect of watching that two dimensions of vision and sense of hearing formed, and makes little shadow shooting in-process, and a music can obtain multiple video effect, has richened little shadow shooting effect.
Optionally, the relation between the music parameter and the display parameter of the special effect includes, but is not limited to, the following ways: such as the faster the music tempo, the faster the characteristic tempo, and/or the larger the music amplitude, the stronger the special effect strength.
That is, in the playing process of the music file, the faster the music rhythm played at present is, the more exciting, or eager or shocking the atmosphere is created, and at this time, the faster the rhythm with the special effect correspondingly set follows the rhythm of the music, the faster the rhythm effect matched with the music is visually formed. The larger the amplitude of the currently played music is, the more important or tense the created atmosphere is, the stronger the strength of the correspondingly set special effect is, and the more important or tense effect matched with the music is visually formed through stronger special effect display. In the video processing process, the strength and rhythm of the special effect are not fixedly limited, and the micro-shadow shooting effect is attractive to users.
Third embodiment
Referring to fig. 5, this embodiment proposes an optional implementation manner that the target special effects corresponding to each multimedia file are multiple based on all the embodiments described above: the step of determining the target special effect according to the multimedia file comprises the following steps:
step S21, determining a corresponding target spectrum file according to the multimedia file;
and step S22, determining a target special effect according to the mapping relation between the target frequency spectrum file and the special effect.
In the embodiment, a multimedia file is converted into a spectrum file, and then a plurality of special effects are associated on the spectrum file, so that one multimedia file realizes a plurality of special effect combinations. Alternatively, the special effect combinations may be arbitrarily combined based on the music characteristics of the multimedia files, that is, the special effect combinations are not fixed to the multimedia files but are different based on the music characteristics of the multimedia files.
Optionally, in an embodiment, the spectrum file is converted based on musical characteristics of the multimedia file. Such as music characteristics including general, soft, strong, nostalgic, etc. If a multimedia file (a piece of music) has a plurality of music characteristics, this embodiment converts the multimedia file into a spectrum file having different music characteristics based on the music characteristics, and then associates the spectrum file with each special effect and stores the spectrum file. Optionally, in an embodiment, the special effect is associated with a music characteristic.
Therefore, when the intelligent terminal is adopted to process videos, all target special effects of the multimedia files can be obtained based on the target frequency spectrum files corresponding to the multimedia files after the multimedia files are selected, in the process of processing the videos, video image frames are processed by adopting different target special effects according to the playing progress of music, the effect of adding or replacing the special effects along with the music is achieved in a full-automatic mode, and the micro-movie videos are more convenient to shoot while being rich in shooting effect.
Optionally, in other embodiments, the special effect is associated with a spectrum segment. Optionally, the spectral segments of the spectral file are divided based on the characteristics of the music, such as dividing the spectral file into a plurality of spectral segments, and then associating at least one special effect based on the characteristics of each of the spectral segments.
Namely, when a video is recorded, after a target frequency spectrum file is determined, a frequency spectrum segment corresponding to the current playing time point in the target frequency spectrum file is determined based on the current playing time period of the multimedia file, and then a target special effect is determined according to the frequency spectrum segment.
Optionally, in some embodiments, in order to improve the identification efficiency, after the target spectrum file is divided into a plurality of spectrum segments, spectrum information, such as a spectrum name or a spectrum attribute, is defined for each spectrum segment, or corresponding identification information, such as belonging to a soft spectrum segment, a general spectrum segment, or the like, is marked for each spectrum segment. The frequency spectrum information or the identification information is associated with the special effect mapping, so that in the video processing process, the target special effect is obtained according to the frequency spectrum section to which the multimedia file plays.
As shown in fig. 6, the step of determining a target special effect according to the mapping relationship between the target spectrum file and the special effect includes:
step S221, acquiring the current playing time point of the multimedia file;
step S222, acquiring a frequency spectrum section corresponding to the current playing time point in the target frequency spectrum file;
step S223, determining a target special effect according to the spectrum information of the spectrum segment and/or the identification information of the spectrum segment.
Taking a music file as an example, in the playing process of the music file, determining a spectrum segment in the target spectrum file according to the current playing time point, and further determining a target special effect based on spectrum information and/or identification information marked on the spectrum segment. And further determining a target special effect used by the current video image frame, and processing the current video image frame by adopting the target special effect.
Optionally, the identification information may be an attribute of a special effect, where the attribute of the special effect is the same as the music characteristic of the audio, for example, the music characteristic is soft (the piece of music is divided into soft spectral segments), the corresponding attribute of the special effect is also soft, and the identification information of the spectral segments in the spectral file is also soft.
Optionally, when multiple special effects are matched with the same music characteristic, that is, the same music characteristic may be expressed based on multiple special effects, the music characteristic or identification information or spectrum information corresponding to the music characteristic may map multiple special effects. When a plurality of special effects are determined based on the spectrum information of the spectrum section and/or the identification information of the spectrum section, one of the special effects can be arbitrarily selected as a target special effect; or when a plurality of special effects are determined based on the spectrum information of the spectrum section and/or the identification information of the spectrum section, obtaining the special effect with the highest use frequency as a target special effect; or determining a target special effect according to historical use habits; or when a plurality of special effects are determined based on the spectrum information of the spectrum section and/or the identification information of the spectrum section, outputting a special effect selection interface, and selecting a target special effect through a user.
Alternatively, in other embodiments, the spectrum file may be converted based on other special effects of the music file, such as music parameters, or music attributes, or playing time duration, etc. If the music data is converted into a plurality of spectrum segments according to the music parameters or the music attributes or the playing time, and further the characteristics are associated, the specific association manner is the same as that described above, which is not repeated herein.
Optionally, the multi-music file may be composed of one piece of music, or may be composed of a plurality of pieces of music.
The embodiment realizes the combination of multiple special effects through one multimedia file, combines different music parameters and different special effect display modes, simplifies the shooting process of the micro-film and simultaneously enables the shooting effect of the micro-film to be richer.
The fourth embodiment:
referring to fig. 7, this embodiment proposes an optional implementation manner that when the target spectrum file does not exist locally in the intelligent terminal based on the third embodiment, the target spectrum file is determined or generated based on a multimedia file, and for example, the step of determining the corresponding target spectrum file according to the multimedia file includes:
step S211, determining whether a spectrum file corresponding to the multimedia file exists;
if yes, executing step S212, determining the target spectrum file according to the mapping relationship between the multimedia file and the spectrum file; and/or the presence of a gas in the gas,
if not, executing step S213, determining or generating the target spectrum file according to the multimedia file.
It is to be understood that, in the embodiment of the present application, the multimedia file selecting operation includes one of a local multimedia file selecting operation and an online multimedia file selecting operation. That is, the multimedia file can be a multimedia file locally stored in the intelligent terminal, and can also be a multimedia file selected on line, so that the selectivity of the multimedia file is increased, the video processing process is not limited by the local multimedia file, and the application range of the special effect setting of the micro-movie recording is increased.
Setting a corresponding frequency spectrum file for a local multimedia file of an intelligent terminal in advance; and the online multimedia file cannot be preset with the corresponding spectrum file. According to the embodiment, the on-line multimedia file can be additionally used for recording the micro-movie video, so that when the multimedia file selection operation is responded, whether the multimedia file exists locally and/or whether a spectrum file corresponding to the multimedia file exists needs to be determined. And if the corresponding frequency spectrum file exists, directly obtaining the target frequency spectrum file according to the mapping relation between the multimedia file and the frequency spectrum file. And/or if the multimedia file does not exist, the multimedia file is not determined or the corresponding spectrum file is generated, and at the moment, the corresponding spectrum file needs to be determined or generated, so that when the video is processed based on the multimedia file, the special effect of the video can be automatically set according to the multimedia file.
Optionally, the step of determining or generating the target spectrum file according to the multimedia file includes:
analyzing the frequency spectrum information of the multimedia file;
dividing at least two frequency spectrum sections according to the frequency spectrum information;
determining a special effect corresponding to each frequency spectrum section according to a mapping relation between preset frequency spectrum information and the special effect;
and determining or generating a target spectrum file of the multimedia file based on the special effect corresponding to each spectrum section.
Optionally, the mapping relationship between the spectrum information and the special effect may be determined based on an association relationship between the spectrum information and the special effect, which is pre-stored in the local storage, or may be determined based on association information recommended by big data.
Optionally, the multimedia file analysis may be performed based on a preset multimedia file analysis algorithm/model, for example, the multimedia file is input into the multimedia file analysis algorithm/model, the multimedia file analysis algorithm/model divides the multimedia file into a plurality of spectrum segments according to music characteristics (optionally, the spectrum information is different based on different music characteristics) or music parameters, then a corresponding special effect is mapped on the spectrum segments, and a spectrum file composed of the spectrum segments to which the special effect is mapped is used as a target spectrum file of the multimedia file, so that in a video recording process, the special effect of each spectrum segment can be determined based on the target spectrum file.
Optionally, the multimedia file analysis algorithm/model is determined or generated by extensive music and user selection learning and analysis of special effects.
Alternatively, the local multimedia file may be determined or generated spectral information based on the multimedia file analysis algorithm/model, or may be formed based on user manual settings.
Optionally, in the process of determining or generating the spectrum file, a display parameter of a special effect corresponding to the music parameter mapping of the spectrum segment is further based, and special effect processing is performed on the video image frame according to the display parameter, so that the special effect is displayed according to the display parameter.
Optionally, in an embodiment, the step of determining or generating a target spectrum file of the multimedia file based on the special effect corresponding to each spectrum segment includes:
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and after marking corresponding identification information on each frequency spectrum segment, determining or generating a target frequency spectrum file of the multimedia file, wherein the identification information is the same as the identification information of the target special effect.
Optionally, each frequency spectrum segment of the target frequency spectrum file has identification information, so that when the video is processed, the target characteristics are directly determined through the identification information, the content of the frequency spectrum information does not need to be analyzed, the data processing process in the video processing process is reduced, and the special effect processing efficiency is improved.
Optionally, in the process of determining or generating the target spectrum file, identification information of each spectrum segment is determined based on the music characteristics and/or music parameters of each spectrum segment, and then corresponding identification information is marked on the spectrum segment, and a file formed by the spectrum segments marked with the identification information is determined as the target spectrum file. Such as the identification information includes general, soft, nostalgic, strong, etc., or the identification information includes character identification representing the characteristics of general, soft, nostalgic, strong, etc. Optionally, the identification information matches with a music characteristic, and the identification information also matches with an attribute of a special effect.
In some embodiments, the matching efficiency of the spectrum section and the target special effect is improved by setting the identification information of the spectrum section of the spectrum file to the identification information consistent with the identification information of the target special effect.
Optionally, when the multimedia file selection operation is an online multimedia file selection operation, before the step of determining a target special effect according to the multimedia file, the method further includes:
and downloading the multimedia file according to the multimedia file selection operation.
Optionally, after the multimedia file is downloaded and a spectrum file is determined or generated, the multimedia file and the spectrum file corresponding to the multimedia file are saved.
Optionally, in some embodiments, the multimedia file may also be obtained by processing. The processed multimedia file is the same as the multimedia file downloaded on line, after the processed multimedia file is obtained, the frequency spectrum file is determined or generated according to the processed multimedia file, and then the target special effect is determined according to the frequency spectrum file, wherein the specific determination or generation mode is the same as the multimedia file downloaded on line, and the details are not repeated here.
Fifth embodiment
Referring to fig. 8, an embodiment of the present application provides a processing method, including:
step S100, acquiring a multimedia file;
step S200, analyzing the multimedia file, and constructing the incidence relation between the multimedia file and the target special effect according to the incidence relation between preset multimedia information and the special effect so as to obtain the target special effect required by the video through the multimedia file in the video processing process and obtain the target video.
Optionally, the embodiment is applied to an intelligent terminal. The intelligent terminal is internally provided with a multimedia file analysis algorithm/model, after a multimedia file is obtained, the multimedia file is analyzed based on the multimedia file analysis algorithm/model to obtain music information of the multimedia file, and then an association relationship between the multimedia file and the target special effect is established based on a preset association relationship between the music information and the special effect.
Optionally, the music information includes at least one of a name of the multimedia file, a music type of the multimedia file, and a music characteristic of the multimedia file. That is, the special effect of the micro-movie video is different according to the music information of the multimedia file.
Optionally, after the intelligent terminal constructs the association relationship between the multimedia file and the target special effect, when the video is processed (when the video is recorded, the video image frame is recorded and processed at the same time), the processed video can be directly processed by adopting the corresponding target special effect based on the selected multimedia file, so that a user does not need to manually participate in the special effect setting, the special effect setting is completed in the video processing process, the shooting process of the micro-movie is simplified, the shooting efficiency is high, and the shooting effect is good.
Optionally, the multimedia file may be a local multimedia file, and for example, before the intelligent terminal leaves a factory, the local multimedia file may be configured with a special association effect. Or, the multimedia file may be an online multimedia file, for example, when a user downloads a multimedia file, the multimedia file is configured with a special effect associated based on this embodiment. Or, the multimedia file may also be a recorded multimedia file (such as recorded music or video), for example, a multimedia file recorded through a recording function of an intelligent terminal, and the recorded multimedia file is configured with a special association effect based on this embodiment.
Optionally, the multimedia analysis algorithm/model is determined or generated by a large amount of music information and user's selection learning and analysis of special effects.
Sixth embodiment
Referring to fig. 9, based on the above embodiment, the step of analyzing the multimedia file and constructing the association relationship between the multimedia file and the target special effect according to the association relationship between the preset multimedia information and the special effect includes:
step S201, analyzing the multimedia file to determine or generate a spectrum file;
step S202, according to the mapping relation between the frequency spectrum information of the frequency spectrum file and the special effect, the incidence relation between the multimedia file and the target special effect is constructed.
Optionally, at least one target special effect is provided for each multimedia file, and when a video is recorded, the target special effects may be automatically switched based on the multimedia files. In this embodiment, the multimedia file is converted into a spectrum file, and then different special effects are mapped according to different spectrum information of the spectrum file, so as to construct an association relationship between the multimedia file and a target special effect.
It can be understood that the special effects of the mapping corresponding to different preset spectrum information are different. Therefore, after the multimedia file is analyzed into the frequency spectrum file, if the frequency spectrum information in the multimedia file has a plurality of types, the target special effect corresponding to the multimedia file has a plurality of types.
Optionally, the spectrum information is different based on different music characteristics, or the spectrum information is different based on different music parameters, or the spectrum information is different based on different music attributes.
Optionally, in an optional embodiment, the step of constructing an association relationship between the multimedia file and the target special effect according to the mapping relationship between the spectrum information of the spectrum file and the special effect includes:
dividing at least two frequency spectrum sections according to the frequency spectrum file;
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and marking the identification information on the frequency spectrum file, wherein the identification information is the same as the identification information of the target special effect so as to construct the association relationship between the multimedia file and the target special effect.
Optionally, when the multimedia file is converted into the spectrum file, the spectrum file is divided into at least two spectrum segments. Optionally, the frequency spectrum segments may be divided based on a preset playing time, or may be divided according to frequency spectrum segments corresponding to music frequency bands with the same music characteristics, or may be divided based on frequency spectrum segments corresponding to music frequency bands with the same music parameters.
After the spectrum file is divided into a plurality of spectrum sections, identification information to be marked is determined based on music characteristics corresponding to the spectrum sections, and then the identification information corresponding to each spectrum section is marked on the spectrum file in sequence to construct an association relationship between the multimedia file and the target special effect. Therefore, in the video processing process, the target special effect corresponding to each spectrum segment can be determined based on the identification information in the spectrum file corresponding to the multimedia file, and then the video image frame collected when the music corresponding to the spectrum segment is played is processed by adopting the target special effect.
Optionally, the identification information is identification information corresponding to the music characteristic, and if the music characteristic includes general use, softness, strength, nostalgic property, etc., the identification information corresponds to general use, softness, strength, nostalgic property, etc. It is understood that the identification information may be a character identification identical to the music characteristic, or may be a character identification representing the music characteristic.
According to the embodiment, the incidence relation between the multimedia file and the target special effect is established based on the identification information, so that the target special effect can be conveniently and quickly searched according to the identification information, and the acquisition efficiency of the target special effect is improved.
The embodiment of the present application further provides an intelligent terminal, where the intelligent terminal includes a memory and a processor, and the memory stores a processing program, and the processing program, when executed by the processor, implements the steps of the processing method in any of the above embodiments.
The embodiment of the present application further provides a computer-readable storage medium, where a processing program is stored on the computer-readable storage medium, and when the processing program is executed by a processor, the processing program implements the steps of the processing method in any of the above embodiments.
In the embodiments of the intelligent terminal and the computer-readable storage medium provided in the present application, all technical features of any one of the embodiments of the 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.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
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 terminal device (e.g., a mobile phone, a computer, a server, a controlled 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 (13)

1. A method of processing, the method comprising the steps of:
s10: responding to the multimedia file selection operation;
s20: determining a target special effect according to the multimedia file;
s30: and processing the video image frame by adopting the target special effect to obtain a target video.
2. The method of claim 1, wherein the step of S30 includes:
acquiring a music parameter currently played by the multimedia file;
determining display parameters of the target special effect according to the music parameters;
and processing the video image frame according to the target special effect and/or the display parameters of the target special effect to obtain a target video.
3. The method according to claim 2, wherein the music parameter comprises at least one of a music tempo and a music amplitude, and/or the display parameter of the target effect comprises at least one of an effect tempo and an effect strength.
4. The method according to any one of claims 1 to 3, wherein the step S20 includes:
determining a corresponding target frequency spectrum file according to the multimedia file;
and determining a target special effect according to the mapping relation between the target frequency spectrum file and the special effect.
5. The method of claim 4, wherein the step of determining a target special effect according to the mapping relationship between the target spectrum file and the special effect comprises:
acquiring the current playing time point of the multimedia file;
acquiring a frequency spectrum section corresponding to the current playing time point in the target frequency spectrum file;
and determining a target special effect according to the spectrum information of the spectrum section and/or the identification information of the spectrum section.
6. The method of claim 4, wherein the step of determining a corresponding target spectrum file from the multimedia file comprises:
determining whether a spectrum file corresponding to the multimedia file exists;
and if so, determining the target frequency spectrum file according to the mapping relation between the multimedia file and the frequency spectrum file, and/or if not, determining or generating the target frequency spectrum file according to the multimedia file.
7. The method of claim 6, wherein the step of determining or generating the target spectrum file from the multimedia file comprises:
analyzing the frequency spectrum information of the multimedia file;
dividing at least two frequency spectrum sections according to the frequency spectrum information;
determining a special effect corresponding to each frequency spectrum section according to a mapping relation between preset frequency spectrum information and the special effect;
and determining or generating a target spectrum file of the multimedia file based on the special effect corresponding to each spectrum section.
8. The method of claim 7, wherein the step of determining or generating a target spectrum file for the multimedia file based on the effect corresponding to each of the spectral segments comprises:
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and after marking corresponding identification information on each frequency spectrum segment, determining or generating a target frequency spectrum file of the multimedia file, wherein the identification information is the same as the identification information of the target special effect.
9. A method of processing, the method comprising:
s100: acquiring a multimedia file;
s200: analyzing the multimedia file, and constructing the incidence relation between the multimedia file and the target special effect according to the incidence relation between preset multimedia information and the special effect so as to obtain the target special effect required by the video through the multimedia file in the video processing process and obtain the target video.
10. The method of claim 9, wherein the step of S200 comprises:
analyzing the multimedia file to determine or generate a spectrum file;
and constructing the association relation between the multimedia file and the target special effect according to the mapping relation between the frequency spectrum information of the frequency spectrum file and the special effect.
11. The method of claim 10, wherein the step of S200 comprises:
dividing at least two frequency spectrum sections according to the frequency spectrum file;
determining music characteristics according to the spectrum information of the spectrum section;
determining identification information according to the music characteristics;
and marking the identification information on the frequency spectrum file, wherein the identification information is the same as the identification information of the target special effect so as to construct the association relationship between the multimedia file and the target special effect.
12. An intelligent terminal, characterized in that, intelligent terminal includes: memory, processor, wherein the memory has stored thereon a processing program which, when executed by the processor, implements the steps of the processing method of any of claims 1 to 11.
13. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the processing method according to any one of claims 1 to 11.
CN202111335398.0A 2021-11-11 2021-11-11 Processing method, intelligent terminal and storage medium Pending CN113891098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111335398.0A CN113891098A (en) 2021-11-11 2021-11-11 Processing method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111335398.0A CN113891098A (en) 2021-11-11 2021-11-11 Processing method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113891098A true CN113891098A (en) 2022-01-04

Family

ID=79017301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111335398.0A Pending CN113891098A (en) 2021-11-11 2021-11-11 Processing method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113891098A (en)

Similar Documents

Publication Publication Date Title
CN108572764B (en) Character input control method and device and computer readable storage medium
US20170160921A1 (en) Media file processing method and terminal
CN112004174A (en) Noise reduction control method and device and computer readable storage medium
CN107395890A (en) A kind of method and apparatus and mobile terminal for adjusting Showing Effectiveness On Screen
CN110058827A (en) A kind of vice screen wallpaper treatment method, mobile terminal and the storage medium of mobile terminal
CN108052304B (en) Volume adjusting method, volume adjusting equipment and computer storage medium
CN109151558A (en) A kind of method for processing video frequency, terminal and computer readable storage medium
CN107635083A (en) The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing
CN114025215A (en) File processing method, mobile terminal and storage medium
CN113608808A (en) Data processing method, mobile terminal and storage medium
CN113938620A (en) Image processing method, mobile terminal and storage medium
CN108319412A (en) A kind of photo delet method, mobile terminal and computer readable storage medium
CN108121762A (en) A kind of image processing method, mobile terminal and computer storage media
CN107657022A (en) A kind of document retrieval method, mobile terminal and computer-readable recording medium
CN108495026A (en) A kind of image pickup method, flexible screen terminal and computer readable storage medium
CN113891098A (en) Processing method, intelligent terminal and storage medium
CN113793407A (en) Dynamic image production method, mobile terminal and storage medium
CN114065168A (en) Information processing method, intelligent terminal and storage medium
CN114119160A (en) Application processing method, mobile terminal and storage medium
CN113963091A (en) Image processing method, mobile terminal and storage medium
CN108769192B (en) Game bandwidth regulation and control method, device and computer readable storage medium
CN108196926B (en) Platform content identification method, terminal and computer readable storage medium
CN110647635A (en) Image management method and electronic equipment
CN107613204A (en) Adjusting method and terminal, the computer-readable storage medium of a kind of focusing area
CN109669594B (en) Interaction control method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication