CN105049914A - Picture frame playing method and device - Google Patents

Picture frame playing method and device Download PDF

Info

Publication number
CN105049914A
CN105049914A CN201510393809.XA CN201510393809A CN105049914A CN 105049914 A CN105049914 A CN 105049914A CN 201510393809 A CN201510393809 A CN 201510393809A CN 105049914 A CN105049914 A CN 105049914A
Authority
CN
China
Prior art keywords
frame
frame rate
picture
picture frame
pixel
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
Application number
CN201510393809.XA
Other languages
Chinese (zh)
Other versions
CN105049914B (en
Inventor
雷夏平
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
TCL Digital Technology Shenzhen Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201510393809.XA priority Critical patent/CN105049914B/en
Publication of CN105049914A publication Critical patent/CN105049914A/en
Priority to PCT/CN2016/084218 priority patent/WO2017005062A1/en
Application granted granted Critical
Publication of CN105049914B publication Critical patent/CN105049914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Abstract

The invention discloses a picture frame playing method. When a video playing request is received, a current frame rate of a terminal is determined according to a size of a preset storage space and a pixel value of a present stored picture frame; whether the present frame rate is less than a preset basic frame rate is determined; when the present frame rate is less than the basic frame rate, a target picture frame is established based on a picture frame corresponding to the present frame rate; the present stored picture frame and the established target picture frame are played. The invention also discloses a picture frame playing device. The fluency of video playing is raised.

Description

Picture frame playing method and device
Technical field
The present invention relates to field of video processing, particularly relate to a kind of picture frame playing method and device.
Background technology
Along with the development of science and technology, various mobile terminal also development and universal, along with the progress of video processing technique, the business that existing intelligent television cloud pushes, unconsciously more and more abundanter, and the animation effect of intelligent television menu page liking also deeply by user, commonly, when television system receives the picture of high in the clouds propelling movement, picture is to DDR (DoubleDataRate, Double Data Rate synchronous DRAM) in, when the DDR memory space of television system is little, and high in the clouds push picture pixels value large time, the current frame rate of video can be caused not reach default basic frame rate, cause video playback smooth and easy not.
Summary of the invention
Main purpose of the present invention is to propose a kind of picture frame player method, be intended to solution televise video time technical problem not smoothly.
For achieving the above object, a kind of picture frame player method provided by the invention, described picture frame player method comprises the following steps:
When receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Judge whether described current frame rate is less than default basic frame rate;
When described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame;
Play the described picture frame of current storage and the described Target Photo frame of establishment.
Preferably, when receiving the playing request of video, the step of current frame rate according to the pixel value determination terminal of the size of memory space preset and the picture frame of current storage comprises:
When receiving the playing request of video, obtain the horizontal pixel value of the first frame picture frame in terminal current picture frame and vertical pixel value;
Described horizontal pixel value is multiplied with described vertical pixel value, to obtain the pixel value of described picture frame;
By the storage capacity value of default memory space divided by described pixel value, to obtain described current frame rate.
Preferably, described when described current frame rate is less than described basic frame rate, the step creating Target Photo frame based on the picture frame that described current frame rate is corresponding comprises:
When described current frame rate is less than described basic frame rate, calculate the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
The picture frame corresponding to described current frame rate is split, to create the Target Photo frame of frame number corresponding to described difference.
Preferably, the described picture frame corresponding to described current frame rate is split, and comprises with the step of the Target Photo frame creating frame number corresponding to described difference:
The frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
According to described segmentation number, the ratio that each pixel adds gradually according to the molecule of the ration of division is split, to obtain each pixel of the different ration of division;
Respectively that the ration of division is equal and each pixel positional information is identical is combined into a pixel, to generate Target Photo frame.
In addition, for achieving the above object, the present invention also proposes a kind of picture frame playing device, and described picture frame playing device comprises:
Determination module, for when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Judge module, for judging whether described current frame rate is less than default basic frame rate;
Creation module, for when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame;
Playing module, for the described Target Photo frame of the described picture frame and establishment of playing current storage.
Preferably, described determination module comprises:
Acquiring unit, for when receiving the playing request of video, obtains the horizontal pixel value of the first frame picture frame in current picture frame and vertical pixel value;
Processing unit, for described horizontal pixel value being multiplied with described vertical pixel value, to obtain the pixel value of described picture frame;
Described processing unit, also for the storage capacity value of memory space that will preset divided by described pixel value, to obtain described current frame rate.
Preferably, described creation module comprises:
Calculating sub module, for when described current frame rate is less than described basic frame rate, calculates the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
Create submodule, split for the picture frame corresponding to described current frame rate, to create the Target Photo frame of frame number corresponding to described difference.
Preferably, described establishment submodule comprises:
Determining unit, for the frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
Cutting unit, for splitting the ratio that each pixel adds gradually according to the molecule of the ration of division according to described segmentation number, to obtain each pixel of the different ration of division;
Generation unit, is combined into a pixel, to generate Target Photo frame for each pixel respectively that the ration of division is equal and that positional information is identical.
The picture frame playing method and device that the present invention proposes, when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage, judge whether described current frame rate is less than default basic frame rate, when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame, and play the described picture frame of current storage and the described Target Photo frame of establishment, make the basic frame rate that the current frame rate of terminal can reach default, improve the fluency of video playback.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of picture frame player method of the present invention preferred embodiment;
Fig. 2 is the refinement schematic flow sheet of step S10 in Fig. 1;
Fig. 3 is the refinement schematic flow sheet of step S30 in Fig. 1;
Fig. 4 is the refinement schematic flow sheet of step S32 in Fig. 3;
Fig. 5 is the high-level schematic functional block diagram of picture frame playing device of the present invention preferred embodiment;
Fig. 6 is the refinement high-level schematic functional block diagram of determination module 10 in Fig. 5;
Fig. 7 is the refinement high-level schematic functional block diagram of creation module 30 in Fig. 5;
Fig. 8 is the refinement high-level schematic functional block diagram creating submodule 32 in Fig. 6.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of picture frame player method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are picture frame player method of the present invention preferred embodiment.
The present embodiment proposes a kind of picture frame player method, and described picture frame player method comprises:
Step S10, when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Step S20, judges whether described current frame rate is less than default basic frame rate;
Step S30, when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame.
Step S40, plays the described picture frame of current storage and the Target Photo frame of establishment.
Particularly, in the present embodiment, comprise before described step S10 and store the step that high in the clouds sends picture frame, the step that described storage high in the clouds sends picture frame comprises: when receiving the picture frame that high in the clouds sends, the described picture frame received is stored into default memory, and when receiving the playing request of video, according to the size of the memory space preset and the current frame rate of the pixel value determination terminal of picture frame that prestores; Or described step S10 comprises: when receiving the playing request of video, receive the picture frame that high in the clouds sends simultaneously, and the described picture frame received is stored in preset memory, according to the size of the memory space preset and the current frame rate of the pixel value determination terminal of picture frame that prestores.Memory space in the present embodiment is preferably DDR memory (DoubleDataRate, Double Data Rate synchronous DRAM).It will be appreciated by persons skilled in the art that the DDR value that each TV is corresponding is different, as being designated DDR value corresponding to TV (X1) for 128MB, being designated DDR value corresponding to TV (X2) for 256MB.
In the present embodiment, with reference to Fig. 2, described step S10 comprises:
Step S11, when receiving the playing request of video, obtains the horizontal pixel value of the first frame picture frame in terminal current picture frame and vertical pixel value;
In the present embodiment, during terminal storage picture frame, preferred described picture frame is according to red pixel, the order arrangement of green pixel and blue pixel, the pixel value of the picture frame of terminal storage is equal, preferably when receiving the playing request of video, obtain the horizontal pixel value of the first frame picture frame of the current storage of terminal and vertical pixel value, the horizontal pixel value of described picture frame is the horizontal pixel sum of three kinds of pixels, vertical pixel value is the vertical pixel sum of three kinds of pixels, as the horizontal pixel of red pixel, when the horizontal pixel of green pixel and the horizontal pixel of blue pixel are all 2MB, the horizontal pixel value of described picture frame is then 6MB, in like manner, when described red pixel, green pixel, and the vertical pixel value of blue pixel is when being all 1MB, the vertical pixel value of described picture frame is then 3MB.
Step S12, is multiplied described horizontal pixel value with described vertical pixel value, to obtain the pixel value of described picture frame;
Step S13, by the storage capacity value of default memory space divided by described pixel value, to obtain described current frame rate.
In the present embodiment, for explaining detailed process in detail, be exemplified below: when terminal receives the picture frame of high in the clouds transmission, determine that horizontal pixel value and the vertical pixel value of the picture frame received are respectively 6MB and 3MB, DDR value terminal preset is if 128MB is as molecule, using the product 18MB of described horizontal pixel value 6MB and vertical pixel value 3MB as denominator, the current frame rate calculating terminal is 128MB/18MB=7.1, be understandable that, described dynamic frame per second is approximately 7, i.e. the picture of described terminal display per second is 7 frames.
Step S20, judges whether described current frame rate is less than default basic frame rate;
In the present embodiment, described basic frame rate is the frame per second of terminal demonstration animation effect, if terminal can the smooth frame per second showing animation effect be 20 frame pictures per second, from above-mentioned example, when described current frame rate be 7 frames per second time, described terminal can judge that current frame rate is less than default basic frame rate, is understandable that, described basic frame rate is preset as analog value according to specific needs.
Step S30, when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame.
In the present embodiment, with reference to Fig. 3, described step S30 comprises:
Step S31, when described current frame rate is less than described basic frame rate, calculates the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
In the present embodiment, when described current frame rate is less than described basic frame rate, terminal creates picture frame, the mode of described establishment picture frame is preferably, and frame number corresponding for described basic frame rate is deducted frame number corresponding to described current frame rate, to calculate frame number corresponding to picture frame to be created, such as, described current frame rate is that 7 frames are per second, and described basic frame rate is that 20 frames are per second, then the frame number that described Target Photo frame to be created is corresponding is 20-7=13 frame.Further, if described current frame rate is that 25 frames are per second, and described basic frame rate is when to be 20 frames per second, then described current frame rate is greater than described basic frame rate, do not need to create Target Photo frame, be understandable that, when described current frame rate equals described basic frame rate, also do not need to create Target Photo frame.
Step S32, the picture frame corresponding to described current frame rate is split, to create the Target Photo frame of frame number corresponding to described difference.
In the present embodiment, with reference to Fig. 4, described step S32 comprises:
Step S321, the frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
Step S322, splits the ratio that each pixel adds gradually according to the molecule of the ration of division according to described segmentation number, to obtain each pixel of the different ration of division;
Step S323 is equal by the ration of division respectively and each pixel positional information is identical is combined into a pixel, to generate Target Photo frame.
In the present embodiment, according to the frame number that the picture frame stored in the memory preset creates as required, determine that every frame picture is according to red, green, the segmentation number of blue pixel gain ratio segmentation, every frame picture segmentation number determines according to the frame number of picture frame to be created, such as: need the picture frame created to be 12 frames, then can determine that the segmentation number of every frame picture is 12, then, according to the segmentation number 13 determined, the pixel in every two field picture is carried out the segmentation of pixel gain ratio, split according to the ratio of the red gain of pixel, the picture of different red gain can be obtained, in like manner, split according to the ratio of the green gain of pixel, the picture of different green gain can be obtained, split according to the ratio of the blue gain of pixel, the picture of different blue gain can be obtained.For better understanding, be exemplified below: when picture frame number to be created is 12 frame, each pixel of every two field picture is carried out the segmentation of pixel gain ratio, if red pixel point is C_RGain=255, this pixel is carried out ratio segmentation, result obtains C_RGain (r1)=1/12xC_RGain=21.25, C_RGain (r2)=2/12xC_RGain=42.5, C_RGain (r11)=11/12xC_RGain=233.75, C_RGain (r12)=12/12xC_RGain=255, in like manner C_GGain, the method that C_BGain is identical calculates, green pixel point can be obtained and carry out each pixel that each pixel of pixel gain ratio segmentation and blue pixel point carry out the segmentation of pixel gain ratio.Then, each equal for ration of division pixel is combined into picture, each pixel being 1/12 as the ration of division is combined into a frame picture, the ration of division be 2/12 each pixel be combined into a frame picture, namely the ration of division be all 1/12 red pixel point, green pixel point and blue pixel point form a frame picture, be all that the red pixel point of 2/12, green pixel point and blue pixel point form a frame picture by the ration of division, finally, according to the picture generating pictures frame that each frame is combined into.
Step S40, plays the described picture frame of current storage and the described Target Photo frame of establishment.
In the present embodiment, first read the picture frame that DDR stores, namely the picture frame that current frame rate is corresponding, then the Target Photo frame generated according to the segmentation of pixel gain ratio is read, such as, terminal originally current frame rate is that 8 frames are per second, default basic frame rate is that 20 frames are per second, when creating out 12 frame picture, current frame rate can be made to reach basic frame rate, system shows 12 frame Target Photo frames of 8 frame picture frames corresponding to described current frame rate and establishment successively according to preset order, the final picture received according to the broadcasting per second of described current frame rate 20 frame, thus smooth and easy playing animation video.
The picture frame player method that the present embodiment proposes, when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage, judge whether described current frame rate is less than default basic frame rate, when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame, and play the described picture frame of described current storage and described Target Photo frame, make the basic frame rate that the current frame rate of terminal can reach default, improve the fluency of video playback.
The present invention further provides a kind of picture frame playing device.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are picture frame playing device first embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 5 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the picture frame playing device shown in Fig. 5, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function block understanding this picture frame playing device, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
The picture frame playing device that the present embodiment proposes preferably runs in controlled terminal (as intelligent television and computer).
The present embodiment proposes a kind of picture frame playing device, and described picture frame playing device comprises:
Determination module 10, for when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Judge module 20, for judging whether described current frame rate is less than default basic frame rate;
Creation module 30, for when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame;
Playing module 40, for playing the described picture frame of described current storage and described Target Photo frame.
Particularly, in the present embodiment, described picture frame playing device can also comprise memory module, the picture frame that described memory module sends for storing high in the clouds, when the mode that described memory module storage high in the clouds sends picture frame is included in the picture frame receiving high in the clouds transmission, the described picture frame received is stored into default memory, and when receiving the playing request of video, described determination module 10 is according to the size of the memory space preset and the current frame rate of the pixel value determination terminal of picture frame that prestores; Or described determination module 10 is also for when receiving the playing request of video, receive the picture frame that high in the clouds sends simultaneously, and the described picture frame received is stored in preset memory, according to the size of the memory space preset and the current frame rate of the pixel value determination terminal of picture frame that prestores.Memory space in the present embodiment is preferably DDR memory (DoubleDataRate, Double Data Rate synchronous DRAM).It will be appreciated by persons skilled in the art that the DDR value that each TV is corresponding is different, as being designated DDR value corresponding to TV (X1) for 128MB, being designated DDR value corresponding to TV (X2) for 256MB.
In the present embodiment, with reference to Fig. 6, described determination module 10 comprises:
Acquiring unit 11, for when receiving the playing request of video, obtains the horizontal pixel value of the first frame picture frame of current storage and vertical pixel value;
In the present embodiment, during described memory module picture frame, preferred described picture frame is according to red pixel, the order arrangement of green pixel and blue pixel, the pixel value of the picture frame stored due to described memory module is equal, preferably when receiving the playing request of video, obtain the horizontal pixel value of the first frame picture frame of current storage and vertical pixel value, the horizontal pixel value of described picture frame is the horizontal pixel sum of three kinds of pixels, vertical pixel value is the vertical pixel sum of three kinds of pixels, as the horizontal pixel of red pixel, when the horizontal pixel of green pixel and the horizontal pixel of blue pixel are all 2MB, the horizontal pixel value of described picture frame is then 6MB, in like manner, when described red pixel, green pixel, and the vertical pixel value of blue pixel is when being all 1MB, the vertical pixel value of described picture frame is then 3MB.
Processing unit 12, for described horizontal pixel value being multiplied with described vertical pixel value, to obtain the pixel value of described picture frame;
Described processing unit 12, also for the storage capacity value of memory space that will preset divided by described pixel value, to obtain described current frame rate.
In the present embodiment, for explaining detailed process in detail, be exemplified below: when described acquiring unit 11 receives the picture frame of high in the clouds transmission, determine that horizontal pixel value and the vertical pixel value of the picture frame received are respectively 6MB and 3MB, the DDR value that terminal is preset by described processing unit 12 is if 128MB is as molecule, using the product 18MB of described horizontal pixel value 6MB and vertical pixel value 3MB as denominator, calculating current frame rate is 128MB/18MB=7.1, be understandable that, described dynamic frame per second is approximately 7, namely the frame number of described picture frame playing device display per second is 7 frames.
In the present embodiment, described basic frame rate is the frame per second of terminal demonstration animation effect, as as described in picture frame playing device can the frame per second of smooth display animation effect be 20 frame pictures per second, from above-mentioned example, when described current frame rate be 7 frames per second time, described judge module 20 can judge that current frame rate is less than default basic frame rate, be understandable that, described basic frame rate also can be preset as other values as required, and generally, it is per second that basic frame rate is more than or equal to frame.
In the present embodiment, with reference to Fig. 7, described creation module 30 comprises:
Calculating sub module 31, for when described current frame rate is less than described basic frame rate, calculates the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
In the present embodiment, when described current frame rate is less than described basic frame rate, described creation module 30 creates Target Photo frame, the mode that described creation module 30 creates Target Photo frame is preferably, frame number corresponding for described basic frame rate is deducted frame number corresponding to described current frame rate by described calculating sub module 31, to calculate frame number corresponding to Target Photo frame to be created, such as, described current frame rate is that 7 frames are per second, described basic frame rate is that 20 frames are per second, then the frame number that described picture frame to be created is corresponding is 20-7=13 frame.Further, if described current frame rate is that 25 frames are per second, and described basic frame rate is when to be 20 frames per second, then described current frame rate is greater than described basic frame rate, do not need to create Target Photo frame, be understandable that, when described current frame rate equals described basic frame rate, also do not need to create Target Photo frame.
Create submodule 32, split for the picture frame corresponding to described current frame rate, to create the Target Photo frame of frame number corresponding to described difference.
In the present embodiment, with reference to Fig. 8, described establishment submodule 32 comprises:
Determining unit 321, for the frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
Cutting unit 322, for splitting the ratio that each pixel adds gradually according to the molecule of the ration of division according to described segmentation number, to obtain each pixel of the different ration of division;
Generation unit 323, is combined into a pixel, to generate Target Photo frame for each pixel respectively that the ration of division is equal and that positional information is identical.
In the present embodiment, the frame number that determining unit 321 creates as required according to the picture stored in the memory preset, determine that every frame picture is according to red, green, the segmentation number of blue pixel gain ratio segmentation, every frame picture segmentation number determines according to the frame number of picture frame to be created, such as: need the picture frame created to be 12 frames, then can determine that the segmentation number of every frame picture is 12, then, pixel in every two field picture is carried out the segmentation of pixel gain ratio according to the segmentation number 12 determined by described cutting unit 322, split according to the ratio of the red gain of pixel, the picture of different red gain can be obtained, in like manner, split according to the ratio of the green gain of pixel, the picture of different green gain can be obtained, split according to the ratio of the blue gain of pixel, the picture of different blue gain can be obtained.For better understanding, be exemplified below: when picture frame number to be created is 13 frame, each pixel of every two field picture is carried out the segmentation of pixel gain ratio by described cutting unit 322, if red pixel point is C_RGain=255, this pixel is carried out ratio segmentation, result obtains C_RGain (r1)=1/12xC_RGain=21.25, C_RGain (r2)=2/12xC_RGain=42.5, C_RGain (r11)=11/12xC_RGain=233.75, C_RGain (r12)=12/12xC_RGain=255, in like manner C_GGain, the method that C_BGain is identical calculates, green pixel point can be obtained and carry out each pixel that each pixel of pixel gain ratio segmentation and blue pixel point carry out the segmentation of pixel gain ratio.Then, each equal for ration of division pixel is combined into picture by described generation unit 323, each pixel being 1/12 as the ration of division is combined into a frame picture, the ration of division be 2/12 each pixel be combined into a frame picture, namely the ration of division be all 1/12 red pixel point, green pixel point and blue pixel point form a frame picture, be all that the red pixel point of 2/12, green pixel point and blue pixel point form a frame picture by the ration of division, finally, according to the picture generating pictures frame that each frame is combined into.
In the present embodiment, first read the picture that DDR stores, namely the picture frame that current frame rate is corresponding, then the Target Photo frame generated according to the segmentation of pixel gain ratio is read, such as, described picture frame playing device originally current frame rate is that 8 frames are per second, default basic frame rate is that 20 frames are per second, when creating out 12 frame picture, current frame rate can be made to reach basic frame rate, system shows 12 frame Target Photo frames of 8 frame picture frames corresponding to described current frame rate and establishment successively according to preset order, the picture that described playing module 40 receives according to the broadcasting per second of described current frame rate 20 frame, thus smooth and easy playing animation video.
The picture frame playing device that the present embodiment proposes, when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage, judge whether described current frame rate is less than default basic frame rate, when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame, and play the described picture frame of described current storage and described Target Photo frame, make the basic frame rate that the current frame rate of terminal can reach default, improve the fluency of video playback.
It should be noted that, in this article, term " comprises ", " comprising " or its other variant any are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key element clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. a picture frame player method, is characterized in that, described picture frame player method comprises the following steps:
When receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Judge whether described current frame rate is less than default basic frame rate;
When described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame;
Play the described picture frame of current storage and the described Target Photo frame of establishment.
2. picture frame player method as claimed in claim 1, is characterized in that, when receiving the playing request of video, the step according to the current frame rate of the pixel value determination terminal of the size of memory space preset and the picture frame of current storage comprises:
When receiving the playing request of video, obtain the horizontal pixel value of the first frame picture frame in the picture frame of the current storage of terminal and vertical pixel value;
Described horizontal pixel value is multiplied with described vertical pixel value, to obtain the pixel value of described picture frame;
By the storage capacity value of default memory space divided by described pixel value, to obtain described current frame rate.
3. picture frame player method as claimed in claim 1, is characterized in that, described when described current frame rate is less than described basic frame rate, and the step creating Target Photo frame based on the picture frame that described current frame rate is corresponding comprises:
When described current frame rate is less than described basic frame rate, calculate the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
The picture frame corresponding to described current frame rate is split, to create the Target Photo frame of frame number corresponding to described difference.
4. picture frame player method as claimed in claim 3, it is characterized in that, the described picture frame corresponding to described current frame rate is split, and comprises with the step of the Target Photo frame creating frame number corresponding to described difference:
The frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
According to described segmentation number, the ratio that each pixel adds gradually according to the molecule of the ration of division is split, to obtain each pixel of the different ration of division;
Respectively that the ration of division is equal and each pixel positional information is identical is combined into a pixel, to generate Target Photo frame.
5. a picture frame playing device, is characterized in that, described picture frame playing device comprises:
Determination module, for when receiving the playing request of video, according to the current frame rate of pixel value determination terminal of the size of memory space preset and the picture frame of current storage;
Judge module, for judging whether described current frame rate is less than default basic frame rate;
Creation module, for when described current frame rate is less than described basic frame rate, the picture frame corresponding based on described current frame rate creates Target Photo frame;
Playing module, for the described Target Photo frame of the described picture frame and establishment of playing current storage.
6. picture frame playing device as claimed in claim 5, it is characterized in that, described determination module comprises:
Acquiring unit, for when receiving the playing request of video, obtains the horizontal pixel value of the first frame picture frame in current picture frame and vertical pixel value;
Processing unit, for described horizontal pixel value being multiplied with described vertical pixel value, to obtain the pixel value of described picture frame;
Described processing unit, also for the storage capacity value of memory space that will preset divided by described pixel value, to obtain described current frame rate.
7. picture frame playing device as claimed in claim 5, it is characterized in that, described creation module comprises:
Calculating sub module, for when described current frame rate is less than described basic frame rate, calculates the difference of frame number corresponding to the described basic frame rate frame number corresponding with described current frame rate;
Create submodule, split for the picture frame corresponding to described current frame rate, to create the Target Photo frame of frame number corresponding to described difference.
8. picture frame playing device as claimed in claim 7, it is characterized in that, described establishment submodule comprises:
Determining unit, for the frame number corresponding according to Target Photo frame to be created, determines the segmentation number of each pixel in the picture frame that described current frame rate is corresponding;
Cutting unit, for splitting the ratio that each pixel adds gradually according to the molecule of the ration of division according to described segmentation number, to obtain each pixel of the different ration of division;
Generation unit, is combined into a pixel, to generate Target Photo frame for each pixel respectively that the ration of division is equal and that positional information is identical.
CN201510393809.XA 2015-07-07 2015-07-07 Picture frame playing method and device Active CN105049914B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510393809.XA CN105049914B (en) 2015-07-07 2015-07-07 Picture frame playing method and device
PCT/CN2016/084218 WO2017005062A1 (en) 2015-07-07 2016-06-01 Image frame playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510393809.XA CN105049914B (en) 2015-07-07 2015-07-07 Picture frame playing method and device

Publications (2)

Publication Number Publication Date
CN105049914A true CN105049914A (en) 2015-11-11
CN105049914B CN105049914B (en) 2019-02-26

Family

ID=54456037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510393809.XA Active CN105049914B (en) 2015-07-07 2015-07-07 Picture frame playing method and device

Country Status (2)

Country Link
CN (1) CN105049914B (en)
WO (1) WO2017005062A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959304A (en) * 2016-06-30 2016-09-21 宇龙计算机通信科技(深圳)有限公司 Frame rate adjustment method and device
WO2017005062A1 (en) * 2015-07-07 2017-01-12 深圳Tcl数字技术有限公司 Image frame playing method and device
WO2018161843A1 (en) * 2017-03-10 2018-09-13 杭州海康威视数字技术股份有限公司 Method and device for adjusting video playback speed
CN111918098A (en) * 2020-09-16 2020-11-10 Oppo广东移动通信有限公司 Video processing method and device, electronic equipment, server and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101104B (en) * 2020-08-06 2024-04-09 深圳数联天下智能科技有限公司 Human body presence detection method and related device
CN113938631B (en) * 2021-11-29 2023-11-03 青岛信芯微电子科技股份有限公司 Reference monitor, image frame interception method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621693A (en) * 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation
CN101669361A (en) * 2007-02-16 2010-03-10 马维尔国际贸易有限公司 Methods and systems for improving low resolution and low frame rate video
CN102194441A (en) * 2010-03-10 2011-09-21 鸿富锦精密工业(深圳)有限公司 Method for switching displayed pictures in electronic device
US20120044251A1 (en) * 2010-08-20 2012-02-23 John Liam Mark Graphics rendering methods for satisfying minimum frame rate requirements
CN102811149A (en) * 2011-12-07 2012-12-05 苏州科达科技有限公司 Double-card front-end equipment for video system, and control method and control system thereof
CN103248950A (en) * 2013-04-28 2013-08-14 天脉聚源(北京)传媒科技有限公司 System and method for customizing video frame rate
CN104461520A (en) * 2014-11-25 2015-03-25 广州酷狗计算机科技有限公司 Method and device for adjusting playing frame frequency of animation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049914B (en) * 2015-07-07 2019-02-26 深圳Tcl数字技术有限公司 Picture frame playing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669361A (en) * 2007-02-16 2010-03-10 马维尔国际贸易有限公司 Methods and systems for improving low resolution and low frame rate video
CN101621693A (en) * 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation
CN102194441A (en) * 2010-03-10 2011-09-21 鸿富锦精密工业(深圳)有限公司 Method for switching displayed pictures in electronic device
US20120044251A1 (en) * 2010-08-20 2012-02-23 John Liam Mark Graphics rendering methods for satisfying minimum frame rate requirements
CN102811149A (en) * 2011-12-07 2012-12-05 苏州科达科技有限公司 Double-card front-end equipment for video system, and control method and control system thereof
CN103248950A (en) * 2013-04-28 2013-08-14 天脉聚源(北京)传媒科技有限公司 System and method for customizing video frame rate
CN104461520A (en) * 2014-11-25 2015-03-25 广州酷狗计算机科技有限公司 Method and device for adjusting playing frame frequency of animation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017005062A1 (en) * 2015-07-07 2017-01-12 深圳Tcl数字技术有限公司 Image frame playing method and device
CN105959304A (en) * 2016-06-30 2016-09-21 宇龙计算机通信科技(深圳)有限公司 Frame rate adjustment method and device
WO2018161843A1 (en) * 2017-03-10 2018-09-13 杭州海康威视数字技术股份有限公司 Method and device for adjusting video playback speed
CN108574874A (en) * 2017-03-10 2018-09-25 杭州海康威视数字技术股份有限公司 A kind of video playout speed method of adjustment and device
CN108574874B (en) * 2017-03-10 2020-07-03 杭州海康威视数字技术股份有限公司 Video playing speed adjusting method and device
US11217279B2 (en) 2017-03-10 2022-01-04 Hangzhou Hikvision Digital Technology Co., Ltd. Method and device for adjusting video playback speed
CN111918098A (en) * 2020-09-16 2020-11-10 Oppo广东移动通信有限公司 Video processing method and device, electronic equipment, server and storage medium

Also Published As

Publication number Publication date
WO2017005062A1 (en) 2017-01-12
CN105049914B (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN105049914A (en) Picture frame playing method and device
CN110708589B (en) Information sharing method and device, storage medium and electronic device
CN111899322B (en) Video processing method, animation rendering SDK, equipment and computer storage medium
CN113457160B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN111246301B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN108449632B (en) Method and terminal for real-time synthesis of singing video
CN107040808B (en) Method and device for processing popup picture in video playing
CN104882151A (en) Method, device and system for displaying multimedia resources in song singing
US20170186243A1 (en) Video Image Processing Method and Electronic Device Based on the Virtual Reality
CN108924584A (en) The packaging method and device of interactive video
CN108769824A (en) A kind of video mixed flow method, apparatus, system, equipment and medium
US20220237848A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN112019907A (en) Live broadcast picture distribution method, computer equipment and readable storage medium
CN111741353A (en) Method for device cooperative work, terminal device and readable storage medium
JP2019516331A (en) Method and apparatus for optimizing regeneration
CN105430471A (en) Method and device for displaying live commenting in video
WO2024067159A1 (en) Video generation method and apparatus, electronic device, and storage medium
US20220308821A1 (en) Dividing method, distribution method, medium, server, system
CN108305310B (en) Character animation realization method, device, terminal and storage medium
CN105142033A (en) Interactive information display method and system
CN109615583A (en) A kind of generation method and device of map
US9131252B2 (en) Transmission of 3D models
CN114025103A (en) Video production method and device
CN109120977B (en) Live video display method, storage medium, electronic device and system
CN104837005A (en) Method and device for switch playing of 3D video and 2D video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant