CN105657539B - Video broadcasting method and device - Google Patents

Video broadcasting method and device Download PDF

Info

Publication number
CN105657539B
CN105657539B CN201511026565.8A CN201511026565A CN105657539B CN 105657539 B CN105657539 B CN 105657539B CN 201511026565 A CN201511026565 A CN 201511026565A CN 105657539 B CN105657539 B CN 105657539B
Authority
CN
China
Prior art keywords
video
played
pixel
dynamic range
video frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511026565.8A
Other languages
Chinese (zh)
Other versions
CN105657539A (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
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 CN201511026565.8A priority Critical patent/CN105657539B/en
Priority to PCT/CN2016/084553 priority patent/WO2017113600A1/en
Publication of CN105657539A publication Critical patent/CN105657539A/en
Application granted granted Critical
Publication of CN105657539B publication Critical patent/CN105657539B/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/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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of video broadcasting method, the video broadcasting method obtains video to be played the following steps are included: when detecting the play instruction of user's triggering;Judge whether the video to be played is high dynamic range video;If it is not, then carry out the compensation deals of bright pixel and dark pixel to the video frame of the video to be played, using by the Video Quality Metric to be played as high dynamic range video;The high dynamic range video being converted to is played out.The invention also discloses a kind of video play devices.The present invention realizes conversion of traditional low-dynamic range video to high dynamic range video, it is effectively increased the source of high dynamic range video program in smart television, it solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.

Description

Video broadcasting method and device
Technical field
The present invention relates to intelligent terminal field more particularly to a kind of video broadcasting methods and device.
Background technique
With the development of intelligent television system, high dynamic range (HDR, High-Dynamic Range) video is also increasingly It is popular.High dynamic range video has the advantage that does not have of ordinary video: bright place non-can be always on, dark place can be with The details of very dark, bright dark portion is apparent etc..Smart television program is mostly low-dynamic range video at present, and high dynamic range Video occurs mostly in the form of DVD optical disc, and film source is very limited, cannot popularize, smart television it can be seen that high dynamic range section Mesh is seldom.Therefore, for existing intelligent television system high dynamic range video resource scarcity the problem of, in this respect the problem of urgently It is solved to inventor.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
It is a primary object of the present invention to solve asking for existing intelligent television system high dynamic range video resource scarcity Topic.
To achieve the above object, the present invention provides a kind of video broadcasting method, and the video broadcasting method includes following step It is rapid:
When detecting the play instruction of user's triggering, video to be played is obtained;
Judge whether the video to be played is high dynamic range video;
If it is not, the compensation deals of bright pixel and dark pixel are then carried out to the video frame of the video to be played, by institute Stating Video Quality Metric to be played is high dynamic range video;
The high dynamic range video being converted to is played out.
Preferably, the video frame to the video to be played carries out the compensation deals of bright pixel and dark pixel, with Include: for the step of high dynamic range video by the Video Quality Metric to be played
Video frame to be processed is extracted from the video to be played according to preset ratio;
The compensation deals of bright pixel and dark pixel are carried out to each video frame to be processed;
Remaining untreated video frame in treated video frame and the video to be played is obtained, and will be acquired Video frame synthesizes high dynamic range video according to play time axis.
Preferably, the step of compensation deals that bright pixel and dark pixel are carried out to each video frame to be processed are wrapped It includes:
Determine that RGB gain is less than the dark pixel point of first threshold in each video frame to be processed and RGB increases Benefit is greater than the bright pixel point of second threshold;
Increase a pixel in the horizontal direction and/or vertical direction of identified pixel, and each to be processed Video frame middle position reduce corresponding number pixel to guarantee that resolution ratio is constant, the video frame that obtains that treated.
Preferably, described to judge that the step of whether video to be played is high dynamic range video includes:
Extract video frame from the video to be played, and according to the horizontal pixel of the video frame extracted point number and Vertical pixel number of lines determines corresponding video frame resolution;
The video frame resolution is matched with preset standard resolution;
If being matched to standard resolution identical with the video frame resolution, it is determined that the video to be played is not high Dynamic range video.
Preferably, described when detecting the play instruction of user's triggering, before the step of obtaining video to be played, also Include:
When detecting the link order of user's triggering, the communication connection with counterpart terminal is established;
The video file that the terminal is sent is received, and is protected received video file as video to be played It deposits.
In addition, to achieve the above object, the present invention also provides a kind of video play device, the video play device packet It includes:
Module is obtained, for obtaining video to be played when detecting the play instruction of user's triggering;
Judgment module, for judging whether the video to be played is high dynamic range video;
Compensating module, if not being high dynamic range video for the video to be played, to the video to be played Video frame carry out bright pixel and dark pixel compensation deals, using by the Video Quality Metric to be played as high dynamic range video;
Playing module, for being played out to the high dynamic range video being converted to.
Preferably, the compensating module includes extraction unit, compensating unit and synthesis unit;
The extraction unit, for extracting video frame to be processed from the video to be played according to preset ratio;
The compensating unit, for carrying out the compensation deals of bright pixel and dark pixel to each video frame to be processed;
The synthesis unit, for obtaining remaining untreated view in treated video frame and the video to be played Frequency frame, and acquired video frame is synthesized into high dynamic range video according to play time axis.
Preferably, the compensating unit is also used to determine that RGB gain is less than first in each video frame to be processed The dark pixel point of threshold value and RGB gain are greater than the bright pixel point of second threshold;
The compensating unit is also used to increase a picture in the horizontal direction and/or vertical direction of identified pixel Vegetarian refreshments, and the pixel for corresponding to number is reduced in the middle position of each video frame to be processed to guarantee that resolution ratio is constant, it obtains To treated video frame.
Preferably, the judgment module includes determination unit and matching unit;
The determination unit, for extracting video frame from the video to be played, and according to the video frame extracted Horizontal pixel point number and vertical pixel number of lines determine corresponding video frame resolution;
The matching unit, for matching the video frame resolution with preset standard resolution;
The determination unit, if being also used to be matched to standard resolution identical with the video frame resolution, it is determined that The video to be played is not high dynamic range video.
Preferably, the video play device further includes link block and memory module;
The link block connects for when detecting the link order of user's triggering, establishing the communication with counterpart terminal It connects;
The memory module, the video file sent for receiving the terminal, and received video file is made It is saved for video to be played.
The present invention carries out the compensation of bright dark pixel by the video frame to low-dynamic range video, realizes traditional low dynamic Conversion of the state range video to high dynamic range video is effectively increased high dynamic range video program in smart television Source solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment of video broadcasting method of the present invention;
Fig. 2 is the flow diagram of the second embodiment of video broadcasting method of the present invention;
Fig. 3 is the preferable reality for carrying out the compensation deals of bright pixel and dark pixel in the present invention to each video frame to be processed Apply the flow diagram of example;
Fig. 4 is the flow diagram of the 3rd embodiment of video broadcasting method of the present invention;
Fig. 5 is the flow diagram of the fourth embodiment of video broadcasting method of the present invention;
Fig. 6 is the functional block diagram of the first embodiment of video play device of the present invention;
Fig. 7 is the functional block diagram of the second embodiment of video play device of the present invention;
Fig. 8 is the functional block diagram of the 3rd embodiment of video play device of the present invention;
Fig. 9 is the functional block diagram of the fourth embodiment of video play device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting the play instruction of user's triggering, obtaining to be played Video;Judge whether the video to be played is high dynamic range video;If it is not, then to the video frame of the video to be played Carry out bright pixel and dark pixel compensation deals, using by the Video Quality Metric to be played as high dynamic range video;To converting To high dynamic range video play out
The problem of for existing intelligent television system high dynamic range video resource scarcity.
Based on the above issues, the present invention provides a kind of video broadcasting method.
Referring to Fig.1, Fig. 1 is the flow diagram of the first embodiment of video broadcasting method of the present invention.
In the present embodiment, the video broadcasting method includes:
Step S10 obtains video to be played when detecting the play instruction of user's triggering;
It is corresponding to obtain the play instruction when detecting the play instruction of user's triggering for smart television in the present invention Video to be played.Specifically, what the play instruction can be provided by the control panel or remote controler of the smart television Broadcast button triggers the play instruction when detecting button operation of the user based on the broadcast button;Alternatively, described Play instruction can also provide broadcast interface by the associated mobile terminal of the smart television, detect user based on described When the touch operation of the broadcast interface of mobile terminal, the play instruction is triggered.
The video to be played can be video file or be the intelligence electricity that the smart television is locally stored Depending on the video file that is obtained from cloud by internet or to be also possible to the smart television received from mobile terminal Video file etc..
Step S20 judges whether the video to be played is high dynamic range video;
The smart television judges whether the video to be played is high dynamic range video.Specifically, the intelligence electricity Whether regard can judge the video to be played as high dynamic range video by the resolution ratio of the video to be played;Alternatively, Whether the smart television can also judge the video to be played by the format information of the video to be played read For high dynamic range video.
Step S30, if it is not, then being carried out to the video frame of the video to be played at the compensation of bright pixel and dark pixel Reason, using by the Video Quality Metric to be played as high dynamic range video;
Step S40 plays out the high dynamic range video being converted to.
If the smart television judges that the video to be played is not high dynamic range video, to the video to be played Video frame carry out bright pixel and dark pixel compensation deals, using by the Video Quality Metric to be played as high dynamic range video; The smart television plays out the high dynamic range video being converted to.Further, if the smart television is also possible that Judge that the video to be played is high dynamic range video, then directly the video to be played is played out.
Specifically, the smart television can carry out bright pixel and dark pixel to the partial video frame of the video to be played Compensation deals, or can also each video frame to the video to be played carry out at the compensation of bright pixel and dark pixel Reason.The bright pixel and the dark pixel can be judged by the yield value to pixel each in video frame, by gain The pixel that value is in the first preset range is determined as bright pixel point, and the pixel that yield value is in the second preset range is determined For dark pixel point.
The present embodiment carries out the compensation of bright dark pixel by the video frame to low-dynamic range video, realizes traditional low Conversion of the dynamic range video to high dynamic range video is effectively increased high dynamic range video program in smart television Source solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.
It is the flow diagram of the second embodiment of video broadcasting method of the present invention referring to Fig. 2, Fig. 2.Based on above-mentioned video The first embodiment of playback method, the step 30 include:
Step S31 extracts video frame to be processed from the video to be played according to preset ratio;
When the smart television judges that the video to be played is not high dynamic range video, the smart television according to Preset ratio extracts video frame to be processed from the video to be played.Specifically, the smart television can will be described The video file of video to be played is stored in the first memory block, and the smart television is out of described first memory block according to red green Blue gain extracts video frame respectively and is stored in the second memory block, and the smart television is extracted out of described second memory block The video frame to be processed of preset ratio.The preset ratio can specifically be set according to practical, such as: it can will be described pre- If ratio setting is 1/3,1/3 video frame is extracted from the video to be played as video frame to be processed;Or it will The preset ratio is set as 3/10, and 3/10 video frame is extracted from the video to be played as video to be processed Frame.
Specifically, the smart television can be from the video frame of the video to be played, according to extracting per unit time The video frame of preset ratio is as video frame to be processed.Such as: the smart television can be the unit time according to 1 second, from 1 Second 60 frames in extract 1/3 totally 20 frames video frame as video frame to be processed, successively extract the video to be played 1/3 Video frame as video frame to be processed.
Further, the smart television can also be according to play time axis sequence, every 10 from the video to be played Frame extracts 3 frames as video frame to be processed, successively extracts the pending video frame of institute.Such as: the smart television Can out of 1 second corresponding 60 frame Frame_Total (x1)=60,60 frames 1/6 at extract 3 frame Frame1_Part1 (x1) 3 frame Frame1_Part1 (x2)=10/60 are extracted at the 2/6 of=10/60,60 frames, until extracting 3 frames at the 6/6 of 60 frames Frame1_Part1 (x6)=10/60 extracts the video frame of 18 frames as video frame Frame1_Part_Total to be processed altogether (x7)=18.
Step S32 carries out the compensation deals of bright pixel and dark pixel to each video frame to be processed;
The smart television carries out the compensation deals of bright pixel and dark pixel to each video frame to be processed.Specifically, Referring to Fig. 3, Fig. 3 is the preferable reality for carrying out the compensation deals of bright pixel and dark pixel in the present invention to each video frame to be processed Apply the flow diagram of example;
Step S321 determines that RGB gain in each video frame to be processed is less than the dark pixel point of first threshold, with And RGB gain is greater than the bright pixel point of second threshold;
Step S322 increases a pixel in the horizontal direction and/or vertical direction of identified pixel, and each The pixel of corresponding number is reduced to guarantee that resolution ratio is constant in the middle position of a video frame to be processed, the view that obtains that treated Frequency frame.
The smart television determines that RGB gain in each video frame to be processed is less than the dark pixel point of first threshold, And RGB gain is greater than the bright pixel point of second threshold;Horizontal direction of the smart television in identified pixel And/or vertical direction increases a pixel, and reduces the picture of corresponding number in the middle position of each video frame to be processed Vegetarian refreshments is to guarantee that resolution ratio is constant, the video frame that obtains that treated.The first threshold can be 1/10th of overall gain, i.e., Using RGB gain be zero to overall gain 1/10th pixel as dark pixel point;The second threshold can increase to be total 8/10ths of benefit, i.e., using 10/80 to ten/10ths pixel that RGB gain is overall gain as bright pixel point.
The smart television can increase separately a pixel in the horizontal direction and vertical direction of identified pixel Point, and the pixel of corresponding number is reduced in the middle position of each video frame to be processed;Alternatively, the smart television can also To increase a pixel in the horizontal direction of identified pixel, and subtract in the middle position of each video frame to be processed The pixel of number is corresponded to less.
Such as: the dark picture gain of the smart television is R_G_BGain (x1)=0x06, and dark picture increases by 1 at first A pixel dot gains are Add_R_G_BGain (x1)=0x05, and the dark picture increases by 1 pixel dot gains everywhere is Add_R_G_ Reduce by 2 pixel DEC_Midd_RGBGain (x)=4/2=2 in the middle position of BGain (x4)=0x02, the video frame.
Step S33 obtains remaining untreated video frame in treated video frame and the video to be played, and will Acquired video frame synthesizes high dynamic range video according to play time axis.
Remaining untreated video frame in video frame that the smart television obtains that treated and the video to be played, And acquired video frame is synthesized into high dynamic range video by play time axis.Such as: the smart television obtains high dynamic 18 frame EnhanPic (x)=18 of state range, 42 frame OtherPic (x) of low-dynamic range=60-18=42, according to time corresponding pass System is sent to broadcast decoder equipment and plays out.
The present embodiment carries out the compensation of bright dark pixel by the video frame to low-dynamic range video, realizes traditional low Conversion of the dynamic range video to high dynamic range video is effectively increased high dynamic range video program in smart television Source solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.
It is the flow diagram of the 3rd embodiment of video broadcasting method of the present invention referring to Fig. 4, Fig. 4.Based on above-mentioned video The first embodiment of playback method, the step S20 include:
Step S21 extracts video frame from the video to be played, and according to the horizontal pixel of the video frame extracted Point number and vertical pixel number of lines determine corresponding video frame resolution;
The smart television extracts video frame from the video to be played, and according to the level of the video frame extracted Pixel number and vertical pixel number of lines determine corresponding video frame resolution.Such as: one is taken out from the video frame of video Video frame, red pixel gain number is Video_Frame_X_RGain (x1)=1920 in the video frame, then the video Resolution ratio in horizontal direction is Video_X_Size (x1)=Video_Frame_X_RGain (x1)=1920, the video frame Green pixel number of lines is Video_Frame_Y_GGain (y1)=1080, then the resolution ratio on the video vertical direction is Video_Y_Size (y1)=Video_Frame_Y_GGain (y1)=1080.
Step S22 matches the video frame resolution with preset standard resolution;
Step S23, if being matched to standard resolution identical with the video frame resolution, it is determined that the view to be played Frequency is not high dynamic range video.
The smart television matches the video frame resolution with preset standard resolution, the preset mark Quasi- resolution ratio is the resolution ratio of traditional low-dynamic range video, such as: the preset standard resolution can be VESA The standard resolution of (Video Electronics Standards Association, Video Electronics Standards Association);The intelligence If energy TV is matched to standard resolution identical with the video frame resolution, it is determined that the video to be played is traditional Low-resolution video, the video to be played is not high dynamic range video.
The pixel number of horizontal direction determines the level point of video in the video frame that the present embodiment passes through video to be played Resolution determines the vertical resolution ratio of video, by the pixel number of lines of vertical direction in the video frame of video to be played to pass through The horizontal and vertical resolution ratio of video judges whether the video is high dynamic range video, if not high dynamic range video, then The compensation that bright dark pixel is carried out by the video frame to the video realizes traditional low-dynamic range video to high dynamic range The conversion of video is effectively increased the source of high dynamic range video program in smart television, solves intelligent television system The problem of middle high dynamic range video resource scarcity, improve user experience.
It is the flow diagram of the fourth embodiment of video broadcasting method of the present invention referring to Fig. 5, Fig. 5.Based on above-mentioned video The first embodiment of playback method, before the step S10, further includes:
Step S11 establishes the communication connection with counterpart terminal when detecting the link order of user's triggering;
Step S12 receives the video file that the terminal is sent, and using received video file as view to be played Frequency is saved.
The smart television establishes the communication connection with counterpart terminal, institute when detecting the link order of user's triggering Stating communication connection can be the wireless communication connection established by the wireless communication module in the smart television, alternatively, institute Communication connection is stated to be also possible to be established by the interface module in the smart television and with the wired connection of the terminal Communication channel;The smart television receives the video file that the terminal is sent, and using received video file as Video to be played is saved.
Such as: small beauty shoots one section of video for oneself buying clothes by mobile phone, and the video is with the lattice of low-dynamic range video Formula is stored in mobile phone, and the memory space of occupancy is smaller, and power consumption is relatively low, and small beauty is electric to intelligence by the video push When playing out depending on above, smart television plays out the low-dynamic range Video Quality Metric for high dynamic range video, effectively Improve user experience.
The present embodiment is by establishing the communication connection of mobile terminal and smart television, and the non-high dynamic range that terminal is sent It encloses Video Quality Metric to play out for high dynamic range video, is not only effectively increased high dynamic range video section in smart television Purpose source, and reduce mobile terminal storage high dynamic range video can a large amount of occupied terminals storage resource the problem of.
The executing subject of the video broadcasting method of above-mentioned first to fourth embodiment all can be video playback apparatus or intelligence It can TV.Further, which can be by the client that is mounted on video playback apparatus or smart television Playing program is realized.
The present invention further provides a kind of video play devices.
It is the functional block diagram of the first embodiment of video play device of the present invention referring to Fig. 6, Fig. 6.
In the present embodiment, the video play device include: obtain module 10, judgment module 20, compensating module 30 and Playing module 40.
The acquisition module 10, for obtaining video to be played when detecting the play instruction of user's triggering;
It is corresponding to obtain the play instruction when detecting the play instruction of user's triggering for smart television in the present invention Video to be played.Specifically, what the play instruction can be provided by the control panel or remote controler of the smart television Broadcast button triggers the play instruction when detecting button operation of the user based on the broadcast button;Alternatively, described Play instruction can also provide broadcast interface by the associated mobile terminal of the smart television, detect user based on described When the touch operation of the broadcast interface of mobile terminal, the play instruction is triggered.
The video to be played can be video file or be the intelligence electricity that the smart television is locally stored Depending on the video file that is obtained from cloud by internet or to be also possible to the smart television received from mobile terminal Video file etc..
The judgment module 20, for judging whether the video to be played is high dynamic range video;
The smart television judges whether the video to be played is high dynamic range video.Specifically, the intelligence electricity Whether regard can judge the video to be played as high dynamic range video by the resolution ratio of the video to be played;Alternatively, Whether the smart television can also judge the video to be played by the format information of the video to be played read For high dynamic range video.
The compensating module 30, if not being high dynamic range video for the video to be played, to described to be played The video frame of video carries out the compensation deals of bright pixel and dark pixel, to regard the Video Quality Metric to be played as high dynamic range Frequently;
The playing module 40, for being played out to the high dynamic range video being converted to.
If the smart television judges that the video to be played is not high dynamic range video, to the video to be played Video frame carry out bright pixel and dark pixel compensation deals, using by the Video Quality Metric to be played as high dynamic range video; The smart television plays out the high dynamic range video being converted to.Further, if the smart television is also possible that Judge that the video to be played is high dynamic range video, then directly the video to be played is played out.
Specifically, the smart television can carry out bright pixel and dark pixel to the partial video frame of the video to be played Compensation deals, or can also each video frame to the video to be played carry out at the compensation of bright pixel and dark pixel Reason.The bright pixel and the dark pixel can be judged by the yield value to pixel each in video frame, by gain The pixel that value is in the first preset range is determined as bright pixel point, and the pixel that yield value is in the second preset range is determined For dark pixel point.
The present embodiment carries out the compensation of bright dark pixel by the video frame to low-dynamic range video, realizes traditional low Conversion of the dynamic range video to high dynamic range video is effectively increased high dynamic range video program in smart television Source solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.
It is the functional block diagram of the second embodiment of apparatus of the present invention referring to Fig. 7, Fig. 7.Based on above-mentioned video playing The first embodiment of device, the compensating module 30 include extraction unit 31, compensating unit 32 and synthesis unit 33;
The extraction unit 31, for extracting video to be processed from the video to be played according to preset ratio Frame;
When the smart television judges that the video to be played is not high dynamic range video, the smart television according to Preset ratio extracts video frame to be processed from the video to be played.Specifically, the smart television can will be described The video file of video to be played is stored in the first memory block, and the smart television is out of described first memory block according to red green Blue gain extracts video frame respectively and is stored in the second memory block, and the smart television is extracted out of described second memory block The video frame to be processed of preset ratio.The preset ratio can specifically be set according to practical, such as: it can will be described pre- If ratio setting is 1/3,1/3 video frame is extracted from the video to be played as video frame to be processed;Or it will The preset ratio is set as 3/10, and 3/10 video frame is extracted from the video to be played as video to be processed Frame.
Specifically, the smart television can be from the video frame of the video to be played, according to extracting per unit time The video frame of preset ratio is as video frame to be processed.Such as: the smart television can be the unit time according to 1 second, from 1 Second 60 frames in extract 1/3 totally 20 frames video frame as video frame to be processed, successively extract the video to be played 1/3 Video frame as video frame to be processed.
Further, the smart television can also be according to play time axis sequence, every 10 from the video to be played Frame extracts 3 frames as video frame to be processed, successively extracts the pending video frame of institute.Such as: the smart television Can out of 1 second corresponding 60 frame Frame_Total (x1)=60,60 frames 1/6 at extract 3 frame Frame1_Part1 (x1) 3 frame Frame1_Part1 (x2)=10/60 are extracted at the 2/6 of=10/60,60 frames, until extracting 3 frames at the 6/6 of 60 frames Frame1_Part1 (x6)=10/60 extracts the video frame of 18 frames as video frame Frame1_Part_Total to be processed altogether (x7)=18.
The compensating unit 32, for carrying out the compensation deals of bright pixel and dark pixel to each video frame to be processed;
The smart television carries out the compensation deals of bright pixel and dark pixel to each video frame to be processed.Specifically, The compensating unit 32 is also used to determine that RGB gain is less than the dark pixel of first threshold in each video frame to be processed Point and RGB gain are greater than the bright pixel point of second threshold;The compensating unit 32, is also used in identified pixel Horizontal direction and/or vertical direction increase a pixel, and the middle position of each video frame to be processed reduce pair The pixel of number is answered to guarantee that resolution ratio is constant, the video frame that obtains that treated.
The smart television determines that RGB gain in each video frame to be processed is less than the dark pixel point of first threshold, And RGB gain is greater than the bright pixel point of second threshold;Horizontal direction of the smart television in identified pixel And/or vertical direction increases a pixel, and reduces the picture of corresponding number in the middle position of each video frame to be processed Vegetarian refreshments is to guarantee that resolution ratio is constant, the video frame that obtains that treated.The first threshold can be 1/10th of overall gain, i.e., Using RGB gain be zero to overall gain 1/10th pixel as dark pixel point;The second threshold can increase to be total 8/10ths of benefit, i.e., using 10/80 to ten/10ths pixel that RGB gain is overall gain as bright pixel point.
The smart television can increase separately a pixel in the horizontal direction and vertical direction of identified pixel Point, and the pixel of corresponding number is reduced in the middle position of each video frame to be processed;Alternatively, the smart television can also To increase a pixel in the horizontal direction of identified pixel, and subtract in the middle position of each video frame to be processed The pixel of number is corresponded to less.
Such as: the dark picture gain of the smart television is R_G_BGain (x1)=0x06, and dark picture increases by 1 at first A pixel dot gains are Add_R_G_BGain (x1)=0x05, and the dark picture increases by 1 pixel dot gains everywhere is Add_R_G_ Reduce by 2 pixel DEC_Midd_RGBGain (x)=4/2=2 in the middle position of BGain (x4)=0x02, the video frame.
The synthesis unit 33, it is remaining untreated in treated video frame and the video to be played for obtaining Video frame, and acquired video frame is synthesized into high dynamic range video according to play time axis.
Remaining untreated video frame in video frame that the smart television obtains that treated and the video to be played, And acquired video frame is synthesized into high dynamic range video by play time axis.Such as: the smart television obtains high dynamic 18 frame EnhanPic (x)=18 of state range, 42 frame OtherPic (x) of low-dynamic range=60-18=42, according to time corresponding pass System is sent to broadcast decoder equipment and plays out.
The present embodiment carries out the compensation of bright dark pixel by the video frame to low-dynamic range video, realizes traditional low Conversion of the dynamic range video to high dynamic range video is effectively increased high dynamic range video program in smart television Source solves the problems, such as high dynamic range video resource scarcity in intelligent television system, improves user experience.
It is the functional block diagram of the 3rd embodiment of apparatus of the present invention referring to Fig. 8, Fig. 8.Based on above-mentioned video playing The first embodiment of device, the judgment module 20 include determination unit 21 and matching unit 22;
The determination unit 21, for extracting video frame from the video to be played, and according to the video extracted The horizontal pixel point number of frame and vertical pixel number of lines determine corresponding video frame resolution;
The smart television extracts video frame from the video to be played, and according to the level of the video frame extracted Pixel number and vertical pixel number of lines determine corresponding video frame resolution.Such as: one is taken out from the video frame of video Video frame, red pixel gain number is Video_Frame_X_RGain (x1)=1920 in the video frame, then the video Resolution ratio in horizontal direction is Video_X_Size (x1)=Video_Frame_X_RGain (x1)=1920, the video frame Green pixel number of lines is Video_Frame_Y_GGain (y1)=1080, then the resolution ratio on the video vertical direction is Video_Y_Size (y1)=Video_Frame_Y_GGain (y1)=1080.
The matching unit 22, for matching the video frame resolution with preset standard resolution;
The determination unit 21, if being also used to be matched to standard resolution identical with the video frame resolution, really The fixed video to be played is not high dynamic range video.
The smart television matches the video frame resolution with preset standard resolution, the preset mark Quasi- resolution ratio is the resolution ratio of traditional low-dynamic range video, such as: the preset standard resolution can be VESA The standard resolution of (Video Electronics Standards Association, Video Electronics Standards Association);The intelligence If energy TV is matched to standard resolution identical with the video frame resolution, it is determined that the video to be played is traditional Low-resolution video, the video to be played is not high dynamic range video.
The pixel number of horizontal direction determines the level point of video in the video frame that the present embodiment passes through video to be played Resolution determines the vertical resolution ratio of video, by the pixel number of lines of vertical direction in the video frame of video to be played to pass through The horizontal and vertical resolution ratio of video judges whether the video is high dynamic range video, if not high dynamic range video, then The compensation that bright dark pixel is carried out by the video frame to the video realizes traditional low-dynamic range video to high dynamic range The conversion of video is effectively increased the source of high dynamic range video program in smart television, solves intelligent television system The problem of middle high dynamic range video resource scarcity, improve user experience.
It is the functional block diagram of the fourth embodiment of apparatus of the present invention referring to Fig. 9, Fig. 9.Based on above-mentioned video playing The first embodiment of device, the video play device further include link block 50 and memory module 60;
The link block 50, for establishing the communication with counterpart terminal when detecting the link order of user's triggering Connection;
The memory module 60, the video file sent for receiving the terminal, and by received video file It is saved as video to be played.
The smart television establishes the communication connection with counterpart terminal, institute when detecting the link order of user's triggering Stating communication connection can be the wireless communication connection established by the wireless communication module in the smart television, alternatively, institute Communication connection is stated to be also possible to be established by the interface module in the smart television and with the wired connection of the terminal Communication channel;The smart television receives the video file that the terminal is sent, and using received video file as Video to be played is saved.
Such as: small beauty shoots one section of video for oneself buying clothes by mobile phone, and the video is with the lattice of low-dynamic range video Formula is stored in mobile phone, and the memory space of occupancy is smaller, and power consumption is relatively low, and small beauty is electric to intelligence by the video push When playing out depending on above, smart television plays out the low-dynamic range Video Quality Metric for high dynamic range video, effectively Improve user experience.
The present embodiment is by establishing the communication connection of mobile terminal and smart television, and the non-high dynamic range that terminal is sent It encloses Video Quality Metric to play out for high dynamic range video, is not only effectively increased high dynamic range video section in smart television Purpose source, and reduce mobile terminal storage high dynamic range video can a large amount of occupied terminals storage resource the problem of.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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 device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of video broadcasting method, which is characterized in that the video broadcasting method the following steps are included:
When detecting the play instruction of user's triggering, video to be played is obtained;
Judge whether the video to be played is high dynamic range video;
If it is not, then carry out the compensation deals of bright pixel and dark pixel to the video frame of the video to be played, will it is described to Broadcasting Video Quality Metric is high dynamic range video;
The high dynamic range video being converted to is played out;Wherein, the video frame to the video to be played into The compensation deals of row bright pixel and dark pixel, to include: as the step of high dynamic range video by the Video Quality Metric to be played
Video frame to be processed is extracted from the video to be played according to preset ratio;
The compensation deals of bright pixel and dark pixel are carried out to each video frame to be processed;
Obtain remaining untreated video frame in treated video frame and the video to be played, and by acquired video Frame synthesizes high dynamic range video according to play time axis;Wherein:
Extracting video frame to be processed from the video to be played according to preset ratio includes: by the video to be played Video file is stored in the first memory block, is extracted video frame respectively according to RGB gain out of described first memory block and is protected There are in the second memory block, the video frame to be processed of preset ratio is extracted out of described second memory block.
2. video broadcasting method as described in claim 1, which is characterized in that described to be carried out to each video frame to be processed The step of compensation deals of bright pixel and dark pixel includes:
Determine that RGB gain is big less than the dark pixel point of first threshold and RGB gain in each video frame to be processed In the bright pixel point of second threshold;
Increase a pixel in the horizontal direction and/or vertical direction of identified pixel, and in each view to be processed The pixel of corresponding number is reduced to guarantee that resolution ratio is constant in the middle position of frequency frame, the video frame that obtains that treated.
3. video broadcasting method as described in claim 1, which is characterized in that it is described judge the video to be played whether be The step of high dynamic range video includes:
Video frame is extracted from the video to be played, and according to the horizontal pixel of the video frame extracted point number and vertically Pixel number of lines determines corresponding video frame resolution;
The video frame resolution is matched with preset standard resolution;
If being matched to standard resolution identical with the video frame resolution, it is determined that the video to be played is not high dynamic Range video.
4. video broadcasting method as described in any one of claims 1 to 3, which is characterized in that described to detect user's touching When the play instruction of hair, before the step of obtaining video to be played, further includes:
When detecting the link order of user's triggering, the communication connection with counterpart terminal is established;
The video file that the terminal is sent is received, and is saved received video file as video to be played.
5. a kind of video play device, which is characterized in that the video play device includes:
Module is obtained, for obtaining video to be played when detecting the play instruction of user's triggering;
Judgment module, for judging whether the video to be played is high dynamic range video;
Compensating module, if not being high dynamic range video for the video to be played, to the video of the video to be played Frame carry out bright pixel and dark pixel compensation deals, using by the Video Quality Metric to be played as high dynamic range video;
Playing module, for being played out to the high dynamic range video being converted to;Wherein, the compensating module includes extracting Unit, compensating unit and synthesis unit;
The extraction unit, for extracting video frame to be processed from the video to be played according to preset ratio;Specifically It include: that the video file of the video to be played is stored in the first memory block, according to red green out of described first memory block Blue gain extracts video frame respectively and is stored in the second memory block, extracted out of described second memory block preset ratio to Handle video frame;
The compensating unit, for carrying out the compensation deals of bright pixel and dark pixel to each video frame to be processed;
The synthesis unit, for obtaining remaining untreated video in treated video frame and the video to be played Frame, and acquired video frame is synthesized into high dynamic range video according to play time axis.
6. video play device as claimed in claim 5, which is characterized in that the compensating unit, be also used to determine it is each to RGB gain is less than the dark pixel point of first threshold in the video frame of processing and RGB gain is greater than the bright of second threshold Pixel;
The compensating unit is also used to increase a pixel in the horizontal direction and/or vertical direction of identified pixel, And the pixel for corresponding to number is reduced in the middle position of each video frame to be processed to guarantee that resolution ratio is constant, it is handled Video frame afterwards.
7. video play device as claimed in claim 5, which is characterized in that the judgment module includes determination unit and matching Unit;
The determination unit, for extracting video frame from the video to be played, and according to the water of the video frame extracted Flat pixel number and vertical pixel number of lines determine corresponding video frame resolution;
The matching unit, for matching the video frame resolution with preset standard resolution;
The determination unit, if being also used to be matched to standard resolution identical with the video frame resolution, it is determined that described Video to be played is not high dynamic range video.
8. such as the described in any item video play devices of claim 5 to 7, which is characterized in that the video play device also wraps Include link block and memory module;
The link block, for establishing the communication connection with counterpart terminal when detecting the link order of user's triggering;
The memory module, the video file sent for receiving the terminal, and using received video file as to Video is played to be saved.
CN201511026565.8A 2015-12-30 2015-12-30 Video broadcasting method and device Active CN105657539B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511026565.8A CN105657539B (en) 2015-12-30 2015-12-30 Video broadcasting method and device
PCT/CN2016/084553 WO2017113600A1 (en) 2015-12-30 2016-06-02 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511026565.8A CN105657539B (en) 2015-12-30 2015-12-30 Video broadcasting method and device

Publications (2)

Publication Number Publication Date
CN105657539A CN105657539A (en) 2016-06-08
CN105657539B true CN105657539B (en) 2019-05-31

Family

ID=56490370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511026565.8A Active CN105657539B (en) 2015-12-30 2015-12-30 Video broadcasting method and device

Country Status (2)

Country Link
CN (1) CN105657539B (en)
WO (1) WO2017113600A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6729055B2 (en) * 2016-06-23 2020-07-22 セイコーエプソン株式会社 Video processing device, display device, and video processing method
CN108024032A (en) * 2017-11-24 2018-05-11 深圳Tcl新技术有限公司 Image enhancement processing method, TV, server and computer-readable recording medium
CN112333556B (en) * 2020-07-31 2024-03-12 深圳Tcl新技术有限公司 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN112423059B (en) * 2020-10-09 2023-08-01 深圳Tcl新技术有限公司 Gesture-based video control method, television, and computer-readable storage medium
CN116684668B (en) * 2023-08-03 2023-10-20 湖南马栏山视频先进技术研究院有限公司 Self-adaptive video frame processing method and playing terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841631A (en) * 2009-03-20 2010-09-22 微星科技股份有限公司 Shadow exposure compensation method and image processing device using same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234342A (en) * 2010-04-08 2011-11-17 Canon Inc Image processor and control method thereof
JP6081360B2 (en) * 2010-09-16 2017-02-15 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Apparatus, method and image data storage medium for improved image encoding and / or decoding
CN103002291B (en) * 2012-12-06 2014-12-03 杭州藏愚科技有限公司 Camera wide dynamic image enhancement method and device
CN103618943A (en) * 2013-11-27 2014-03-05 深圳创维-Rgb电子有限公司 Video data display method of display terminal and display terminal
CN106233706B (en) * 2014-02-25 2020-01-03 苹果公司 Apparatus and method for providing backward compatibility of video with both standard and high dynamic range
CN104967865B (en) * 2015-03-24 2019-10-11 腾讯科技(北京)有限公司 Video previewing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841631A (en) * 2009-03-20 2010-09-22 微星科技股份有限公司 Shadow exposure compensation method and image processing device using same

Also Published As

Publication number Publication date
CN105657539A (en) 2016-06-08
WO2017113600A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN105657539B (en) Video broadcasting method and device
US8941757B2 (en) Apparatus and method for adjusting white balance
KR102626115B1 (en) Motion-adaptive stream processing technique for temporal noise reduction
WO2021244440A1 (en) Method, apparatus, and system for adjusting image quality of television, and television set
CN107948733B (en) Video image processing method and device and electronic equipment
CN110463206B (en) Image filtering method, device and computer readable medium
WO2022022019A1 (en) Screen projection data processing method and apparatus
EP3412031B1 (en) Method and apparatus for creating and rendering hdr images
US9196029B2 (en) Threshold setting device for setting threshold used in binarization process, object detection device, threshold setting method, and computer readable storage medium
CN105142009B (en) Audio and video playing control method and device
CN108881920A (en) A kind of method of transmission of video information, terminal and server
KR20150041972A (en) image display apparatus and power save processing method thereof
US10805680B2 (en) Method and device for configuring image mode
CN108495054B (en) Method and device for processing high dynamic range signal and computer storage medium
KR101201620B1 (en) Device and method for enhancing image in wireless terminal
CN108111912A (en) Image transfer method, terminal and storage medium in multi-screen interactive
US20200302646A1 (en) Creating video augmented reality using set-top box
CN102510463A (en) Method and device for processing information for television device and television device
US11094286B2 (en) Image processing apparatus and image processing method
CN109544441B (en) Image processing method and device, and skin color processing method and device in live broadcast
EP3172718B1 (en) Method and apparatus for processing image data
CN107291468A (en) Play method, terminal and the computer-readable recording medium of power on/off cartoon
CN109495762A (en) Data flow processing method, device and storage medium, terminal device
CN107277618A (en) Television terminal and picture tonequality processing method and computer-readable recording medium
US20140152864A1 (en) Apparatus, method, and program for processing image

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