CN106375772A - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN106375772A CN106375772A CN201610754093.6A CN201610754093A CN106375772A CN 106375772 A CN106375772 A CN 106375772A CN 201610754093 A CN201610754093 A CN 201610754093A CN 106375772 A CN106375772 A CN 106375772A
- Authority
- CN
- China
- Prior art keywords
- frames
- adjacent
- frame rate
- difference
- video
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/597—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
Abstract
The invention provides a video playing method and device, and belongs to the technical field of videos. The method comprises the following steps: in a process of playing a video at a current frame rate, detecting a video picture difference between two adjacent frames to be played; when the video picture difference is greater than a preset difference threshold value, determining a target frame rate, when the target frame rate is greater than the current frame rate; generating a middle picture of the two adjacent frames according to the target frame rate; and inserting the middle picture between the two adjacent frames to play. Through adoption of the video playing method and device, the video picture difference between the two adjacent frames is detected to determine video frames which tend to jitter and have poor smoothness, and the middle picture can be generated dynamically according to actual conditions of the video frames in a playing process and is inserted between the two adjacent frames to play, so that the aim of increasing the frame rate adopted in playing is fulfilled; picture jittering is avoided; and the smoothness of a video picture is improved.
Description
Technical field
It relates to video technique field, more particularly, to a kind of video broadcasting method and device.
Background technology
The frame per second more and more higher being adopted when playing with the development of video technique, video, for example, comes for human eye
Say, if the frame per second of video is higher than 24 frames/second, the visual effect of video pictures can be than smoother effect.But, for
Some fast-changing video pictures, such as high building, during football match, if still played out with 24 frames/frame per second about the second,
The obvious shake of video pictures can be felt, fluency is poor.For such issues that, correlation technique can take higher frame per second to enter
Row video playback, such as 60 frames/second or 120 frames/second, thus improve the fluency of video playback.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of video broadcasting method and device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of video broadcasting method, comprising:
Carried out in video display process with current frame rate, detecting that the video pictures between adjacent two frames to be played are poor
Different;When described video pictures difference is more than default discrepancy threshold, determine target frame rate, described target frame rate is more than described current
Frame per second;According to described target frame rate, generate the midway film of described adjacent two frames;Described midway film is inserted described adjacent two
Play out between frame.
In a kind of possible implementation, detect that the video pictures difference between adjacent two frames to be played includes:
Obtain the difference of corresponding pixel points in described adjacent two frames;
By the value preset of the difference of all corresponding pixel points in described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, detect that the video pictures difference between adjacent two frames to be played includes:
Fourier transformation is carried out respectively to described adjacent two frames, obtains the frequency spectrum of described adjacent two frames;
The frequency spectrum of described adjacent two frames is compared, obtains the frequency spectrum difference of described adjacent two frames;
By the frequency spectrum difference of described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, when described video pictures difference is more than default discrepancy threshold, determine target frame
Rate includes:
When described video pictures difference is more than default discrepancy threshold, obtain target disparity range, described target difference model
Enclose the disparity range at described video pictures difference, different disparity range correspond to different frame per second;By described goal discrepancy
The corresponding frame per second of different scope, is defined as described target frame rate.
In a kind of possible implementation, according to described target frame rate, the midway film generating described adjacent two frames includes:
Obtain current frame rate and switch to the midway film number required for described target frame rate;According to described midway film number and described
Adjacent two frames, generate the midway film of described adjacent two frames.
In a kind of possible implementation, according to described midway film number and described adjacent two frames, generate described adjacent
The midway film of two frames includes: obtains the movement locus of mobile object between described adjacent two frames;According to described midway film number
Mesh, in the enterprising row interpolation of described movement locus, obtains the midway film of described adjacent two frames.
According to the second aspect of the embodiment of the present disclosure, provide a kind of video play device, described device includes:
Detection module, for being carried out in video display process with current frame rate, is detected between adjacent two frames to be played
Video pictures difference;
Determining module, for when described video pictures difference is more than default discrepancy threshold, determining target frame rate, described mesh
Mark frame per second is more than described current frame rate;
Generation module, for according to described target frame rate, generating the midway film of described adjacent two frames;
Playing module, plays out between described adjacent two frames for inserting described midway film.
In a kind of possible implementation, described detection module is used for obtaining the difference of corresponding pixel points in described adjacent two frames
Value;By the value preset of the difference of all corresponding pixel points in described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, described detection module is used for carrying out Fourier's change respectively to described adjacent two frames
Change, obtain the frequency spectrum of described adjacent two frames;The frequency spectrum of described adjacent two frames is compared, obtains the frequency spectrum of described adjacent two frames
Difference;By the frequency spectrum difference of described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, described determining module is used for being more than default difference threshold when described video pictures difference
During value, obtain target disparity range, described target disparity range is the disparity range at described video pictures difference, different
Disparity range corresponds to different frame per second;By corresponding for described target disparity range frame per second, it is defined as described target frame rate.
In a kind of possible implementation, described generation module is used for obtaining current frame rate and switches to described target frame rate institute
The midway film number needing;According to described midway film number and described adjacent two frames, generate the centre of described adjacent two frames
Picture.
In a kind of possible implementation, described generation module is used for obtaining the fortune of mobile object between described adjacent two frames
Dynamic rail mark;According to described midway film number, in the enterprising row interpolation of described movement locus, obtain the middle picture of described adjacent two frames
Face.
According to the third aspect of the embodiment of the present disclosure, provide a kind of video play device, comprising:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
Carried out in video display process with current frame rate, detecting that the video pictures between adjacent two frames to be played are poor
Different;
When described video pictures difference is more than default discrepancy threshold, determine target frame rate, described target frame rate is more than institute
State current frame rate;
According to described target frame rate, generate the midway film of described adjacent two frames;
Described midway film is inserted and plays out between described adjacent two frames.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: by detecting between adjacent two frames
Video pictures difference, so that it is determined that be likely to result in shake, fluency difference frame of video so that can be dynamic in playing process
The practical situation according to frame of video, generate midway film, midway film is inserted between this adjacent two frame and plays out, from
And reach and improve the purpose playing adopted frame per second, it is to avoid float, improves the fluency of video pictures.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure
Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the video broadcasting method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the video broadcasting method according to an exemplary embodiment.
Fig. 3 is a kind of video play device block diagram according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the video play device 400 according to an exemplary embodiment.
Specific embodiment
Purpose, technical scheme and advantage for making the disclosure are clearer, below in conjunction with accompanying drawing to disclosure embodiment party
Formula is described in further detail.
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the video broadcasting method according to an exemplary embodiment, as shown in figure 1, the party
Method is used in terminal, comprises the following steps.
In a step 101, carried out in video display process with current frame rate, detecting between adjacent two frames to be played
Video pictures difference.
In a step 102, when this video pictures difference is more than default discrepancy threshold, determine target frame rate, this target frame
Rate is more than this current frame rate.
In step 103, according to this target frame rate, generate the midway film of this adjacent two frame.
At step 104, this midway film is inserted and play out between this adjacent two frame.
The method that the embodiment of the present disclosure provides, can pass through to detect the video pictures difference between adjacent two frames, thus really
Surely it is likely to result in shake, the frame of video of fluency difference, so that actual feelings that can dynamically according to frame of video in playing process
Condition, generates midway film, midway film is inserted between this adjacent two frame and plays out, and is adopted thus reaching raising and playing
The purpose of frame per second, it is to avoid float, improves the fluency of video pictures.
Fig. 2 is a kind of flow chart of the video broadcasting method according to an exemplary embodiment, as shown in Fig. 2 the party
Method is used in terminal, comprises the following steps.
In step 201, carried out in video display process with current frame rate, detecting between adjacent two frames to be played
Video pictures difference.
For video playback, terminal, when being decoded to video, can the frame of video adjacent to every two frames all be entered
It is also possible to the frame of video every preset number carries out above-mentioned detection, the embodiment of the present disclosure does not specifically limit the above-mentioned detection of row to this
Fixed.Wherein, this preset number can be arranged according to terminal capability, and the disclosure is not especially limited to this.
In addition, it is necessary to explanation, above-mentioned detection can be that some number frames are carried out in advance, thus for being subsequently generated centre
The process of picture provides time difference it is ensured that the generation of midway film just can be completed before some number frames, thus not shadow
Ring the normal play of video.
The implementation of the video pictures difference between above-mentioned detection adjacent two frames to be played, can be following arbitrary
Kind:
The first implementation: obtain the difference of corresponding pixel points in this adjacent two frame;Will be all right in this adjacent two frame
Answer the value preset of the difference of pixel, be retrieved as this video pictures difference.
For each of frame of video pixel, if the content of frame of video changes, between its pixel
May difference, for example, between its color value (such as rgb value) can difference, then can pass through this adjacent video frames
Difference between middle all pixels point determines the difference between adjacent video frames.Wherein, in adjacent two frames corresponding pixel points difference
Value can be the difference of the color value of respective pixel point.
For example, for adjacent video frames framel and frame2, each frame of video includes 1028*720 pixel,
Then carry out color value to each pair respective pixel point in this two frame to subtract each other, obtain the difference of each pair respective pixel point, then to all
Difference is sued for peace, and obtains the value preset of difference, and the value preset of difference is retrieved as video pictures difference.
Second implementation: Fourier transformation is carried out respectively to this adjacent two frame, obtains the frequency spectrum of this adjacent two frame;Will
The frequency spectrum of this adjacent two frame is compared, and obtains the frequency spectrum difference of this adjacent two frame;By the frequency spectrum difference of this adjacent two frame, obtain
For this video pictures difference.
For frame of video, the frequency spectrum of frame of video can be used to indicate that the energy value of video each frequency of frame in, and such as
The content of fruit frame of video changes, and the energy value of its frequency it may happen that change, then can pass through in this adjacent video frames
Difference between the energy value of respective frequencies determines the difference between adjacent video frames.
In step 202., when this video pictures difference is more than default discrepancy threshold, target disparity range, this mesh are obtained
Mark disparity range is this disparity range at video pictures difference, and different disparity range correspond to different frame per second.
Whether can occur between frame of video substantially to shake to weigh, can be used for defining according to experiment determination and whether can send out
The default discrepancy threshold of raw shake, if video pictures difference is more than default discrepancy threshold, illustrates between adjacent video frames
Difference excessive it may occur that float, it is thus necessary to determine that how many midway films generated on earth, to avoid playing process
In float.
It should be noted that because video pictures difference also has dividing of size, therefore, processing money to save as far as possible
Video pictures difference can be divided into multiple grades, that is to say multiple disparity range by source, and each disparity range does not determine difference
Frame per second, for example, disparity range numerical value is higher, and corresponding frame per second is higher.After getting video pictures difference, determine this video pictures
Target disparity range residing for difference, and it is based on this target disparity range, determine corresponding frame per second.
In step 203, by this corresponding frame per second of target disparity range, it is defined as this target frame rate, wherein, this target frame
Rate is more than this current frame rate.
Above-mentioned steps 202 to step 203 is when this video pictures difference is more than default discrepancy threshold, determines target frame rate
Process.In this process, only taking can determine different frame per second according to different disparity range as a example illustrate, and it is true that
Can also be without determining disparity range, and for all video pictures differences, all determine unique target frame rate it is ensured that picture
The uniformity of effect, it is to avoid the picture display effect of different periods difference.
In above-mentioned steps, if the corresponding frame per second of target disparity range is not more than current frame rate, select this goal discrepancy
The corresponding frame per second of upper level disparity range of different scope is so that target frame rate determined by final is more than current frame rate, to avoid
Float in playing process.
In step 204, according to this target frame rate, generate the midway film of this adjacent two frame.
In above-mentioned steps, according to this target frame rate, the midway film generating this adjacent two frame can comprise the steps
2041 and 2042:
Step 2041, acquisition current frame rate switch to the midway film number required for this target frame rate.
In order to determine midway film number, the values of disparity between current frame rate and target frame rate can be calculated.For example, mesh
Mark frame per second is 120 frames/second, and current frame rate is 60 frames/second, then can determine that midway film number is 1 or 2.
Step 2042, according to this midway film number and this adjacent two frame, generate the midway film of this adjacent two frame.
So that the midway film generating ensure that seamlessly transitting between former frame and a later frame, can be according to regarding
The actual motion track of the mobile object in frequency frame, carries out picture generating process.This process can specifically include: obtains this adjacent
The movement locus of mobile object between two frames;According to this midway film number, in the enterprising row interpolation of this movement locus, obtain this phase
The midway film of adjacent two frames.
The acquisition of this movement locus can be obtained by motion estimation algorithm, after determining movement locus, can pass through
Interpolation algorithm, obtains the value of each pixel of midway film, thus obtaining midway film.
The acquisition methods of above-mentioned midway film, can obtain simulating the midway film of real motion scene, so that
Obtain and be capable of between frame and frame seamlessly transitting, the final fluency ensureing to play, it is to avoid the situation of float occurs.
In step 205, this midway film is inserted and play out between this adjacent two frame.
In playing process, if midway film is a frame, midway film can be inserted directly between adjacent two frames
Play out, and if midway film is more than two frames or two frames, then can be according to the time sequencing of midway film, by this two frame
Or two midway film more than frame insert and play out between adjacent pairs of two frames.
The method that the embodiment of the present disclosure provides, can pass through to detect the video pictures difference between adjacent two frames, thus really
Surely it is likely to result in shake, the frame of video of fluency difference, so that actual feelings that can dynamically according to frame of video in playing process
Condition, generates midway film, midway film is inserted between this adjacent two frame and plays out, and is adopted thus reaching raising and playing
The purpose of frame per second, it is to avoid float, improves the fluency of video pictures.
Fig. 3 is a kind of video play device block diagram according to an exemplary embodiment.With reference to Fig. 3, this device includes
Detection module 301, determining module 302, generation module 303 and playing module 304.
Detection module 301, for being carried out in video display process with current frame rate, detect adjacent two frames to be played it
Between video pictures difference;
Determining module 302, for when described video pictures difference is more than default discrepancy threshold, determining target frame rate, institute
State target frame rate and be more than described current frame rate;
Generation module 303, for according to described target frame rate, generating the midway film of described adjacent two frames;
Playing module 304, plays out between described adjacent two frames for inserting described midway film.
In a kind of possible implementation, described detection module 301 is used for obtaining corresponding pixel points in described adjacent two frames
Difference;By the value preset of the difference of all corresponding pixel points in described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, described detection module 301 is used for carrying out Fourier respectively to described adjacent two frames
Conversion, obtains the frequency spectrum of described adjacent two frames;The frequency spectrum of described adjacent two frames is compared, obtains the frequency of described adjacent two frames
Spectral difference is different;By the frequency spectrum difference of described adjacent two frames, it is retrieved as described video pictures difference.
In a kind of possible implementation, described determining module 302 be used for when described video pictures difference be more than default poor
During different threshold value, obtain target disparity range, described target disparity range is the disparity range at described video pictures difference,
Different disparity range correspond to different frame per second;By corresponding for described target disparity range frame per second, it is defined as described target frame rate.
In a kind of possible implementation, described generation module 303 is used for obtaining current frame rate and switches to described target frame
Midway film number required for rate;According to described midway film number and described adjacent two frames, generate described adjacent two frames
Midway film.
In a kind of possible implementation, described generation module 303 is used for obtaining mobile object between described adjacent two frames
Movement locus;According to described midway film number, in the enterprising row interpolation of described movement locus, obtain in described adjacent two frames
Between picture.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the video play device 400 according to an exemplary embodiment.For example, device 400 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, it is good for
Body equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies: process assembly 402, memorizer 404, power supply
Assembly 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (i/o), sensor cluster 414, and
Communication component 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase
Machine operation and record operate associated operation.Process assembly 402 can include one or more processors 420 and refer to execute
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just
Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate
Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.The showing of these data
Example includes the instruction for any application program of operation or method on device 400, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable compile
Journey read only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for device 400, the assembly that electric power is associated.
Multimedia groupware 408 includes the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action
Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers
Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and
Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike
Wind (mic), when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined
It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 404 or via communication set
Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 412
To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock
Determine button.
Sensor cluster 414 includes one or more sensors, for providing the state of various aspects to comment for device 400
Estimate.For example, sensor cluster 414 can detect/the closed mode of opening of equipment 400, and the relative localization of assembly is for example described
Assembly is display and the keypad of device 400, and sensor cluster 414 can be with detection means 400 or 400 1 assemblies of device
Position change, user is presence or absence of with what device 400 contacted, device 400 orientation or acceleration/deceleration and device 400
Temperature change.Sensor cluster 414 can include proximity transducer, is configured to the detection when not having any physical contact
The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as cmos or ccd imageing sensor, for becoming
Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.In an exemplary enforcement
In example, communication component 416 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, described communication component 416 also includes near-field communication (nfc) module, to promote junction service.Example
As, RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology, ultra broadband (uwb) technology,
Bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (asic), numeral letter
Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array
(fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 404 instructing, above-mentioned instruction can be executed by the processor 420 of device 400 to complete said method.For example,
Described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.
Claims (13)
1. a kind of video broadcasting method is it is characterised in that methods described includes:
Carried out in video display process with current frame rate, detecting the video pictures difference between adjacent two frames to be played;
When described video pictures difference is more than default discrepancy threshold, determine target frame rate, described target frame rate is more than described working as
Front frame per second;
According to described target frame rate, generate the midway film of described adjacent two frames;
Described midway film is inserted and plays out between described adjacent two frames.
2. method according to claim 1 is it is characterised in that the video pictures between detection adjacent two frames to be played are poor
Different inclusion:
Obtain the difference of corresponding pixel points in described adjacent two frames;
By the value preset of the difference of all corresponding pixel points in described adjacent two frames, it is retrieved as described video pictures difference.
3. method according to claim 1 is it is characterised in that the video pictures between detection adjacent two frames to be played are poor
Different inclusion:
Fourier transformation is carried out respectively to described adjacent two frames, obtains the frequency spectrum of described adjacent two frames;
The frequency spectrum of described adjacent two frames is compared, obtains the frequency spectrum difference of described adjacent two frames;
By the frequency spectrum difference of described adjacent two frames, it is retrieved as described video pictures difference.
4. method according to claim 1 is it is characterised in that preset discrepancy threshold when described video pictures difference is more than
When, determine that target frame rate includes:
When described video pictures difference is more than default discrepancy threshold, obtain target disparity range, described target disparity range is
Disparity range at described video pictures difference, different disparity range correspond to different frame per second;
By corresponding for described target disparity range frame per second, it is defined as described target frame rate.
5. method according to claim 1 is it is characterised in that according to described target frame rate, generate described adjacent two frames
Midway film includes:
Obtain current frame rate and switch to the midway film number required for described target frame rate;
According to described midway film number and described adjacent two frames, generate the midway film of described adjacent two frames.
6. method according to claim 5 is it is characterised in that according to described midway film number and described adjacent two frames,
The midway film generating described adjacent two frames includes:
Obtain the movement locus of mobile object between described adjacent two frames;
According to described midway film number, in the enterprising row interpolation of described movement locus, obtain the midway film of described adjacent two frames.
7. a kind of video play device is it is characterised in that described device includes:
Detection module, for carrying out in video display process with current frame rate, detects regarding between adjacent two frames to be played
Frequency picture difference;
Determining module, for when described video pictures difference is more than default discrepancy threshold, determining target frame rate, described target frame
Rate is more than described current frame rate;
Generation module, for according to described target frame rate, generating the midway film of described adjacent two frames;
Playing module, plays out between described adjacent two frames for inserting described midway film.
8. device according to claim 7 it is characterised in that described detection module be used for obtaining right in described adjacent two frames
Answer the difference of pixel;By the value preset of the difference of all corresponding pixel points in described adjacent two frames, it is retrieved as described video pictures
Difference.
9. device according to claim 7 is it is characterised in that described detection module is used for described adjacent two frames are entered respectively
Row Fourier transformation, obtains the frequency spectrum of described adjacent two frames;The frequency spectrum of described adjacent two frames is compared, obtains described adjacent
The frequency spectrum difference of two frames;By the frequency spectrum difference of described adjacent two frames, it is retrieved as described video pictures difference.
10. device according to claim 7 is it is characterised in that described determining module is used for when described video pictures difference
During more than default discrepancy threshold, obtain target disparity range, described target disparity range is at described video pictures difference
Disparity range, different disparity range correspond to different frame per second;By corresponding for described target disparity range frame per second, it is defined as described
Target frame rate.
11. devices according to claim 7 are it is characterised in that described generation module is used for obtaining current frame rate and switches to
Midway film number required for described target frame rate;According to described midway film number and described adjacent two frames, generate described
The midway film of adjacent two frames.
12. devices according to claim 11 it is characterised in that described generation module be used for obtaining described adjacent two frames it
Between mobile object movement locus;According to described midway film number, in the enterprising row interpolation of described movement locus, obtain described phase
The midway film of adjacent two frames.
A kind of 13. video play devices are it is characterised in that include:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
Carried out in video display process with current frame rate, detecting the video pictures difference between adjacent two frames to be played;
When described video pictures difference is more than default discrepancy threshold, determine target frame rate, described target frame rate is more than described working as
Front frame per second;
According to described target frame rate, generate the midway film of described adjacent two frames;
Described midway film is inserted and plays out between described adjacent two frames.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610754093.6A CN106375772B (en) | 2016-08-29 | 2016-08-29 | Video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610754093.6A CN106375772B (en) | 2016-08-29 | 2016-08-29 | Video broadcasting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375772A true CN106375772A (en) | 2017-02-01 |
CN106375772B CN106375772B (en) | 2019-10-01 |
Family
ID=57904056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610754093.6A Active CN106375772B (en) | 2016-08-29 | 2016-08-29 | Video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375772B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277607A (en) * | 2017-06-09 | 2017-10-20 | 努比亚技术有限公司 | A kind of screen picture method for recording, terminal and computer-readable recording medium |
WO2018161572A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Method and apparatus for controlling frame rate of mobile terminal, storage medium, and electronic device |
CN108632645A (en) * | 2017-03-17 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Information demonstrating method and device |
CN110113677A (en) * | 2018-02-01 | 2019-08-09 | 阿里巴巴集团控股有限公司 | The generation method and device of video subject |
CN110198412A (en) * | 2019-05-31 | 2019-09-03 | 维沃移动通信有限公司 | A kind of video recording method and electronic equipment |
CN110706666A (en) * | 2019-09-16 | 2020-01-17 | 深圳市华星光电半导体显示技术有限公司 | Picture transition method, device, controller and storage medium |
CN110798738A (en) * | 2018-08-01 | 2020-02-14 | Oppo广东移动通信有限公司 | Frame rate control method, device, terminal and storage medium |
CN112055254A (en) * | 2019-06-06 | 2020-12-08 | Oppo广东移动通信有限公司 | Video playback method, device, terminal and storage medium |
CN112135190A (en) * | 2020-09-23 | 2020-12-25 | 成都市喜爱科技有限公司 | Video processing method, device, system, server and storage medium |
CN112672149A (en) * | 2020-12-15 | 2021-04-16 | 广州博冠信息科技有限公司 | Video processing method and device, storage medium and server |
CN112866612A (en) * | 2021-03-10 | 2021-05-28 | 北京小米移动软件有限公司 | Frame insertion method, device, terminal and computer readable storage medium |
CN114079824A (en) * | 2021-11-02 | 2022-02-22 | 深圳市洲明科技股份有限公司 | Transmitting card, display device, computer device, storage medium, and control method for transmitting card |
CN114697517A (en) * | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video processing method and device, terminal equipment and storage medium |
WO2022143078A1 (en) * | 2020-12-28 | 2022-07-07 | 深圳创维-Rgb电子有限公司 | Video automatic motion compensation method, apparatus, and device, and storage medium |
CN115209221A (en) * | 2022-06-14 | 2022-10-18 | 北京博雅睿视科技有限公司 | Video frame rate detection method and device, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005051460A (en) * | 2003-07-28 | 2005-02-24 | Shibasoku:Kk | Video signal processing apparatus and video signal processing method |
CN101573972A (en) * | 2006-12-22 | 2009-11-04 | 夏普株式会社 | Image display device and method, and image processing device and method |
CN101610409A (en) * | 2008-06-20 | 2009-12-23 | 联发科技股份有限公司 | Video processing apparatus and method of generating interpolated frame |
CN101778277A (en) * | 2009-01-12 | 2010-07-14 | 联发科技股份有限公司 | Video player |
CN102665061A (en) * | 2012-04-27 | 2012-09-12 | 中山大学 | Motion vector processing-based frame rate up-conversion method and device |
CN103220488A (en) * | 2013-04-18 | 2013-07-24 | 北京大学 | Up-conversion device and method of video frame rate |
CN105828184A (en) * | 2015-08-31 | 2016-08-03 | 维沃移动通信有限公司 | Video processing method and mobile terminal |
-
2016
- 2016-08-29 CN CN201610754093.6A patent/CN106375772B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005051460A (en) * | 2003-07-28 | 2005-02-24 | Shibasoku:Kk | Video signal processing apparatus and video signal processing method |
CN101573972A (en) * | 2006-12-22 | 2009-11-04 | 夏普株式会社 | Image display device and method, and image processing device and method |
CN101610409A (en) * | 2008-06-20 | 2009-12-23 | 联发科技股份有限公司 | Video processing apparatus and method of generating interpolated frame |
CN101778277A (en) * | 2009-01-12 | 2010-07-14 | 联发科技股份有限公司 | Video player |
CN102665061A (en) * | 2012-04-27 | 2012-09-12 | 中山大学 | Motion vector processing-based frame rate up-conversion method and device |
CN103220488A (en) * | 2013-04-18 | 2013-07-24 | 北京大学 | Up-conversion device and method of video frame rate |
CN105828184A (en) * | 2015-08-31 | 2016-08-03 | 维沃移动通信有限公司 | Video processing method and mobile terminal |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161572A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Method and apparatus for controlling frame rate of mobile terminal, storage medium, and electronic device |
CN108632645A (en) * | 2017-03-17 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Information demonstrating method and device |
CN107277607A (en) * | 2017-06-09 | 2017-10-20 | 努比亚技术有限公司 | A kind of screen picture method for recording, terminal and computer-readable recording medium |
CN110113677A (en) * | 2018-02-01 | 2019-08-09 | 阿里巴巴集团控股有限公司 | The generation method and device of video subject |
CN110798738A (en) * | 2018-08-01 | 2020-02-14 | Oppo广东移动通信有限公司 | Frame rate control method, device, terminal and storage medium |
CN110798738B (en) * | 2018-08-01 | 2022-01-28 | Oppo广东移动通信有限公司 | Frame rate control method, device, terminal and storage medium |
CN110198412B (en) * | 2019-05-31 | 2020-09-18 | 维沃移动通信有限公司 | Video recording method and electronic equipment |
CN110198412A (en) * | 2019-05-31 | 2019-09-03 | 维沃移动通信有限公司 | A kind of video recording method and electronic equipment |
CN112055254A (en) * | 2019-06-06 | 2020-12-08 | Oppo广东移动通信有限公司 | Video playback method, device, terminal and storage medium |
CN112055254B (en) * | 2019-06-06 | 2023-01-06 | Oppo广东移动通信有限公司 | Video playing method, device, terminal and storage medium |
CN110706666A (en) * | 2019-09-16 | 2020-01-17 | 深圳市华星光电半导体显示技术有限公司 | Picture transition method, device, controller and storage medium |
CN110706666B (en) * | 2019-09-16 | 2021-08-24 | 深圳市华星光电半导体显示技术有限公司 | Picture transition method, device, controller and storage medium |
CN112135190A (en) * | 2020-09-23 | 2020-12-25 | 成都市喜爱科技有限公司 | Video processing method, device, system, server and storage medium |
CN112672149A (en) * | 2020-12-15 | 2021-04-16 | 广州博冠信息科技有限公司 | Video processing method and device, storage medium and server |
CN114697517A (en) * | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video processing method and device, terminal equipment and storage medium |
WO2022143078A1 (en) * | 2020-12-28 | 2022-07-07 | 深圳创维-Rgb电子有限公司 | Video automatic motion compensation method, apparatus, and device, and storage medium |
CN112866612A (en) * | 2021-03-10 | 2021-05-28 | 北京小米移动软件有限公司 | Frame insertion method, device, terminal and computer readable storage medium |
CN112866612B (en) * | 2021-03-10 | 2023-02-21 | 北京小米移动软件有限公司 | Frame insertion method, device, terminal and computer readable storage medium |
CN114079824A (en) * | 2021-11-02 | 2022-02-22 | 深圳市洲明科技股份有限公司 | Transmitting card, display device, computer device, storage medium, and control method for transmitting card |
CN114079824B (en) * | 2021-11-02 | 2024-03-08 | 深圳市洲明科技股份有限公司 | Transmission card, control method thereof, display device, computer device, and storage medium |
CN115209221A (en) * | 2022-06-14 | 2022-10-18 | 北京博雅睿视科技有限公司 | Video frame rate detection method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN106375772B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375772A (en) | Video playing method and device | |
CN105828201B (en) | Method for processing video frequency and device | |
CN107707954A (en) | Video broadcasting method and device | |
US20170344192A1 (en) | Method and device for playing live videos | |
CN105791958A (en) | Method and device for live broadcasting game | |
CN106791893A (en) | Net cast method and device | |
CN104090735B (en) | The projecting method and device of a kind of picture | |
EP3163887A1 (en) | Method and apparatus for performing media synchronization | |
CN104702919A (en) | Play control method and device and electronic device | |
CN104391711B (en) | A kind of method and device that screen protection is set | |
CN107333170A (en) | The control method and device of intelligent lamp | |
CN106559696A (en) | Method for sending information and device | |
CN106804000A (en) | Direct playing and playback method and device | |
CN104090709B (en) | Picture switching method and device | |
CN103916711A (en) | Method and device for playing video signals | |
CN106331761A (en) | Live broadcast list display method and apparatuses | |
CN104735485A (en) | Method and device for playing video | |
CN106559712A (en) | Video playback processing method, device and terminal device | |
CN105744133A (en) | Video fill-in light method and apparatus | |
CN104460185A (en) | Automatic focusing method and device | |
CN107832746A (en) | Expression recognition method and device | |
CN106550252A (en) | The method for pushing of information, device and equipment | |
CN108108671A (en) | Description of product information acquisition method and device | |
CN105512615A (en) | Picture processing method and apparatus | |
CN104035674A (en) | Picture displaying method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |