CN107026986B - A kind of processing method and mobile terminal of video background music - Google Patents

A kind of processing method and mobile terminal of video background music Download PDF

Info

Publication number
CN107026986B
CN107026986B CN201710204105.2A CN201710204105A CN107026986B CN 107026986 B CN107026986 B CN 107026986B CN 201710204105 A CN201710204105 A CN 201710204105A CN 107026986 B CN107026986 B CN 107026986B
Authority
CN
China
Prior art keywords
video
music
sliding block
candidate
candidate 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
Application number
CN201710204105.2A
Other languages
Chinese (zh)
Other versions
CN107026986A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710204105.2A priority Critical patent/CN107026986B/en
Publication of CN107026986A publication Critical patent/CN107026986A/en
Application granted granted Critical
Publication of CN107026986B publication Critical patent/CN107026986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The present invention provides a kind of processing methods of video background music, including according to fixed video, user is received in candidate music to the slide of video sliding block, at the end of detecting the slide, according to position of the video sliding block in candidate music progress bar, determine that the video sliding block covers corresponding initial time and end time in the candidate music progress bar;Processing order is received, extracts between the start time point and end time point corresponding part candidate music as video background music.It can be seen that, a kind of processing scheme of the video background music provided through the embodiment of the present invention, since the length of video sliding block is less than the length of candidate music progress bar, user can slide video sliding block in candidate music item, candidate music is intercepted as required, the duration of background music and video that video may be implemented is consistent, and enhances the usage experience of user.

Description

A kind of processing method and mobile terminal of video background music
Technical field
The present invention relates to audio signal processing technique fields, more particularly to the processing method and movement of a kind of video background music Terminal.
Background technique
Intelligent mobile terminal has become a part of people's daily life, people can by various social softwares with When share photos and video file everywhere in order to better meet user demand enhance user experience, a large amount of video production is soft Part occurs, these video production softwares can cut video, the setting of background music, the operation such as theme configuration.
In current video production background music solution, three kinds are broadly divided into, the first is to directly select a first sound The happy background music as video;Second is to select background music of a piece of music as video, by the beginning of background music Simply do a cutting;The third is to select background music of a piece of music as video, background music is taken from centre a certain Part.
Above-mentioned three kinds of modes, user can not hold the time point of cutting well, guarantee that music duration and video length are protected It holds consistent.
Summary of the invention
The present invention provides the processing methods and mobile terminal of a kind of video background music, to solve in the prior art to view When frequency addition background music, it cannot be guaranteed that the problem of music duration and video length are consistent etc..
To solve the above-mentioned problems, the invention discloses a kind of processing methods of video background music, which comprises According to fixed video, user is received in candidate music to the slide of video sliding block, wherein the video sliding block Length is matched with the length of video, and the length of the candidate music is matched with the length of candidate music progress bar, and the video Length be less than the length of the candidate music, the video sliding block is covered on the candidate music progress bar of part;Work as inspection At the end of measuring the slide, according to position of the video sliding block in candidate music progress bar, the video is determined Sliding block covers corresponding initial time and end time in the candidate music progress bar;Processing order is received, described rise is extracted Corresponding part candidate music is as video background music between time point beginning and end time point.
To solve the above-mentioned problems, the invention also discloses a kind of mobile terminal, the mobile terminal includes: reception mould Block, for receiving user in candidate music to the slide of video sliding block, wherein the view according to fixed video The length of frequency sliding block is matched with the length of video, and the length of the candidate music is matched with the length of candidate music progress bar, and The length of the video is less than the length of the candidate music, and the video sliding block is covered on the part candidate music progress bar On;First determining module, for it ought detect the slide at the end of, according to the video sliding block in candidate music progress Position in item determines that the sliding block covers corresponding initial time and end time in the candidate music progress bar;It mentions Modulus block extracts corresponding part candidate sound between the start time point and end time point for receiving processing order It is happy to be used as video background music.
Compared with prior art, the invention has the following advantages that
A kind of processing scheme of video background music provided in an embodiment of the present invention is received and is used according to fixed video Family is in candidate music to the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, candidate sound Happy length is matched with the length of candidate music progress bar, and the length of video is less than the length of candidate music, and video sliding block covers It covers on the candidate music progress bar of part;At the end of detecting slide, according to video sliding block in candidate music progress bar In position, determine video sliding block covering candidate music progress bar in corresponding initial time and end time;Receive processing life It enables, corresponding part candidate music is as video background music between extraction start time point and end time point.As it can be seen that logical The processing scheme for crossing a kind of video background music provided in an embodiment of the present invention, since the length of video sliding block is less than candidate music The length of progress bar, user can slide video sliding block in candidate music item, intercept as required to candidate music, can To realize that background music and the duration of video of video are consistent, enhance the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the processing method of video background music of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the processing method of video background music of the embodiment of the present invention two;
Fig. 3 is initial position schematic diagram of the video sliding block in candidate music progress bar;
Fig. 4, which is candidate music progress bar, plays schematic diagram from the initial position of video sliding block;
Fig. 5 is that video sliding block slides schematic diagram in candidate music progress bar;
Fig. 6 is that video background music plays schematic diagram from the video sliding block after sliding;
Fig. 7 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 8 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 9 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention five;
Figure 10 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention six.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the processing method of video background music of the embodiment of the present invention one is shown.
The processing method of video background music provided in an embodiment of the present invention the following steps are included:
Step 101: according to fixed video, receiving user in candidate music to the slide of video sliding block.
Wherein, the length of the video sliding block is matched with the length of video, the length and candidate music of the candidate music The length of progress bar matches, and the length of the video is less than the length of the candidate music, and the video sliding block is covered on portion Divide on the candidate music progress bar.
It is provided with the APP (Application, application program) of addition candidate music in the terminal, or in movement Candidate music is provided in terminal.
As shown in figure 3, video sliding block is rectangle, or other shapes are not specifically limited this.Rectangle covering length Degree is the length of video, i.e. the rectangular foot-print domain clipping region that is video background music.
It should be noted that the duration of the music in candidate music is all greater than equal to video length, i.e. video sliding block Length is less than or equal to candidate music duration.
Such as: a certain candidate music when it is 4 minutes a length of, then the video length that video sliding block is covered be 4 minutes, 3 points Clock, 2 minutes etc., are not specifically limited this.
When user needs to add video background music to video, the corresponding video sliding block of the video is slided.
Step 102: at the end of detecting slide, position of the foundation video sliding block in candidate music progress bar, Determine corresponding initial time and end time in video sliding block covering candidate music progress bar.
When detecting video sliding block at the end of the slide of candidate music progress bar, according to video sliding block in candidate sound Position in happy progress bar determines initial time and the end time of clipping region.
Such as: 4 minutes a length of when candidate music progress bar corresponding time, video sliding block is sliding in background music progress bar Dynamic, when detecting that video sliding block stops, the left end point of video sliding block is at 2 minutes of candidate music progress bar, video sliding block Right endpoint at 3 minutes of background music progress bar, it is determined that the initial time of candidate music be the 2nd minute of music this Moment, end time point are the 3rd minute of music this moment.
Step 103: receiving processing order, it is candidate to extract corresponding part between institute's start time point and end time point Music is as video background music.
After determining start time point and end time point, then extract between institute's start time point and end time point Corresponding part candidate music is as video background music, and after concert is played to right end from the left end of video sliding block, depending on Frequency background music terminates to play.
The processing scheme of video background music provided in an embodiment of the present invention receives user and exists according to fixed video To the slide of video sliding block in candidate music, wherein the length of video sliding block is matched with the length of video, candidate music Length is matched with the length of candidate music progress bar, and the length of video is less than the length of candidate music, and video sliding block is covered on On the candidate music progress bar of part;At the end of detecting slide, according to video sliding block in candidate music progress bar Position determines corresponding initial time and end time in video sliding block covering candidate music progress bar;Processing order is received, is mentioned Take between start time point and end time point corresponding part candidate music as video background music.As it can be seen that passing through this The processing method for a kind of video background music that inventive embodiments provide, since the length of video sliding block is less than candidate music progress The length of item, user can slide video sliding block in candidate music item, intercept as required to candidate music, Ke Yishi The background music of existing video and the duration of video are consistent, and enhance the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of the processing method of video background music of the embodiment of the present invention two is shown.
The processing method of video background music provided in an embodiment of the present invention the following steps are included:
Step 201: according to fixed video, receiving user in candidate music to the slide of video sliding block.
Wherein, the length of video sliding block is matched with the length of video, length and the candidate music progress bar of candidate music Length matching, and the length of video is less than the length of candidate music, video sliding block is covered on the candidate music progress bar of part.
It should be noted that candidate can have multiple, user is according to needing to select candidate music.
It is provided with the APP (Application, application program) of addition candidate music in the terminal, or in movement Candidate music is set in terminal.
As shown in figure 3, video sliding block is rectangle, or other shapes are not specifically limited this.Rectangle covering length Degree is the length of video, i.e. the rectangular foot-print domain clipping region that is exactly background music.
It should be noted that the duration of candidate music is all greater than equal to video length, i.e. the length of video sliding block is less than Or it is equal to candidate music duration.
Such as: a certain candidate music when it is 4 minutes a length of, then the video length that video sliding block is covered be 4 minutes, 3 points Clock, 2 minutes etc., are not specifically limited this.
Step 202: when detecting the sliding of video sliding block, terminating the broadcasting of candidate music.
Step 203: during the sliding of video sliding block, real-time display video sliding block is corresponding in candidate music progress bar Initial time.
Step 204: at the end of detecting slide, by the left end point of video sliding block in the position of candidate music progress bar It is determined as the initial time of video background music.
Step 205: the right endpoint of video sliding block is determined as video background music in the position of candidate music progress bar End time.
When detecting video sliding block at the end of the slide of candidate music progress bar, according to video sliding block in candidate sound Position in happy progress bar determines initial time and the end time of clipping region.
Such as: candidate music progress bar is 4 minutes, and video sliding block slides in candidate music progress bar, is regarded when detecting When frequency sliding block stops, the left end point of video sliding block is at 2 minutes of candidate music progress bar, and the right endpoint of video sliding block is in candidate At 3 minutes of music progress bar, it is determined that the initial time of video background music is at 2 minutes, and end time point is 3 minutes Place.
In Fig. 3, when video sliding block is not slided, the broadcasting of candidate music is directly from candidate music progress bar Start to play at 0.00 second, as shown in figure 4, for candidate music from 0.00 second the progress that plays.
When the sliding of video sliding block, the left end point of real-time display rectangular shaped slider is corresponding in candidate music progress bar to be risen Begin time point, it is user-friendly.
As shown in figure 5, it is start time point at 40 seconds of candidate music progress bar that video sliding block, which slides into, as shown in Figure 6 For background music from 40 seconds play.
It should be noted that the sliding of rectangular video sliding block, leftward or rightward sliding that cannot be unlimited, when slide is When being slided to the right along candidate music progress bar, using candidate music end point as slide boundary point;That is, rectangular video The ending that the end position of sliding block slides into selected music just stops sliding;When slide be along candidate music progress bar to When left sliding, using the starting point of candidate music as slide boundary point, that is to say, that the starting position of rectangular video sliding block is sliding The starting position for moving selected music stops sliding.
Step 206: playing corresponding part candidate music between start time point and end time point.
When video sliding block stops sliding, corresponding part between the start time point and end time point of selection is played Candidate music, so that user is to video background music better choice.
Step 207: corresponding part candidate sound between start time point and end time point is being shown in video sliding block The happy progress played.
Step 208: receiving processing order, extract corresponding part candidate sound between start time point and end time point It is happy to be used as video background music.
A kind of processing scheme of video background music provided in an embodiment of the present invention is received and is used according to fixed video Family is in candidate music to the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, candidate sound Happy length is matched with the length of candidate music progress bar, and the length of video is less than the length of candidate music, and video sliding block covers It covers on the candidate music progress bar of part;At the end of detecting slide, according to video sliding block in candidate music progress bar In position, determine video sliding block covering candidate music progress bar in corresponding initial time and end time;Receive processing life It enables, corresponding part candidate music is as video background music between extraction start time point and end time point.As it can be seen that logical The processing method for crossing a kind of video background music provided in an embodiment of the present invention, since the length of video sliding block is less than candidate music The length of progress bar, user can slide video sliding block in candidate music item, cut as required to video background music It takes, the duration of background music and video that video may be implemented is consistent, and enhances the usage experience of user.
Embodiment three
Referring to Fig. 7, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: receiving module 301, for receiving according to fixed video User is in candidate music to the slide of video sliding block, wherein and the length of the video sliding block is matched with the length of video, The length of the candidate music is matched with the length of candidate music progress bar, and the length of the video is less than the candidate music Length, the video sliding block is covered on the candidate music progress bar of part;First determining module 302, for when detection At the end of the slide, according to position of the video sliding block in the candidate music progress bar, the cunning is determined Block covers corresponding initial time and end time in the candidate music progress bar;Extraction module 303 is handled for reception Order extracts between the start time point and end time point corresponding part candidate music as video background music.
A kind of mobile terminal provided in an embodiment of the present invention receives user in candidate music according to fixed video To the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, the length of candidate music and candidate The length of music progress bar matches, and the length of video is less than the length of candidate music, and video sliding block is covered on part candidate's sound On happy progress bar;At the end of detecting slide, according to position of the video sliding block in candidate music progress bar, view is determined Frequency sliding block covers corresponding initial time and end time in candidate music progress bar;Processing order is received, initial time is extracted Corresponding part candidate music is as video background music between point and end time point.As it can be seen that through the embodiment of the present invention A kind of mobile terminal provided, since the length of video sliding block is less than the length of candidate music progress bar, user can be in candidate Slide video sliding block in music item, video background music intercepted as required, may be implemented the background music of video with The duration of video is consistent, and enhances the usage experience of user.
Example IV
Referring to Fig. 8, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: receiving module 401, for receiving according to fixed video User is in candidate music to the slide of video sliding block, wherein and the length of the video sliding block is matched with the length of video, The length of the candidate music is matched with the length of candidate music progress bar, and the length of the video is less than the candidate music Length, the video sliding block is covered on the candidate music progress bar of part;First determining module 402, for when detection At the end of the slide, according to position of the video sliding block in candidate music progress bar, determine that the sliding block covers Cover corresponding initial time and end time in the candidate music progress bar;Extraction module 403, for receiving processing life It enables, extracts between the start time point and end time point corresponding part candidate music as video background music.
Preferably, the mobile terminal further include: terminate module 404, be used in the receiving module according to fixed Video, receive user in candidate music to the slide of video sliding block after, when detect the video sliding block sliding when, Terminate the broadcasting of the candidate;Display module 405, for being regarded described in real-time display during video sliding block sliding Frequency sliding block corresponding initial time in the candidate music progress bar.
Preferably, when the slide is to slide to the right along the candidate music progress bar, with the candidate music End point is slide boundary point;When the slide is to slide to the left along the candidate music progress bar, with described The starting point of candidate music is slide boundary point.
Preferably, first determining module 402 includes: that initial time determines submodule 4021, described for detecting At the end of slide, the left end point of the video sliding block is determined as the video in the position of the candidate music progress bar The initial time of background music;End time determines submodule 4022, for by the right endpoint of the video sliding block in the time The position of music progress bar is selected to be determined as the end time of the video background music.
Preferably, the mobile terminal further include: playing module 406 is handled in the reception for extraction module and is ordered, It extracts before corresponding part candidate music is as video background music between the start time point and end time point, Play corresponding part candidate music between the start time point and end time point.
Preferably, the mobile terminal further include: display module 407, for playing the starting in the playing module Between time point and end time point after corresponding part candidate music, the initial time is shown in the video sliding block The progress that corresponding part candidate music plays between point and end time point.
A kind of mobile terminal provided in an embodiment of the present invention receives user in candidate music according to fixed video To the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, the length of candidate music and candidate The length of music progress bar matches, and the length of video is less than the length of candidate music, and video sliding block is covered on part candidate's sound On happy progress bar;At the end of detecting slide, according to position of the video sliding block in candidate music progress bar, view is determined Frequency sliding block covers corresponding initial time and end time in candidate music progress bar;Processing order is received, initial time is extracted Corresponding part candidate music is as video background music between point and end time point.As it can be seen that through the embodiment of the present invention A kind of mobile terminal provided, since the length of video sliding block is less than the length of candidate music progress bar, user can be in candidate Slide video sliding block in music item, video background music intercepted as required, may be implemented the background music of video with The duration of video is consistent, and enhances the usage experience of user.
Embodiment five
Referring to Fig. 9, the structural block diagram of the mobile terminal of the embodiment of the present invention is shown.
The mobile terminal 800 of the embodiment of the present invention includes: at least one processor 801, memory 802, at least one net Network interface 804 and other users interface 803.Various components in mobile terminal 800 are coupled by bus system 805. It is understood that bus system 805 is for realizing the connection communication between these components.Bus system 805 remove include data/address bus it It outside, further include power bus, control bus and status signal bus in addition.It, will be various total in Fig. 9 but for the sake of clear explanation Line is all designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (ErasablePROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application The program or instruction stored in program 8022, processor 801 are used for: according to fixed video, receiving user in candidate music In to the slide of video sliding block, wherein the length of the video sliding block is matched with the length of video, the candidate music Length is matched with the length of candidate music progress bar, and the length of the video is less than the length of the candidate music, the view Frequency sliding block is covered on the candidate music progress bar of part;At the end of detecting the slide, according to the video Position of the sliding block in candidate music progress bar determines that the video sliding block covers in the candidate music progress bar corresponding Begin time and end time;Processing order is received, corresponding part between the start time point and end time point is extracted Candidate music is as video background music.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 802, processor 801 reads the information in memory 802, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
Optionally, processor 801 is also used to: when detecting video sliding block sliding, terminating the candidate music It plays;During video sliding block sliding, video sliding block described in real-time display is right in the candidate music progress bar The initial time answered.
Processor 801 is also used to: when the slide is to slide to the right along the candidate music progress bar, with described Candidate music end point is slide boundary point;When the slide is to slide to the left along the candidate music progress bar When, using the starting point of the candidate music as slide boundary point.
Processor 801 is also used to: it is described at the end of detecting the slide, according to the video sliding block in candidate Position in music progress bar determines that the video sliding block covers corresponding initial time and knot in the candidate music progress bar The step of beam time, comprising: at the end of detecting the slide, by the left end point of the video sliding block in the candidate sound The position of happy progress bar is determined as the initial time of the video background music;By the right endpoint of the video sliding block in the time The position of music progress bar is selected to be determined as the end time of the video background music.
Processor 801 is also used to: handle and order in the reception, extract the start time point and end time point it Between corresponding part candidate music as video background music the step of before, the method also includes: when playing the starting Between put and end time point between corresponding part candidate music.
Processor 801 is also used to: playing corresponding part between the start time point and end time point described After the step of candidate music, the method also includes: include: shown in the video sliding block start time point and The progress that corresponding part candidate music plays between end time point.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal provided through the embodiment of the present invention receives user in candidate music according to fixed video To the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, the length of candidate music and candidate The length of music progress bar matches, and the length of video is less than the length of candidate music, and video sliding block is covered on part candidate's sound On happy progress bar;At the end of detecting slide, according to position of the video sliding block in candidate music progress bar, view is determined Frequency sliding block covers corresponding initial time and end time in candidate music progress bar;Processing order is received, initial time is extracted Corresponding part candidate music is as video background music between point and end time point.As it can be seen that through the embodiment of the present invention A kind of mobile terminal provided, since the length of video sliding block is less than the length of candidate music progress bar, user can be in candidate Video sliding block is slided in music item, and candidate music is intercepted as required, the background music and video of video may be implemented Duration be consistent, enhance the usage experience of user.
Embodiment six
Referring to Fig.1 0, show the structural block diagram of the mobile terminal of the embodiment of the present invention.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Figure 10 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input list Member 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) module 980 and power supply 990。
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 931), and according to setting in advance Fixed formula drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then The processor 960 is given, and order that processor 960 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit 930 Can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device 960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 921, and is called and is stored in Data in second memory 922 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/ Or the data in the second memory 922, processor 960 are used for: according to fixed video, receiving user in candidate music To the slide of video sliding block, wherein the length of the video sliding block is matched with the length of video, the length of the candidate music Degree is matched with the length of candidate music progress bar, and the length of the video is less than the length of the candidate music, the video Sliding block is covered on the candidate music progress bar of part;It is sliding according to the video at the end of detecting the slide Position of the block in candidate music progress bar determines that the video sliding block covers corresponding starting in the candidate music progress bar Time and end time;Processing order is received, corresponding part between the start time point and end time point is extracted and waits Select music as video background music.
Optionally, processor 960 is also used to: when detecting video sliding block sliding, terminating the candidate music It plays;During video sliding block sliding, video sliding block described in real-time display is right in the candidate music progress bar The initial time answered.
Processor 960 is also used to: when the slide is to slide to the right along the candidate music progress bar, with described Candidate music end point is slide boundary point;When the slide is to slide to the left along the candidate music progress bar When, using the starting point of the candidate music as slide boundary point.
Processor 960 is also used to: it is described at the end of detecting the slide, according to the video sliding block in candidate Position in music progress bar determines that the video sliding block covers corresponding initial time and knot in the candidate music progress bar The step of beam time, comprising: at the end of detecting the slide, by the left end point of the video sliding block in the candidate sound The position of happy progress bar is determined as the initial time of the video background music;By the right endpoint of the video sliding block in the time The position of music progress bar is selected to be determined as the end time of the video background music.
Processor 960 is also used to: handle and order in the reception, extract the start time point and end time point it Between corresponding part candidate music as video background music the step of before, the method also includes: when playing the starting Between put and end time point between corresponding part candidate music.
Processor 960 is also used to: playing corresponding part between the start time point and end time point described After the step of candidate music, the method also includes: include: shown in the video sliding block start time point and The progress that corresponding part candidate music plays between end time point.
The mobile terminal provided through the embodiment of the present invention receives user in candidate music according to fixed video To the slide of video sliding block, wherein the length of video sliding block is matched with the length of video, the length of candidate music and candidate The length of music progress bar matches, and the length of video is less than the length of candidate music, and video sliding block is covered on part candidate's sound On happy progress bar;At the end of detecting slide, according to position of the video sliding block in candidate music progress bar, view is determined Frequency sliding block covers corresponding initial time and end time in candidate music progress bar;Processing order is received, initial time is extracted Corresponding part candidate music is as video background music between point and end time point.As it can be seen that through the embodiment of the present invention A kind of mobile terminal provided, since the length of video sliding block is less than the length of candidate music progress bar, user can be in candidate Video sliding block is slided in music item, and candidate music is intercepted as required, the background music and video of video may be implemented Duration be consistent, enhance the usage experience of user.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Provided herein the processing method of video background music not with any certain computer, virtual system or other set It is standby intrinsic related.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has Structure required by the system of the present invention program is obvious.In addition, the present invention is also not directed to any particular programming language. It should be understood that can use various programming languages realizes summary of the invention described herein, and above to language-specific institute The description done is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the processing method of video background music according to an embodiment of the present invention In some or all components some or all functions.The present invention is also implemented as described herein for executing Some or all device or device programs (for example, computer program and computer program product) of method.In this way Realization program of the invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.For system embodiment For, since it is basically similar to the method embodiment, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.

Claims (12)

1. a kind of processing method of video background music, which is characterized in that the described method includes:
According to fixed video, user is received in candidate music to the slide of video sliding block, wherein the video is sliding The length of block is matched with the length of video, and the length of the candidate music is matched with the length of candidate music progress bar, and described The length of video is less than the length of the candidate music, and the video sliding block is covered on the candidate music progress bar of part;
At the end of detecting the slide, according to position of the video sliding block in candidate music progress bar, determine The video sliding block covers corresponding initial time and end time in the candidate music progress bar;
Processing order is received, corresponding part candidate music between the start time point and end time point is extracted and is used as view Frequency background music.
2. the method according to claim 1, wherein in the reception user to video sliding block in candidate music Slide the step of after, the method also includes:
When detecting video sliding block sliding, the broadcasting of the candidate music is terminated;
During video sliding block sliding, video sliding block described in real-time display is corresponding in the candidate music progress bar Initial time.
3. according to the method described in claim 1, it is characterized by:
It is sliding with the candidate music end point when the slide is to slide to the right along the candidate music progress bar Operational boundaries point;
It is to slide with the starting point of the candidate music when the slide is to slide to the left along the candidate music progress bar Dynamic operational boundaries point.
4. the method according to claim 1, wherein described at the end of detecting the slide, foundation Position of the video sliding block in candidate music progress bar determines that the video sliding block covers in the candidate music progress bar The step of corresponding initial time and end time, comprising:
At the end of detecting the slide, by the left end point of the video sliding block in the position of the candidate music progress bar It is determined as the initial time of the video background music;
The right endpoint of the video sliding block is determined as the video background music in the position of the candidate music progress bar End time.
5. ordering the method according to claim 1, wherein handling in the reception, the initial time is extracted Before the step of corresponding part candidate music is as video background music between point and end time point, the method is also wrapped It includes:
Play corresponding part candidate music between the start time point and end time point.
6. according to the method described in claim 5, it is characterized in that, playing the start time point and end time described Point between corresponding part candidate music the step of after, the method also includes:
Showing that corresponding part candidate music is broadcast between the start time point and end time point in the video sliding block The progress put.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Receiving module, for according to fixed video, receiving user in candidate music to the slide of video sliding block, In, the length of the video sliding block is matched with the length of video, the length of the candidate music and the length of candidate music progress bar Degree matching, and the length of the video is less than the length of the candidate music, the video sliding block is covered on the part candidate On music progress bar;
First determining module, at the end of detect the slide, according to the video sliding block candidate music into The position in item is spent, determines that the sliding block covers corresponding initial time and end time in the candidate music progress bar;
Extraction module extracts corresponding part between the start time point and end time point for receiving processing order Candidate music is as video background music.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Module is terminated, for, according to fixed video, it is sliding to video in candidate music to receive user in the receiving module After the slide of block, when detecting video sliding block sliding, the broadcasting of the candidate is terminated;
Display module, for during video sliding block sliding, video sliding block described in real-time display to be in the candidate sound Corresponding initial time in happy progress bar.
9. mobile terminal according to claim 7, it is characterised in that:
It is sliding with the candidate music end point when the slide is to slide to the right along the candidate music progress bar Operational boundaries point;
It is to slide with the starting point of the candidate music when the slide is to slide to the left along the candidate music progress bar Dynamic operational boundaries point.
10. mobile terminal according to claim 7, which is characterized in that first determining module includes:
Initial time determines submodule, and at the end of detecting the slide, the left end point of the video sliding block is existed The position of the candidate music progress bar is determined as the initial time of the video background music;
End time determines submodule, for the right endpoint of the video sliding block is true in the position of the candidate music progress bar It is set to the end time point of the video background music.
11. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Playing module handles in the reception for extraction module and orders, extracts the start time point and end time point Between corresponding part candidate music as video background music before, play the start time point and end time point Between corresponding part candidate music.
12. mobile terminal according to claim 11, which is characterized in that the mobile terminal further include:
Display module, for playing corresponding part between the start time point and end time point in the playing module After candidate music, show that corresponding part is candidate between the start time point and end time point in the video sliding block The progress of music.
CN201710204105.2A 2017-03-30 2017-03-30 A kind of processing method and mobile terminal of video background music Active CN107026986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710204105.2A CN107026986B (en) 2017-03-30 2017-03-30 A kind of processing method and mobile terminal of video background music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710204105.2A CN107026986B (en) 2017-03-30 2017-03-30 A kind of processing method and mobile terminal of video background music

Publications (2)

Publication Number Publication Date
CN107026986A CN107026986A (en) 2017-08-08
CN107026986B true CN107026986B (en) 2019-11-29

Family

ID=59526418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710204105.2A Active CN107026986B (en) 2017-03-30 2017-03-30 A kind of processing method and mobile terminal of video background music

Country Status (1)

Country Link
CN (1) CN107026986B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024073B (en) * 2017-11-30 2020-09-04 广州市百果园信息技术有限公司 Video editing method and device and intelligent mobile terminal
CN108668164A (en) * 2018-07-12 2018-10-16 北京微播视界科技有限公司 Select method, apparatus, terminal device and the medium of background music shooting video
CN110781349A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Method, equipment, client device and electronic equipment for generating short video
CN112153307A (en) 2020-08-28 2020-12-29 北京达佳互联信息技术有限公司 Method and device for adding lyrics in short video, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345790A (en) * 2007-07-09 2009-01-14 上海基信通讯技术有限公司 Method for editing audio files in mobile phone
CN102176731A (en) * 2010-12-27 2011-09-07 华为终端有限公司 Method for intercepting audio file or video file and mobile phone
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN104754186A (en) * 2013-12-31 2015-07-01 广州励丰文化科技股份有限公司 Device control method
CN105827997A (en) * 2016-04-26 2016-08-03 厦门幻世网络科技有限公司 Method and device for dubbing audio and visual digital media

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10623821B2 (en) * 2013-09-10 2020-04-14 Tivo Solutions Inc. Method and apparatus for creating and sharing customized multimedia segments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345790A (en) * 2007-07-09 2009-01-14 上海基信通讯技术有限公司 Method for editing audio files in mobile phone
CN102176731A (en) * 2010-12-27 2011-09-07 华为终端有限公司 Method for intercepting audio file or video file and mobile phone
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN104754186A (en) * 2013-12-31 2015-07-01 广州励丰文化科技股份有限公司 Device control method
CN105827997A (en) * 2016-04-26 2016-08-03 厦门幻世网络科技有限公司 Method and device for dubbing audio and visual digital media

Also Published As

Publication number Publication date
CN107026986A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN106326710B (en) A kind of quickly starting payment interface method and mobile terminal
CN106131650B (en) Video processing method and mobile terminal
US10853099B2 (en) System, method, and apparatus for rendering interface elements
CN107026986B (en) A kind of processing method and mobile terminal of video background music
CN106293410B (en) Video progress adjusting method and mobile terminal
CN106406739B (en) A kind of note generation method and mobile terminal
CN106354407B (en) A kind of information sharing method and mobile terminal
CN106205580B (en) A kind of audio data processing method and terminal
CN106341538B (en) A kind of method for pushing and mobile terminal of lyrics poster
CN106570372B (en) A kind of the starting method and mobile terminal of application program
US20110314421A1 (en) Access to Touch Screens
CN107506109A (en) A kind of method and mobile terminal for starting application program
CN106020613A (en) Operation method and mobile terminal for unread messages
CN105302442A (en) Image information processing method and terminal
CN107506130B (en) Character deleting method and mobile terminal
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN106775322B (en) A kind of method preventing virtual key false triggering and mobile terminal
CN105827816B (en) A kind of the split screen method and mobile terminal of terminal screen
CN109561271A (en) A kind of guidance method of terminal operation, first terminal and second terminal
CN107221347B (en) Audio playing method and terminal
WO2018166469A1 (en) Method for multi-path copying and pasting, and mobile terminal
CN107172465B (en) A kind of video playing control method and mobile terminal
CN106157125A (en) A kind of payment interface changing method and device
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106507176A (en) A kind of method of video playback and mobile terminal

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