CN105657539A - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN105657539A CN105657539A CN201511026565.8A CN201511026565A CN105657539A CN 105657539 A CN105657539 A CN 105657539A CN 201511026565 A CN201511026565 A CN 201511026565A CN 105657539 A CN105657539 A CN 105657539A
- Authority
- CN
- China
- Prior art keywords
- video
- frame
- played
- pixel
- dynamic range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 239000000284 extract Substances 0.000 claims description 28
- 238000004891 communication Methods 0.000 claims description 18
- 230000015572 biosynthetic process Effects 0.000 claims description 6
- 238000003786 synthesis reaction Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 230000013011 mating Effects 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 abstract description 9
- 230000001960 triggered effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 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/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/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
- H04N21/440263—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 by altering the spatial resolution, e.g. for displaying on a connected PDA
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 video playing method. The video playing method comprises the following steps: when sensing a play instruction triggered by a user, acquiring a video to be played; judging whether the video to be played is a high dynamic range video; if not, then performing a compensation treatment of a bright pixel and a dark pixel on a video frame of the video to be played, so as to convert the video to be played into the high dynamic range video; and playing the high dynamic range video obtained by converting. The invention further discloses a video playing device. The invention realizes the traditional conversion from a low dynamic range video to the high dynamic range video, effectively increases sources of high dynamic range video programs in smart televisions, solves the problem that the high dynamic range video resources are rare in a smart television system, and improves the user experience.
Description
Technical field
The present invention relates to intelligent terminal field, relate in particular to a kind of video broadcasting method and device.
Background technology
Along with the development of intelligent television system, HDR (HDR, High-DynamicRange) is lookedFrequently also become more and more popular. High dynamic range video has the advantage that ordinary video does not have: bright placePlace that can be very bright, dark can be very dark, the details of bright dark portion clearly etc. Intelligent electric at presentMostly be low-dynamic range video depending on program, and high dynamic range video occurs mainly with the form of DVD laser disc,Film source is very limited, can not popularize, and the HDR program that intelligent television can be seen is little. Therefore,For the problem of existing intelligent television system high dynamic range video resource scarcity, problem in this respect urgentlyTreat that inventor solves.
Foregoing only, for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing isPrior art.
Summary of the invention
It is rare that main purpose of the present invention is to solve existing intelligent television system high dynamic range video resourceFew problem.
For achieving the above object, the invention provides a kind of video broadcasting method, described video broadcasting method bagDraw together following steps:
In the time detecting the play instruction of user's triggering, obtain video to be played;
Judge whether described video to be played is high dynamic range video;
If not, the frame of video of described video to be played is carried out the compensation deals of bright pixel and dark pixel,So that described video to be played is converted to high dynamic range video;
The high dynamic range video being converted to is play.
Preferably, described the frame of video of described video to be played is carried out to the compensation of bright pixel and dark pixelProcess, comprise with the step that described video to be played is converted to high dynamic range video:
From described video to be played, extract pending frame of video according to preset ratio;
Each pending frame of video is carried out to the compensation deals of bright pixel and dark pixel;
Obtain untreated frame of video remaining in frame of video after treatment and described video to be played, and willThe frame of video of obtaining synthesizes high dynamic range video according to reproduction time axle.
Preferably, described each pending frame of video is carried out to the compensation deals of bright pixel and dark pixelStep comprise:
Determine that the interior RGB gain of each pending frame of video is less than the dark pixel point of first threshold, andRGB gain is greater than the bright image vegetarian refreshments of Second Threshold;
Horizontal direction and/or vertical direction at determined pixel increase a pixel, and at eachThe pixel that corresponding number is reduced in the centre position of pending frame of video is constant to ensure resolution ratio, obtainsFrame of video after treatment.
Preferably, describedly judge that whether described video to be played is that the step of high dynamic range video comprises:
From described video to be played, extract frame of video, and according to the horizontal pixel of the frame of video extractingPoint number and vertically pixel line number are determined corresponding frame of video resolution ratio;
Described frame of video resolution ratio is mated with default standard resolution;
If match the standard resolution identical with described frame of video resolution ratio, determine described to be played lookingFrequently not high dynamic range video.
Preferably, described in the time detecting the play instruction that user triggers, obtain the step of video to be playedBefore rapid, also comprise:
In the time detecting the link order of user's triggering, set up and be connected with the communication of counterpart terminal;
Receive the video file that described terminal sends, and received video file is looked as to be playedFrequently preserve.
In addition, for achieving the above object, the present invention also provides a kind of video play device, and described video is broadcastPutting device comprises:
Acquisition module, in the time detecting the play instruction of user's triggering, obtains video to be played;
Judge module, for judging whether described video to be played is high dynamic range video;
Compensating module, if be not high dynamic range video for described video to be played, broadcasts described waitingThe frame of video of putting video is carried out the compensation deals of bright pixel and dark pixel, so that described video to be played is changedFor high dynamic range video;
Playing module, for playing the high dynamic range video being converted to.
Preferably, described compensating module comprises extraction unit, compensating unit and synthesis unit;
Described extraction unit, for extracting pending according to preset ratio from described video to be playedFrame of video;
Described compensating unit, for carrying out the compensation of bright pixel and dark pixel to each pending frame of videoProcess;
Described synthesis unit, remaining not for obtaining frame of video after treatment and described video to be playedThe frame of video of processing, and obtained frame of video is synthesized to high dynamic range video according to reproduction time axle.
Preferably, described compensating unit, also for determining RGB gain in each pending frame of videoBe less than the dark pixel point of first threshold, and RGB gain is greater than the bright image vegetarian refreshments of Second Threshold;
Described compensating unit, also increases for the horizontal direction at determined pixel and/or vertical directionA pixel, and the pixel that reduces corresponding number in the centre position of each pending frame of video withGuarantee resolution ratio is constant, obtains frame of video after treatment.
Preferably, described judge module comprises determining unit and matching unit;
Described determining unit, for extracting frame of video from described video to be played, and according to extractingFrame of video horizontal pixel point number and vertically pixel line number determine corresponding frame of video resolution ratio;
Described matching unit, for mating described frame of video resolution ratio with default standard resolution;
Described determining unit, if also for matching the standard resolution identical with described frame of video resolution ratio,Determine that described video to be played is not high dynamic range video.
Preferably, described video play device also comprises link block and memory module;
Described link block, in the time detecting the link order of user's triggering, sets up and counterpart terminalCommunication connect;
Described memory module, the video file sending for receiving described terminal, and by received lookingFrequency file is preserved as video to be played.
The present invention, by the frame of video of low-dynamic range video being carried out to the compensation of bright dark pixel, has realized biographyThe low-dynamic range video of system, to the conversion of high dynamic range video, has effectively increased in intelligent television highThe source of dynamic range video program, has solved high dynamic range video resource scarcity in intelligent television systemProblem, improved user's experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the first embodiment of video broadcasting method of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of video broadcasting method of the present invention;
Fig. 3 carries out the compensation deals of bright pixel and dark pixel to each pending frame of video in the present inventionThe schematic flow sheet of preferred embodiment;
Fig. 4 is the schematic flow sheet of the 3rd embodiment of video broadcasting method of the present invention;
Fig. 5 is the schematic flow sheet of the 4th embodiment of video broadcasting method of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the first embodiment of video play device of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the second embodiment of video play device of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 3rd embodiment of video play device of the present invention;
Fig. 9 is the high-level schematic functional block diagram of the 4th embodiment of video play device of the present invention.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are done further with reference to accompanying drawingExplanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, and be not used in limitDetermine the present invention.
The main solution of the embodiment of the present invention is: in the time detecting the play instruction of user's triggering, obtainGet video to be played; Judge whether described video to be played is high dynamic range video; If not, rightThe frame of video of described video to be played is carried out the compensation deals of bright pixel and dark pixel, with by described to be playedVideo is converted to high dynamic range video; The high dynamic range video being converted to is play
For the problem of existing intelligent television system high dynamic range video resource scarcity.
Based on the problems referred to above, the invention provides a kind of video broadcasting method.
With reference to Fig. 1, the schematic flow sheet of the first embodiment that Fig. 1 is video broadcasting method of the present invention.
In the present embodiment, described video broadcasting method comprises:
Step S10, in the time detecting the play instruction of user's triggering, obtains video to be played;
Intelligent television in the present invention, in the time detecting the play instruction of user's triggering, obtains described broadcasting and refers toThe video to be played that order is corresponding. Concrete, described play instruction can be by the control of described intelligent televisionThe broadcast button that panel or remote controller provide, is detecting the button behaviour of user based on described broadcast buttonWhile work, trigger described play instruction; Or described play instruction also can close by described intelligent televisionThe mobile terminal of connection provides broadcast interface, is detecting the broadcast interface of user based on described mobile terminalWhile touching operation, trigger described play instruction.
Described video to be played can be video file or the institute of the local storage of described intelligent televisionState the video file that intelligent television obtains from high in the clouds by internet or can be also described intelligent televisionVideo file from mobile terminal receiving etc.
Step S20, judges whether described video to be played is high dynamic range video;
Described intelligent television judges whether described video to be played is high dynamic range video. Concrete, instituteState intelligent television and can judge whether described video to be played is high by the resolution ratio of described video to be playedDynamic range video; Or, what described intelligent television also can be by the described video to be played that readsFormat information judges whether described video to be played is high dynamic range video.
Step S30, if not, the frame of video of described video to be played is carried out to bright pixel and dark pixelCompensation deals, to be converted to high dynamic range video by described video to be played;
Step S40, plays the high dynamic range video being converted to.
If it is not high dynamic range video that described intelligent television judges described video to be played, treat describedThe frame of video of displaying video is carried out the compensation deals of bright pixel and dark pixel, so that described video to be played is turnedBe changed to high dynamic range video; Described intelligent television is play the high dynamic range video being converted to.Further, described intelligent television is all right, if judge, described video to be played is high dynamic range video,Directly described video to be played is play.
Concrete, described intelligent television can carry out bright pixel to the partial video frame of described video to be playedWith the compensation deals of dark pixel, or also can all carry out bright to each frame of video of described video to be playedThe compensation deals of pixel and dark pixel. Described bright pixel and described dark pixel can pass through each in frame of videoThe yield value of individual pixel judges, yield value is defined as bright in the pixel of the first preset rangePixel, is defined as dark pixel point by yield value in the pixel of the second preset range.
The present embodiment, by the frame of video of low-dynamic range video being carried out to the compensation of bright dark pixel, has been realizedTraditional low-dynamic range video, to the conversion of high dynamic range video, has effectively increased in intelligent televisionThe source of high dynamic range video program, has solved in intelligent television system high dynamic range video resource rareFew problem, has improved user's experience.
With reference to Fig. 2, the schematic flow sheet of the second embodiment that Fig. 2 is video broadcasting method of the present invention. Based onThe first embodiment of above-mentioned video broadcasting method, described step 30 comprises:
Step S31 extracts pending frame of video according to preset ratio from described video to be played;
In the time that described intelligent television judges that described video to be played is not high dynamic range video, described intelligenceTV extracts pending frame of video according to preset ratio from described video to be played. Concrete, instituteStating intelligent television can be kept at the video file of described video to be played in the first memory block, described intelligenceCan TV be kept at second and deposit from extracting respectively frame of video according to RGB gain in described the first memory blockIn storage district, described intelligent television is from extracting the pending frame of video of preset ratio in described the second memory block.Described preset ratio can specifically be set according to actual, for example: can be by described preset ratio settingBe 1/3, from described video to be played, extract 1/3 frame of video as pending frame of video; OrDescribed preset ratio is set to 3/10, extracts 3/10 frame of video conduct from described video to be playedPending frame of video.
Concrete, described intelligent television can be from the frame of video of described video to be played, according to per unitThe frame of video of decimation in time preset ratio is as pending frame of video. For example: described intelligent television is passableAccording to 1 second be the unit interval, from extract in 60 frames of 1 second 1/3 the frame of video of totally 20 frames as treatingThe frame of video of reason, extracts the frame of video of described video to be played 1/3 successively as pending frame of video.
Further, described intelligent television can also be according to reproduction time axle order, from described to be played lookingFrequently in, every 10 frames extract 3 frames as pending frame of video, extract successively all pending videosFrame. For example: described intelligent television can be from Frame_Total (x1)=60 in 1 second 60 corresponding frame,2/6 place that 1/6 place of 60 frames extracts 3 frame Frame1_Part1 (x1)=10/60,60 frames extracts3 frame Frame1_Part1 (x2)=10/60, until 6/6 place of 60 frames extracts 3 framesFrame1_Part1 (x6)=10/60, extracts the frame of video of 18 frames altogether as pending frame of videoFrame1_Part_Total(x7)=18。
Step S32, carries out the compensation deals of bright pixel and dark pixel to each pending frame of video;
Described intelligent television carries out the compensation deals of bright pixel and dark pixel to each pending frame of video.Concrete, with reference to Fig. 3, Fig. 3 carries out bright pixel and dark picture to each pending frame of video in the present inventionThe schematic flow sheet of the preferred embodiment of the compensation deals of element;
Step S321, determines that the interior RGB gain of each pending frame of video is less than the dark picture of first thresholdVegetarian refreshments, and RGB gain is greater than the bright image vegetarian refreshments of Second Threshold;
Step S322, increases a pixel at horizontal direction and/or the vertical direction of determined pixel,And the pixel that reduces corresponding number in the centre position of each pending frame of video is to ensure resolution ratio notBecome, obtain frame of video after treatment.
Described intelligent television determines that in each pending frame of video, RGB gain is less than the dark of first thresholdPixel, and RGB gain is greater than the bright image vegetarian refreshments of Second Threshold; Described intelligent television determineThe horizontal direction of pixel and/or vertical direction increase a pixel, and at each pending videoThe pixel that corresponding number is reduced in the centre position of frame is constant to ensure resolution ratio, obtains video after treatmentFrame. Described first threshold can be 1/10th of overall gain, is zero to overall gain by RGB gain1/10th pixel as dark pixel point; Described Second Threshold can be 8/10ths of overall gain,Be overall gain by RGB gain 8/10ths to 10/10ths pixel is as bright image vegetarian refreshments.
Described intelligent television can increase respectively one in the horizontal direction of determined pixel and vertical directionIndividual pixel, and reduce the pixel of corresponding number in the centre position of each pending frame of video; OrPerson, described intelligent television also can increase a pixel in the horizontal direction of determined pixel, andReduce the pixel of corresponding number in the centre position of each pending frame of video.
For example: the dark picture gain of described intelligent television is R_G_BGain (x1)=0x06, and secretly draw at the first placeIt is Add_R_G_BGain (x1)=0x05 that face increases by 1 pixel gain, 1 of dark picture increase everywherePixel gain is Add_R_G_BGain (x4)=0x02, and 2 pixels are reduced by the centre position of this frame of videoPoint DEC_Midd_RGBGain (x)=4/2=2.
Step S33, obtains untreated video remaining in frame of video after treatment and described video to be playedFrame, and obtained frame of video is synthesized to high dynamic range video according to reproduction time axle.
Described intelligent television obtains be left in frame of video after treatment and described video to be played untreatedFrame of video, and obtained frame of video is synthesized to high dynamic range video by reproduction time axle. For example:Described intelligent television obtains HDR 18 frame EnhanPic (x)=18, low-dynamic range 42 framesOtherPic (x)=60-18=42, sends to broadcast decoder equipment to play according to corresponding time relationship.
The present embodiment, by the frame of video of low-dynamic range video being carried out to the compensation of bright dark pixel, has been realizedTraditional low-dynamic range video, to the conversion of high dynamic range video, has effectively increased in intelligent televisionThe source of high dynamic range video program, has solved in intelligent television system high dynamic range video resource rareFew problem, has improved user's experience.
With reference to Fig. 4, the schematic flow sheet of the 3rd embodiment that Fig. 4 is video broadcasting method of the present invention. Based onThe first embodiment of above-mentioned video broadcasting method, described step S20 comprises:
Step S21 extracts frame of video from described video to be played, and according to the frame of video extractingHorizontal pixel point number and vertically pixel line number are determined corresponding frame of video resolution ratio;
Described intelligent television extracts frame of video from described video to be played, and according to the video extractingThe horizontal pixel point number of frame and vertically pixel line number are determined corresponding frame of video resolution ratio. For example: fromIn the frame of video of video, take out a frame of video, in this frame of video, red pixel gain number isVideo_Frame_X_RGain (x1)=1920, the resolution ratio in the horizontal direction of this video isVideo_X_Size (x1)=Video_Frame_X_RGain (x1)=1920, this frame of video Green pixel lineNumber is Video_Frame_Y_GGain (y1)=1080, and the resolution ratio on this video vertical direction isVideo_Y_Size(y1)=Video_Frame_Y_GGain(y1)=1080。
Step S22, mates described frame of video resolution ratio with default standard resolution;
Step S23, if match the standard resolution identical with described frame of video resolution ratio, described in determiningVideo to be played is not high dynamic range video.
Described intelligent television mates described frame of video resolution ratio with default standard resolution, described inDefault standard resolution is the resolution ratio of traditional low-dynamic range video, for example: described default markAccurate resolution ratio can be VESA (VideoElectronicsStandardsAssociation, video electricitySubstandard association) standard resolution; If described intelligent television matches and described frame of video resolution ratio phaseWith standard resolution, determine described video to be played be traditional low-resolution video, described in wait to broadcastPutting video is not high dynamic range video.
The present embodiment is determined video by the pixel number of horizontal direction in the frame of video of video to be playedHorizontal resolution, determines video by the pixel line number of vertical direction in the frame of video of video to be playedVertically resolution ratio, judges that taking the level by video and vertical resolution ratio whether this video is as HDRVideo, if not high dynamic range video, by the frame of video of this video being carried out to the benefit of bright dark pixelRepay, realized the conversion of traditional low-dynamic range video to high dynamic range video, effectively increasedThe source of high dynamic range video program in intelligent television, has solved HDR in intelligent television systemThe problem of video resource rareness, has improved user's experience.
With reference to Fig. 5, the schematic flow sheet of the 4th embodiment that Fig. 5 is video broadcasting method of the present invention. Based onThe first embodiment of above-mentioned video broadcasting method, before described step S10, also comprises:
Step S11, in the time detecting the link order of user's triggering, sets up and is connected with the communication of counterpart terminal;
Step S12, receives the video file that described terminal sends, and using received video file asVideo to be played is preserved.
Described intelligent television, in the time detecting the link order of user's triggering, is set up the communication with counterpart terminalConnect, it can be the nothing of setting up by the wireless communication module in described intelligent television that described communication connectsLine communication connection, or it can be also by the interface module in described intelligent television that described communication connectsAnd the communication channel of setting up with the wired connection of described terminal; Described intelligent television receives described terminalThe video file sending, and received video file is preserved as video to be played.
For example: one section of video of oneself buying clothes is taken by mobile phone by little U.S., and this video is with low-dynamic rangeThe form of video is kept in mobile phone, and the memory space taking is less, and power consumption is also relatively low, and littleWhen U.S. plays this video push above intelligent television, intelligent television is by this low-dynamic range videoBe converted to high dynamic range video and play, effectively raise user and experience.
The present embodiment is connected with the communication of intelligent television by setting up mobile terminal, and by terminal send non-High dynamic range video is converted to high dynamic range video and plays, and has not only effectively increased Intelligent electricDepending on the source of middle high dynamic range video program, and reduce mobile terminal stores high dynamic range videoThe problem of the storage resources of a large amount of occupied terminals of meeting.
The executive agent of the video broadcasting method of above-mentioned first to fourth embodiment all can be established for video playbackStandby or intelligent television. Further, this video broadcasting method can by be arranged on video playback apparatus orClient terminal playing program on intelligent television realizes.
The present invention further provides a kind of video play device.
With reference to Fig. 6, the high-level schematic functional block diagram of the first embodiment that Fig. 6 is video play device of the present invention.
In the present embodiment, described video play device comprises: acquisition module 10, judge module 20, benefitRepay module 30 and playing module 40.
Described acquisition module 10, in the time detecting the play instruction of user's triggering, obtains to be played lookingFrequently;
Intelligent television in the present invention, in the time detecting the play instruction of user's triggering, obtains described broadcasting and refers toThe video to be played that order is corresponding. Concrete, described play instruction can be by the control of described intelligent televisionThe broadcast button that panel or remote controller provide, is detecting the button behaviour of user based on described broadcast buttonWhile work, trigger described play instruction; Or described play instruction also can close by described intelligent televisionThe mobile terminal of connection provides broadcast interface, is detecting the broadcast interface of user based on described mobile terminalWhile touching operation, trigger described play instruction.
Described video to be played can be video file or the institute of the local storage of described intelligent televisionState the video file that intelligent television obtains from high in the clouds by internet or can be also described intelligent televisionVideo file from mobile terminal receiving etc.
Described judge module 20, for judging whether described video to be played is high dynamic range video;
Described intelligent television judges whether described video to be played is high dynamic range video. Concrete, instituteState intelligent television and can judge whether described video to be played is high by the resolution ratio of described video to be playedDynamic range video; Or, what described intelligent television also can be by the described video to be played that readsFormat information judges whether described video to be played is high dynamic range video.
Described compensating module 30, if be not high dynamic range video for described video to be played, to instituteState the frame of video of video to be played and carry out the compensation deals of bright pixel and dark pixel, with by described to be played lookingFrequently be converted to high dynamic range video;
Described playing module 40, for playing the high dynamic range video being converted to.
If it is not high dynamic range video that described intelligent television judges described video to be played, treat describedThe frame of video of displaying video is carried out the compensation deals of bright pixel and dark pixel, so that described video to be played is turnedBe changed to high dynamic range video; Described intelligent television is play the high dynamic range video being converted to.Further, described intelligent television is all right, if judge, described video to be played is high dynamic range video,Directly described video to be played is play.
Concrete, described intelligent television can carry out bright pixel to the partial video frame of described video to be playedWith the compensation deals of dark pixel, or also can all carry out bright to each frame of video of described video to be playedThe compensation deals of pixel and dark pixel. Described bright pixel and described dark pixel can pass through each in frame of videoThe yield value of individual pixel judges, yield value is defined as bright in the pixel of the first preset rangePixel, is defined as dark pixel point by yield value in the pixel of the second preset range.
The present embodiment, by the frame of video of low-dynamic range video being carried out to the compensation of bright dark pixel, has been realizedTraditional low-dynamic range video, to the conversion of high dynamic range video, has effectively increased in intelligent televisionThe source of high dynamic range video program, has solved in intelligent television system high dynamic range video resource rareFew problem, has improved user's experience.
With reference to Fig. 7, the high-level schematic functional block diagram of the second embodiment that Fig. 7 is apparatus of the present invention. Based on above-mentionedThe first embodiment of video play device, described compensating module 30 comprises extraction unit 31, compensating unit32 and synthesis unit 33;
Described extraction unit 31, for extracting pending according to preset ratio from described video to be playedFrame of video;
In the time that described intelligent television judges that described video to be played is not high dynamic range video, described intelligenceTV extracts pending frame of video according to preset ratio from described video to be played. Concrete, instituteStating intelligent television can be kept at the video file of described video to be played in the first memory block, described intelligenceCan TV be kept at second and deposit from extracting respectively frame of video according to RGB gain in described the first memory blockIn storage district, described intelligent television is from extracting the pending frame of video of preset ratio in described the second memory block.Described preset ratio can specifically be set according to actual, for example: can be by described preset ratio settingBe 1/3, from described video to be played, extract 1/3 frame of video as pending frame of video; OrDescribed preset ratio is set to 3/10, extracts 3/10 frame of video conduct from described video to be playedPending frame of video.
Concrete, described intelligent television can be from the frame of video of described video to be played, according to per unitThe frame of video of decimation in time preset ratio is as pending frame of video. For example: described intelligent television is passableAccording to 1 second be the unit interval, from extract in 60 frames of 1 second 1/3 the frame of video of totally 20 frames as treatingThe frame of video of reason, extracts the frame of video of described video to be played 1/3 successively as pending frame of video.
Further, described intelligent television can also be according to reproduction time axle order, from described to be played lookingFrequently in, every 10 frames extract 3 frames as pending frame of video, extract successively all pending videosFrame. For example: described intelligent television can be from Frame_Total (x1)=60 in 1 second 60 corresponding frame,2/6 place that 1/6 place of 60 frames extracts 3 frame Frame1_Part1 (x1)=10/60,60 frames extracts3 frame Frame1_Part1 (x2)=10/60, until 6/6 place of 60 frames extracts 3 framesFrame1_Part1 (x6)=10/60, extracts the frame of video of 18 frames altogether as pending frame of videoFrame1_Part_Total(x7)=18。
Described compensating unit 32, for carrying out the benefit of bright pixel and dark pixel to each pending frame of videoRepay processing;
Described intelligent television carries out the compensation deals of bright pixel and dark pixel to each pending frame of video.Concrete, described compensating unit 32, also for determining that in each pending frame of video, RGB gain is littleIn the dark pixel point of first threshold, and RGB gain is greater than the bright image vegetarian refreshments of Second Threshold; Described benefitRepay unit 32, also increase a pixel for the horizontal direction at determined pixel and/or vertical directionPoint, and the pixel that reduces corresponding number in the centre position of each pending frame of video is to ensure resolutionRate is constant, obtains frame of video after treatment.
Described intelligent television determines that in each pending frame of video, RGB gain is less than the dark of first thresholdPixel, and RGB gain is greater than the bright image vegetarian refreshments of Second Threshold; Described intelligent television determineThe horizontal direction of pixel and/or vertical direction increase a pixel, and at each pending videoThe pixel that corresponding number is reduced in the centre position of frame is constant to ensure resolution ratio, obtains video after treatmentFrame. Described first threshold can be 1/10th of overall gain, is zero to overall gain by RGB gain1/10th pixel as dark pixel point; Described Second Threshold can be 8/10ths of overall gain,Be overall gain by RGB gain 8/10ths to 10/10ths pixel is as bright image vegetarian refreshments.
Described intelligent television can increase respectively one in the horizontal direction of determined pixel and vertical directionIndividual pixel, and reduce the pixel of corresponding number in the centre position of each pending frame of video; OrPerson, described intelligent television also can increase a pixel in the horizontal direction of determined pixel, andReduce the pixel of corresponding number in the centre position of each pending frame of video.
For example: the dark picture gain of described intelligent television is R_G_BGain (x1)=0x06, and secretly draw at the first placeIt is Add_R_G_BGain (x1)=0x05 that face increases by 1 pixel gain, 1 of dark picture increase everywherePixel gain is Add_R_G_BGain (x4)=0x02, and 2 pixels are reduced by the centre position of this frame of videoPoint DEC_Midd_RGBGain (x)=4/2=2.
Described synthesis unit 33, remaining for obtaining frame of video after treatment and described video to be playedUntreated frame of video, and obtained frame of video is synthesized to HDR according to reproduction time axle lookFrequently.
Described intelligent television obtains be left in frame of video after treatment and described video to be played untreatedFrame of video, and obtained frame of video is synthesized to high dynamic range video by reproduction time axle. For example:Described intelligent television obtains HDR 18 frame EnhanPic (x)=18, low-dynamic range 42 framesOtherPic (x)=60-18=42, sends to broadcast decoder equipment to play according to corresponding time relationship.
The present embodiment, by the frame of video of low-dynamic range video being carried out to the compensation of bright dark pixel, has been realizedTraditional low-dynamic range video, to the conversion of high dynamic range video, has effectively increased in intelligent televisionThe source of high dynamic range video program, has solved in intelligent television system high dynamic range video resource rareFew problem, has improved user's experience.
With reference to Fig. 8, the high-level schematic functional block diagram of the 3rd embodiment that Fig. 8 is apparatus of the present invention. Based on above-mentionedThe first embodiment of video play device, described judge module 20 comprises determining unit 21 and matching unit22;
Described determining unit 21, for extracting frame of video from described video to be played, and according to extractionThe horizontal pixel point number of the frame of video going out and vertically pixel line number are determined corresponding frame of video resolution ratio;
Described intelligent television extracts frame of video from described video to be played, and according to the video extractingThe horizontal pixel point number of frame and vertically pixel line number are determined corresponding frame of video resolution ratio. For example: fromIn the frame of video of video, take out a frame of video, in this frame of video, red pixel gain number isVideo_Frame_X_RGain (x1)=1920, the resolution ratio in the horizontal direction of this video isVideo_X_Size (x1)=Video_Frame_X_RGain (x1)=1920, this frame of video Green pixel lineNumber is Video_Frame_Y_GGain (y1)=1080, and the resolution ratio on this video vertical direction isVideo_Y_Size(y1)=Video_Frame_Y_GGain(y1)=1080。
Described matching unit 22, for carrying out described frame of video resolution ratio and default standard resolutionJoin;
Described determining unit 21, if also differentiate for matching the standard identical with described frame of video resolution ratioRate, determines that described video to be played is not high dynamic range video.
Described intelligent television mates described frame of video resolution ratio with default standard resolution, described inDefault standard resolution is the resolution ratio of traditional low-dynamic range video, for example: described default markAccurate resolution ratio can be VESA (VideoElectronicsStandardsAssociation, video electricitySubstandard association) standard resolution; If described intelligent television matches and described frame of video resolution ratio phaseWith standard resolution, determine described video to be played be traditional low-resolution video, described in wait to broadcastPutting video is not high dynamic range video.
The present embodiment is determined video by the pixel number of horizontal direction in the frame of video of video to be playedHorizontal resolution, determines video by the pixel line number of vertical direction in the frame of video of video to be playedVertically resolution ratio, judges that taking the level by video and vertical resolution ratio whether this video is as HDRVideo, if not high dynamic range video, by the frame of video of this video being carried out to the benefit of bright dark pixelRepay, realized the conversion of traditional low-dynamic range video to high dynamic range video, effectively increasedThe source of high dynamic range video program in intelligent television, has solved HDR in intelligent television systemThe problem of video resource rareness, has improved user's experience.
With reference to Fig. 9, the high-level schematic functional block diagram of the 4th embodiment that Fig. 9 is apparatus of the present invention. Based on above-mentionedThe first embodiment of video play device, described video play device also comprises link block 50 and storage mouldPiece 60;
Described link block 50, in the time detecting the link order of user's triggering, sets up with corresponding wholeThe communication of end connects;
Described memory module 60, the video file sending for receiving described terminal, and by receivedVideo file is preserved as video to be played.
Described intelligent television, in the time detecting the link order of user's triggering, is set up the communication with counterpart terminalConnect, it can be the nothing of setting up by the wireless communication module in described intelligent television that described communication connectsLine communication connection, or it can be also by the interface module in described intelligent television that described communication connectsAnd the communication channel of setting up with the wired connection of described terminal; Described intelligent television receives described terminalThe video file sending, and received video file is preserved as video to be played.
For example: one section of video of oneself buying clothes is taken by mobile phone by little U.S., and this video is with low-dynamic rangeThe form of video is kept in mobile phone, and the memory space taking is less, and power consumption is also relatively low, and littleWhen U.S. plays this video push above intelligent television, intelligent television is by this low-dynamic range videoBe converted to high dynamic range video and play, effectively raise user and experience.
The present embodiment is connected with the communication of intelligent television by setting up mobile terminal, and by terminal send non-High dynamic range video is converted to high dynamic range video and plays, and has not only effectively increased Intelligent electricDepending on the source of middle high dynamic range video program, and reduce mobile terminal stores high dynamic range videoThe problem of the storage resources of a large amount of occupied terminals of meeting.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variantBe intended to contain comprising of nonexcludability, thus make to comprise a series of key elements process, method, article orPerson's device not only comprises those key elements, but also comprises other key elements of clearly not listing, or alsoBe included as the intrinsic key element of this process, method, article or device. There is no the feelings of more restrictionsUnder condition, by statement " comprising ... " limit key element, and be not precluded within comprise this key element process,In method, article or device, also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to above-mentionedThe mode that embodiment method can add essential general hardware platform by software realizes, and can certainly lead toCross hardware, but in a lot of situation, the former is better embodiment. Based on such understanding, of the present inventionThe part that technical scheme contributes to prior art in essence in other words can be with the form body of software productReveal to come, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD)In, comprise some instructions in order to make a station terminal equipment (can be mobile phone, computer, server,Air-conditioner, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, everyUtilize equivalent structure or the conversion of equivalent flow process that description of the present invention and accompanying drawing content do, or directly orConnect and be used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a video broadcasting method, is characterized in that, described video broadcasting method comprises the following steps:
In the time detecting the play instruction of user's triggering, obtain video to be played;
Judge whether described video to be played is high dynamic range video;
If not, the frame of video of described video to be played is carried out the compensation deals of bright pixel and dark pixel,So that described video to be played is converted to high dynamic range video;
The high dynamic range video being converted to is play.
2. video broadcasting method as claimed in claim 1, is characterized in that, described broadcasts described waitingThe frame of video of putting video is carried out the compensation deals of bright pixel and dark pixel, so that described video to be played is changedFor the step of high dynamic range video comprises:
From described video to be played, extract pending frame of video according to preset ratio;
Each pending frame of video is carried out to the compensation deals of bright pixel and dark pixel;
Obtain untreated frame of video remaining in frame of video after treatment and described video to be played, and willThe frame of video of obtaining synthesizes high dynamic range video according to reproduction time axle.
3. video broadcasting method as claimed in claim 2, is characterized in that, described waits to locate to eachThe step that the frame of video of reason is carried out the compensation deals of bright pixel and dark pixel comprises:
Determine that the interior RGB gain of each pending frame of video is less than the dark pixel point of first threshold, andRGB gain is greater than the bright image vegetarian refreshments of Second Threshold;
Horizontal direction and/or vertical direction at determined pixel increase a pixel, and at eachThe pixel that corresponding number is reduced in the centre position of pending frame of video is constant to ensure resolution ratio, obtainsFrame of video after treatment.
4. video broadcasting method as claimed in claim 1, is characterized in that, treats described in described judgementWhether displaying video is that the step of high dynamic range video comprises:
From described video to be played, extract frame of video, and according to the horizontal pixel of the frame of video extractingPoint number and vertically pixel line number are determined corresponding frame of video resolution ratio;
Described frame of video resolution ratio is mated with default standard resolution;
If match the standard resolution identical with described frame of video resolution ratio, determine described to be played lookingFrequently not high dynamic range video.
5. the video broadcasting method as described in claim 1 to 4 any one, is characterized in that, describedIn the time detecting the play instruction of user's triggering, before obtaining the step of video to be played, also comprise:
In the time detecting the link order of user's triggering, set up and be connected with the communication of counterpart terminal;
Receive the video file that described terminal sends, and received video file is looked as to be playedFrequently preserve.
6. a video play device, is characterized in that, described video play device comprises:
Acquisition module, in the time detecting the play instruction of user's triggering, obtains video to be played;
Judge module, for judging whether described video to be played is high dynamic range video;
Compensating module, if be not high dynamic range video for described video to be played, broadcasts described waitingThe frame of video of putting video is carried out the compensation deals of bright pixel and dark pixel, so that described video to be played is changedFor high dynamic range video;
Playing module, for playing the high dynamic range video being converted to.
7. video play device as claimed in claim 6, is characterized in that, described compensating module comprisesExtraction unit, compensating unit and synthesis unit;
Described extraction unit, for extracting pending according to preset ratio from described video to be playedFrame of video;
Described compensating unit, for carrying out the compensation of bright pixel and dark pixel to each pending frame of videoProcess;
Described synthesis unit, remaining not for obtaining frame of video after treatment and described video to be playedThe frame of video of processing, and obtained frame of video is synthesized to high dynamic range video according to reproduction time axle.
8. video play device as claimed in claim 7, is characterized in that, described compensating unit, alsoFor determining that the interior RGB gain of each pending frame of video is less than the dark pixel point of first threshold, andRGB gain is greater than the bright image vegetarian refreshments of Second Threshold;
Described compensating unit, also increases for the horizontal direction at determined pixel and/or vertical directionA pixel, and the pixel that reduces corresponding number in the centre position of each pending frame of video withGuarantee resolution ratio is constant, obtains frame of video after treatment.
9. video play device as claimed in claim 6, is characterized in that, described judge module comprisesDetermining unit and matching unit;
Described determining unit, for extracting frame of video from described video to be played, and according to extractingFrame of video horizontal pixel point number and vertically pixel line number determine corresponding frame of video resolution ratio;
Described matching unit, for mating described frame of video resolution ratio with default standard resolution;
Described determining unit, if also for matching the standard resolution identical with described frame of video resolution ratio,Determine that described video to be played is not high dynamic range video.
10. the video play device as described in claim 6 to 9 any one, is characterized in that, described inVideo play device also comprises link block and memory module;
Described link block, in the time detecting the link order of user's triggering, sets up and counterpart terminalCommunication connect;
Described memory module, the video file sending for receiving described terminal, and by received lookingFrequency file is preserved as video to be played.
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 true CN105657539A (en) | 2016-06-08 |
CN105657539B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547883A (en) * | 2016-06-23 | 2018-01-05 | 精工爱普生株式会社 | Image processor, display device and image treatment method |
CN108024032A (en) * | 2017-11-24 | 2018-05-11 | 深圳Tcl新技术有限公司 | Image enhancement processing method, TV, server and computer-readable recording medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 (4)
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 |
US20110249135A1 (en) * | 2010-04-08 | 2011-10-13 | Canon Kabushiki Kaisha | Image processing apparatus and method of controlling same |
US20130170540A1 (en) * | 2010-09-16 | 2013-07-04 | Koninklijke Philips Electronics N.V. | Apparatuses and methods for improved encoding of images |
CN104967865A (en) * | 2015-03-24 | 2015-10-07 | 腾讯科技(北京)有限公司 | Video previewing method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
WO2015130796A1 (en) * | 2014-02-25 | 2015-09-03 | Apple Inc. | Adaptive video processing |
-
2015
- 2015-12-30 CN CN201511026565.8A patent/CN105657539B/en active Active
-
2016
- 2016-06-02 WO PCT/CN2016/084553 patent/WO2017113600A1/en active Application Filing
Patent Citations (4)
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 |
US20110249135A1 (en) * | 2010-04-08 | 2011-10-13 | Canon Kabushiki Kaisha | Image processing apparatus and method of controlling same |
US20130170540A1 (en) * | 2010-09-16 | 2013-07-04 | Koninklijke Philips Electronics N.V. | Apparatuses and methods for improved encoding of images |
CN104967865A (en) * | 2015-03-24 | 2015-10-07 | 腾讯科技(北京)有限公司 | Video previewing method and apparatus |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547883A (en) * | 2016-06-23 | 2018-01-05 | 精工爱普生株式会社 | Image processor, display device and image treatment method |
CN107547883B (en) * | 2016-06-23 | 2021-06-08 | 精工爱普生株式会社 | Image processing device, display device, and image processing method |
CN108024032A (en) * | 2017-11-24 | 2018-05-11 | 深圳Tcl新技术有限公司 | Image enhancement processing method, TV, server and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017113600A1 (en) | 2017-07-06 |
CN105657539B (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105657539A (en) | Video playing method and device | |
US10402681B2 (en) | Image processing apparatus and image processing method | |
US10965904B2 (en) | Display method and display device, television and storage medium | |
EP3157242B1 (en) | Display system, display method, and display device | |
CN104754396B (en) | The display methods and device of barrage data | |
KR101859064B1 (en) | Video synchronous playback method, apparatus, and system | |
KR101055481B1 (en) | Slave display device, set-top box, and system of controlling digital content | |
CN104219459A (en) | Video language translation method and system and intelligent display device | |
US11151747B2 (en) | Creating video augmented reality using set-top box | |
KR102448497B1 (en) | Display apparatus, method for controlling the same and set top box | |
CN105282601A (en) | One screen sharing method, apparatus and system | |
CN102595221A (en) | Multi-screen interaction system and corresponding multimedia intelligent terminals | |
CN113766341A (en) | Television image quality adjusting method, device and system and television equipment | |
CN103037256A (en) | Method for sharing screen between mobile terminal and TV receiving terminal and TV receiving terminal | |
US10805680B2 (en) | Method and device for configuring image mode | |
CN106878793A (en) | A kind of TV barrage method, system and service end and television | |
CN103607587A (en) | Debugging method and system for video terminal | |
CN105933748A (en) | Implementation method and equipment for displaying barrages on live television program | |
CN106412617B (en) | Remote debugging control method and device | |
EP3316546A1 (en) | Multimedia information live method and system, collecting device and standardization server | |
CN102510463A (en) | Method and device for processing information for television device and television device | |
CN103179029A (en) | Wireless home multimedia gateway | |
CN212211183U (en) | Display device for separately transmitting menu signal and video signal and television | |
KR20120083947A (en) | Slave display device, set-top box, and system of controlling digital content | |
CN105100931B (en) | The treating method and apparatus of interactive signal |
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 |