CN109495786B - Pre-configuration method and device of video processing parameter information and electronic equipment - Google Patents
Pre-configuration method and device of video processing parameter information and electronic equipment Download PDFInfo
- Publication number
- CN109495786B CN109495786B CN201811563974.5A CN201811563974A CN109495786B CN 109495786 B CN109495786 B CN 109495786B CN 201811563974 A CN201811563974 A CN 201811563974A CN 109495786 B CN109495786 B CN 109495786B
- Authority
- CN
- China
- Prior art keywords
- video
- target
- video processing
- determining
- music
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 234
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000003796 beauty Effects 0.000 claims description 6
- 230000011218 segmentation Effects 0.000 claims description 5
- 238000010183 spectrum analysis Methods 0.000 claims description 5
- 238000012216 screening Methods 0.000 abstract description 15
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000033764 rhythmic process Effects 0.000 description 7
- 238000003672 processing method Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing 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/4402—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Television Signal Processing For Recording (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present disclosure provides a method, a device and an electronic device for pre-configuring video processing parameter information, which are applied to the field of video processing, wherein the method comprises the following steps: the method comprises the steps of determining the type of target music selected for a target video, then determining matched video processing parameters based on the type of the target music, and pushing the video processing parameters as recommendation information for processing the target video. The video processing parameter information of the video processing can be determined only by screening a large amount of candidate video processing parameter information one by the user, so that the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among all processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
Description
Technical Field
The present disclosure relates to the field of video processing, and in particular, to a method and an apparatus for pre-configuring video processing parameter information, and an electronic device.
Background
With the mature development of video related technologies and the improvement of terminal equipment performance, a user can process videos through corresponding video applications, wherein various video processing modes such as adding a filter, adding props, beautifying and processing are provided in the corresponding video applications, so that the interest and the individuation of the manufactured videos are improved.
Currently, when a user processes a video, the user needs to manually screen and determine a specific processing parameter configuration of a corresponding processing mode for processing the video, that is, the user needs to manually screen and determine which processing parameter configuration of the corresponding video processing mode is used, such as which mode of filter, which type of prop, which beauty mode is used, and the like, to process the video.
However, according to the existing method for determining the specific processing parameter configuration of the corresponding video processing method by manual screening, a user needs to manually screen one by one from a large number of processing parameter configurations (for example, a filter processing method may include a plurality of different processing parameter configurations such as nature and freshness) included in the corresponding video processing method to determine which processing parameter configuration to use to process the video, which causes the user to spend a large amount of time determining the specific processing parameter configuration of the corresponding video processing method. In addition, due to lack of related professional knowledge of some users, the problem that the styles of specific processing parameter configurations selected between the determined corresponding video processing modes are not uniform or matched occurs. Therefore, the existing method for manually screening and determining the specific processing parameter configuration of the corresponding video processing method has the problems of high time cost and low user experience, and the problems of unmatched or non-uniform styles of the specific processing parameter configuration among the determined various processing methods.
Disclosure of Invention
The present disclosure provides a method and an apparatus for pre-configuring video processing parameter information, and an electronic device, for reducing time for a user to determine the video processing parameter information, improving user experience, and implementing unification or matching of styles between video processing modes, the technical scheme adopted by the present disclosure is as follows:
in a first aspect, a method for pre-configuring video processing parameter information is provided, the method comprising:
determining a type of target music that has been selected for the target video;
and determining matched video processing parameters based on the type of the target music, and pushing the video processing parameters as recommendation information for processing the target video.
In a second aspect, there is provided a pre-configuration apparatus for video processing parameter information, the apparatus comprising:
a first determining module for determining the type of the target music selected for the target video;
and the second determining module is used for determining matched video processing parameters based on the type of the target music determined by the first determining module and pushing the video processing parameters as recommendation information for processing the target video.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the method of pre-configuration of video processing parameter information shown in the first aspect is performed.
In a fourth aspect, there is provided a computer-readable storage medium for storing computer instructions which, when run on a computer, cause the computer to perform the method of pre-configuring video processing parameter information as shown in the first aspect.
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the video processing parameter information pre-configuration method and device determine the type of target music selected by the target video, then determine the matched video processing parameters based on the type of the target music, and push the video processing parameters as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for pre-configuring video processing parameter information according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a pre-configuration device for video processing parameter information according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of another video processing parameter information pre-configuration device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
The disclosed embodiment provides a method for pre-configuring video processing parameter information, as shown in fig. 1, the method may include the following steps:
step S101, determining the type of target music selected aiming at a target video;
for this embodiment, corresponding target music may be selected to be added to process the target video, for example, the target video may be used as background music when playing; the target video may be a video that has been shot by the user, such as a corresponding video determined by the user from a local video library, or a video shot in real time, such as a video obtained by shooting a real-time video after the user selects corresponding target music.
For the present embodiment, the type of the target music selected for the target video is determined by the corresponding music type identification method.
And S102, determining matched video processing parameters based on the type of the target music, and pushing the video processing parameters as recommendation information for processing the target video.
Specifically, the matched video processing parameters for processing the target video may be determined based on the type of the target music according to the matching mapping relationship between the type of the target music and the video processing parameters.
Specifically, the determined video processing parameters are used as recommendation information for processing the target video to be pushed.
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the video processing parameter information pre-configuration method determines the type of the target music selected by the target video, then determines the matched video processing parameter based on the type of the target music, and pushes the video processing parameter as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
The embodiment of the present disclosure provides a possible implementation manner, and in particular, step S101 includes,
step S1011 (not shown in the figure), determining the music characteristics of the target music by a predetermined speech recognition method;
specifically, the audio information of the target music may be extracted through a corresponding audio extraction technique, the target music is identified through a predetermined speech recognition method, and the music characteristics of the target music are determined, where the music characteristics of the target music may include, but are not limited to, a rhythm characteristic, a melody characteristic, a music speed characteristic, and the like of the target music.
Step S1012 (not shown in the figure), the type of the target music is determined according to the music characteristics of the target music.
Specifically, the type of the target music is determined according to the identified music characteristics of the target music, for example, jazz music is good for happy, based on the Shuffle rhythm having the sway characteristic, and if the identified music rhythm characteristics of the target music have the Shuffle rhythm characteristic, the target music is jazz, wherein the type of the target music may include, but is not limited to, jazz, rock, country, pure music, song, punk, and the like.
For the embodiment of the disclosure, the music characteristics of the target music are determined by a preset speech recognition method, and then the type of the target music is determined according to the music characteristics of the target music, so that the problem of determining the type of the target music is solved, and a basis is provided for determining matched video processing parameter information based on the type of the target music subsequently.
The embodiment of the present disclosure provides a possible implementation manner, and in particular, step S1011 includes,
step S10111 (not shown), performing note segmentation processing on the extracted audio data of the target music to obtain a plurality of note segment data;
specifically, the audio data of the target music may be preprocessed by corresponding techniques such as voiced/unvoiced determination and pre-filtering to remove portions not containing target information and enhance the signal and suppress background noise.
Specifically, the audio data of the target music may be processed through a gaussian low-pass-based FIR filter or other methods that can implement the present disclosure to obtain an envelope of the target music signal in the PCM format, and then peak detection is performed through a corresponding time-frequency analysis method to determine the note position of the target music. Specifically, note segmentation processing may be performed on the audio data of the target music according to the determined note position of the target music, so as to obtain a plurality of note segment data.
Step S10112 (not shown), analyzing the note segment data based on a predetermined spectrum analysis method to obtain note characteristics of each note;
specifically, the data of each note segment may be analyzed based on a predetermined spectrum analysis method, such as a time-frequency analysis method, to obtain acoustic feature information of the zero crossing rate, the short-time energy, and the like of each note, and then, the note feature of each note may be determined according to the acoustic feature information of each note, where the note feature of a note includes, but is not limited to, features of the pitch, the intensity, the timbre, the duration, and the like of the note.
Step S10113 (not shown in the drawings), determines the musical characteristics of the target music based on the note characteristics of the respective notes.
Specifically, the music characteristics of the target music can be determined according to the characteristics of the pitch, the intensity, the timbre, the duration and the like of each note, for example, the rhythm refers to the length relationship of the sound organized by intensity, the rhythm is related to not only the length of the sound but also the intensity of the sound, and the rhythm characteristics of the target music can be determined according to the length and the intensity characteristics of the notes.
With the embodiment of the disclosure, the music characteristics of the target music are determined by determining the characteristics of each note of the target music, so that the problem of determining the music characteristics of the target music is solved, and a basis is provided for determining the type of the target music.
The embodiment of the present disclosure provides a possible implementation manner, and further, the method further includes:
step S103 (not shown in the figure), processing the target video based on the determined matching video processing parameter, and displaying the processed target video.
For the embodiment, the target video is processed based on the determined matched video processing parameters, and the processed target video is displayed; the matched video processing parameter information may include a plurality of candidate processing parameter information, and the recommendation sorting may be performed according to the matching degree of the plurality of candidate processing parameters and the target music; the video can be automatically processed according to the video processing parameter with the highest matching degree, and the video can also be processed based on the corresponding video processing parameter selected by the user from the recommendation information.
For the embodiment of the disclosure, the target video is processed based on the determined matched video processing parameters, so that the time for determining the video processing parameters by the user is saved, and the user experience is improved.
The video processing parameters comprise at least one of parameters of a filter, a beauty tool, a prop and a video speed.
The video processing parameters include but are not limited to at least one of filter, beauty, prop and video speed, wherein the filter is used for integrally setting the style of a video picture, such as small fresh, ancient ways and the like, the beauty is used for beautifying the portrait in the video, such as whitening and blackening the portrait, the prop refers to corresponding articles added into the video, such as flowers, microphones, glasses and the like, and the video speed is used for controlling the video playing speed.
For the embodiment of the present disclosure, the video processing parameters include parameters of multiple video processing modes, so that style matching between multiple processing modes of the target video is achieved, and a video with better viewing experience is manufactured.
Fig. 2 is a device for pre-configuring video processing parameter information, where the device 20 includes: a first determining module 201, a second determining module 202, wherein,
a first determining module 201, configured to determine a type of target music that has been selected for the target video;
and the second determining module 202 is configured to determine a matched video processing parameter based on the type of the target music determined by the first determining module 201, and push the video processing parameter as recommendation information for processing the target video.
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the pre-configuration device for the video processing parameter information determines the type of the target music selected by the target video, then determines the matched video processing parameter based on the type of the target music, and pushes the video processing parameter as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
The video processing parameter information pre-configuration device according to the embodiment of the present disclosure may execute the video processing parameter information pre-configuration method provided in the above embodiments of the present disclosure, which is similar to the above-mentioned embodiments in the implementation principle, and is not described herein again.
Another apparatus for pre-configuring video processing parameter information is provided in an embodiment of the present disclosure, where the apparatus 30 includes: a first determining module 301, a second determining module 302, wherein,
a first determining module 301, configured to determine a type of target music that has been selected for the target video;
wherein the first determining module 301 in fig. 3 has the same or similar function as the first determining module 201 in fig. 2.
And a second determining module 302, configured to determine, based on the type of the target music determined by the first determining module 301, a matched video processing parameter, and push the video processing parameter as recommendation information for processing the target video.
Wherein the second determining module 302 in fig. 3 has the same or similar function as the second determining module 202 in fig. 2.
The embodiment of the present disclosure provides a possible implementation manner, and specifically, the first determining module 301 includes a first determining unit 3011 and a second determining unit 3012;
a first determination unit 3011 for determining a music characteristic of the target music by a predetermined speech recognition method;
a second determining unit 3012, configured to determine the type of the target music according to the music characteristics of the target music determined by the first determining unit 3011.
For the embodiment of the disclosure, the music characteristics of the target music are determined by a preset speech recognition method, and then the type of the target music is determined according to the music characteristics of the target music, so that the problem of determining the type of the target music is solved, and a basis is provided for determining matched video processing parameter information based on the type of the target music subsequently.
The embodiment of the present disclosure provides a possible implementation manner, and in particular, a first determining unit, configured to perform note segmentation processing on extracted audio data of target music to obtain multiple note segment data;
the system is used for analyzing the obtained data of each note segment based on a preset spectrum analysis method to obtain note characteristics of each note;
and determining the music characteristics of the target music based on the obtained note characteristics of each note.
With the embodiment of the disclosure, the music characteristics of the target music are determined by determining the characteristics of each note of the target music, so that the problem of determining the music characteristics of the target music is solved, and a basis is provided for determining the type of the target music.
The embodiment of the present disclosure provides a possible implementation manner, and further, the apparatus further includes: a processing module 303;
and the processing module 303 is configured to process the target video based on the determined matched video processing parameter, and display the processed target video.
For the embodiment of the disclosure, the target video is processed based on the determined matched video processing parameters, so that the time for determining the video processing parameters by the user is saved, and the user experience is improved.
The video processing parameters comprise at least one of parameters of a filter, a beauty tool, a prop and a video speed.
For the embodiment of the present disclosure, the video processing parameters include parameters of multiple video processing modes, so that style matching between multiple processing modes of the target video is achieved, and a video with better viewing experience is manufactured.
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the pre-configuration device for the video processing parameter information determines the type of the target music selected by the target video, then determines the matched video processing parameter based on the type of the target music, and pushes the video processing parameter as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
The embodiment of the present disclosure provides a pre-configuration device for video processing parameter information, which is suitable for the method shown in the above embodiment, and is not described herein again.
An electronic device is provided in the disclosed embodiment, as shown in fig. 4, which shows a schematic structural diagram of an electronic device 40 suitable for implementing the disclosed embodiment. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 40 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 40 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output I/O interface 405 is also connected to bus 404. The I/O interface is also an input/output interface.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 40 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 40 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the electronic equipment determines the type of the target music selected by the target video, then determines the matched video processing parameter based on the type of the target music, and pushes the video processing parameter as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
The embodiment of the present disclosure provides an electronic device suitable for the above method embodiment, and details are not repeated here.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method embodiments described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Compared with the prior art that video processing parameter information is determined through manual one-by-one screening, the embodiment of the disclosure determines the type of the target music selected for the target video, then determines the matched video processing parameter based on the type of the target music, and pushes the video processing parameter as recommendation information for processing the target video. The video processing parameter matching method and the video processing device determine the video processing parameters according to the type of the target music, and push the determined video processing parameters as recommendation information for processing the target video, so that the situation that a user can determine the video processing parameter information for video processing only by screening a large amount of candidate video processing parameter information one by one is avoided, the time spent by the user for determining the video processing parameter information is reduced, the use experience of the user is improved, in addition, the style of the target music is matched with that of the corresponding video processing parameter information, the style unification among processing modes for processing the target video is further ensured, and the viewing experience of the manufactured video is improved.
The embodiment of the present disclosure provides a computer-readable storage medium suitable for the above method embodiments, and details are not repeated herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Claims (8)
1. A method for pre-configuring video processing parameter information, comprising:
determining a type of target music that has been selected for the target video;
determining matched video processing parameters based on the type of the target music, and pushing the video processing parameters as recommendation information for processing the target video, wherein the video processing parameters comprise parameters of various video processing modes;
if the matched video processing parameters include a plurality of candidate processing parameters, the pushing of the video processing parameters as recommendation information for processing the target video includes:
according to the ranking of the matching degrees of the candidate processing parameters and the target music, pushing at least one candidate processing parameter which is ranked in the front as recommendation information for processing the target video;
the determining the type of the target music selected for the target video comprises:
determining note characteristics of each note of the target music;
determining musical characteristics of the target music based on note characteristics of the respective notes, the note characteristics including at least one of pitch, intensity, timbre, and duration;
determining the type of the target music according to the music characteristics of the target music;
the determining the note characteristics of the notes of the target music comprises:
extracting audio data of the target music, and performing note segmentation processing on the extracted audio data of the target music to obtain a plurality of note segment data;
and analyzing the note segment data based on a preset spectrum analysis method to obtain note characteristics of notes of the target music.
2. The method of claim 1, wherein determining the type of target music that has been selected for the target video further comprises:
determining the music characteristics of the target music through a preset voice recognition method;
and determining the type of the target music according to the music characteristics of the target music.
3. The method of claim 1, further comprising:
and processing the target video based on the determined matched video processing parameters, and displaying the processed target video.
4. The method of claim 1, wherein the video processing parameters include parameters in filter, beauty, prop, video speed.
5. A device for pre-configuring video processing parameter information, comprising:
a first determining module for determining the type of the target music selected for the target video;
the second determining module is used for determining matched video processing parameters based on the type of the target music determined by the first determining module, and pushing the video processing parameters as recommendation information for processing the target video, wherein the video processing parameters comprise parameters of multiple video processing modes;
if the matched video processing parameters include a plurality of candidate processing parameters, the second determining module is specifically configured to, when pushing the video processing parameters as recommendation information for processing the target video, push at least one candidate processing parameter ranked earlier as recommendation information for processing the target video according to the ranking of the matching degrees of the plurality of candidate processing parameters and the target music;
the first determining module is specifically configured to:
determining note characteristics of each note of the target music;
determining musical features of the target music based on the note features of the respective notes, the musical features including at least one of pitch, intensity, timbre and duration;
determining the type of the target music according to the music characteristics of the target music;
the first determining module, when determining note characteristics of respective notes of the target music, is configured to:
extracting audio data of the target music, and performing note segmentation processing on the extracted audio data of the target music to obtain a plurality of note segment data;
and analyzing the note segment data based on a preset spectrum analysis method to obtain note characteristics of notes of the target music.
6. The apparatus of claim 5, wherein the first determining module comprises a first determining unit and a second determining unit;
the first determining unit is used for determining the music characteristics of the target music through a preset voice recognition method;
the second determining unit is configured to determine the type of the target music according to the music feature of the target music determined by the first determining unit.
7. An electronic device, comprising:
one or more processors;
a memory;
one or more applications stored in the memory, wherein the one or more applications are configured to be executed by the one or more processors, the one or more programs configured to: performing the method of pre-configuration of video processing parameter information according to any of claims 1 to 4.
8. A computer-readable storage medium for storing computer instructions which, when run on a computer, cause the computer to perform the method of pre-configuring video processing parameter information of any of claims 1 to 4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811563974.5A CN109495786B (en) | 2018-12-20 | 2018-12-20 | Pre-configuration method and device of video processing parameter information and electronic equipment |
PCT/CN2018/125400 WO2020124679A1 (en) | 2018-12-20 | 2018-12-29 | Method and apparatus for pre-configuring video processing parameter information, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811563974.5A CN109495786B (en) | 2018-12-20 | 2018-12-20 | Pre-configuration method and device of video processing parameter information and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109495786A CN109495786A (en) | 2019-03-19 |
CN109495786B true CN109495786B (en) | 2021-04-27 |
Family
ID=65711060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811563974.5A Active CN109495786B (en) | 2018-12-20 | 2018-12-20 | Pre-configuration method and device of video processing parameter information and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109495786B (en) |
WO (1) | WO2020124679A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110913136A (en) * | 2019-11-27 | 2020-03-24 | 维沃移动通信有限公司 | Video shooting method and device, electronic equipment and medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006018888A (en) * | 2004-06-30 | 2006-01-19 | Matsushita Electric Ind Co Ltd | Video effect adding apparatus and video effect adding method |
CN104103300A (en) * | 2014-07-04 | 2014-10-15 | 厦门美图之家科技有限公司 | Method for automatically processing video according to music beats |
CN108259983A (en) * | 2017-12-29 | 2018-07-06 | 广州市百果园信息技术有限公司 | A kind of method of video image processing, computer readable storage medium and terminal |
CN108259984A (en) * | 2017-12-29 | 2018-07-06 | 广州市百果园信息技术有限公司 | Method of video image processing, computer readable storage medium and terminal |
CN108111909A (en) * | 2017-12-15 | 2018-06-01 | 广州市百果园信息技术有限公司 | Method of video image processing and computer storage media, terminal |
CN108320730B (en) * | 2018-01-09 | 2020-09-29 | 广州市百果园信息技术有限公司 | Music classification method, beat point detection method, storage device and computer device |
-
2018
- 2018-12-20 CN CN201811563974.5A patent/CN109495786B/en active Active
- 2018-12-29 WO PCT/CN2018/125400 patent/WO2020124679A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2020124679A1 (en) | 2020-06-25 |
CN109495786A (en) | 2019-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109543064B (en) | Lyric display processing method and device, electronic equipment and computer storage medium | |
WO2020113733A1 (en) | Animation generation method and apparatus, electronic device, and computer-readable storage medium | |
WO2020098115A1 (en) | Subtitle adding method, apparatus, electronic device, and computer readable storage medium | |
CN111599343B (en) | Method, apparatus, device and medium for generating audio | |
CN110503961B (en) | Audio recognition method and device, storage medium and electronic equipment | |
CN110070896B (en) | Image processing method, device and hardware device | |
CN107463700B (en) | Method, device and equipment for acquiring information | |
CN111309962B (en) | Method and device for extracting audio clips and electronic equipment | |
CN112153460B (en) | Video dubbing method and device, electronic equipment and storage medium | |
CN111798821B (en) | Sound conversion method, device, readable storage medium and electronic equipment | |
WO2020228383A1 (en) | Mouth shape generation method and apparatus, and electronic device | |
CN110070884B (en) | Audio starting point detection method and device | |
CN112908292B (en) | Text voice synthesis method and device, electronic equipment and storage medium | |
WO2021259300A1 (en) | Sound effect adding method and apparatus, storage medium, and electronic device | |
WO2021057740A1 (en) | Video generation method and apparatus, electronic device, and computer readable medium | |
CN110070859A (en) | A kind of audio recognition method and device | |
CN113257218B (en) | Speech synthesis method, device, electronic equipment and storage medium | |
CN111192594B (en) | Method for separating voice and accompaniment and related product | |
CN109815448B (en) | Slide generation method and device | |
CN107680584B (en) | Method and device for segmenting audio | |
JP2023538943A (en) | Audio data processing methods, devices, equipment and storage media | |
US20240054157A1 (en) | Song recommendation method and apparatus, electronic device, and storage medium | |
CN109495786B (en) | Pre-configuration method and device of video processing parameter information and electronic equipment | |
CN110085214B (en) | Audio starting point detection method and device | |
US9445210B1 (en) | Waveform display control of visual characteristics |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |