CN110087130A - A kind of video broadcasting method and terminal device - Google Patents
A kind of video broadcasting method and terminal device Download PDFInfo
- Publication number
- CN110087130A CN110087130A CN201910459433.6A CN201910459433A CN110087130A CN 110087130 A CN110087130 A CN 110087130A CN 201910459433 A CN201910459433 A CN 201910459433A CN 110087130 A CN110087130 A CN 110087130A
- Authority
- CN
- China
- Prior art keywords
- display parameters
- focal zone
- pixel
- video frame
- region
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004590 computer program Methods 0.000 claims description 10
- 241000208340 Araliaceae Species 0.000 claims description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 2
- 235000008434 ginseng Nutrition 0.000 claims description 2
- 238000001914 filtration Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000006854 communication Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000000750 progressive effect Effects 0.000 description 3
- 229920001621 AMOLED Polymers 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/675—Focus control based on electronic image sensor signals comprising setting of focusing regions
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a kind of video broadcasting method and terminal device, the method is applied to terminal device, wherein the described method includes: obtaining the focal zone in the target video frame of video to be played;Based on the focal zone, non-focusing region is determined;Determine the first display parameters range of the focal zone and the second display parameters range in the non-focusing region;When playing the target video frame, the video frame content of the focal zone and the non-focusing region is shown according to the first display parameters range and the second display parameters range respectively.Disclosed video broadcasting method through the embodiment of the present invention can reduce screen and play video institute power consumption, extends the continuation of the journey duration of terminal device.Moreover, video broadcasting method disclosed by the embodiments of the present invention can also fall the information filtering in the non-focusing region in target video frame, highlight the subject in focal zone, improve user to the attention rate of subject.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of video broadcasting methods and terminal device.
Background technique
The function of terminal device is more and more various with the development of science and technology, plays the important function that video is terminal device
Energy.Terminal device plays picture materials all in video frame according to the picture recorded originally when playing video as former state at present
Out, brightness, color, contrast when presentation is recorded to the greatest extent to the greatest extent, consumption electricity is big when video frame picture is shown, terminal
The cruise duration of equipment is short.
Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method, to solve in video display process existing in the prior art
The big problem of power consumption.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of video broadcasting methods, wherein the described method includes: obtain to
Play the focal zone in the target video frame of video;Based on the focal zone, non-focusing region is determined;Determine the focusing
The first display parameters range in region and the second display parameters range in the non-focusing region;Playing the target video frame
When, the focal zone and described non-is shown according to the first display parameters range and the second display parameters range respectively
The video frame content of focal zone;Wherein, in the first display parameters range at least one the first subparameter minimum parameter
Value is greater than the maximum in the second display parameters range with the second subparameter that first subparameter is identical parameters type
Parameter value.
Second aspect, the embodiment of the invention provides a kind of terminal devices, wherein the terminal device includes: acquisition mould
Block, the focal zone in target video frame for obtaining video to be played;First determining module, for being based on the focal zone
Domain determines non-focusing region;Second determining module, for determining the first display parameters range of the focal zone and described non-
Second display parameters range of focal zone;Display module, for when playing the target video frame, respectively according to described the
One display parameters range and the second display parameters range show the video frame of the focal zone and the non-focusing region
Content;Wherein, the minimum parameter values of at least one the first subparameter are aobvious greater than described second in the first display parameters range
Show the maximum parameter value in parameter area with the second subparameter that first subparameter is identical parameters type.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of any video broadcasting method described in the existing embodiment of the present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, and any described in the embodiment of the present invention is realized when the computer program is executed by processor
The step of kind video broadcasting method.
In embodiments of the present invention, the focal zone in the target video frame by obtaining video to be played;Based on focusing
Region determines non-focusing region;Determine the first display parameters range of focal zone and second display parameters in non-focusing region
Range;When playing target video frame, focal zone is shown according to the first display parameters range and the second display parameters range respectively
The video frame content in domain and non-focusing region, can be by the display of focal zone and non-focusing region in the video frame played
Parameter is distinguish, using parameter value lower than the non-focusing region in the display parameter value frame of display video of focal zone, thus
It reduces screen and plays video institute power consumption, extend the continuation of the journey duration of terminal device.Moreover, view provided in an embodiment of the present invention
The information filtering in the non-focusing region in target video frame can also be fallen, be highlighted in focal zone by frequency playback method
Subject improves user to the attention rate of subject.
Detailed description of the invention
Fig. 1 is one of the flow chart of video broadcasting method provided according to embodiments of the present invention;
Fig. 2 is the two of the flow chart of the video broadcasting method provided according to embodiments of the present invention;
Fig. 3 is the resolution ratio schematic diagram of focal zone Yu non-focusing region;
Fig. 4 is the structural block diagram of the terminal device of the embodiment of the present invention;
Fig. 5 is the hardware structural diagram of the terminal device provided according to embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, one of the flow chart of video broadcasting method provided in an embodiment of the present invention is shown.
The video broadcasting method of the embodiment of the present invention the following steps are included:
Step 101: obtaining the focal zone in the target video frame of video to be played.
Video is made of multiple video frames, is performed both by method shown in the embodiment of the present invention when playing each video frame
Process.Focal zone can be clapped for the target of the central area of target video frame, focal object region or preset kind
Object region etc. is taken the photograph, the specific acquisition modes in the embodiment of the present invention for focal zone are not particularly limited.
Step 102: being based on focal zone, determine non-focusing region.
Region in target video frame in addition to focal zone is then non-focusing region.
Step 103: determining the first display parameters range of focal zone and the second display parameters range in non-focusing region.
Wherein, the minimum parameter values of at least one the first subparameter are greater than the second display parameters in the first display parameters range
In range with the maximum parameter value for the second subparameter that the first subparameter is identical parameters type, for the first display parameters, the
The parameter value of other subparameters in two display parameters can be the same or different.
First subparameter, the second subparameter can include but is not limited to: resolution ratio, brightness, contrast and saturation degree.Needle
To a pixel, the parameter value of the display parameters of pixel the big, and institute's power consumption is higher when showing.
Step 104: when playing target video frame, respectively according to the first display parameters range and the second display parameters range
Show the video frame content of focal zone and non-focusing region.
Focal zone is shown according to the first display parameters range, shows non-focusing region according to the second display parameters range,
Show that entire target video frame can save picture and show institute's power consumption compared to according to the first display parameters range.
Video broadcasting method provided in an embodiment of the present invention, the focusing in target video frame by obtaining video to be played
Region;Based on focal zone, non-focusing region is determined;Determine the first display parameters range and the non-focusing region of focal zone
Second display parameters range;When playing target video frame, respectively according to the first display parameters range and the second display parameters model
The video frame content of display focal zone and non-focusing region is enclosed, it can be by focal zone in the video frame played and non-poly-
The display parameters in burnt region are distinguish, using parameter value lower than non-poly- in the display parameter value frame of display video of focal zone
Burnt region extends the continuation of the journey duration of terminal device so that reducing screen plays video institute power consumption.Moreover, the present invention is real
The video broadcasting method for applying example offer, the information filtering in the non-focusing region in target video frame can also be fallen, highlight
Subject in focal zone improves user to the attention rate of subject.
Referring to Fig. 2, the two of the flow chart of video broadcasting method provided in an embodiment of the present invention are shown.
Video broadcasting method in the embodiment of the present invention specifically includes the following steps:
Step 201: determining the focal object in target video frame.
Video broadcasting method in the embodiment of the present invention is applicable to AMOLED (Active Matrix/Organic
Light Emitting Diode, active matrix organic light emitting diode panel) screen, each pixel of this kind of screen can be spontaneous
The light on and off of light, any one pixel can be controlled individually.When showing completely black picture, all pixels can be closed, and be closed
Pixel not power consumption.
Video broadcasting method shown in the embodiment of the present invention can be by user according to demand manual switching to focusing display mould
It is executed after formula, can also be opened by terminal device when the remaining capacity for determining battery is lower than default electricity and focus display pattern, or
Person is detecting that unlatching focuses display pattern when playing video by terminal device.When user is according to demand manual switching, terminal
Equipment is after opening video, collectiong focusing display pattern switching command;Response instruction switches to and focuses display pattern progress video
It plays.
Reference object is integrally focused during video capture, focal object can for personage, animals and plants or
Other.Video is made of multiple video frames, includes focal object in each video frame.
Step 202: focal object region is determined as focal zone.
Such as: focal object is personage, then the whole region where the personage being focused is focal zone;Focal object
For aircraft, then the whole region where aircraft is focal zone.
Step 201 and step 202 are that the mode of focal zone is determined based on focal object, it can be ensured that identified poly-
The accuracy in burnt region.During specific implementation, the method for determination of focal zone is not limited thereto, can also be by as follows
Preferred embodiment determines focal zone:
A method of preferably obtaining the focal zone in the target video frame of video to be played are as follows:
Firstly, obtaining the target reference object of the preset kind in the target video frame of video to be played;
Concrete type indicated by preset kind can be configured according to actual needs by those skilled in the art, such as
Preset kind can be set to personage, animal, and building etc. more can also be to refinement the leading man or leading lady of video capture
Deng.
Secondly, target reference object region is determined as focal zone.
This kind preferably determines the mode of focal zone, and the important reference object region in target video frame is determined
Focal zone, it can be ensured that the reliability of focal zone.Target reference object region is determined as focal zone by this kind
Mode highlights the target reference object in focal zone, and user can be guided to pay close attention to the picture material of target reference object,
User's touching of specific content in video is increased up to rate, can determine the key content in video as early as possible convenient for user.
Another kind preferably obtains the mode of the focal zone in the target video frame of video to be played are as follows:
Firstly, determining the central pixel point of the target video frame of video to be played;Secondly, will include the pre- of central pixel point
If the region in range is determined as focal zone.
Preset range can be configured according to actual needs by those skilled in the art, in the embodiment of the present invention not to this
Do concrete restriction, the region that focal zone can have any shape, such as: border circular areas, rectangular area or delta-shaped region
Deng.This kind is simple and fast in a manner of determining focal zone centered on central pixel point.
Step 203: being based on focal zone, determine non-focusing region.
Region in target video frame outside focal zone is then non-focusing region.Focal zone includes multiple first pixels
Point, non-focusing region include multiple second pixels.
Such as: the picture of target video frame is that step on slide plate leap background be lawn to man's foot, man and slide plate location
Domain is focal zone, other regions in picture are then non-focusing region.
Step 204: preset display parameters are determined as to the first display parameters of each first pixel in focal zone.
Preset display parameters are the display parameters of screen routine, by focal zone with normally bright under the display parameters
The display parameters such as degree, resolution ratio, saturation degree are shown.
Step 205: obtaining the in non-focusing region between each second pixel and the central pixel point of focal zone
One distance.
First distance can use the pixel quantity characterization at interval, or simple be characterized by length unit.
Step 206: the first distance according to each second pixel respectively determines the second display of each second pixel
Parameter.
Wherein, the value with first distance of the second display parameters are inversely proportional, and the first distance the big then, and its is corresponding second aobvious
Show that the value of parameter is smaller.It, can be only by any one the second subparameter of the second display parameters during specific implementation
Value is adaptively adjusted according to first distance, other second subparameters can be with the son of same type in the first display parameters
Parameter value is identical.
Step 204 to step 206 is to determine that the first display parameters range of focal zone and the second of non-focusing region are shown
Show a kind of preferred embodiment of parameter area, the display parameters of each first pixel are identical in this kind of preferred embodiment focal zone, non-
The progressive change of parameter value of second subparameter of each second pixel in focal zone, brightness, resolution ratio, saturation degree gradually drop
It is low, to achieve the purpose that power saving.
Another second display of preferred the first display parameters range for determining focal zone and the non-focusing region
The mode of parameter area are as follows:
Obtain the second distance in focal zone between each first pixel and the central pixel point of focal zone;Respectively
According to the second distance of each first pixel, the first display parameters of each first pixel are determined;Obtain non-focusing region
In third distance between each second pixel and central pixel point;Third distance according to each second pixel respectively,
Determine corresponding second display parameters of each second pixel;Wherein, the value of the first display parameters is inversely proportional with second distance,
The value of second display parameters is inversely proportional with third distance.
This kind preferably determines the first display parameters range of focal zone and the second display parameters model in non-focusing region
The mode enclosed, the progressive change of parameter value of the first subparameter of each first pixel in focal zone, each in non-focusing region
The also progressive change of the parameter value of second subparameter of two pixels can not only be shown institute's power consumption by saving target video frame, but also
The interest of display can be increased.
Except the first display parameters range of above two preferred determining focal zone and second display in non-focusing region
Outside the mode of parameter area, each first pixel in focal zone can also be determined as the parameter values such as same type parameter
Each second pixel in non-focusing region is determined as the second display of the parameter values such as same type parameter by the first display parameters
Parameter, and the parameter value of the first display parameters is greater than the parameter value of the second display parameters of same type parameter.Such as: the first picture
The brightness of vegetarian refreshments and the second pixel, contrast and saturation degree are all the same, and the high resolution of the first pixel is in the second pixel
The resolution ratio of point, focal zone compared to non-focusing region content display effect more preferably, this kind distinguishes focal zone and non-poly-
The mode that burnt region is shown can save target video frame and show institute's power consumption.Fig. 3 (a), (b) are respectively that focal zone gathers with non-
The resolution ratio schematic diagram in burnt region only shows part focal zone and part non-focusing region in the schematic diagram.
This kind determines the side of the first display parameters range of focal zone and the second display parameters range in non-focusing region
Formula, the small calculated load that can save terminal device of calculation amount.After determining display parameters range by this kind of mode, respectively according to
When the first display parameters range and the second display parameters range display focal zone and the video content in non-focusing region, Neng Gouzhu
It is dynamic to fall the information filtering in the non-focusing region in video, the display of prominent focal zone.
Step 207: when playing target video frame, respectively according to the first display parameters range and the second display parameters range
Show the video frame content of focal zone and non-focusing region.
The first display parameters range of focal zone and non-poly- is obtained by mode shown in step 204 to step 206
After the second display parameters range in burnt region, focused respectively according to the first display parameters range and the display of the second display parameters range
When the video content in region and non-focusing region, the interfacial effect finally shown is that focal zone is normal brightness, resolution
Rate, saturation degree gradually decrease, specific radiation far from pixel intensity, resolution ratio, saturation degree etc. that focal zone is radiated to periphery
Shape can be round, ellipse or square etc..
Video broadcasting method provided in an embodiment of the present invention, the focusing in target video frame by obtaining video to be played
Region;Based on focal zone, non-focusing region is determined;Determine the first display parameters range and the non-focusing region of focal zone
Second display parameters range;When playing target video frame, respectively according to the first display parameters range and the second display parameters model
The video frame content for enclosing display focal zone and non-focusing region, on the one hand can be by the focal zone in the video frame played
It is distinguish with the display parameters in non-focusing region, using parameter value lower than in the display parameter value frame of display video of focal zone
Non-focusing region, thus reduce screen play video institute power consumption, extend the continuation of the journey duration of terminal device;On the other hand, may be used
To fall the information filtering in the non-focusing region in target video frame, the subject in focal zone is highlighted, improves and uses
Attention rate of the family to subject.In addition, video broadcasting method provided in an embodiment of the present invention, additionally provides a variety of focal zones
With the method for determination of pixel display parameters each in non-focusing region, user can select corresponding mode, Neng Gouman according to demand
The individual demand that sufficient user shows video.
Referring to Fig. 4, the structural block diagram of the terminal device of the embodiment of the present invention is shown.Terminal device is able to achieve aforementioned implementation
The details of video broadcasting method in example, and reach identical effect.
The terminal device of the embodiment of the present invention includes: to obtain module 301, for obtaining the target video frame of video to be played
In focal zone;First determining module 302 determines non-focusing region for being based on the focal zone;Second determining module
303, for determining the first display parameters range of the focal zone and the second display parameters range in the non-focusing region;
Display module 304 is used for when playing the target video frame, respectively according to the first display parameters range and described second
Display parameters range shows the video frame content of the focal zone and the non-focusing region;Wherein, the first display ginseng
The minimum parameter values of at least one the first subparameter are greater than in the second display parameters range and first son in number range
Parameter is the maximum parameter value of the second subparameter of identical parameters type.Obtain module, the first determining module, the second determining module
And display module is sequentially connected with.
Preferably, the acquisition module includes: the first submodule, for determining the focusing pair in the target video frame
As;First area determines submodule, for the focal object region to be determined as focal zone.First submodule and
One region determines that submodule connects.
Preferably, the acquisition module includes: second submodule, for obtaining the target video frame of video to be played
In preset kind target reference object;Second area determines submodule, is used for target reference object region
It is determined as focal zone.Second submodule determines that submodule is connect with second area.
Preferably, the acquisition module includes: that central pixel point determines submodule, for determining described in video to be played
The central pixel point of target video frame;Third region determines submodule, for that will include the preset range of the central pixel point
Interior region is determined as focal zone.Central pixel point determines that submodule determines that submodule is connect with third region.
Preferably, second determining module includes: that the first display parameters determine submodule, for joining preset display
Number is determined as the first display parameters of each first pixel in the focal zone;First distance acquisition submodule, for obtaining
Take the first distance in the non-focusing region between each second pixel and the central pixel point of the focal zone;Second
Display parameters determine submodule, for the first distance respectively according to each second pixel, determine each described
Second display parameters of the second pixel;Wherein, the value with the first distance of second display parameters are inversely proportional.First
Display parameters determine that submodule, first distance acquisition submodule and the second display parameters determine that submodule is sequentially connected with.
Preferably, second determining module includes: second distance acquisition submodule, for obtaining in the focal zone
Second distance between each first pixel and the central pixel point of the focal zone;Third display parameters determine submodule
Block determines the first display of each first pixel for the second distance respectively according to each first pixel
Parameter;Third is apart from acquisition submodule, for obtaining each second pixel and the center pixel in the non-focusing region
Third distance between point;4th display parameters determine submodule, for the third respectively according to each second pixel
Distance determines corresponding second display parameters of each second pixel;Wherein, the value of first display parameters and institute
It states second distance to be inversely proportional, the value of second display parameters is inversely proportional with the third distance.Second distance obtains submodule
Block, third display parameters determine that submodule, third determine that submodule sequentially connects apart from acquisition submodule and the 4th display parameters
It connects.
Terminal device provided in an embodiment of the present invention can be realized terminal device in the embodiment of the method for Fig. 1 to Fig. 2 and realize
Each process, to avoid repeating, which is not described herein again.
Terminal device provided in an embodiment of the present invention, the focal zone in target video frame by obtaining video to be played
Domain;Based on focal zone, non-focusing region is determined;Determine focal zone the first display parameters range and non-focusing region
Two display parameters ranges;When playing target video frame, respectively according to the first display parameters range and the second display parameters range
The video frame content for showing focal zone and non-focusing region, can be by the focal zone and non-focusing in the video frame played
The display parameters in region are distinguish, using parameter value lower than the non-focusing in the display parameter value frame of display video of focal zone
Region extends the continuation of the journey duration of terminal device so that reducing screen plays video institute power consumption.Moreover, the present invention is implemented
When the terminal device that example provides plays video, the information filtering in the non-focusing region in target video frame can also be fallen, it is prominent
It shows the subject in focal zone, improves user to the attention rate of subject.
Referring to Fig. 5, a kind of hardware structural diagram of terminal device of the embodiment of the present invention is shown.
A kind of hardware structural diagram of Fig. 5 terminal device of each embodiment to realize the present invention, the terminal device 400
Including but not limited to: radio frequency unit 401, audio output unit 403, input unit 404, sensor 405, is shown network module 402
Show the components such as unit 406, user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411.
It will be understood by those skilled in the art that terminal device structure shown in Fig. 5 does not constitute the restriction to terminal device, terminal is set
Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention
In embodiment, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Processor 410, the focal zone in target video frame for obtaining video to be played;Based on the focal zone
Domain determines non-focusing region;Determine that the first display parameters range of the focal zone and the second of the non-focusing region are shown
Show parameter area;When playing the target video frame, respectively according to the first display parameters range and second display
Parameter area shows the video frame content of the focal zone and the non-focusing region;Wherein, the first display parameters model
The minimum parameter values for enclosing at least one the first subparameter are greater than in the second display parameters range and first subparameter
For the maximum parameter value of the second subparameter of identical parameters type.
Terminal device provided in an embodiment of the present invention, the focal zone in target video frame by obtaining video to be played
Domain;Based on focal zone, non-focusing region is determined;Determine focal zone the first display parameters range and non-focusing region
Two display parameters ranges;When playing target video frame, respectively according to the first display parameters range and the second display parameters range
The video frame content for showing focal zone and non-focusing region, can be by the focal zone and non-focusing in the video frame played
The display parameters in region are distinguish, using parameter value lower than the non-focusing in the display parameter value frame of display video of focal zone
Region extends the continuation of the journey duration of terminal device so that reducing screen plays video institute power consumption.Moreover, the present invention is implemented
When the terminal device that example provides plays video, the information filtering in the non-focusing region in target video frame can also be fallen, it is prominent
It shows the subject in focal zone, improves user to the attention rate of subject.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also provide and end
The relevant audio output of specific function that end equipment 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Terminal device 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when terminal device 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061, and display panel 4061 is eventually
The screen of end equipment, the screen of terminal device include N number of region, are correspondingly arranged on a photosensitive sensor under each region.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 5, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with terminal device 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 400 or can be used in 400 He of terminal device
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Terminal device 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned video broadcasting method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned video broadcasting method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (14)
1. a kind of video broadcasting method, which is characterized in that the described method includes:
Obtain the focal zone in the target video frame of video to be played;
Based on the focal zone, non-focusing region is determined;
Determine the first display parameters range of the focal zone and the second display parameters range in the non-focusing region;
When playing the target video frame, respectively according to the first display parameters range and the second display parameters range
Show the video frame content of the focal zone and the non-focusing region;
Wherein, the minimum parameter values of at least one the first subparameter are greater than second display in the first display parameters range
In parameter area with first subparameter be identical parameters type the second subparameter maximum parameter value.
2. the method according to claim 1, wherein poly- in the target video frame for obtaining video to be played
Burnt region, comprising:
Determine the focal object in the target video frame;
The focal object region is determined as focal zone.
3. the method according to claim 1, wherein poly- in the target video frame for obtaining video to be played
Burnt region, comprising:
Obtain the target reference object of the preset kind in the target video frame of video to be played;
Target reference object region is determined as focal zone.
4. the method according to claim 1, wherein poly- in the target video frame for obtaining video to be played
Burnt region, comprising:
Determine the central pixel point of the target video frame of video to be played;
Region in preset range including the central pixel point is determined as focal zone.
5. the method according to claim 1, wherein the first display parameters model of the determination focal zone
Enclose the second display parameters range with the non-focusing region, comprising:
Preset display parameters are determined as to the first display parameters of each first pixel in the focal zone;
Obtain in the non-focusing region between each second pixel and the central pixel point of the focal zone first away from
From;
The first distance according to each second pixel respectively determines the second display of each second pixel
Parameter;
Wherein, the value with the first distance of second display parameters are inversely proportional.
6. the method according to claim 1, wherein the first display parameters model of the determination focal zone
Enclose the second display parameters range with the non-focusing region, comprising:
Obtain the second distance in the focal zone between each first pixel and the central pixel point of the focal zone;
Second distance according to each first pixel respectively determines the first display ginseng of each first pixel
Number;
Obtain the third distance in the non-focusing region between each second pixel and the central pixel point;
Third distance according to each second pixel respectively determines corresponding second display of each second pixel
Parameter;
Wherein, the value of first display parameters is inversely proportional with the second distance, the value of second display parameters with
The third distance is inversely proportional.
7. a kind of terminal device, which is characterized in that the terminal device includes:
Obtain module, the focal zone in target video frame for obtaining video to be played;
First determining module determines non-focusing region for being based on the focal zone;
Second determining module, for determine the focal zone the first display parameters range and the non-focusing region second
Display parameters range;
Display module, for when playing the target video frame, respectively according to the first display parameters range and described the
Two display parameters ranges show the video frame content of the focal zone and the non-focusing region;
Wherein, the minimum parameter values of at least one the first subparameter are greater than second display in the first display parameters range
In parameter area with first subparameter be identical parameters type the second subparameter maximum parameter value.
8. terminal device according to claim 7, which is characterized in that the acquisition module includes:
First submodule, for determining the focal object in the target video frame;
First area determines submodule, for the focal object region to be determined as focal zone.
9. terminal device according to claim 7, which is characterized in that the acquisition module includes:
Second submodule, the target reference object of the preset kind in the target video frame for obtaining video to be played;
Second area determines submodule, for target reference object region to be determined as focal zone.
10. terminal device according to claim 7, which is characterized in that the acquisition module includes:
Central pixel point determines submodule, the central pixel point of the target video frame for determining video to be played;
Third region determines submodule, for by include the central pixel point preset range in region be determined as focal zone
Domain.
11. terminal device according to claim 7, which is characterized in that second determining module includes:
First display parameters determine submodule, for preset display parameters to be determined as each first picture in the focal zone
First display parameters of vegetarian refreshments;
First distance acquisition submodule, for obtaining each second pixel and the focal zone in the non-focusing region
First distance between central pixel point;
Second display parameters determine submodule, for the first distance respectively according to each second pixel, determine
Second display parameters of each second pixel;
Wherein, the value with the first distance of second display parameters are inversely proportional.
12. terminal device according to claim 7, which is characterized in that second determining module includes:
Second distance acquisition submodule, for obtaining in the focal zone in each first pixel and the focal zone
Second distance between imago vegetarian refreshments;
Third display parameters determine submodule, for the second distance respectively according to each first pixel, determine each
First display parameters of first pixel;
Third is apart from acquisition submodule, for obtaining each second pixel and the central pixel point in the non-focusing region
Between third distance;
4th display parameters determine submodule, for the third distance respectively according to each second pixel, determine each
Corresponding second display parameters of second pixel;
Wherein, the value of first display parameters is inversely proportional with the second distance, the value of second display parameters with
The third distance is inversely proportional.
13. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor
Any one of described in video broadcasting method the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence is realized when the computer program is executed by processor such as video broadcasting method described in any one of claims 1 to 6
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459433.6A CN110087130A (en) | 2019-05-29 | 2019-05-29 | A kind of video broadcasting method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459433.6A CN110087130A (en) | 2019-05-29 | 2019-05-29 | A kind of video broadcasting method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110087130A true CN110087130A (en) | 2019-08-02 |
Family
ID=67422582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910459433.6A Pending CN110087130A (en) | 2019-05-29 | 2019-05-29 | A kind of video broadcasting method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110087130A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113573122A (en) * | 2021-07-23 | 2021-10-29 | 杭州海康威视数字技术股份有限公司 | Audio and video playing method and device |
CN114173178A (en) * | 2021-12-14 | 2022-03-11 | 维沃移动通信有限公司 | Video playing method, video playing device, electronic equipment and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049643A (en) * | 2015-06-30 | 2015-11-11 | 柏斯红 | Mobile phone screen brightness adjustment method |
CN105426079A (en) * | 2015-11-25 | 2016-03-23 | 小米科技有限责任公司 | Picture brightness adjustment method and apparatus |
WO2018161843A1 (en) * | 2017-03-10 | 2018-09-13 | 杭州海康威视数字技术股份有限公司 | Method and device for adjusting video playback speed |
-
2019
- 2019-05-29 CN CN201910459433.6A patent/CN110087130A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049643A (en) * | 2015-06-30 | 2015-11-11 | 柏斯红 | Mobile phone screen brightness adjustment method |
CN105426079A (en) * | 2015-11-25 | 2016-03-23 | 小米科技有限责任公司 | Picture brightness adjustment method and apparatus |
WO2018161843A1 (en) * | 2017-03-10 | 2018-09-13 | 杭州海康威视数字技术股份有限公司 | Method and device for adjusting video playback speed |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113573122A (en) * | 2021-07-23 | 2021-10-29 | 杭州海康威视数字技术股份有限公司 | Audio and video playing method and device |
CN114173178A (en) * | 2021-12-14 | 2022-03-11 | 维沃移动通信有限公司 | Video playing method, video playing device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536411A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN107800821B (en) | One kind preventing motor and shake sub-resonance method and mobile terminal | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN109067418A (en) | A kind of method of controlling antenna and mobile terminal | |
CN109743498A (en) | A kind of shooting parameter adjustment method and terminal device | |
CN108989668A (en) | A kind of working method and mobile terminal of camera | |
CN108287655A (en) | A kind of interface display method, interface display apparatus and mobile terminal | |
CN110442437A (en) | A kind of application switching method and mobile terminal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN108469968A (en) | A kind of applied program processing method and mobile terminal | |
CN109407948A (en) | A kind of interface display method and mobile terminal | |
CN110531915A (en) | Screen operating method and terminal device | |
CN109523253A (en) | A kind of method of payment and device | |
CN109558046A (en) | A kind of information display method and terminal device | |
CN108196757A (en) | The setting method and mobile terminal of a kind of icon | |
CN109522524A (en) | A kind of text browsing methods and terminal device | |
CN109660872A (en) | A kind of method of adjustment and terminal of multimedia progress | |
CN109195191A (en) | A kind of cell reselection control method and terminal | |
CN109413264A (en) | A kind of background picture method of adjustment and terminal device | |
CN109033912A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN110087130A (en) | A kind of video broadcasting method and terminal device | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109814974A (en) | Application Program Interface method of adjustment and mobile terminal | |
CN110516495A (en) | A kind of barcode scanning method and mobile terminal | |
CN108235084A (en) | A kind of video broadcasting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190802 |
|
RJ01 | Rejection of invention patent application after publication |