WO2017140066A1 - Method and device for video playback - Google Patents

Method and device for video playback Download PDF

Info

Publication number
WO2017140066A1
WO2017140066A1 PCT/CN2016/084608 CN2016084608W WO2017140066A1 WO 2017140066 A1 WO2017140066 A1 WO 2017140066A1 CN 2016084608 W CN2016084608 W CN 2016084608W WO 2017140066 A1 WO2017140066 A1 WO 2017140066A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
picture
played
frame
current
Prior art date
Application number
PCT/CN2016/084608
Other languages
French (fr)
Chinese (zh)
Inventor
黄孙明
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017140066A1 publication Critical patent/WO2017140066A1/en

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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing 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

Definitions

  • the present invention relates to the field of television technologies, and in particular, to a video playing method and apparatus.
  • High dynamic range image (High-Dynamic Range, HDR for short, provides more dynamic range and image detail than normal images, depending on the exposure time of LDR (Low-Dynamic) Range) image, using the LDR image corresponding to the best detail for each exposure time to synthesize the final HDR image, which can better reflect the visual effect in the real environment.
  • LDR Low-Dynamic Range
  • the main purpose of the present invention is to provide a video playing method and device, which aims to solve the problem that the screen flicks when the video is switched and played in different formats, and the parameter values of the screen cannot be automatically adjusted in real time, and the user needs to manually The problem of adjusting the parameter values of the screen.
  • the present invention provides a video playing method, and the video playing method includes the following steps:
  • the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video, where
  • the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television to enable the user to display the current video. Adjust the effect;
  • the present invention provides a video playing method, and the video playing method includes the following steps:
  • the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video;
  • the present invention further provides a video playback device, the video playback device comprising:
  • a detecting module configured to detect a to-be-played video in the buffer area, and obtain an identifier of the to-be-played video
  • a first confirmation module configured to confirm, according to the identifier, whether the video format to be played is switched to a high dynamic range image format
  • a first acquiring module configured to acquire a first preset parameter in real time when the video format to be played is switched to a high dynamic range image, where the first preset parameter is a parameter of a screen corresponding to a high dynamic range image format video value;
  • the playing module is configured to adjust a parameter value of the video screen to be played according to the first preset parameter, and play the to-be-played video.
  • the video playing method and device of the present invention when detecting that the video format to be played changes, is in a parameter value adjustment column of the menu display screen, and plays the to-be-played video or automatically adapted according to the updated parameter. After the video format is switched, the parameter value of the screen is played, and the video to be played is played, and the step of the user to manually adjust the parameter value of the menu adjustment screen after the video format to be played is switched off is more convenient and intelligent.
  • FIG. 1 is a schematic flowchart of a first embodiment of a video playing method according to the present invention
  • FIG. 2 is a schematic flowchart of updating parameters in a first embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a video playing method according to the present invention.
  • FIG. 4 is a schematic diagram showing the refinement process of determining the state of the screen in FIG. 3;
  • FIG. 5 is a schematic diagram showing a refinement process of determining a state of a picture according to pixel brightness in FIG. 4;
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a video playback device according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules for updating parameters in a first embodiment of the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a second embodiment of a video playback device according to the present invention.
  • FIG. 9 is a schematic diagram of a refinement function module of the second confirmation module in FIG. 8;
  • FIG. 10 is a schematic diagram of a refinement function module of the confirmation unit in FIG. 9.
  • FIG. 10 is a schematic diagram of a refinement function module of the confirmation unit in FIG. 9.
  • FIG. 1 is a schematic flowchart of a first embodiment of a video playing method according to the present disclosure.
  • the video playing method includes the following steps:
  • Step S10 detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
  • the program video content of the signal is buffered to the buffer area.
  • the identifier of the video to be played can be detected. If the identifier is 1, the video to be played is high. Dynamic range image (High-Dynamic Range, referred to as HDR).
  • the identifier of the video to be played may be obtained periodically, for example, the identifier of the to-be-played video is obtained every 10 seconds, and whether the video to be played is detected in the HDR format.
  • Step S20 confirm whether the video format to be played is switched to a high dynamic range image format
  • the format of the video to be played is HDR format
  • step S30 when the video format to be played is switched to the high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video;
  • the parameter values corresponding to the preset screen of the HDR format video are acquired in real time, and the parameter values of the screen include brightness, contrast, backlight, and hue.
  • Step S40 adjusting parameter values of the video screen to be played according to the first preset parameter, and playing the video to be played.
  • the parameter value of the screen displayed by the television is adjusted according to the first preset parameter.
  • the user may adjust the parameter value of the screen, and the preset parameter is updated to the parameter value of the screen set by the user.
  • the video playing method further includes the steps of:
  • Step S50 detecting a parameter value of the current screen
  • the parameter values of the current picture are acquired, including brightness, contrast, backlight, and hue.
  • Step S60 When detecting that the parameter value of the current screen changes, acquiring a parameter value of the current screen;
  • the obtained parameter value of the current picture is compared with the previous parameter value of the picture.
  • the parameter value of the current picture is obtained, and the parameter value of the current picture is updated and saved. Is the first preset parameter.
  • Step S70 determining whether the parameter value of the current screen is consistent with the value of the first preset parameter
  • Step S80 When the parameter value of the current screen does not match the value of the first preset parameter, update the value of the first preset parameter to the parameter value of the current screen.
  • the first preset parameter may be dynamically updated according to the user's adjustment.
  • the first preset parameter is automatically acquired, the parameter value of the TV screen is adjusted, and the HDR is played more intelligently. Format video program.
  • the video playing method of the present embodiment automatically adapts the parameter value of the screen after the video format is switched, and plays the video to be played after the video format to be played is changed, eliminating the need to play the video format after switching.
  • the procedure of manually adjusting the parameter values of the menu adjustment screen is more convenient and intelligent.
  • the video playing method further includes the following steps:
  • Step S90 when the video format to be played is switched to a high dynamic range image, determining whether the current picture is a bright frame picture or a dark frame picture;
  • the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television, so that the user can conveniently view the current video. Display the effect to adjust.
  • step S90 includes:
  • Step S91 acquiring pixel brightness of the first frame picture and the last frame picture in the unit time of the video to be played;
  • the pixel brightness of the first frame picture and the last frame picture of the video to be played in a unit time is obtained, for example, the unit time is 10 seconds, and the corresponding one second is 60 frames, for a total of 600 pictures.
  • Step S92 determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture.
  • step S92 includes:
  • Step S92a counting the number of pixels in the first row of the first frame is greater than the first preset threshold
  • the number of pixels in the first row of the first frame of the first frame is greater than the first preset threshold, and the first preset threshold is three-quarters of the maximum brightness.
  • Step S92b counting the number of pixels in the first row of the last frame is greater than the first preset threshold
  • the number of pixels in which the pixel brightness of the first line of the last frame of the last frame is greater than the first preset threshold is obtained, for example, the first preset threshold is three quarters of the maximum brightness.
  • Step S92c when the number of pixels in the first row of the first frame is greater than the first preset threshold and the number of pixels in the first row of the last frame is greater than the first preset threshold, the number is greater than the second preset threshold.
  • the current picture is a bright frame picture
  • the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold.
  • Step S92d counting the number of pixels in the first row of the first frame is less than the third preset threshold
  • the number of pixels in the first row of the first frame of the first frame is less than the third preset threshold, and the third preset threshold is a quarter of the maximum brightness.
  • the maximum brightness value is 255, such as the first line of the first frame
  • Step S92e counting the number of pixels in the first row of the last frame is less than the third preset threshold
  • step S92 when the number of pixels in the first row of the first frame is less than the third preset threshold and the number of pixels in the first row of the last frame is less than the third preset threshold, the number is greater than the second preset threshold.
  • the current picture is a dark frame picture.
  • the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold.
  • Step S100 when the current picture is a bright frame picture, displaying a backlight and a brightness adjustment column in the TV menu;
  • step S110 when the current picture is a dark frame picture, the tone and contrast adjustment fields are displayed in the TV menu.
  • the video playing method of the present embodiment obtains the pixel brightness of a plurality of frame pictures in the unit time of the video to be played, confirms the processing state of the screen, and determines the adjustment column of the parameter value of the screen displayed in the menu bar according to the processing state of the screen, so that The user can more easily adjust the parameter values of the screen.
  • FIG. 6 is a schematic diagram of a function module of a video playback device according to a first embodiment of the present invention.
  • the video playback device includes:
  • the detecting module 10 is configured to detect a to-be-played video in the buffer area, and obtain an identifier of the to-be-played video;
  • the program video content of the signal is buffered to the buffer area.
  • the identifier of the video to be played can be detected. If the identifier is 1, the video to be played is high. Dynamic range image (High-Dynamic Range, referred to as HDR).
  • the identifier of the video to be played may be obtained periodically, for example, the identifier of the to-be-played video is obtained every 10 seconds, and whether the video to be played is detected in the HDR format.
  • a first confirmation module 20 configured to confirm, according to the identifier, whether the video format to be played is switched to a high dynamic range image format
  • the format of the video to be played is HDR format
  • the first obtaining module 30 is configured to acquire a first preset parameter in real time when the video format to be played is switched to a high dynamic range image, where the first preset parameter is a parameter value of a screen corresponding to the high dynamic range image format video;
  • the parameter values corresponding to the preset screen of the HDR format video are acquired in real time, and the parameter values of the screen include brightness, contrast, backlight, and hue.
  • the playing module 40 is configured to adjust a parameter value of the video screen to be played according to the first preset parameter, and play the video to be played.
  • the parameter value of the screen displayed by the television is adjusted according to the first preset parameter.
  • the user may adjust the parameter value of the screen, and the preset parameter is updated to the parameter value of the screen set by the user.
  • the video playback apparatus further includes:
  • the detecting module 50 is configured to detect a parameter value of the current screen
  • the parameter values of the picture of the current picture are acquired, including brightness, contrast, backlight, and hue.
  • the second obtaining module 60 is configured to acquire a parameter value of the current screen when detecting that the parameter value of the current screen changes;
  • the obtained parameter value of the picture of the current picture is compared with the parameter value of the previous picture, and when the parameter value of the picture changes, the parameter value of the current picture is obtained, and the picture of the current picture is The parameter value update is saved as the first preset parameter.
  • the determining module 70 is configured to determine whether the parameter value of the current screen is consistent with the value of the first preset parameter
  • the updating module 80 is configured to update the value of the first preset parameter to the parameter value of the current screen when the parameter value of the current screen does not match the value of the first preset parameter.
  • the first preset parameter may be dynamically updated according to the user's adjustment.
  • the first preset parameter is automatically acquired, the parameter value of the TV screen is adjusted, and the HDR is played more intelligently. Format video program.
  • the video playback device of the embodiment When detecting that the video format to be played changes, the video playback device of the embodiment automatically adapts the parameter value of the screen after the video format is switched, plays the video to be played, and saves the user after the video format to be played is switched.
  • the procedure of manually adjusting the parameter values of the menu adjustment screen is more convenient and intelligent.
  • the video playback device further includes:
  • the second confirmation module 90 is configured to determine, when the video format to be played is switched to a high dynamic range image, whether the current picture is a bright frame picture or a dark frame picture;
  • the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television, so that the user can conveniently view the current video. Display the effect to adjust.
  • the second confirmation module 90 includes:
  • the obtaining unit 91 is configured to acquire pixel brightness of the first frame picture and the last frame picture in the unit time of the video to be played;
  • the determining unit 92 is configured to determine, according to the pixel brightness of the first frame picture and the last frame picture, whether the current picture is a bright frame picture or a dark frame picture.
  • the determining unit 92 includes:
  • the first statistic sub-unit 92a is configured to count the number of pixels in the first row of the first frame that is greater than the first preset threshold, and to count the number of pixels in the first row of the last frame that is greater than the first preset threshold;
  • the number of pixels in the first row of the first frame of the first frame is greater than the first preset threshold, and the first preset threshold is three-quarters of the maximum brightness.
  • the maximum brightness value is 255, such as the first line of the first frame
  • the first determining sub-unit 92b is configured to: when the pixel brightness of the first row of the first frame is greater than the first preset threshold, and the pixel brightness of the first row of the last frame is greater than the first preset threshold, the number is greater than the first When the threshold is preset, the current picture is a bright frame picture;
  • the number of pixels in which the pixel brightness of the first line of the last frame of the last frame is greater than the first preset threshold is obtained, for example, the first preset threshold is three quarters of the maximum brightness.
  • the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold.
  • the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a bright frame picture.
  • the total number is 600 (the total number of pixels is 1024, 600 is greater than half).
  • the second statistic sub-unit 92c is configured to count the number of pixels in the first row of the first frame that is less than the third preset threshold, and the number of pixels in the first row of the last frame that is less than the third preset threshold;
  • the number of pixels in the first row of the first frame of the first frame is less than the third preset threshold, and the third preset threshold is a quarter of the maximum brightness.
  • the maximum brightness value is 255, such as the first line of the first frame
  • the second determining sub-unit 92d is configured to: when the pixel brightness of the first row of the first frame is less than the third preset threshold, and the pixel brightness of the first row of the last frame is less than the third preset threshold, the number is greater than the first When the threshold is preset, the current picture is a dark frame picture.
  • the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold.
  • the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a dark frame picture.
  • the total number is 600 (the total number of pixels is 1024, 600 is more than half).
  • the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold.
  • the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a dark frame picture.
  • the total number is 600 (the total number of pixels is 1024, 600 is more than half).
  • the display module 100 is configured to display a hue and contrast adjustment bar in the TV menu when the current picture is a bright frame picture, when the TV menu displays the backlight and the brightness adjustment bar, and when the current picture is a dark frame picture.
  • the video playing method of the present embodiment obtains the pixel brightness of a plurality of frame pictures in the unit time of the video to be played, confirms the processing state of the screen, and determines the adjustment column of the parameter value of the screen displayed in the menu bar according to the processing state of the screen, so that The user can more easily adjust the parameter values of the screen.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Television Receiver Circuits (AREA)

Abstract

A method for video playback. The method for video playback comprises the steps of: detecting a video to be played back in a buffer area, acquiring an identifier of the video to be played back; determining, on the basis of the identifier, whether the format of the video to be played back is switched to a high dynamic range image format; when the format of the video to be played back is switched to high dynamic range image, acquiring in real-time a first preset parameter, where the first preset parameter is a parameter of an image corresponding to a high dynamic range image format video; adjusting, on the basis of the first preset parameter, a parameter value of an image of the video to be played back and playing back the video to be played back. A device for video playback. Upon detecting that the format of the video to be played back is switched to the high dynamic range image, the parameter value of the image is adjusted on the basis of the first preset parameter, and then the video to be played back is played back, thus obviating the step in which a user manually calls a menu to adjust the parameter value of the image when the format of the video to be played back is switched, and providing increased degree of convenience and smartness.

Description

视频播放方法和装置  Video playing method and device
技术领域Technical field
本发明涉及电视机技术领域,尤其涉及一种视频播放方法和装置。The present invention relates to the field of television technologies, and in particular, to a video playing method and apparatus.
背景技术Background technique
高动态范围图像(High-Dynamic Range,简称HDR),相比普通的图像,可以提供更多的动态范围和图像细节,根据不同的曝光时间的LDR(Low-Dynamic Range)图像,利用每个曝光时间相对应最佳细节的LDR图像来合成最终HDR图像,能够更好的反映出真实环境中的视觉效果。High dynamic range image (High-Dynamic Range, HDR for short, provides more dynamic range and image detail than normal images, depending on the exposure time of LDR (Low-Dynamic) Range) image, using the LDR image corresponding to the best detail for each exposure time to synthesize the final HDR image, which can better reflect the visual effect in the real environment.
随着HDR技术的发展,智能电视可以提供更加清晰真实的图像,而非HDR格式的视频与HDR格式的视频,在相同的画面参数设定下会呈现出不同的显示效果,现有的智能电视在播放非HDR格式的视频和/或HDR格式的视频时,采用相同的画面的参数值,无法根据视频的格式动态的进行调整,在每次进行不同格式的视频切换播放时,会造成画面的闪动,画面的参数值无法实时自动调整,都需要用户手动调出菜单调节画面的参数值,不够智能。With the development of HDR technology, smart TV can provide clearer and more realistic images, instead of HDR format video and HDR format video, under the same screen parameter settings will display different display effects, the existing smart TV When playing video in non-HDR format and/or HDR format, the parameter values of the same screen can not be dynamically adjusted according to the format of the video, and the screen will be generated each time the video of different formats is switched. Flashing, the parameter values of the screen cannot be automatically adjusted in real time, and the user needs to manually call up the parameter values of the menu adjustment screen, which is not smart enough.
发明内容Summary of the invention
本发明的主要目的在于提供一种视频播放方法和装置,旨在解决在每次进行不同格式的视频切换播放时,会造成画面的闪动,画面的参数值无法实时自动调整,都需要用户手动调节画面的参数值的问题。The main purpose of the present invention is to provide a video playing method and device, which aims to solve the problem that the screen flicks when the video is switched and played in different formats, and the parameter values of the screen cannot be automatically adjusted in real time, and the user needs to manually The problem of adjusting the parameter values of the screen.
为实现上述目的,本发明提供一种视频播放方法,所述视频播放方法包括步骤:To achieve the above objective, the present invention provides a video playing method, and the video playing method includes the following steps:
侦测缓存区的待播放视频,获取所述待播放视频的标识符;Detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;Determining, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
检测当前画面的参数值;Detecting the parameter value of the current picture;
在检测到当前画面的参数值发生变化时,获取当前画面的参数值;Obtaining a parameter value of the current screen when detecting that the parameter value of the current screen changes;
判断当前画面的参数值与所述第一预设参数的数值是否一致;Determining whether the parameter value of the current screen is consistent with the value of the first preset parameter;
在当前画面的参数值与所述第一预设参数的数值不一致时,将所述第一预设参数的数值更新为当前画面的参数值;When the parameter value of the current screen does not match the value of the first preset parameter, updating the value of the first preset parameter to a parameter value of the current screen;
在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值,其中,在所述待播放的视频格式切换为高动态范围图像时,根据电视播放的视频处于不同的画面处理状态,在所述电视的显示页面显示相应的画面的参数值调整栏,以使用户对当前视频的显示效果进行调节;When the video format to be played is switched to a high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video, where When the video format to be played is switched to a high dynamic range image, the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television to enable the user to display the current video. Adjust the effect;
根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。Adjusting a parameter value of the video screen to be played according to the first preset parameter, and playing the to-be-played video.
为实现上述目的,本发明提供一种视频播放方法,所述视频播放方法包括步骤:To achieve the above objective, the present invention provides a video playing method, and the video playing method includes the following steps:
侦测缓存区的待播放视频,获取所述待播放视频的标识符;Detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;Determining, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值;When the video format to be played is switched to a high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video;
根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。Adjusting a parameter value of the video screen to be played according to the first preset parameter, and playing the to-be-played video.
本发明进一步提供一种视频播放装置,所述视频播放装置包括:The present invention further provides a video playback device, the video playback device comprising:
侦测模块,用于侦测缓存区的待播放视频,获取所述待播放视频的标识符;a detecting module, configured to detect a to-be-played video in the buffer area, and obtain an identifier of the to-be-played video;
第一确认模块,用于根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;a first confirmation module, configured to confirm, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
第一获取模块,用于在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值;a first acquiring module, configured to acquire a first preset parameter in real time when the video format to be played is switched to a high dynamic range image, where the first preset parameter is a parameter of a screen corresponding to a high dynamic range image format video value;
播放模块,用于根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。The playing module is configured to adjust a parameter value of the video screen to be played according to the first preset parameter, and play the to-be-played video.
本发明提出的视频播放方法和装置,在检测到待播放的视频格式发生变化时,在菜单显示画面的参数值调节栏,并根据所述更新后的参数播放所述待播放视频或自动适配视频格式切换后的画面的参数值,播放所述待播放视频,省去了待播放视频格式切换后,用户手动调出菜单调节画面的参数值的步骤,更加方便智能。The video playing method and device of the present invention, when detecting that the video format to be played changes, is in a parameter value adjustment column of the menu display screen, and plays the to-be-played video or automatically adapted according to the updated parameter. After the video format is switched, the parameter value of the screen is played, and the video to be played is played, and the step of the user to manually adjust the parameter value of the menu adjustment screen after the video format to be played is switched off is more convenient and intelligent.
附图说明DRAWINGS
图1为本发明视频播放方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a video playing method according to the present invention;
图2为本发明第一实施例中更新参数的流程示意图;2 is a schematic flowchart of updating parameters in a first embodiment of the present invention;
图3为本发明视频播放方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a video playing method according to the present invention;
图4为图3中确定画面状态的细化流程示意图;4 is a schematic diagram showing the refinement process of determining the state of the screen in FIG. 3;
图5为图4中根据像素亮度确定画面状态的细化流程示意图;FIG. 5 is a schematic diagram showing a refinement process of determining a state of a picture according to pixel brightness in FIG. 4; FIG.
图6为本发明视频播放装置第一实施例的功能模块示意图;6 is a schematic diagram of functional modules of a first embodiment of a video playback device according to the present invention;
图7为本发明第一实施例中更新参数的功能模块示意图;FIG. 7 is a schematic diagram of functional modules for updating parameters in a first embodiment of the present invention; FIG.
图8为本发明视频播放装置第二实施例的功能模块示意图;8 is a schematic diagram of functional modules of a second embodiment of a video playback device according to the present invention;
图9为图8中第二确认模块的细化功能模块示意图;9 is a schematic diagram of a refinement function module of the second confirmation module in FIG. 8;
图10为图9中确认单元的细化功能模块示意图。FIG. 10 is a schematic diagram of a refinement function module of the confirmation unit in FIG. 9. FIG.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种视频播放方法,参照图1,图1为本发明视频播放方法的第一实施例的流程示意图,视频播放方法包括步骤:The present invention provides a video playing method. Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a first embodiment of a video playing method according to the present disclosure. The video playing method includes the following steps:
步骤S10,侦测缓存区的待播放视频,获取待播放视频的标识符;Step S10: detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
在本实施例中,在电视***检测到信号内容时,将信号的节目视频内容缓存到缓存区,此时,可以侦测待播放视频的标识符,如标识为1时,待播放视频为高动态范围图像(High-Dynamic Range,简称HDR)。在本实施例中,可以定时获取待播放视频的标识,如每10秒获取一次待播放视频的标识符,侦测待播放的视频是否为HDR格式。In this embodiment, when the television system detects the signal content, the program video content of the signal is buffered to the buffer area. At this time, the identifier of the video to be played can be detected. If the identifier is 1, the video to be played is high. Dynamic range image (High-Dynamic Range, referred to as HDR). In this embodiment, the identifier of the video to be played may be obtained periodically, for example, the identifier of the to-be-played video is obtained every 10 seconds, and whether the video to be played is detected in the HDR format.
步骤S20,根据标识符,确认待播放的视频格式是否切换为高动态范围图像格式;Step S20, according to the identifier, confirm whether the video format to be played is switched to a high dynamic range image format;
在本实施例中,在标识符,如Video_Formate(x1)=1时,待播放视频的格式为HDR格式,在标识符,如Video_Formate(x2)=2时,待播放视频的格式为非HDR格式。In this embodiment, when the identifier, such as Video_Formate(x1)=1, the format of the video to be played is HDR format, and when the identifier, such as Video_Formate(x2)=2, the format of the video to be played is non-HDR format. .
步骤S30,在待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,第一预设参数为高动态范围图像格式视频对应的画面的参数值;In step S30, when the video format to be played is switched to the high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video;
在本实施例中,在待播放的视频格式为由非HDR格式切换为HDR格式时,实时获取HDR格式视频对应预设的画面的参数值,画面的参数值包括亮度、对比度、背光和色调。In this embodiment, when the video format to be played is switched from the non-HDR format to the HDR format, the parameter values corresponding to the preset screen of the HDR format video are acquired in real time, and the parameter values of the screen include brightness, contrast, backlight, and hue.
步骤S40,根据第一预设参数调整待播放视频画面的参数值,并播放待播放视频。Step S40, adjusting parameter values of the video screen to be played according to the first preset parameter, and playing the video to be played.
在本实施例中,在获取到第一预设参数时,根据第一预设参数调整电视显示的画面的参数值。In this embodiment, when the first preset parameter is acquired, the parameter value of the screen displayed by the television is adjusted according to the first preset parameter.
进一步地,在待播放的视频切换为HDR格式时,用户可能调整画面的参数值,此时预设参数将更新为用户设置的画面的参数值。Further, when the video to be played is switched to the HDR format, the user may adjust the parameter value of the screen, and the preset parameter is updated to the parameter value of the screen set by the user.
参照图2,步骤S30之前,视频播放方法还包括步骤:Referring to FIG. 2, before step S30, the video playing method further includes the steps of:
步骤S50,检测当前画面的参数值;Step S50, detecting a parameter value of the current screen;
在本实施例中,获取当前画面的参数值,包括亮度、对比度、背光和色调。In this embodiment, the parameter values of the current picture are acquired, including brightness, contrast, backlight, and hue.
步骤S60,在检测到当前画面的参数值发生变化时,获取当前画面的参数值;Step S60: When detecting that the parameter value of the current screen changes, acquiring a parameter value of the current screen;
在本实施例中,将获取到的当前画面的参数值与之前的画面得参数值进行对比,在画面的参数值出现变化时,获取当前的画面的参数值,将当前画面的参数值更新保存为第一预设参数。In this embodiment, the obtained parameter value of the current picture is compared with the previous parameter value of the picture. When the parameter value of the picture changes, the parameter value of the current picture is obtained, and the parameter value of the current picture is updated and saved. Is the first preset parameter.
步骤S70,判断当前画面的参数值与第一预设参数的数值是否一致;Step S70, determining whether the parameter value of the current screen is consistent with the value of the first preset parameter;
步骤S80,在当前画面的参数值与第一预设参数的数值不一致时,将第一预设参数的数值更新为当前画面的参数值。Step S80: When the parameter value of the current screen does not match the value of the first preset parameter, update the value of the first preset parameter to the parameter value of the current screen.
在本实施例中,第一预设参数可以根据用户的调整动态的更新,在用户播放HDR格式的视频时,自动获取第一预设参数,调整电视的画面的参数值,更加智能的播放HDR格式的视频节目。In this embodiment, the first preset parameter may be dynamically updated according to the user's adjustment. When the user plays the HDR format video, the first preset parameter is automatically acquired, the parameter value of the TV screen is adjusted, and the HDR is played more intelligently. Format video program.
本实施例提出的视频播放方法,在检测到待播放的视频格式发生变化时,自动适配视频格式切换后的画面的参数值,播放待播放视频,省去了待播放视频格式切换后,用户手动调出菜单调节画面的参数值的步骤,更加方便智能。The video playing method of the present embodiment automatically adapts the parameter value of the screen after the video format is switched, and plays the video to be played after the video format to be played is changed, eliminating the need to play the video format after switching. The procedure of manually adjusting the parameter values of the menu adjustment screen is more convenient and intelligent.
进一步地,基于本发明视频播放方法的第一实施例,提出本发明视频播放方法的第二实施例,参照图3,步骤S50之前,视频播放方法还包括步骤:Further, based on the first embodiment of the video playing method of the present invention, a second embodiment of the video playing method of the present invention is provided. Referring to FIG. 3, before the step S50, the video playing method further includes the following steps:
步骤S90,在待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面;Step S90, when the video format to be played is switched to a high dynamic range image, determining whether the current picture is a bright frame picture or a dark frame picture;
在本实施例中,在待播放的视频格式为HDR格式时,根据电视播放的视频处于不同的画面处理状态,在电视的显示页面显示相应的画面的参数值调整栏,方便用户对当前视频的显示效果进行调节。In this embodiment, when the video format to be played is the HDR format, the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television, so that the user can conveniently view the current video. Display the effect to adjust.
参照图4,步骤S90包括:Referring to FIG. 4, step S90 includes:
步骤S91,获取待播放视频单位时间内第一帧画面和最后一帧画面的像素亮度;Step S91, acquiring pixel brightness of the first frame picture and the last frame picture in the unit time of the video to be played;
在本实施例中,获取单位时间内待播放视频的第一帧画面和最后一帧画面的像素亮度,如单位时间为10秒,对应一秒为60帧画面,共计600个画面。In this embodiment, the pixel brightness of the first frame picture and the last frame picture of the video to be played in a unit time is obtained, for example, the unit time is 10 seconds, and the corresponding one second is 60 frames, for a total of 600 pictures.
步骤S92,根据第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面。Step S92, determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture.
参照图5,步骤S92包括:Referring to FIG. 5, step S92 includes:
步骤S92a,统计第一帧画面第一行像素亮度大于第一预设阈值的个数;Step S92a, counting the number of pixels in the first row of the first frame is greater than the first preset threshold;
在本实施例中,统计获取到的第一帧画面第一行的像素亮度大于第一预设阈值的像素个数,如第一预设阈值为最大亮度的四分之三。In this embodiment, the number of pixels in the first row of the first frame of the first frame is greater than the first preset threshold, and the first preset threshold is three-quarters of the maximum brightness.
假设最大亮度值为255,如第一帧画面的第一行第1个像素亮度值大于最大亮度值的四分之三:Frame_line(x1)=200;如第一帧画面的第一行第600个像素亮度大于最大亮度四分之三的值:Frame_line(x600)=200。Assume that the maximum brightness value is 255, such as the first line of the first frame, the first pixel brightness value is greater than three-quarters of the maximum brightness value: Frame_line(x1)=200; as the first line of the first frame is 600th. The pixel brightness is greater than three-quarters of the maximum brightness: Frame_line(x600)=200.
步骤S92b,统计最后一帧画面第一行像素亮度大于第一预设阈值的个数;Step S92b, counting the number of pixels in the first row of the last frame is greater than the first preset threshold;
在本实施例中,统计获取到的最后一帧画面第一行的像素亮度大于第一预设阈值的像素个数,如第一预设阈值为最大亮度的四分之三。In this embodiment, the number of pixels in which the pixel brightness of the first line of the last frame of the last frame is greater than the first preset threshold is obtained, for example, the first preset threshold is three quarters of the maximum brightness.
步骤S92c,在第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值时,当前画面为亮帧画面;Step S92c, when the number of pixels in the first row of the first frame is greater than the first preset threshold and the number of pixels in the first row of the last frame is greater than the first preset threshold, the number is greater than the second preset threshold. The current picture is a bright frame picture;
在本实施例中,在第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值如第一行像素总个数的二分之一时,确认当前画面为亮帧画面。如统计第一个像素点到第六百个像素点的像素亮度大于3/4*255(最大像素亮度)=191的总计个数为600时(总计像素个数为1024,600大于一半),In this embodiment, the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold. When the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a bright frame picture. For example, if the pixel brightness from the first pixel to the sixth hundred pixels is greater than 3/4*255 (maximum pixel brightness)=191, the total number is 600 (the total number of pixels is 1024, 600 is greater than half).
First_Frame(x)=1,当前画面判定为亮帧画面。First_Frame(x)=1, the current picture is determined to be a bright frame picture.
步骤S92d,统计第一帧画面第一行像素亮度小于第三预设阈值的个数;Step S92d, counting the number of pixels in the first row of the first frame is less than the third preset threshold;
在本实施例中,统计获取到的第一帧画面第一行的像素亮度小于第三预设阈值的像素个数,如第三预设阈值为最大亮度的四分之一。In this embodiment, the number of pixels in the first row of the first frame of the first frame is less than the third preset threshold, and the third preset threshold is a quarter of the maximum brightness.
假设最大亮度值为255,如第一帧画面的第一行第1个像素亮度值小于最大亮度值的四分之一:Frame_line(x1)=63;如第一帧画面的第一行第600个像素亮度大于最大亮度四分之一的值:Frame_line(x600)=63。Assume that the maximum brightness value is 255, such as the first line of the first frame, the first pixel brightness value is less than a quarter of the maximum brightness value: Frame_line(x1)=63; as the first line of the first frame is 600th The pixel brightness is greater than a quarter of the maximum brightness: Frame_line(x600)=63.
步骤S92e,统计最后一帧画面第一行像素亮度小于第三预设阈值的个数;Step S92e, counting the number of pixels in the first row of the last frame is less than the third preset threshold;
步骤S92f,在第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值时,当前画面为暗帧画面。In step S92, when the number of pixels in the first row of the first frame is less than the third preset threshold and the number of pixels in the first row of the last frame is less than the third preset threshold, the number is greater than the second preset threshold. The current picture is a dark frame picture.
在本实施例中,在第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值如第一行像素总个数的二分之一时,确认当前画面为暗帧画面。如统计第一个像素点到第六百个像素点的像素亮度小于1/4*255(最大像素亮度)=63的总计个数为600时(总计像素个数为1024,600大于一半),In this embodiment, the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold. When the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a dark frame picture. For example, if the pixel brightness of the first pixel to the sixth hundred pixels is less than 1/4*255 (maximum pixel brightness)=63, the total number is 600 (the total number of pixels is 1024, 600 is more than half).
First_Frame(x)=1,当前画面判定为暗帧画面。First_Frame(x)=1, the current picture is determined to be a dark frame picture.
步骤S100在当前画面是亮帧画面时,在电视菜单显示背光和亮度调节栏;Step S100, when the current picture is a bright frame picture, displaying a backlight and a brightness adjustment column in the TV menu;
步骤S110在当前画面是暗帧画面时,在电视菜单显示色调和对比度调节栏。In step S110, when the current picture is a dark frame picture, the tone and contrast adjustment fields are displayed in the TV menu.
本实施例提出的视频播放方法,获取待播放视频单位时间内若干帧画面的像素亮度,确认画面的处理状态,根据画面的处理状态,确定在菜单栏显示的画面的参数值的调节栏,使用户可以更加方便的进行画面的参数值的调整。The video playing method of the present embodiment obtains the pixel brightness of a plurality of frame pictures in the unit time of the video to be played, confirms the processing state of the screen, and determines the adjustment column of the parameter value of the screen displayed in the menu bar according to the processing state of the screen, so that The user can more easily adjust the parameter values of the screen.
本发明进一步提供一种视频播放装置,参照图6,图6为本发明视频播放装置第一实施例的功能模块示意图,视频播放装置包括:The present invention further provides a video playback device. Referring to FIG. 6, FIG. 6 is a schematic diagram of a function module of a video playback device according to a first embodiment of the present invention. The video playback device includes:
侦测模块10,用于侦测缓存区的待播放视频,获取待播放视频的标识符;The detecting module 10 is configured to detect a to-be-played video in the buffer area, and obtain an identifier of the to-be-played video;
在本实施例中,在电视***检测到信号内容时,将信号的节目视频内容缓存到缓存区,此时,可以侦测待播放视频的标识符,如标识为1时,待播放视频为高动态范围图像(High-Dynamic Range,简称HDR)。在本实施例中,可以定时获取待播放视频的标识,如每10秒获取一次待播放视频的标识符,侦测待播放的视频是否为HDR格式。In this embodiment, when the television system detects the signal content, the program video content of the signal is buffered to the buffer area. At this time, the identifier of the video to be played can be detected. If the identifier is 1, the video to be played is high. Dynamic range image (High-Dynamic Range, referred to as HDR). In this embodiment, the identifier of the video to be played may be obtained periodically, for example, the identifier of the to-be-played video is obtained every 10 seconds, and whether the video to be played is detected in the HDR format.
第一确认模块20,用于根据标识符,确认待播放的视频格式是否切换为高动态范围图像格式;a first confirmation module 20, configured to confirm, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
在本实施例中,在标识符,如Video_Formate(x1)=1时,待播放视频的格式为HDR格式,在标识符,如Video_Formate(x2)=2时,待播放视频的格式为非HDR格式。In this embodiment, when the identifier, such as Video_Formate(x1)=1, the format of the video to be played is HDR format, and when the identifier, such as Video_Formate(x2)=2, the format of the video to be played is non-HDR format. .
第一获取模块30,用于在待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,第一预设参数为高动态范围图像格式视频对应的画面的参数值;The first obtaining module 30 is configured to acquire a first preset parameter in real time when the video format to be played is switched to a high dynamic range image, where the first preset parameter is a parameter value of a screen corresponding to the high dynamic range image format video;
在本实施例中,在待播放的视频格式为由非HDR格式切换为HDR格式时,实时获取HDR格式视频对应预设的画面的参数值,画面的参数值包括亮度、对比度、背光和色调。In this embodiment, when the video format to be played is switched from the non-HDR format to the HDR format, the parameter values corresponding to the preset screen of the HDR format video are acquired in real time, and the parameter values of the screen include brightness, contrast, backlight, and hue.
播放模块40,用于根据第一预设参数调整待播放视频画面的参数值,并播放待播放视频。The playing module 40 is configured to adjust a parameter value of the video screen to be played according to the first preset parameter, and play the video to be played.
在本实施例中,在获取到第一预设参数时,根据第一预设参数调整电视显示的画面的参数值。In this embodiment, when the first preset parameter is acquired, the parameter value of the screen displayed by the television is adjusted according to the first preset parameter.
进一步地,在待播放的视频切换为HDR格式时,用户可能调整画面的参数值,此时预设参数将更新为用户设置的画面的参数值。Further, when the video to be played is switched to the HDR format, the user may adjust the parameter value of the screen, and the preset parameter is updated to the parameter value of the screen set by the user.
参照图7,视频播放装置还包括:Referring to FIG. 7, the video playback apparatus further includes:
检测模块50,用于检测当前画面的参数值;The detecting module 50 is configured to detect a parameter value of the current screen;
在本实施例中,获取当前画面的画面的参数值,包括亮度、对比度、背光和色调。In this embodiment, the parameter values of the picture of the current picture are acquired, including brightness, contrast, backlight, and hue.
第二获取模块60,用于在检测到当前画面的参数值发生变化时,获取当前画面的参数值;The second obtaining module 60 is configured to acquire a parameter value of the current screen when detecting that the parameter value of the current screen changes;
在本实施例中,将获取到的当前画面的画面的参数值与之前的画面的参数值进行对比,在画面的参数值出现变化时,获取当前的画面的参数值,将当前画面的画面的参数值更新保存为第一预设参数。In this embodiment, the obtained parameter value of the picture of the current picture is compared with the parameter value of the previous picture, and when the parameter value of the picture changes, the parameter value of the current picture is obtained, and the picture of the current picture is The parameter value update is saved as the first preset parameter.
判断模块70,用于判断当前画面的参数值与第一预设参数的数值是否一致;The determining module 70 is configured to determine whether the parameter value of the current screen is consistent with the value of the first preset parameter;
更新模块80,用于在当前画面的参数值与第一预设参数的数值不一致时,将第一预设参数的数值更新为当前画面的参数值。The updating module 80 is configured to update the value of the first preset parameter to the parameter value of the current screen when the parameter value of the current screen does not match the value of the first preset parameter.
在本实施例中,第一预设参数可以根据用户的调整动态的更新,在用户播放HDR格式的视频时,自动获取第一预设参数,调整电视的画面的参数值,更加智能的播放HDR格式的视频节目。In this embodiment, the first preset parameter may be dynamically updated according to the user's adjustment. When the user plays the HDR format video, the first preset parameter is automatically acquired, the parameter value of the TV screen is adjusted, and the HDR is played more intelligently. Format video program.
本实施例提出的视频播放装置,在检测到待播放的视频格式发生变化时,自动适配视频格式切换后的画面的参数值,播放待播放视频,省去了待播放视频格式切换后,用户手动调出菜单调节画面的参数值的步骤,更加方便智能。When detecting that the video format to be played changes, the video playback device of the embodiment automatically adapts the parameter value of the screen after the video format is switched, plays the video to be played, and saves the user after the video format to be played is switched. The procedure of manually adjusting the parameter values of the menu adjustment screen is more convenient and intelligent.
进一步地,基于本发明视频播放装置的第一实施例,提出本发明视频播放装置的第二实施例,参照图8,视频播放装置还包括:Further, based on the first embodiment of the video playback device of the present invention, a second embodiment of the video playback device of the present invention is provided. Referring to FIG. 8, the video playback device further includes:
第二确认模块90,用于在待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面;The second confirmation module 90 is configured to determine, when the video format to be played is switched to a high dynamic range image, whether the current picture is a bright frame picture or a dark frame picture;
在本实施例中,在待播放的视频格式为HDR格式时,根据电视播放的视频处于不同的画面处理状态,在电视的显示页面显示相应的画面的参数值调整栏,方便用户对当前视频的显示效果进行调节。In this embodiment, when the video format to be played is the HDR format, the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television, so that the user can conveniently view the current video. Display the effect to adjust.
参照图9,第二确认模块90包括:Referring to FIG. 9, the second confirmation module 90 includes:
获取单元91,用于获取待播放视频单位时间内第一帧画面和最后一帧画面的像素亮度;The obtaining unit 91 is configured to acquire pixel brightness of the first frame picture and the last frame picture in the unit time of the video to be played;
确定单元92,用于根据第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面。The determining unit 92 is configured to determine, according to the pixel brightness of the first frame picture and the last frame picture, whether the current picture is a bright frame picture or a dark frame picture.
参照图10,确定单元92包括:Referring to FIG. 10, the determining unit 92 includes:
第一统计子单元92a,统计第一帧画面第一行像素亮度大于第一预设阈值的个数以及统计最后一帧画面第一行像素亮度大于第一预设阈值的个数;The first statistic sub-unit 92a is configured to count the number of pixels in the first row of the first frame that is greater than the first preset threshold, and to count the number of pixels in the first row of the last frame that is greater than the first preset threshold;
在本实施例中,统计获取到的第一帧画面第一行的像素亮度大于第一预设阈值的像素个数,如第一预设阈值为最大亮度的四分之三。假设最大亮度值为255,如第一帧画面的第一行第1个像素亮度值大于最大亮度值的四分之三:Frame_line(x1)=200;如第一帧画面的第一行第600个像素亮度大于最大亮度四分之三的值:Frame_line(x600)=200。In this embodiment, the number of pixels in the first row of the first frame of the first frame is greater than the first preset threshold, and the first preset threshold is three-quarters of the maximum brightness. Assume that the maximum brightness value is 255, such as the first line of the first frame, the first pixel brightness value is greater than three-quarters of the maximum brightness value: Frame_line(x1)=200; as the first line of the first frame is 600th. The pixel brightness is greater than three-quarters of the maximum brightness: Frame_line(x600)=200.
第一确定子单元92b,用于在第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值时,当前画面为亮帧画面;The first determining sub-unit 92b is configured to: when the pixel brightness of the first row of the first frame is greater than the first preset threshold, and the pixel brightness of the first row of the last frame is greater than the first preset threshold, the number is greater than the first When the threshold is preset, the current picture is a bright frame picture;
在本实施例中,统计获取到的最后一帧画面第一行的像素亮度大于第一预设阈值的像素个数,如第一预设阈值为最大亮度的四分之三。In this embodiment, the number of pixels in which the pixel brightness of the first line of the last frame of the last frame is greater than the first preset threshold is obtained, for example, the first preset threshold is three quarters of the maximum brightness.
在本实施例中,在第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值如第一行像素总个数的二分之一时,确认当前画面为亮帧画面。In this embodiment, the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold. When the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a bright frame picture.
如统计第一个像素点到第六百个像素点的像素亮度大于3/4*255(最大像素亮度)=191的总计个数为600时(总计像素个数为1024,600大于一半),For example, if the pixel brightness from the first pixel to the sixth hundred pixels is greater than 3/4*255 (maximum pixel brightness)=191, the total number is 600 (the total number of pixels is 1024, 600 is greater than half).
First_Frame(x)=1,当前画面判定为亮帧画面。First_Frame(x)=1, the current picture is determined to be a bright frame picture.
第二统计子单元92c,用于统计第一帧画面第一行像素亮度小于第三预设阈值的个数以及统计最后一帧画面第一行像素亮度小于第三预设阈值的个数;The second statistic sub-unit 92c is configured to count the number of pixels in the first row of the first frame that is less than the third preset threshold, and the number of pixels in the first row of the last frame that is less than the third preset threshold;
在本实施例中,统计获取到的第一帧画面第一行的像素亮度小于第三预设阈值的像素个数,如第三预设阈值为最大亮度的四分之一。假设最大亮度值为255,如第一帧画面的第一行第1个像素亮度值小于最大亮度值的四分之一:Frame_line(x1)=63;如第一帧画面的第一行第600个像素亮度大于最大亮度四分之一的值:Frame_line(x600)=63。In this embodiment, the number of pixels in the first row of the first frame of the first frame is less than the third preset threshold, and the third preset threshold is a quarter of the maximum brightness. Assume that the maximum brightness value is 255, such as the first line of the first frame, the first pixel brightness value is less than a quarter of the maximum brightness value: Frame_line(x1)=63; as the first line of the first frame is 600th The pixel brightness is greater than a quarter of the maximum brightness: Frame_line(x600)=63.
第二确定子单元92d,用于在第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值时,当前画面为暗帧画面。The second determining sub-unit 92d is configured to: when the pixel brightness of the first row of the first frame is less than the third preset threshold, and the pixel brightness of the first row of the last frame is less than the third preset threshold, the number is greater than the first When the threshold is preset, the current picture is a dark frame picture.
在本实施例中,在第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值如第一行像素总个数的二分之一时,确认当前画面为暗帧画面。In this embodiment, the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold. When the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a dark frame picture.
如统计第一个像素点到第六百个像素点的像素亮度小于1/4*255(最大像素亮度)=63的总计个数为600时(总计像素个数为1024,600大于一半),For example, if the pixel brightness of the first pixel to the sixth hundred pixels is less than 1/4*255 (maximum pixel brightness)=63, the total number is 600 (the total number of pixels is 1024, 600 is more than half).
First_Frame(x)=1,当前画面判定为暗帧画面。First_Frame(x)=1, the current picture is determined to be a dark frame picture.
在本实施例中,在第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值如第一行像素总个数的二分之一时,确认当前画面为暗帧画面。In this embodiment, the number of pixels in the first row of the first frame is less than the third preset threshold, and the number of pixels in the first row of the last frame is less than the third preset threshold. When the threshold is one-half of the total number of pixels in the first line, it is confirmed that the current picture is a dark frame picture.
如统计第一个像素点到第六百个像素点的像素亮度小于1/4*255(最大像素亮度)=63的总计个数为600时(总计像素个数为1024,600大于一半),For example, if the pixel brightness of the first pixel to the sixth hundred pixels is less than 1/4*255 (maximum pixel brightness)=63, the total number is 600 (the total number of pixels is 1024, 600 is more than half).
First_Frame(x)=1,当前画面判定为暗帧画面。First_Frame(x)=1, the current picture is determined to be a dark frame picture.
显示模块100,用于在当前画面是亮帧画面时,在电视菜单显示背光和亮度调节栏以及在当前画面是暗帧画面时,在电视菜单显示色调和对比度调节栏。The display module 100 is configured to display a hue and contrast adjustment bar in the TV menu when the current picture is a bright frame picture, when the TV menu displays the backlight and the brightness adjustment bar, and when the current picture is a dark frame picture.
本实施例提出的视频播放方法,获取待播放视频单位时间内若干帧画面的像素亮度,确认画面的处理状态,根据画面的处理状态,确定在菜单栏显示的画面的参数值的调节栏,使用户可以更加方便的进行画面的参数值的调整。The video playing method of the present embodiment obtains the pixel brightness of a plurality of frame pictures in the unit time of the video to be played, confirms the processing state of the screen, and determines the adjustment column of the parameter value of the screen displayed in the menu bar according to the processing state of the screen, so that The user can more easily adjust the parameter values of the screen.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种视频播放方法,其特征在于,所述视频播放方法包括步骤:A video playing method, characterized in that the video playing method comprises the steps of:
    侦测缓存区的待播放视频,获取所述待播放视频的标识符;Detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
    根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;Determining, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
    检测当前画面的参数值;Detecting the parameter value of the current picture;
    在检测到当前画面的参数值发生变化时,获取当前画面的参数值;Obtaining a parameter value of the current screen when detecting that the parameter value of the current screen changes;
    判断当前画面的参数值与所述第一预设参数的数值是否一致;Determining whether the parameter value of the current screen is consistent with the value of the first preset parameter;
    在当前画面的参数值与所述第一预设参数的数值不一致时,将所述第一预设参数的数值更新为当前画面的参数值;When the parameter value of the current screen does not match the value of the first preset parameter, updating the value of the first preset parameter to a parameter value of the current screen;
    在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值,其中,在所述待播放的视频格式切换为高动态范围图像时,根据电视播放的视频处于不同的画面处理状态,在所述电视的显示页面显示相应的画面的参数值调整栏,以使用户对当前视频的显示效果进行调节;When the video format to be played is switched to a high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video, where When the video format to be played is switched to a high dynamic range image, the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television to enable the user to display the current video. Adjust the effect;
    根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。Adjusting a parameter value of the video screen to be played according to the first preset parameter, and playing the to-be-played video.
  2. 如权利要求1所述的视频播放方法,其特征在于,在所述待播放的视频格式切换为高动态范围图像时,根据电视播放的视频处于不同的画面处理状态,在所述电视的显示页面显示相应的画面的参数值调整栏,以使用户对当前视频的显示效果进行调节的步骤包括: The video playing method according to claim 1, wherein when the video format to be played is switched to a high dynamic range image, the video played according to the television is in a different screen processing state, on the display page of the television. The parameter value adjustment column of the corresponding screen is displayed, so that the user adjusts the display effect of the current video, including:
    在所述待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面;When the video format to be played is switched to a high dynamic range image, determining whether the current picture is a bright frame picture or a dark frame picture;
    在当前画面是亮帧画面时,在电视菜单显示背光和亮度调节栏;When the current picture is a bright frame picture, the backlight and brightness adjustment fields are displayed in the TV menu;
    在当前画面是暗帧画面时,在电视菜单显示色调和对比度调节栏。When the current picture is a dark frame picture, the tone and contrast adjustment fields are displayed in the TV menu.
  3. 如权利要求2所述的视频播放方法,其特征在于,所述在所述待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面的步骤包括:The video playing method according to claim 2, wherein when the video format to be played is switched to a high dynamic range image, the step of determining whether the current picture is a bright frame picture or a dark frame picture comprises:
    获取所述待播放视频单位时间内第一帧画面和最后一帧画面的像素亮度;Obtaining pixel brightness of the first frame picture and the last frame picture in the unit time of the to-be-played video;
    根据所述第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面。Determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture.
  4. 如权利要求3所述的视频播放方法,其特征在于,所述根据所述第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面的步骤包括:The video playing method according to claim 3, wherein the step of determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture comprises:
    统计所述第一帧画面第一行像素亮度大于第一预设阈值的个数;And counting, in the first frame, the pixel brightness of the first row is greater than the first preset threshold;
    统计所述最后一帧画面第一行像素亮度大于第一预设阈值的个数;Counting, the number of pixels in the first row of the last frame is greater than the first preset threshold;
    在所述第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值时,当前画面为亮帧画面;When the number of pixels in the first row of the first frame is greater than the first preset threshold and the number of pixels in the first row of the last frame is greater than the second preset threshold, the current value is greater than the second preset threshold. The picture is a bright frame picture;
    统计所述第一帧画面第一行像素亮度小于第三预设阈值的个数;Counting, the number of pixels in the first row of the first frame is less than a third preset threshold;
    统计所述最后一帧画面第一行像素亮度小于第三预设阈值的个数;Counting, the number of pixels in the first row of the last frame of the picture is less than a third preset threshold;
    在所述第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值时,当前画面为暗帧画面。When the number of pixels in the first row of the first frame is less than the third preset threshold and the number of pixels in the first row of the last frame is less than the third preset threshold, the current value is greater than the second preset threshold. The picture is a dark frame picture.
  5. 一种视频播放方法,其特征在于,所述视频播放方法包括步骤:A video playing method, characterized in that the video playing method comprises the steps of:
    侦测缓存区的待播放视频,获取所述待播放视频的标识符;Detecting a to-be-played video in the buffer area, and acquiring an identifier of the to-be-played video;
    根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;Determining, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
    在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值;When the video format to be played is switched to a high dynamic range image, the first preset parameter is obtained in real time, and the first preset parameter is a parameter value of the screen corresponding to the high dynamic range image format video;
    根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。Adjusting a parameter value of the video screen to be played according to the first preset parameter, and playing the to-be-played video.
  6. 如权利要求5所述的视频播放方法,其特征在于,所述实时获取第一预设参数的步骤之前,所述视频播放方法还包括步骤:The video playing method according to claim 5, wherein before the step of acquiring the first preset parameter in real time, the video playing method further comprises the steps of:
    检测当前画面的参数值;Detecting the parameter value of the current picture;
    在检测到当前画面的参数值发生变化时,获取当前画面的参数值;Obtaining a parameter value of the current screen when detecting that the parameter value of the current screen changes;
    判断当前画面的参数值与所述第一预设参数的数值是否一致;Determining whether the parameter value of the current screen is consistent with the value of the first preset parameter;
    在当前画面的参数值与所述第一预设参数的数值不一致时,将所述第一预设参数的数值更新为当前画面的参数值。When the parameter value of the current screen does not match the value of the first preset parameter, the value of the first preset parameter is updated to the parameter value of the current screen.
  7. 如权利要求6所述的视频播放方法,其特征在于,所述检测当前画面的参数值的步骤之前,所述视频播放方法还包括步骤:The video playing method according to claim 6, wherein the step of detecting the parameter value of the current picture, the video playing method further comprises the steps of:
    在所述待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面;When the video format to be played is switched to a high dynamic range image, determining whether the current picture is a bright frame picture or a dark frame picture;
    在当前画面是亮帧画面时,在电视菜单显示背光和亮度调节栏;When the current picture is a bright frame picture, the backlight and brightness adjustment fields are displayed in the TV menu;
    在当前画面是暗帧画面时,在电视菜单显示色调和对比度调节栏。When the current picture is a dark frame picture, the tone and contrast adjustment fields are displayed in the TV menu.
  8. 如权利要求7所述的视频播放方法,其特征在于,所述在所述待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面的步骤包括:The video playing method according to claim 7, wherein when the video format to be played is switched to a high dynamic range image, the step of determining whether the current picture is a bright frame picture or a dark frame picture comprises:
    获取所述待播放视频单位时间内第一帧画面和最后一帧画面的像素亮度;Obtaining pixel brightness of the first frame picture and the last frame picture in the unit time of the to-be-played video;
    根据所述第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面。Determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture.
  9. 如权利要求8所述的视频播放方法,其特征在于,所述根据所述第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面的步骤包括:The video playing method according to claim 8, wherein the step of determining whether the current picture is a bright frame picture or a dark frame picture according to the pixel brightness of the first frame picture and the last frame picture comprises:
    统计所述第一帧画面第一行像素亮度大于第一预设阈值的个数;And counting, in the first frame, the pixel brightness of the first row is greater than the first preset threshold;
    统计所述最后一帧画面第一行像素亮度大于第一预设阈值的个数;Counting, the number of pixels in the first row of the last frame is greater than the first preset threshold;
    在所述第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值时,当前画面为亮帧画面;When the number of pixels in the first row of the first frame is greater than the first preset threshold and the number of pixels in the first row of the last frame is greater than the second preset threshold, the current value is greater than the second preset threshold. The picture is a bright frame picture;
    统计所述第一帧画面第一行像素亮度小于第三预设阈值的个数;Counting, the number of pixels in the first row of the first frame is less than a third preset threshold;
    统计所述最后一帧画面第一行像素亮度小于第三预设阈值的个数;Counting, the number of pixels in the first row of the last frame of the picture is less than a third preset threshold;
    在所述第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值时,当前画面为暗帧画面。When the number of pixels in the first row of the first frame is less than the third preset threshold and the number of pixels in the first row of the last frame is less than the third preset threshold, the current value is greater than the second preset threshold. The picture is a dark frame picture.
  10. 如权利要求5所述的视频播放方法,其特征在于,在所述待播放的视频格式切换为高动态范围图像时,根据电视播放的视频处于不同的画面处理状态,在所述电视的显示页面显示相应的画面的参数值调整栏,以使用户对当前视频的显示效果进行调节。The video playing method according to claim 5, wherein when the video format to be played is switched to a high dynamic range image, the video played according to the television is in a different screen processing state, on the display page of the television The parameter value adjustment column of the corresponding screen is displayed to allow the user to adjust the display effect of the current video.
  11. 一种视频播放装置,其特征在于,所述视频播放装置包括:A video playback device, characterized in that the video playback device comprises:
    侦测模块,用于侦测缓存区的待播放视频,获取所述待播放视频的标识符;a detecting module, configured to detect a to-be-played video in the buffer area, and obtain an identifier of the to-be-played video;
    第一确认模块,用于根据所述标识符,确认所述待播放的视频格式是否切换为高动态范围图像格式;a first confirmation module, configured to confirm, according to the identifier, whether the video format to be played is switched to a high dynamic range image format;
    第一获取模块,用于在所述待播放的视频格式切换为高动态范围图像时,实时获取第一预设参数,所述第一预设参数为高动态范围图像格式视频对应的画面的参数值;a first acquiring module, configured to acquire a first preset parameter in real time when the video format to be played is switched to a high dynamic range image, where the first preset parameter is a parameter of a screen corresponding to a high dynamic range image format video value;
    播放模块,用于根据所述第一预设参数调整待播放视频画面的参数值,并播放所述待播放视频。The playing module is configured to adjust a parameter value of the video screen to be played according to the first preset parameter, and play the to-be-played video.
  12. 如权利要求11所述的视频播放装置,其特征在于,所述视频播放装置还包括:The video playback device of claim 11, wherein the video playback device further comprises:
    检测模块,用于检测当前画面的参数值;a detecting module, configured to detect a parameter value of a current picture;
    第二获取模块,用于在检测到当前画面的参数值发生变化时,获取当前画面的参数值;a second acquiring module, configured to acquire a parameter value of the current screen when detecting that the parameter value of the current screen changes;
    判断模块,用于判断当前画面的参数值与所述第一预设参数的数值是否一致;a determining module, configured to determine whether a parameter value of the current screen is consistent with a value of the first preset parameter;
    更新模块,用于在当前画面的参数值与所述第一预设参数的数值不一致时,将所述第一预设参数的数值更新为当前画面的参数值。And an update module, configured to update the value of the first preset parameter to a parameter value of the current screen when the parameter value of the current screen does not match the value of the first preset parameter.
  13. 如权利要求12所述的视频播放装置,其特征在于,所述视频播放装置还包括:The video playback device of claim 12, wherein the video playback device further comprises:
    第二确认模块,用于在所述待播放的视频格式切换为高动态范围图像时,确定当前画面是亮帧画面或是暗帧画面;a second confirmation module, configured to determine, when the video format to be played is switched to a high dynamic range image, whether the current picture is a bright frame picture or a dark frame picture;
    显示模块,用于在当前画面是亮帧画面时,在电视菜单显示背光和亮度调节栏以及在当前画面是暗帧画面时,在电视菜单显示色调和对比度调节栏。The display module is configured to display a hue and a contrast adjustment bar in the TV menu when the current picture is a bright frame picture, a backlight and a brightness adjustment bar are displayed in the TV menu, and when the current picture is a dark frame picture.
  14. 如权利要求13所述的视频播放装置,其特征在于,所述第二确认模块包括:The video playback device of claim 13, wherein the second confirmation module comprises:
    获取单元,用于获取所述待播放视频单位时间内第一帧画面和最后一帧画面的像素亮度;An acquiring unit, configured to acquire a pixel brightness of a first frame picture and a last frame picture in the unit time of the to-be-played video unit;
    确定单元,用于根据所述第一帧画面和最后一帧画面的像素亮度确定当前画面是亮帧画面或是暗帧画面。And a determining unit, configured to determine, according to the pixel brightness of the first frame picture and the last frame picture, that the current picture is a bright frame picture or a dark frame picture.
  15. 如权利要求14所述的视频播放装置,其特征在于,所述确定单元包括:The video playback device of claim 14, wherein the determining unit comprises:
    第一统计子单元,统计所述第一帧画面第一行像素亮度大于第一预设阈值的个数以及统计所述最后一帧画面第一行像素亮度大于第一预设阈值的个数;The first statistic subunit, the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold;
    第一确定子单元,用于在所述第一帧画面第一行像素亮度大于第一预设阈值的个数和最后一帧画面第一行像素亮度大于第一预设阈值的个数均大于第二预设阈值时,当前画面为亮帧画面;a first determining subunit, where the number of pixels in the first row of the first frame is greater than the first preset threshold, and the number of pixels in the first row of the last frame is greater than the first preset threshold is greater than When the second preset threshold is used, the current picture is a bright frame picture;
    第二统计子单元,用于统计所述第一帧画面第一行像素亮度小于第三预设阈值的个数以及统计所述最后一帧画面第一行像素亮度小于第三预设阈值的个数;a second statistic sub-unit, configured to count the number of pixels in the first row of the first frame that is less than a third preset threshold, and to count the pixels in the first row of the last frame that are less than a third preset threshold number;
    第二确定子单元,用于在所述第一帧画面第一行像素亮度小于第三预设阈值的个数和最后一帧画面第一行像素亮度小于第三预设阈值的个数均大于第二预设阈值时,当前画面为暗帧画面。a second determining subunit, where the number of pixels in the first row of the first frame is less than a third preset threshold, and the number of pixels in the first row of the last frame is less than a third preset threshold When the second preset threshold is used, the current picture is a dark frame picture.
  16. 如权利要求11所述的视频播放装置,其特征在于,所述视频播放装置还包括:The video playback device of claim 11, wherein the video playback device further comprises:
    显示模块,用于在待播放的视频格式为HDR格式时,根据电视播放的视频处于不同的画面处理状态,在所述电视的显示页面显示相应的画面的参数值调整栏。The display module is configured to: when the video format to be played is in the HDR format, the video played according to the television is in a different screen processing state, and the parameter value adjustment column of the corresponding screen is displayed on the display page of the television.
PCT/CN2016/084608 2016-02-15 2016-06-03 Method and device for video playback WO2017140066A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610086028.0A CN105744378A (en) 2016-02-15 2016-02-15 Video playing method and device
CN201610086028.0 2016-02-15

Publications (1)

Publication Number Publication Date
WO2017140066A1 true WO2017140066A1 (en) 2017-08-24

Family

ID=56245955

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084608 WO2017140066A1 (en) 2016-02-15 2016-06-03 Method and device for video playback

Country Status (2)

Country Link
CN (1) CN105744378A (en)
WO (1) WO2017140066A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI631505B (en) * 2016-08-26 2018-08-01 晨星半導體股份有限公司 Image processing method applied to a display and associated circuit
CN107786865B (en) * 2016-08-31 2019-11-26 深圳市中兴微电子技术有限公司 A kind for the treatment of method and apparatus of video frame

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143883A1 (en) * 2006-12-15 2008-06-19 Chih-Lin Hsuan Brightness Adjusting Methods for Video Frames of Video Sequence by Applying Scene Change Detection and/or Blinking Detection and Brightness Adjusting Devices Thereof
CN101908330A (en) * 2010-07-26 2010-12-08 武汉大学 Method for display equipment with narrow dynamic range to reproduce image with wide dynamic range
CN103716575A (en) * 2013-12-11 2014-04-09 乐视致新电子科技(天津)有限公司 Display device and display control method capable of adjusting definition
CN103956145A (en) * 2014-03-27 2014-07-30 深圳市中兴移动通信有限公司 Terminal display mode determining method and apparatus
CN105282622A (en) * 2015-10-20 2016-01-27 海信集团有限公司 Scene switching method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236086B (en) * 2008-01-31 2010-08-11 北京控制工程研究所 Ultraviolet moon sensor output data evaluation and judging method
JP2011234342A (en) * 2010-04-08 2011-11-17 Canon Inc Image processor and control method thereof
US9538155B2 (en) * 2013-12-04 2017-01-03 Dolby Laboratories Licensing Corporation Decoding and display of high dynamic range video
CN103716562A (en) * 2013-12-31 2014-04-09 乐视致新电子科技(天津)有限公司 Image quality parameter storage method and system
KR102190233B1 (en) * 2014-10-06 2020-12-11 삼성전자주식회사 Apparatus and method for processing image thereof
CN104464646A (en) * 2014-11-19 2015-03-25 天津大学 Method for changing dynamic range of video by adjusting local brightness of insert frame/field

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143883A1 (en) * 2006-12-15 2008-06-19 Chih-Lin Hsuan Brightness Adjusting Methods for Video Frames of Video Sequence by Applying Scene Change Detection and/or Blinking Detection and Brightness Adjusting Devices Thereof
CN101908330A (en) * 2010-07-26 2010-12-08 武汉大学 Method for display equipment with narrow dynamic range to reproduce image with wide dynamic range
CN103716575A (en) * 2013-12-11 2014-04-09 乐视致新电子科技(天津)有限公司 Display device and display control method capable of adjusting definition
CN103956145A (en) * 2014-03-27 2014-07-30 深圳市中兴移动通信有限公司 Terminal display mode determining method and apparatus
CN105282622A (en) * 2015-10-20 2016-01-27 海信集团有限公司 Scene switching method and device

Also Published As

Publication number Publication date
CN105744378A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
WO2017206368A1 (en) High-dynamic range picture switching method and apparatus
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2017088427A1 (en) Audio output control method and device
WO2017215116A1 (en) Photographing method and system for smart television
WO2018223607A1 (en) Television terminal, method for converting hdr image into sdr image, and computer readable storage medium
WO2018192253A1 (en) Video signal transmission method and apparatus
WO2018223602A1 (en) Display terminal, frame contrast enhancement method, and computer readable storage medium
WO2016091011A1 (en) Subtitle switching method and device
WO2017190452A1 (en) Backlight self-adaptive regulation method and apparatus
WO2017005066A1 (en) Method and apparatus for recording audio and video synchronization timestamp
WO2019076087A1 (en) Television and display image effect control method therefor, and computer-readable storage medium
WO2018113187A1 (en) Display control method and display device
WO2018028124A1 (en) Television set and signal source switching method thereof
WO2017041537A1 (en) Video frame rate adjustment method and apparatus
WO2018227869A1 (en) Display screen picture adjusting method, display terminal, and readable storage medium
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2017121066A1 (en) Application program display method and system
WO2017045435A1 (en) Method and device for controlling television playing
WO2018036057A1 (en) Method and device for background adaptive upgrading of software
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2019051909A1 (en) Air conditioner running parameter adjusting method, air conditioner, and computer readable storage medium
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2017045441A1 (en) Smart television-based audio playback method and apparatus
WO2017005062A1 (en) Image frame playing method and device
WO2019051903A1 (en) Terminal control method and apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16890298

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 11/01/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16890298

Country of ref document: EP

Kind code of ref document: A1