CN106791480A - A kind of terminal and video skimming creation method - Google Patents

A kind of terminal and video skimming creation method Download PDF

Info

Publication number
CN106791480A
CN106791480A CN201611082626.7A CN201611082626A CN106791480A CN 106791480 A CN106791480 A CN 106791480A CN 201611082626 A CN201611082626 A CN 201611082626A CN 106791480 A CN106791480 A CN 106791480A
Authority
CN
China
Prior art keywords
video
frame
big
default
taking
Prior art date
Application number
CN201611082626.7A
Other languages
Chinese (zh)
Inventor
张圣杰
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201611082626.7A priority Critical patent/CN106791480A/en
Publication of CN106791480A publication Critical patent/CN106791480A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • 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

Abstract

The invention discloses a kind of terminal and video skimming creation method, the terminal includes:Acquisition module, take out frame module and setup module.Acquisition module obtains pending big video;Big video refers to video of the video duration more than or equal to default very first time threshold value.Take out frame module carries out taking out frame according to preset strategy to pending big video.Setup module keeps number of pictures per second constant, will take out the big video after frame as video skimming;Video skimming refers to video of the video duration less than or equal to default second time threshold.Wherein very first time threshold value is more than the second time threshold.By embodiment of the present invention scheme, frame is targetedly taken out to pending big video, and keep number of pictures per second constant after frame is taken out, substantially shortened the duration of video, user is obtained video duration shorter and meet the video of user's needs.

Description

A kind of terminal and video skimming creation method

Technical field

The present invention relates to terminal applies field, more particularly to a kind of terminal and video skimming creation method.

Background technology

At present, user is by terminal taking video, and the video of shooting is uploaded to customary on network.For (the small video function of such as wechat can support the video of 6 seconds) its duration is shorter for small video, and broadband takes less, therefore receives Broadband quality influence it is also smaller, user friendly upload, and for video download person also beneficial to its viewing, search and Propagate.But, the small video for directly shooting is too short due to its duration, generally can not meet the shooting needs of user, that is, want to clap The picture taken the photograph cannot shoot into completely.For big video, the shooting needs of user can be fully met, but its duration It is more long, broadband can be all expended in upload and download, and interim card occurs in the case where broadband situation is bad, even cannot The situation of viewing, has a strong impact on the viewing experience of video download person, and big video is unfavorable for lookup and the biography of video download person Broadcast.Regarding to the issue above, how to obtain video duration it is shorter and meet user shooting needs video, be current techniques personnel The problem of urgent need to resolve.

The content of the invention

It is a primary object of the present invention to propose a kind of terminal and video skimming creation method, user can be made to obtain video Duration is shorter and video the need for meeting user.

To achieve the above object, the invention provides a kind of terminal, the terminal includes:Acquisition module, take out frame module and set Put module.

Acquisition module, for obtaining pending big video;Big video refers to video duration more than or equal to default the The video of one time threshold.

Frame module is taken out, for carrying out taking out frame to pending big video according to preset strategy.

Setup module, it is constant for keeping number of pictures per second, the big video after frame as video skimming will be taken out;Video skimming is Refer to video of the video duration less than or equal to default second time threshold.

Wherein very first time threshold value is more than the second time threshold.

Alternatively, acquisition module obtains pending big video and includes:

Video is obtained as big video from default video memory space;Or,

The video of captured in real-time is obtained as big video from default spatial cache.

Alternatively, preset strategy includes:Uniform frame and the dynamic of taking out takes out frame.

It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that dynamic takes out frame.

Alternatively, taking out frame module and pending big video is carried out taking out frame according to the strategy for uniformly taking out frame includes:

Retain each key frame and its m frame adjacent with before and after key frame is constant, by the residue frame in big video every n Frame extracts p frames;Wherein, m, n and p are positive integer.

Alternatively, taking out frame module and pending big video is carried out taking out frame according to the strategy that dynamic takes out frame also includes:

Retain each key frame and its x frame adjacent with before and after key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of key frame, and the residue frame in big video is all taken out Take or extracted according to preset ratio.

Additionally, to achieve the above object, the invention allows for a kind of video skimming creation method, the method includes:

Obtain pending big video;Big video refers to video duration regarding more than or equal to default very first time threshold value Frequently;

Pending big video is carried out taking out frame according to preset strategy;

Keep number of pictures per second constant, the big video after frame as video skimming will be taken out;Video skimming refers to that video duration is small In or equal to default second time threshold video;

Wherein very first time threshold value is more than second time threshold.

Alternatively, obtaining pending big video includes:

Video is obtained as big video from default video memory space;Or,

The video of captured in real-time is obtained as big video from default spatial cache.

Alternatively, preset strategy includes:Uniform frame and the dynamic of taking out takes out frame.

It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that dynamic takes out frame.

Alternatively, pending big video is carried out taking out frame according to the strategy for uniformly taking out frame includes:

Retain each key frame and its m frame adjacent with before and after key frame is constant, by the residue frame in big video every n Frame extracts p frames;Wherein, m, n and p are positive integer.

Alternatively, the strategy for taking out frame according to dynamic is carried out taking out frame and also included to pending big video:

Retain each key frame and its x frame adjacent with before and after key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of key frame, and the residue frame in big video is all taken out Take or extracted according to preset ratio.

The present invention proposes a kind of terminal and video skimming creation method, and the terminal includes:Acquisition module, take out frame module and Setup module.Acquisition module obtains pending big video;When big video refers to that video duration is more than or equal to default first Between threshold value video.Take out frame module carries out taking out frame according to preset strategy to pending big video.Setup module keeps frames per second Number is constant, will take out the big video after frame as video skimming;Video skimming refers to that video duration is less than or equal to default second The video of time threshold.Wherein very first time threshold value is more than the second time threshold.By embodiment of the present invention scheme, to pending Big video targetedly taken out frame, and keep number of pictures per second constant after frame is taken out, substantially shorten the duration of video, User is set to obtain video duration shorter and meet the video of user's needs.

Brief description of the drawings

Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;

Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;

Fig. 3 is the terminal composition frame chart of the embodiment of the present invention;

Fig. 4 is the video skimming creation method flow chart of the embodiment of the present invention;

Fig. 5 is the video skimming creation method schematic diagram of the embodiment of the present invention.

The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.

Specific embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

The optional mobile terminal of each embodiment one of the invention is realized referring now to Description of Drawings.In follow-up description In, using the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to explanation of the invention, Itself do not have specific meaning.Therefore, " module " can be used mixedly with " part ".

Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.

Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.

Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing Part.More or less component can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.

Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.

Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).

Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.

Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..

Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..

Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated and comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, so as to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, defended using three for calculating the method for position and temporal information Star and the position that is calculated by using other satellite correction and the error of temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.

A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 1220, the static map that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus The view data of piece or video is processed.Picture frame after treatment may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or carried out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be by Such acoustic processing is voice data.Audio (voice) data after treatment can be changed in the case of telephone calling model For the form that can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can implement all kinds Noise eliminate (or suppress) algorithm eliminating (or suppression) in the noise for receiving and producing during sending audio signal or Person disturbs.

User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.

Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 1410 Touch-screen is described to this.

Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal and external device (ED).

In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..

Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..

Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.

Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..

Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incomingcommunication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.

Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.

Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.

The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or can be structured as and control Device processed 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or figure Piece draws input and is identified as character or image.

Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.

Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.

So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.

Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.

The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.

Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.

With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. If any one in the interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.

Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).

What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed It is multiple cellular stations.

As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.

In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to be believed with obtaining desired positioning Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use other of the position of mobile terminal can be tracked Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.

Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.

Based on above-mentioned optional mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.

As shown in figure 3, first embodiment of the invention proposes a kind of terminal 1, the terminal includes:Acquisition module 11, take out frame Module 12 and setup module 13.

Acquisition module 11, for obtaining pending big video;Big video refers to video duration more than or equal to default The video of very first time threshold value.

Frame module 12 is taken out, for carrying out taking out frame to pending big video according to preset strategy.

Setup module 13, it is constant for keeping number of pictures per second, the big video after frame as video skimming will be taken out;Video skimming Refer to video of the video duration less than or equal to default second time threshold.

Wherein very first time threshold value is more than the second time threshold.

Alternatively, acquisition module 11 obtains pending big video and includes:

Video is obtained as big video from default video memory space;Or,

The video of captured in real-time is obtained as big video from default spatial cache.

Alternatively, preset strategy includes:Uniform frame and the dynamic of taking out takes out frame.

It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that dynamic takes out frame.

Alternatively, taking out frame module 12 and pending big video is carried out taking out frame according to the strategy for uniformly taking out frame includes:

Retain each key frame and its m frame adjacent with before and after key frame is constant, by the residue frame in big video every n Frame extracts p frames;Wherein m is 0 or positive integer, and n and p are positive integer.

Alternatively, taking out frame module 12 and pending big video is carried out taking out frame according to the strategy that dynamic takes out frame also includes:

Retain each key frame and its x frame adjacent with before and after key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of key frame, and the residue frame in big video is all taken out Take or extracted according to preset ratio;Wherein, x is 0 or positive integer.

Additionally, to achieve the above object, the invention allows for a kind of video skimming creation method, as shown in Figure 4, Figure 5, It should be noted that any embodiment in the method embodiment is applied to above-mentioned device embodiment, repeated no more in text. The method includes S101-S103:

The pending big video of S101, acquisition;Big video refers to that video duration is more than or equal to default very first time threshold The video of value.

In embodiments of the present invention, because general its video duration of big video all can be more long, therefore, in upload or download Broadband will be taken, is unfavorable for the upload and download of user, and big video is unfavorable for the lookup and propagation of video download person.And Small video, the i.e. shorter video of video duration then conversely, small video take broadband it is less, be thus susceptible to user upload and under Carry, and beneficial to the lookup and propagation of video download person.But, on the other hand, it is desired that big video is conducive to user to shoot Picture, small video is unfavorable for shooting the picture that user wants.For the good and bad contrast of big video and small video, in order that user Acquisition video duration is shorter and meets the video of the shooting needs of user, and embodiment of the present invention scheme gives to be carried out to big video It is corresponding to take out frame treatment, so that big video retains key picture, and big video is changed to the scheme of the small video after breviary, the contracting Small video after slightly is the video skimming described in embodiment of the present invention scheme.

In embodiments of the present invention, firstly the need of pending big video is obtained before program implementation, this is big here Video refers to video of the video duration more than or equal to default very first time threshold value.The very first time threshold value can be according to difference Application scenarios or need carry out self-defined, can for example be defined according to the Subjective need of user.For example, for one very The video of clock, when limiting the video according to current network speed or bandwidth and being unfavorable for downloading or uploading for user, just can be by It is defined as big video.The concrete numerical value for the very first time threshold value is not limited in embodiments of the present invention.

Alternatively, before pending big video is obtained, into video skimming creation mode.

In embodiments of the present invention, in order that obtaining terminal clearly properly implements embodiment of the present invention scheme, it is to avoid terminal pin Breviary treatment is carried out to any video, video skimming creation mode can be pre-build, implementing embodiment of the present invention scheme Before, it is necessary to be introduced into the default video skimming creation mode.The pattern is disposed through default triggering mode and touches Hair enters, and people only can open and use when needing.Alternatively, the default triggering mode can include following one kind Or it is various:Pressing operation to programmable button, the touch operation to touch-screen, speech command operation, gesture operation, password high up in the air Input, authentication etc., wherein authentication can include recognition of face, iris recognition, speech recognition, fingerprint recognition or line Body identification etc..Here it is not limited for specific triggering mode, any mode that can be triggered into the false alarms pattern Within the protection domain of the embodiment of the present invention.It is not intended to using excessively complicated operation in specific implementation in view of user, It is fairly simple that the triggering mode can be set, for example, setting button in terminal, is created into video skimming by pressing keys Modeling formula;Or the video skimming creation mode is entered by voice command, here the voice command can include it is any can be with " the entering the video skimming creation mode " implemented, and cough, sound or count off sound etc.;Or by simple icepro Empty-handed gesture enters the video skimming creation mode, the picture circle high up in the air action or action etc. of waving of such as finger.

It should be noted that above-mentioned video skimming creation mode there may be and can also not exist, can be according to difference Application scenarios self-defining.For example, for the terminal that mothers use, due to the limited memory of terminal, not having generally Tag memory how long will be reminded has been expired, but mothers want to shoot video for child whenever and wherever possible, to retain the essence of child Color moment, but in fact in these videos many contents are all useless, the repetitive operation of such as child or the scene that repeats etc., These void contents occupy substantial amounts of space.Therefore for the terminal save space used for mothers, and child is retained Useful interior use in video, is not provided with the video skimming creation mode in the terminal that can be used in mothers, so as to When video that mothers are shot carry out breviary treatment, save terminal space.

Alternatively, obtaining pending big video includes:

Video is obtained as big video from default video memory space;Or,

The video of captured in real-time is obtained as big video from default spatial cache.

In embodiments of the present invention, embodiment of the present invention scheme can be to video that is once shooting and having stored at Reason, therefore the big video can the directly acquisition in default memory space from terminal.The storage card of such as terminal, it is also possible to from The External memory equipment or system that are connected with present terminal are obtained, for example, the mobile hard disk being connected with present terminal, IPAD, Wearable device and computer etc..

In an alternative embodiment of the invention, embodiment of the present invention scheme can also be processed the video for implementing to shoot, Specifically, terminal can be processed from the video of default spatial cache direct access captured in real-time.In the embodiment of the present invention In, it is not limited for its specific acquisition methods, the method or algorithm of any video acquisition that can realize spatial cache exist Within the protection domain of the embodiment of the present invention.

S102, pending big video is carried out taking out frame according to preset strategy.

In embodiments of the present invention, obtained by such scheme after thinking big video to be processed, just can be by fewer Strategy to big video take out frame treatment, reduced with the duration to big video.

Alternatively, preset strategy includes:Uniform frame and the dynamic of taking out takes out frame.

It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that dynamic takes out frame.

In embodiments of the present invention, two kinds of strategies can be pre-set, i.e., is uniformly taken out frame strategy and dynamic is taken out frame strategy.Should Uniform frame of taking out refers to the frame number that each certain frame number extracts certain number, and how many frame, and specific extraction are specifically spaced certainly How many frames can be directed to different video effects requirements, and the number of pictures per second of current video determines.If for example, currently treated Video 30 frame or more per second for the treatment of, then in each second can extract several frames, if currently pending video is every more 12 frames of second are less, in order to not influence the result of broadcast of video, it is necessary to extract several frames less in each second.The dynamic takes out frame Refer to the frame for being changed according to scene and dynamically extracting same or similar scene.Because in a video, especially one more long regards In frequency, it will usually there is one fragment of scene of holding of long period, such fragment does not have new informedness, for whole It is in fact useless fragment for video, therefore, it can carry out breviary to reduce the duration of current video by such scene segment. Because the content that such scene segment is included is duplicate message or garbage, therefore after carrying out taking out frame to these scene segments The effect and informedness of whole video are not interfered with.

In embodiments of the present invention, frame strategy is taken out based on above two, can be realized to regarding greatly especially by following scheme The frame of taking out of frequency is processed.

Alternatively, pending big video is carried out taking out frame according to the strategy for uniformly taking out frame includes:

Retain each key frame and its m frame adjacent with before and after key frame is constant, by the residue frame in big video every n Frame extracts p frames;Wherein, m is 0 or positive integer, and n and p are positive integer.

In embodiments of the present invention, be generally all due to general video in one second 24 frame between 30 frames, therefore, every The viewing effect that corresponding frame number does not interfere with video is equably extracted in one second, that is, does not interfere with the smoothness of whole food Property.Further, since the main information in a video is picture transition information or scene change informa, these information are all to regard Key frame in frequency determines, therefore, retain the main information that the key frame in video could retain video.To big video During taking out frame, in order to not influence the informedness of video, it is necessary to retain each key frame and its adjacent with before and after key frame M frames it is constant in the case of, by the residue frame in big video every n frames extract p frames.In embodiments of the present invention, for m, n and The concrete numerical value of p is not limited.For example, each key frame and its 1 frame adjacent with before and after key frame or multiframe can be retained In the case of constant, the residue frame in big video is extracted into 1 or multiframe every 1 frame;Or, can retain each key frame and In the case that its 1 frame adjacent with before and after key frame or multiframe are constant, the residue frame in big video is extracted into 1 frame every multiframe.

Alternatively, the strategy for taking out frame according to dynamic is carried out taking out frame and also included to pending big video:

Retain each key frame and its x frame adjacent with before and after key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of key frame, and the residue frame in big video is all taken out Take or extracted according to preset ratio;Wherein, x is 0 or positive integer.

In embodiments of the present invention, video is entered Mobile state take out frame process when, can first determine the key in whole video Frame, because therefore key frame can be retained these key frames with the key message of reflecting video.In addition, in order to ensure The information integrity of fragment can retain a frame or the multiframe adjacent with before and after key frame where key frame.Here for retain The frame number x adjacent with before and after key frame be not particularly limited, can be according to different application scenarios self-definings.For whole In video, the frame in addition to key frame and its x frame adjacent with before and after key frame, because it will not provide new information, therefore Its whole can be deleted.In addition, the scene fluency in order to ensure video playback, can only to except with key frame and its A part of frame beyond the x frames adjacent with before and after key frame is deleted, it is alternatively possible to delete this partial frame in proportion. In other embodiments, this partial frame can also be deleted according to duration.If for example, this partial frame is in the 120th second To between the 130th second, the frame between the 123rd second to the 126th second can be deleted.

In further embodiment of the present invention, when entering Mobile state to video and taking out frame and process, it is determined that the pass in whole video After key frame, in order to ensure the information integrity of fragment where key frame, and ensure the definition that key frame goes out, can also retain With the frame of the pixel difference less than or equal to default pixel difference threshold value of key frame.Here for the concrete numerical value of the pixel difference threshold value It is not particularly limited, can be according to different application scenarios self-definings.In for whole video, except key frame and its with key The pixel difference of frame less than or equal to the frame beyond the frame of default pixel difference threshold value, because it will not provide new information therefore can Deleted with to its whole, in addition, the scene fluency in order to ensure video playback, can only to except the pixel with key frame Difference is deleted less than or equal to a part of frame beyond the frame of default pixel difference threshold value, it is alternatively possible to delete in proportion This partial frame.In other embodiments, this partial frame can also be deleted according to duration.If for example, this partial frame Between the 120th second to the 130th second, the frame between the 123rd second to the 126th second can be deleted.

S103, holding number of pictures per second are constant, will take out the big video after frame as video skimming;When video skimming refers to video Video less than or equal to default second time threshold long;

Wherein very first time threshold value is more than second time threshold.

In embodiments of the present invention, after being processed by above-mentioned breviary, due to treatment after big video in remain pass Key frame and its some adjacent frames of key frame, therefore, the need for big video can meet user.In addition, in order to shorten during video It is long, it is necessary to which that it is constant to continue current video number of pictures per second when playing, due to after such scheme takes out frame to whole video, when Preceding video is reduced on overall frame number, and only the guaranteed number of pictures per second when playing is constant, could really shorten whole video Duration.In embodiments of the present invention, due to ensure number of pictures per second it is constant be each frame for taking out adjacent in the video after frame link Problem, because the link problems between frame and frame belong to mature technology, in embodiments of the present invention for realizing between frame and frame Link specific method or algorithm be not limited, any method and algorithm that can realize embodiment of the present invention scheme this Within the protection domain of inventive embodiments.

So far by the agency of be over the embodiment of the present invention whole essential characteristics, it is necessary to explanation, the above is One or more implementation methods of the embodiment of the present invention, are not full content of the invention, in other embodiments, can be with Using other implementation methods, any and similar or identical implementation method of the embodiment of the present invention, and the embodiment of the present invention Any combination of essential characteristic, within the protection domain of the embodiment of the present invention.

The present invention proposes a kind of terminal and video skimming creation method, and the terminal includes:Acquisition module, take out frame module and Setup module.Acquisition module obtains pending big video;When big video refers to that video duration is more than or equal to default first Between threshold value video.Take out frame module carries out taking out frame according to preset strategy to pending big video.Setup module keeps frames per second Number is constant, will take out the big video after frame as video skimming;Video skimming refers to that video duration is less than or equal to default second The video of time threshold.Wherein very first time threshold value is more than the second time threshold.By embodiment of the present invention scheme, to pending Big video targetedly taken out frame, and keep number of pictures per second constant after frame is taken out, substantially shorten the duration of video, Make user obtain video duration it is shorter and meet user shooting needs video.

It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.

The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.

The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of terminal, it is characterised in that the terminal includes:Acquisition module, take out frame module and setup module;
The acquisition module, for obtaining pending big video;The big video refers to video duration more than or equal to default Very first time threshold value video;
It is described to take out frame module, for carrying out taking out frame to the pending big video according to preset strategy;
The setup module, it is constant for keeping number of pictures per second, the described big video after frame as video skimming will be taken out;The contracting Slightly video refers to video of the video duration less than or equal to default second time threshold;
Wherein described very first time threshold value is more than second time threshold.
2. terminal as claimed in claim 1, it is characterised in that the acquisition module obtains pending big video to be included:
Video is obtained as the big video from default video memory space;Or,
The video of captured in real-time is obtained as the big video from default spatial cache.
3. terminal as claimed in claim 2, it is characterised in that the preset strategy includes:Uniform frame and the dynamic of taking out takes out frame;
It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that the dynamic takes out frame.
4. terminal as claimed in claim 3, it is characterised in that the frame module of taking out is treated according to the strategy for uniformly taking out frame to described The big video for the treatment of is carried out taking out frame and included:
Retain each key frame and its m frame adjacent with before and after the key frame is constant, by the residue frame in the big video P frames are extracted every n frames;Wherein, the m is 0 or positive integer, and the n and p are positive integer.
5. terminal as claimed in claim 3, it is characterised in that the frame module of taking out is treated according to the strategy that dynamic takes out frame to described The big video for the treatment of is carried out taking out frame and also included:
Retain each key frame and its x frame adjacent with before and after the key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of the key frame, to the residue in the big video Frame is all extracted or extracted according to preset ratio;Wherein, the x is 0 or positive integer.
6. a kind of video skimming creation method, it is characterised in that methods described includes:
Obtain pending big video;The big video refers to video duration regarding more than or equal to default very first time threshold value Frequently;
The pending big video is carried out taking out frame according to preset strategy;
Keep number of pictures per second constant, the described big video after frame as video skimming will be taken out;When the video skimming refers to video Video less than or equal to default second time threshold long;
Wherein described very first time threshold value is more than second time threshold.
7. video skimming creation method as claimed in claim 6, it is characterised in that the pending big video bag of the acquisition Include:
Video is obtained as the big video from default video memory space;Or,
The video of captured in real-time is obtained as the big video from default spatial cache.
8. video skimming creation method as claimed in claim 7, it is characterised in that the preset strategy includes:Uniformly take out frame Frame is taken out with dynamic;
It refers to the frame for being changed according to scene and dynamically extracting same or similar scene that the dynamic takes out frame.
9. video skimming creation method as claimed in claim 8, it is characterised in that the strategy according to frame is uniformly taken out is treated to described The big video for the treatment of is carried out taking out frame and included:
Retain each key frame and its m frame adjacent with before and after the key frame is constant, by the residue frame in the big video P frames are extracted every n frames;Wherein, the m is 0 or positive integer, and the n and p are positive integer.
10. video skimming creation method as claimed in claim 8, it is characterised in that the strategy of frame is taken out to described according to dynamic Pending big video is carried out taking out frame and also included:
Retain each key frame and its x frame adjacent with before and after the key frame be constant, or retain each key frame and It is constant less than or equal to the frame of default pixel difference threshold value with the pixel difference of the key frame, to the residue in the big video Frame is all extracted or extracted according to preset ratio;Wherein, the x is 0 or positive integer.
CN201611082626.7A 2016-11-30 2016-11-30 A kind of terminal and video skimming creation method CN106791480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611082626.7A CN106791480A (en) 2016-11-30 2016-11-30 A kind of terminal and video skimming creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611082626.7A CN106791480A (en) 2016-11-30 2016-11-30 A kind of terminal and video skimming creation method

Publications (1)

Publication Number Publication Date
CN106791480A true CN106791480A (en) 2017-05-31

Family

ID=58901429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611082626.7A CN106791480A (en) 2016-11-30 2016-11-30 A kind of terminal and video skimming creation method

Country Status (1)

Country Link
CN (1) CN106791480A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377417A (en) * 2018-01-17 2018-08-07 百度在线网络技术(北京)有限公司 Video reviewing method, device, computer equipment and storage medium
CN109068052A (en) * 2018-07-24 2018-12-21 努比亚技术有限公司 video capture method, mobile terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076115A (en) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 System and method for verifying video content
CN102685550A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Network video advertisement placing method and system
CN103218824A (en) * 2012-12-24 2013-07-24 大连大学 Motion key frame extracting method based on distance curve amplitudes
CN103442252A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method and device for processing video
CN103678299A (en) * 2012-08-30 2014-03-26 中兴通讯股份有限公司 Method and device for monitoring video abstract
CN104540000A (en) * 2014-12-04 2015-04-22 广东欧珀移动通信有限公司 Method for generating dynamic thumbnail and terminal
CN105872675A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for intercepting video animation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076115A (en) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 System and method for verifying video content
CN102685550A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Network video advertisement placing method and system
CN103678299A (en) * 2012-08-30 2014-03-26 中兴通讯股份有限公司 Method and device for monitoring video abstract
CN103218824A (en) * 2012-12-24 2013-07-24 大连大学 Motion key frame extracting method based on distance curve amplitudes
CN103442252A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method and device for processing video
CN104540000A (en) * 2014-12-04 2015-04-22 广东欧珀移动通信有限公司 Method for generating dynamic thumbnail and terminal
CN105872675A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for intercepting video animation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377417A (en) * 2018-01-17 2018-08-07 百度在线网络技术(北京)有限公司 Video reviewing method, device, computer equipment and storage medium
CN108377417B (en) * 2018-01-17 2019-11-26 百度在线网络技术(北京)有限公司 Video reviewing method, device, computer equipment and storage medium
CN109068052A (en) * 2018-07-24 2018-12-21 努比亚技术有限公司 video capture method, mobile terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104954689B (en) A kind of method and filming apparatus that photo is obtained using dual camera
CN104899062B (en) Using startup method and device
CN104902212B (en) A kind of video communication method and device
CN104899494B (en) Method of controlling operation thereof and mobile terminal based on multifunction push key
CN104750420B (en) Screenshotss method and device
CN105259996B (en) Mobile terminal temperature-adjusting device and method
CN106790833A (en) A kind of mobile terminal with camera
CN106453924B (en) A kind of image capturing method and device
CN105100603B (en) A kind of triggering camera arrangement and its method that intelligent terminal is embedded
CN104915582B (en) unlocking method and device
CN104902075B (en) Multi-screen interaction method and system
CN105718027B (en) The management method and mobile terminal of background application
CN104735255B (en) Multi-screen display method and system
CN105094533B (en) Enter the method and mobile terminal of singlehanded mode based on multifunction push key
CN105404484B (en) Terminal split screen device and method
CN104980588B (en) A kind of method and apparatus for detecting mobile terminal state
CN106911883A (en) Camera structure and mobile terminal
CN106210328B (en) Information display device and method
CN104808944B (en) Touch operation inducing method and device
CN104866135B (en) A kind of utilization touch screen frame is input into the method and device of numerical chracter
CN104618605B (en) Mobile terminal locating method and device
CN105468153B (en) A kind of mobile terminal and its method for realizing control
CN104917233B (en) Charging control method, device and system
CN105306631B (en) A kind of antenna and mobile terminal
CN104915127B (en) A kind of membrane keyboard method to set up and device 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