CN111263188A - Video image quality adjusting method and device, electronic equipment and storage medium - Google Patents

Video image quality adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111263188A
CN111263188A CN202010095922.0A CN202010095922A CN111263188A CN 111263188 A CN111263188 A CN 111263188A CN 202010095922 A CN202010095922 A CN 202010095922A CN 111263188 A CN111263188 A CN 111263188A
Authority
CN
China
Prior art keywords
video
target video
environment
attribute information
image quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010095922.0A
Other languages
Chinese (zh)
Other versions
CN111263188B (en
Inventor
陈姿
杨广煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010095922.0A priority Critical patent/CN111263188B/en
Publication of CN111263188A publication Critical patent/CN111263188A/en
Application granted granted Critical
Publication of CN111263188B publication Critical patent/CN111263188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/4402Processing 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
    • 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/4402Processing 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/440263Processing 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present application relates to the field of display technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for adjusting video quality, so as to improve the video quality, wherein the method includes: responding to a watching request of a target video, and sending the watching request to a server; receiving attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video; and adjusting the image quality of the target video according to the attribute information. According to the method and the device, the server detects the video content of the target video to determine the attribute information, and then the client adjusts the video quality according to the attribute information, so that the matching degree of the video quality and the target video is improved; in addition, the client can automatically adjust the image quality parameters according to the attribute information without manual adjustment by a user, so that the image quality adjustment efficiency is improved.

Description

Video image quality adjusting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a method and an apparatus for adjusting video quality, an electronic device, and a storage medium.
Background
In recent years, with the rapid development of display technology and internet technology, the variety of video programs is increasing, and users can watch videos through various display terminal devices, such as televisions, mobile phones, notebook computers, and the like.
However, each film or video is set by a professional, including color, brightness, color temperature, etc. image quality parameters of the picture, and for a user, all films or videos are the same set of image quality parameters, which easily affects the viewing effect.
Disclosure of Invention
The embodiment of the application provides a video image quality adjusting method and device, electronic equipment and a storage medium, which are used for improving the video image quality.
A first method for adjusting video quality provided in an embodiment of the present application includes:
responding to a watching request of a target video, and sending the watching request to a server;
receiving attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video;
and adjusting the image quality of the target video according to the attribute information.
A second method for adjusting video quality provided by an embodiment of the present application includes:
detecting the video content of the obtained target video, and determining the attribute information of the target video;
and after receiving a watching request of the target video sent by a client, returning attribute information of the target video to the client so that the client adjusts the image quality of the target video according to the attribute information.
A first video quality adjustment apparatus provided in an embodiment of the present application includes:
a request unit for responding to a viewing request of a target video and sending the viewing request to a server;
the receiving unit is used for receiving the attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video;
and the adjusting unit is used for adjusting the image quality of the target video according to the attribute information.
Optionally, the adjusting unit is specifically configured to:
determining image quality parameters corresponding to the attribute information according to the corresponding relation between the pre-configured image quality parameters and the attribute information;
and adjusting the image quality of the target video according to the determined image quality parameters.
Optionally, the apparatus further comprises:
the information acquisition unit is used for acquiring hardware information of a playing device for playing the target video;
the adjusting unit is specifically configured to:
and determining the image quality parameters corresponding to the attribute information and the hardware information of the playing equipment according to the preset corresponding relation between the image quality parameters and the hardware information and the attribute information.
Optionally, the attribute information includes part or all of the following:
video category information, video picture information.
Optionally, the receiving unit is further configured to:
after the request unit sends the watching request to a server and before the adjusting unit adjusts the image quality of a target video according to the attribute information, receiving video stream data of the target video returned by the server;
the device further comprises:
and the playing unit is used for decoding the video stream data after the adjustment unit adjusts the image quality of the target video according to the attribute information, and playing the target video according to the adjusted image quality.
Optionally, the receiving unit is further configured to:
after the request unit sends the viewing request to a server, receiving an environment control instruction returned by the server, wherein the environment control instruction is obtained by converting an environment control parameter corresponding to the target video by the server;
the device further comprises:
and the control unit is used for controlling the corresponding environment adjusting equipment according to the environment control instruction so as to adjust the film watching environment for watching the target video.
Optionally, if there are at least two environment control instructions for controlling the same environment attribute;
the control unit is specifically configured to:
and controlling the corresponding environment adjusting equipment according to the priorities of the at least two environment control instructions.
A second video quality adjustment apparatus provided in an embodiment of the present application includes:
the determining unit is used for detecting the video content of the obtained target video and determining the attribute information of the target video;
and the transmission unit is used for returning the attribute information of the target video to the client after receiving the watching request of the target video sent by the client so as to enable the client to adjust the image quality of the target video according to the attribute information.
Optionally, the apparatus further comprises:
the instruction generating unit is used for acquiring the environment control parameters corresponding to the target video and converting the environment control parameters into environment control instructions corresponding to corresponding environment adjusting equipment, wherein the environment adjusting equipment and the client side have a binding relationship;
the transmission unit is used for returning the attribute information of the target video to the client after receiving a watching request of the target video sent by the client, so that the client can adjust the image quality of the target video according to the attribute information.
Optionally, the instruction generating unit is specifically configured to:
acquiring a preset environment control parameter corresponding to the target video; or
And determining the environmental control parameters matched with the video content of the target video according to the detection result of the video content of the target video.
Optionally, if there are at least two environment adjusting devices for controlling the environment attributes corresponding to the same environment control parameter;
the instruction generation unit is specifically configured to:
selecting one environment adjusting device from the at least two environment adjusting devices, and converting the environment control parameter into an environment control instruction corresponding to the selected environment adjusting device; or
And aiming at each environment adjusting device, converting the environment control parameters into environment control instructions corresponding to each environment adjusting device respectively, and setting priorities for each environment control instruction.
An electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory stores a program code, and when the program code is executed by the processor, the processor is enabled to execute any one of the steps of the video image quality adjustment method.
An embodiment of the present application provides a computer-readable storage medium, which includes a program code, and when the program product runs on an electronic device, the program code is configured to enable the electronic device to execute any one of the steps of the video quality adjustment method.
The beneficial effect of this application is as follows:
according to the video quality adjusting method, the video quality adjusting device, the electronic equipment and the storage medium, the attribute information of the video is extracted through the detection of the server on the video content and is issued to the client, and the client adjusts the video quality according to the attribute information and plays the video. The attribute information of each video can be detected and determined, so that when the video quality is adjusted by the client, the video quality can be adaptively adjusted according to the video content, the adjusted video quality is better in effect, the matching degree of the video quality and the video content is improved, and the film watching experience of a user is improved. In addition, the client can automatically adjust the image quality parameters according to the attribute information without manual adjustment by a user, so that the image quality adjustment efficiency is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a video quality adjustment method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating another video quality adjustment method according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a video quality adjustment process according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a viewing environment adjustment module according to an embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating adjustment of viewing environment provided at the time of filing of the present application;
fig. 7 is a schematic view of a service flow in the embodiment of the present application;
fig. 8 is a block diagram of a first video quality adjustment apparatus according to an embodiment of the present disclosure;
fig. 9 is a block diagram of a second video quality adjustment apparatus according to an embodiment of the present disclosure;
fig. 10 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware component of a computing device to which an embodiment of the present application is applied.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
Some concepts related to the embodiments of the present application are described below.
The attribute information refers to information describing the content of a video screen or the type of video. In the embodiment of the application, the attribute information of the video is related to the video content and can be determined by detecting the video content, and comprises one or more of video category information and video picture information.
Wherein the video category information includes one or more of video size, type, year and country. For example, the video types are movies, non-movies, etc., and the non-movies may be specifically classified as animations, documentaries, sports films, etc. The video picture information includes one or more of video brightness, hue, contrast, sharpness, and resolution. For example, video tones can be divided into dark tones, light tones; the definition of the video can be classified into standard definition, high definition, super definition and the like; video brightness can be classified as dark, normal, bright, etc.
An environment conditioning device: the device is used for adjusting the viewing environment, such as an air conditioner capable of adjusting the temperature, an electric fan capable of adjusting the wind and the sound, an air conditioner and a lamp capable of adjusting the brightness; and the intelligent sofa can adjust the position deviation during film watching.
The temperature, the wind sound, the brightness, the position deviation and the like belong to environment attributes, and each environment adjusting device has the corresponding environment attribute. There may be a plurality of environment attributes corresponding to different environment adjusting devices, for example, the environment attribute corresponding to the air conditioner is temperature, wind noise, etc. In addition, the environmental attributes corresponding to different environmental conditioning devices may be the same, for example, both air conditioners and electric fans correspond to the attribute of wind.
The playing device: the display device is a display device capable of playing video, such as a television, a mobile phone, a tablet, a computer, and the like. The hardware information of the playback device refers to a screen hardware type, a film source format, and the like. Wherein the screen hardware types include LCD (Liquid crystal display) and OLED (Organic Light-Emitting Diode); the film source format refers to SDR (Standard Dynamic Range), HDR (High-Dynamic Range image), and the like.
HDR offers more Dynamic Range and image details than ordinary images, and a final HDR image is synthesized from LDR (Low-Dynamic Range) images of different exposure times and using LDR images corresponding to the best details for each exposure time. The visual effect in the real environment can be better reflected.
IOT (The Internet of Things, Internet of Things): the intelligent sensing, identification and management of objects and processes are realized by acquiring any object or process needing monitoring, connection and interaction in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors, laser scanners and the like, acquiring various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, positions and the like, and realizing ubiquitous connection of the objects, the objects and people through various possible network accesses.
The following briefly introduces the design concept of the embodiments of the present application:
in the field of display technology, picture quality adjustment is a very important task, and generally, picture quality adjustment of a television achieves a picture rendering effect by adopting a set of parameters according to picture contents. However, each video has its own picture style, and this uniform method for adjusting the picture quality cannot reflect the uniqueness of the video pictures. Also, the user requirements are different for each video.
In view of this, the embodiment of the present application provides a method and an apparatus for adjusting video quality, an electronic device, and a storage medium, where attribute information of a video is extracted by a server through detection of video content and is delivered to a client, and the client adjusts the video quality according to the attribute information and plays the video. According to the embodiment of the application, each target video has the attribute information of the target video, so that the video quality can be adaptively adjusted according to the video content when the client adjusts the video quality, the adjusted video quality is better in effect, and the viewing experience of a user is improved.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are merely for illustrating and explaining the present application, and are not intended to limit the present application, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a schematic view of an application scenario in the embodiment of the present application. The application scenario diagram includes two terminal devices 110 and a server 130, and the terminal devices 110 can log in the relevant interface 120 for executing the target service. The terminal device 110 and the server 130 can communicate with each other through a communication network.
In an alternative embodiment, the communication network is a wired network or a wireless network.
In this embodiment, the terminal device 110 is an electronic device used by a user, and the electronic device may be a computer device having a certain computing capability and running instant messaging software and a website or social contact software and a website, such as a personal computer, a mobile phone, a tablet computer, a notebook, an e-book reader, and the like. Each terminal device 110 is connected to a server 130 through a wireless network, and the server 130 is a server or a server cluster or a cloud computing center formed by a plurality of servers, or is a virtualization platform.
In the embodiment of the present application, the server 130 is mainly used for detecting video content, determining attribute information of a video, and generating an environment control instruction; after responding to a viewing request of a target video input by a user, the terminal device 110 sends the viewing request to the server 130; after receiving the viewing request sent by the terminal device 110, the server 130 returns the attribute information, the environment control instruction, the video stream data of the target video, and the like to the terminal device 110, and the terminal device 110 adjusts the image quality, plays the target video, and controls the environment adjusting device to control the viewing environment, and the like.
Fig. 2 is a flowchart illustrating an implementation of a video quality adjustment method according to an embodiment of the present application, which is applied to a client, where the client is a terminal device or an application installed on the terminal device. The specific implementation flow of the method is as follows:
s21: responding to a watching request of the target video, and sending the watching request to a server;
s22: receiving attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video;
wherein the viewing request of the target video may be triggered by the user. For example, a user triggers a viewing request by clicking a target video in a video presentation interface of a certain video APP (Application), and a client sends the viewing request of the target video to a server, where the server is a server corresponding to the video APP.
In the implementation of the application, the server can detect the video content of the target video through technologies such as image recognition and determine the attribute information of the target video.
Specifically, when the video content of the target video is detected by the image recognition technology, the content in the video image can be detected by preprocessing, feature extraction, classifier recognition and the like on the video image of one frame in the target video, and then the attribute information of the target video is determined according to the video content.
The attribute information of the target video includes, but is not limited to, part or all of the following:
video category information, video picture information.
In the embodiment of the present application, the video category information includes one or more of video size, type, year, country, and the like.
The following examples illustrate different video genre information:
wherein the video types include: movies, non-movies, and the like, and non-movies may be specifically classified as dramas, documentaries, music videos (music videos), and the like.
The video size includes: the video playing method comprises the steps of dividing a long video and a short video, wherein when the long video and the short video are divided, the video with the playing time less than 10 minutes can be divided into the short video, and the video with the playing time not less than 10 minutes is divided into the long video; or, according to the size of the video file, videos larger than 100MB (Mbyte, megabyte) are divided into long videos, videos smaller than 100MB in length are divided into short videos, and the like.
The video ages include: the 20 th century 60 s, the 20 th century 70 s, the 20 th century 80 s, the 20 th century 90 s, the 21 st century, and so on.
The video countries comprise domestic and foreign countries, wherein the foreign countries can be specifically subdivided into: country A, country B, country C; the Chinese can be further differentiated into inland dramas, harbor dramas, Taiwan dramas and the like.
In the embodiment of the present application, the video picture information includes one or more of video brightness, hue, contrast, sharpness, resolution, and the like.
The following illustrates different video picture information:
the video tones can be divided into dark tones and bright tones; the definition of the video can be classified into standard definition, high definition, super definition and the like; video brightness can be classified as dark, normal, bright, etc.; video contrast can be divided into: strong, normal, weak, etc.; video resolution can be divided into: 480P, 720P, 1080P, etc., where the letter P denotes progressive scan.
S23: and adjusting the image quality of the target video according to the attribute information.
Optionally, when the image quality of the target video is adjusted according to the attribute information, firstly, image quality parameters corresponding to the attribute information need to be determined according to a preset corresponding relationship between the image quality parameters and the attribute information; and further adjusting the image quality of the target video according to the determined image quality parameters.
The image quality parameters include, but are not limited to, the following parts or all:
definition, color, brightness, color temperature, sharpness, contrast, lens distortion, dispersion, resolution of the video picture.
Wherein, the definition of the video image refers to the definition of each detail shadow and its boundary on the video image; color refers to the color of the video picture; brightness refers to the brightness of the video picture; color temperature refers to the color temperature of the ambient light source; sharpness is an index reflecting the sharpness of the image plane and the sharpness of the image edges; contrast refers to the luminance under a white picture (brightest) divided by the luminance under a black picture (darkest); lens distortion is actually a generic term for the intrinsic perspective distortion of optical lenses, i.e. distortion due to perspective, which is very detrimental to the imaging quality of photographs; the dispersion degree refers to the degree of dispersion, and the phenomenon that the complex color light is decomposed into monochromatic light to form a spectrum is called light dispersion; regarding the resolution, the image projected by the projector is composed of many small projected points, the resolution represents the number of these points, and the higher the resolution, the sharper the projected image.
Taking the example that the attribute information of the target video includes the video type information, when the image quality of the target video is adjusted according to the video type information:
optionally, the video types are classified into movies and non-movies, and the pre-configured corresponding relationship between the image quality parameters and the attribute information is as follows: the set of image quality parameters corresponding to the movie type is image quality parameter 1, and the set of image quality parameters corresponding to the non-movie type is image quality parameter 2, wherein the set of image quality parameters includes definition, color, brightness, color temperature, and contrast, and the image quality parameters 1 and 2 include one or more of different definition, color, brightness, color temperature, and contrast. For example, the picture quality parameter 1 of the movie type is: definition a1, color b1, brightness c1, color temperature d1, contrast e1, and non-movie type image quality parameters 2 are: definition a2, color b1, brightness c1, color temperature d2, and contrast c 1. The two image quality parameters 1 and 2 are different in definition and color temperature of image quality, and the rest are the same.
If the attribute information of the target video 1 received by the client includes the video type in the video category information, and the specific video type is a movie, the image quality parameter corresponding to the target video 1 may be determined to be the image quality parameter 1 according to the correspondence relationship.
Taking the example that the attribute information of the target video includes video picture information (color tone), assuming that the color tone of the video picture can be divided into a cool color tone and a warm color tone, when the image quality of the target video is adjusted according to the video picture information:
the pre-configured corresponding relationship between the image quality parameters and the attribute information is as follows: the image parameters corresponding to the cool tone are image parameters 3, and the image parameters corresponding to the warm tone are image parameters 4, wherein the image parameters include definition, color, brightness, color temperature, and contrast. The image quality parameters 3 and 4 are different in one or more of sharpness, color, brightness, color temperature, and contrast of the image quality. For example, the image quality parameter 3 of the cool tone screen is: definition a3, color b3, brightness c3, color temperature d3, contrast e3, and image quality parameters 4 of the warm-tone picture are as follows: definition a3, color b4, brightness c4, color temperature d4, and contrast c 3. The two image quality parameters 3 and 4 are different in color, brightness, and color temperature of the image quality, and the rest are the same.
In the above embodiment, the image quality parameter matching the attribute information of the target video can be directly determined from the pre-configured image quality parameter according to the corresponding relationship between the attribute information and the image quality parameter, so that when the image quality of the target video is adjusted according to the determined image quality parameter, the adjusted image quality can be more matched with the video content of the target video, and the viewing experience of the user can be effectively improved. In addition, the image quality parameters are determined and the image quality is adjusted directly according to the corresponding relation between the pre-configured image quality parameters and the attribute information, manual setting by a user is not needed, and the efficiency of image quality adjustment is improved.
In another alternative embodiment, the pre-configured image quality parameter may be a default image quality parameter specified value given by a professional, and the professional pre-configures different image quality parameter specified values according to different attribute information.
In the embodiment of the present application, the requirements for the best image quality effect on different screen types are different considering that the same movie is in different film source formats. Optionally, the client may further obtain hardware information of the playing device when playing the target video, for example, whether the screen type of the playing device is LCD or OLED, whether the film source format is SDR or HDR, and the like. On the basis, the hardware information of the playing device can be further associated with the image quality parameters so as to improve the matching degree of the image quality of the target video and the current playing device, and further improve the adjustment effect of the image quality and the user experience.
In this embodiment, when determining the image quality parameter corresponding to the attribute information based on the pre-configured correspondence relationship between the image quality parameter and the attribute information, the specific procedure is as follows:
and determining the image quality parameters corresponding to the attribute information and the hardware information of the playing equipment according to the preset corresponding relation between the image quality parameters and the hardware information and the attribute information.
Table 1 shows a corresponding relationship between image quality parameters, attribute information, and hardware information according to an embodiment of the present application. Wherein the attribute information is a video type (movie or non-movie), and the hardware information includes a screen type and a film source format.
TABLE 1
Figure BDA0002385261780000111
Figure BDA0002385261780000121
As can be seen from table 1, when the video type is a movie and the film source format of the playback device is SDR, the video type corresponds to the image quality parameter a; when the video type is a movie and the film source format of the playing device is HDR, corresponding to the image quality parameter B; when the video type is non-movie and the film source format of the playing device is SDR, corresponding image quality parameters A'; when the video type is non-movie and the film source format of the playback device is HDR, the video quality parameter B' corresponds to.
Each of the image quality parameters shown in table 1 includes one or more of brightness, color, red gain, light sensing, motion stream, RGB sensor, and the like.
The red gain is a parameter for adjusting the color value of red in the picture color. Motion stream, also called double-speed driving, is a technique for optimizing the dynamic effect of lcd tv by motion estimation and frame interpolation. Wherein the double speed is generally referred to as double speed, i.e. the drive refresh frequency is raised from 50Hz to 100 Hz. In short, a technique of inserting a transition frame therein by judging the difference between the preceding and following images. The RGB sensor is a color sensor, and is a device for detecting colors by comparing colors of an object with reference colors that have been previously taught. And when the two colors are matched within a certain error range, outputting a detection result.
Optionally, the four sets of parameters are further divided into two sets of parameters [ OLED ] and [ LCD ] according to the screen type in the hardware information of the playback device in the image quality parameter a, the image quality parameter B, the image quality parameter a ', and the image quality parameter B'.
Assuming that the video type of the target video 1 is a movie and the hardware information includes LCD and SDR, the image quality parameters determined according to the corresponding relationship between the image quality parameters, the attribute information and the hardware information shown in table 1 are:
brightness: 10; color: 52; a light sensor: closing; moving flow: custom (minimum).
If the video type of the target video 2 is non-movie and the hardware information includes HDR and OLED, the determined image quality parameters are, according to the correspondence between the image quality parameters, the attribute information, and the hardware information shown in table 1:
brightness: 50; red gain: -4; a light sensor: turning to ash; moving flow: automatic; an RGB sensor: and off.
Optionally, when the attribute information includes video picture information, the same reasoning applies, and a corresponding relationship among the video picture information, the playback device hardware information, and the image quality parameter is configured in advance, and the corresponding image quality parameter is determined according to the pre-configured corresponding relationship. Or, the corresponding relationship among the video attribute information, the video picture information, the playing device hardware information and the image quality parameters is configured in advance, and when the image quality parameters are determined, the corresponding image quality parameters can be determined directly according to the corresponding relationship.
For example, when the video type is a movie, the video tone is a cool tone, and the film source format of the playback device is SDR, the video type corresponds to the image quality parameter C; when the video type is a movie, the video tone is a warm tone, and the film source format of the playback device is SDR, the corresponding image quality parameters D are not listed one by one.
It should be noted that the correspondence relationships between the pre-configured image quality parameters and the attribute information and the hardware information, which are listed in the above embodiments, are merely examples, and any correspondence relationship is applicable to the embodiments of the present application.
In the above embodiment, the corresponding relationship between the attribute information and the image quality parameter further takes into account the influence of the hardware information of the playback device on the image quality, and the image quality parameter determined according to the corresponding relationship between the image quality parameter and the attribute information and the hardware information is more specific, and the image quality effect adjusted according to the method is better.
Referring to fig. 3, a flowchart of another method for adjusting video quality according to an embodiment of the present disclosure is applied to a server, and the method includes the following steps:
s31: detecting the video content of the obtained target video, and determining the attribute information of the target video;
the method for obtaining the target video generally comprises the following steps: and acquiring the target video uploaded to the server by the user.
In the embodiment of the present application, an image recognition technology may be mainly used for detecting the video content of the target video.
Optionally, the attribute information of the target video may also be determined by the server after extracting the video tag of the target video.
The video tags of the target videos can be uploaded by the user when the target videos are uploaded, namely the user determines the corresponding video tags according to the video content of the target videos and uploads the video tags to the server.
For example, if the target video 3 is a movie type, the target video 4 is an entertainment type, the target video 5 is a documentary type, etc., the video type of the target video may be marked by a video _ type tag.
When the movie type is marked by the vio _ type tag, assuming that the movie type corresponds to the number 1, the vio _ type is 1; if the documentary type corresponds to the number 2, the vieo _ type is 2; assuming that the movie type corresponds to the number 3, the vieo _ type is 3.
When the server extracts the video tag and determines the attribute information according to the video tag, if the video tag extracted to the target video 4 has a video _ type field, it may be determined that the attribute information includes a video type, and if the video _ type is 2, it may be determined that the video type of the target video 4 is a documentary type.
In this way, the server can determine the attribute information of the video type directly according to the video _ type field, and the video content does not need to be detected, so that the method is simple and efficient. It should be noted that the video tag may also be used to mark other attribute information of the target video, such as color tone, brightness, and the like, and specific manners may be referred to in the above embodiments, and repeated details are not repeated.
In the embodiment of the application, if the target video uploaded by the user has no video tag, the server may detect the video content of the target video in an image recognition mode or the like, and further determine attribute information of the target video, such as a video type, a video color tone, and the like.
S32: and after receiving a watching request of the target video sent by the client, returning the attribute information of the target video to the client.
In the above embodiment, the server detects the video content to extract the attribute information of the video and send the attribute information to the client, and the client adjusts the image quality of the video according to the attribute information and plays the video. For each video, the attribute information of the video can be detected and determined, so that when the video quality is adjusted by the client, the video quality can be adaptively adjusted according to the video content, the adjusted video quality has better effect, and the matching degree of the video quality and the video content is improved. In addition, the viewing and feeling difference caused by the difference of different target video types can be effectively avoided, the operation that the user frequently modifies the setting of image quality parameters can be reduced, and the viewing and feeling experience of the user is greatly improved.
Fig. 4 shows an interaction timing chart of a video quality adjustment method according to an embodiment of the present application.
The specific implementation flow of the method is as follows:
step 401: an operator uploads a video to a server;
step 402: the server detects the video content of the video and determines the attribute information of the video according to the detection result;
step 403: a user selects a target video to watch;
step 404: the client side responds to a watching request triggered by a user, sends a watching request to the server and requests the video data of the target video;
step 405: the server returns the video data of the target video and the corresponding attribute information;
step 406: the client reads the hardware configuration of the television system, and the picture quality is set through the configurator according to the hardware configuration and the attribute information;
step 407: the client prompts the user that the image quality parameters are adjusted and then the adjusted image quality parameters are played.
In an optional implementation manner, the server may further obtain an environment control parameter corresponding to the target video, and convert the environment control parameter into an environment control instruction corresponding to a corresponding environment adjusting device, where the environment adjusting device has a binding relationship with the client; after receiving a viewing request of a target video sent by a client, the server returns video stream data of the target video and attribute information of the target video to the client, and also returns an environment control instruction to the client, so that the client controls corresponding environment adjusting equipment to adjust the viewing environment of the target video according to the control instruction.
Wherein the environmental attributes include, but are not limited to, some or all of the following:
temperature attribute, wind sound attribute, brightness attribute, position offset attribute.
In the embodiment of the application, the temperature attribute refers to the temperature of the environment when the user watches the film, and can be adjusted through environment adjusting equipment such as an air conditioner, a fan and the like; the wind sound attribute refers to wind sound in the environment when the user watches the film, and can be adjusted through environment adjusting equipment such as a fan and the like; the brightness attribute refers to the brightness in the environment when the user watches the film, and can be adjusted through environment adjusting equipment such as an electric lamp and the like; the position deviation attribute refers to a deviation of a viewing position of the user when the user views the target video, for example, the user deviates to a position closer to the playing device, deviates to a distance farther from the playing device, and the like, and can be adjusted by the environment adjusting device such as a sofa.
In this application embodiment, the environment adjusting device may be an internet of things device having a binding relationship with the client, and needs to access the internet of things, and the common environment adjusting device includes devices such as an electric lamp, an air conditioner, an air purifier, an intelligent sofa, and an electric curtain of an intelligent home.
In an optional implementation manner, when obtaining the environmental control parameter corresponding to the target video, the following two manners may be mainly used:
the method comprises the steps of obtaining a first obtaining mode, and obtaining preset environment control parameters corresponding to a target video.
In this way, the professional can perform professional configuration of the viewing environment on the target video to obtain the preset environment control parameters, and the professional uploads the preset environment control parameters to the server.
Taking the target video as a terrorist ice and snow killer as an example, the film can be generally viewed by setting darker light and lower temperature. If the brightness is measured by 100, the brightness of the lamp light corresponding to the film is set to be 30; if the normal temperature is 26 degrees, the temperature corresponding to the film can be set to be 2-3 degrees lower than the normal temperature, and the like.
In the above embodiment, after the professional makes a corresponding configuration suggestion of the environmental control parameter options for the existing environmental conditioning equipment, the server generates a corresponding environmental control instruction and issues the instruction to the client, so that the client can perform corresponding control on the existing environmental conditioning equipment.
And determining an environment control parameter matched with the video content of the target video according to the detection result of the video content of the target video.
In this way, the video content of the target video needs to be detected by the server, and the detection can be performed by technologies such as image recognition, and the like, and corresponding values of specific environmental attributes such as brightness change, rain, temperature change, visual offset and the like at each time point are recorded, and according to the environmental attributes and the corresponding values at each time point of the target video, the optimal environmental conditioning equipment is traversed, and converted into corresponding environmental control instructions.
For example, at a movie time point of 10 minutes and 6 seconds, the brightness changes, and the environmental control parameter corresponding to the brightness attribute is 10, which needs to be converted into an instruction for controlling the electric lamp. If the API (application programming Interface) corresponding to the defined brightness attribute is controlLight, the lighting control environment command can be obtained by conversion: controlLight (10).
For example, at a movie time point of 20 minutes and 6 seconds, the brightness changes again, and the environmental control parameter corresponding to the brightness attribute is 20, then the environmental control instruction for controlling lighting can be obtained by conversion: controlLight 20).
In the above embodiment, the final environmental control parameter is directly detected and determined based on the video content of the target video, so as to intelligently adjust the viewing environment of the user, and enable the viewing experience of the user to reach an optimal state.
In an optional implementation manner, if there are at least two environment adjusting devices for controlling the environment attribute corresponding to the same environment control parameter, the environment control parameter is converted into an environment control instruction corresponding to the corresponding environment adjusting device, which may be specifically divided into the following two manners:
and in the first conversion mode, selecting one environment adjusting device from at least two environment adjusting devices, and converting the environment control parameters into the environment control instruction corresponding to the selected environment adjusting device.
For example, if the environmental control parameter is wind sound 20, the corresponding environmental attribute is wind sound attribute, and the environmental adjustment device for controlling the wind sound attribute has an air conditioner and an electric fan, one environmental adjustment device may be selected from the air conditioner and the electric fan, and if the selected environmental adjustment device is the electric fan, the environmental adjustment device is converted into an environmental control instruction for controlling the electric fan: control FanWind (20).
If the selected environment adjusting equipment is an air conditioner, converting the selected environment adjusting equipment into an environment control instruction for controlling the air conditioner: control controlcontrollerWind (20).
And a second conversion mode, namely converting the environment control parameters into environment control instructions corresponding to the environment adjusting devices respectively aiming at the environment adjusting devices, and setting priorities for the environment control instructions.
In the mode, an environment control instruction controlcontrolcontrolcontrollerWind (20) can be obtained by converting the air conditioner; an environmental control command, controlFanWind (20), is available for the electric fan.
Wherein, when setting priority to the two environment control instructions, the priority can be determined according to the primary and secondary environment attributes of the corresponding environment adjusting device.
Taking the air conditioner as an example, the environment attribute that the air conditioner corresponds includes temperature, wind sound etc. and wherein main environment attribute is the temperature, divide into 3 gears: cold, normal temperature, hot; the secondary environment attribute is wind sound, and the integer value gear is generally 3: no wind, little wind, strong wind. Among them, the air conditioner is mainly used for controlling temperature because the wind sound effect produced by the air conditioner is not good as that of a fan. Taking an electric fan as an example, the corresponding main environmental attribute is wind noise, for example, an integer number gear is generally 3: no wind, little wind, strong wind.
Therefore, when the two environmental control commands are prioritized, the priority of the environmental control command corresponding to the electric fan can be set higher than the priority of the environmental control command corresponding to the air conditioner. In addition, the environmental control parameters can be converted into commands according to the priority definition, namely, the environmental control parameters are converted into commands controlFanWind (20) for controlling the fan, and then converted into commands controlControllerWind (20) for controlling the air conditioner.
Optionally, when there are at least two environment adjusting devices for controlling the environment attributes corresponding to the same environment control parameter, the environment adjusting devices may also be the same type of environment adjusting devices, for example, there are two air conditioners, and at this time, when determining the priorities of the two air conditioners, the priorities may be determined according to actual conditions, for example, according to the powers, locations, and the like of the air conditioners.
In the above embodiment, a manner of generating the environment control instruction when there are many environment adjusting devices for controlling the same environment attribute is provided, and the environment control parameter is converted into at least one environment control instruction by a priority or a selection manner, so that the generation efficiency or the use efficiency of the environment control instruction is improved.
In an optional implementation manner, after the client sends the viewing request to the server, the client should also receive video stream data of the target video returned by the server; after the image quality of the target video is adjusted according to the attribute information, the video stream data can be decoded, and the target video can be played through the adjusted image quality.
In the above embodiment, the target video is directly played through the adjusted image quality after the image quality is adjusted, which is helpful for improving the viewing experience of the user.
In an optional implementation manner, after the client sends the viewing request to the server, if an environment control instruction returned by the server is received, the corresponding environment adjusting device is controlled according to the environment control instruction, so as to adjust the viewing environment of the viewing target video.
The environment adjusting equipment is specifically bound with the client; the environment control instruction is obtained by converting an environment control parameter corresponding to the target video by the server, and the specific implementation manner may be referred to in the above embodiments.
In the embodiment of the application, after receiving the environment control instruction, the client controls the corresponding environment adjusting device according to the received environment control instruction.
For example, if the environment control command received by the client is control fanwind (20), the fan is controlled to adjust the rotating speed, and the wind noise is adjusted to 20; and if the environment control command received by the client is control light (10), controlling the electric lamp to adjust the light brightness to 10.
In the above embodiment, the client adjusts the film viewing environment of the target video based on the environment control instruction, so that the indoor environment achieves the best film viewing experience, and the user experience is improved.
In an alternative embodiment, if there are at least two environment control commands for controlling the same environment attribute; when the corresponding environment adjusting device is controlled according to the environment control instruction, the corresponding environment adjusting device needs to be controlled according to the priority of at least two environment control instructions.
For example, the client receives two environment control instructions for controlling the wind sound property, which are: the air conditioner control method comprises a control FanWind (20) and a control controlControlWind (20), wherein the priority of the control FanWind (20) is higher than that of the control controlControlWind (20), namely the control FanWind (20) is a first instruction, and the control ControlControlWind (20) is a second instruction, when a client controls an environment adjusting device according to the two environment control instructions, an electric fan is controlled according to the first instruction, and if the environment adjusting device bound with the client under the current environment does not have the electric fan, or the electric fan is controlled according to the first instruction and fails, the air conditioner is controlled according to the second instruction.
In the above embodiment, a manner is provided in which the environment adjustment device is controlled according to the priority when the client receives a plurality of environment control instructions for controlling the same environment attribute, and the environment adjustment device can be effectively controlled on the premise of ensuring the viewing environment adjustment.
Optionally, a corresponding adjustment time may be further set in the environment control instruction, where the adjustment time is used to indicate a time at which the client controls the environment adjustment device.
For example, the client receives two environment control instructions for adjusting the brightness, wherein the adjusting time of the controlLight (10) is 10 minutes and 6 seconds after the target video is played, the client controls the electric lamp to adjust the brightness of the lamp light to 10 at the time of 10 minutes and 6 seconds; when the adjusting time of the control light (20) is 20 minutes and 6 seconds after the target video is played, the client controls the electric lamp to adjust the brightness of the light to 20 at the time of 20 minutes and 6 seconds.
In the embodiment, the film watching environment is adjusted by fully referring to the video content of the target video, and the user experience is improved.
Optionally, after receiving the environment control instruction, the client may further prompt the user to determine whether to perform the corresponding environment adjustment before controlling the corresponding environment adjustment device according to the environment control instruction, and execute the corresponding environment control instruction according to the selection of the user.
For example, when the target video is played for 10 minutes and 6 seconds, prompting the user whether to adjust the brightness of the electric lamp to 10, and if the user agrees, controlling the electric lamp to adjust the light; and if the user does not agree, the electric lamp is not controlled to adjust the light.
In the embodiment, the film viewing environment is adjusted according to the subjective consciousness of the user, so that the adjusted light source environment meets the user's experience, and the film viewing experience of the user is improved.
Referring to fig. 5, a schematic view of a viewing environment adjusting module provided in an embodiment of the present application is shown, where the viewing adjusting module is mainly used for a server to generate an environment control instruction corresponding to a target video, and specifically includes the following four parts:
1) and the environment adjusting equipment mark attribute defining module.
The model needs manual operation, environment attributes which can be matched with various environment adjusting devices are manually led in, some environment adjusting devices have multiple environment attributes, the environment adjusting devices can be marked as primary environment attributes and secondary environment attributes according to specific effects, and values of the environment attributes are defined, the definition is generally divided into 2-3 gears, each gear is a section, and electricity consumption caused by continuous control of the environment adjusting devices is avoided.
For example, the environment attribute corresponding to the electric lamp is brightness, and the brightness is 3 steps: dark, normal, bright; the corresponding attribute of the air conditioner is the main environmental attribute temperature, and is divided into 3 gears: cold, normal temperature, hot, secondary environment attribute wind sound, the integer numerical value gear is generally 3 grades: no wind, little wind, strong wind; the main environmental attribute that water spray fan corresponds is the wind sound, and integer numerical value gear is 3 grades generally: the raining effect can be controlled according to the switch variable of the water spray fan, and the switch variable comprises opening or closing; the main environmental attribute that intelligence sofa corresponds is offset, offset when watching the shadow through adjustment intelligence sofa offset control, and the position variable is: up, down, left, right, etc.
It should be noted that, as the environment adjusting devices increase more extractable environment attributes, the viewing experience becomes richer and richer.
2) And an environment attribute extraction module.
The module is mainly used for recording the corresponding numerical values of specific attributes of each time point of the target video, such as brightness change, rainfall, temperature change, visual offset and the like, through a video identification technology.
3) And the environment attribute and environment control instruction matching module.
The module is mainly used for traversing the optimal environment adjusting equipment through the attribute and the corresponding value of each time point of the target video obtained in the previous link, and converting the attribute into a corresponding environment control instruction, for example, at a movie time point 10.06, the brightness attribute (10) needs to be changed into the instruction controlLight (10) for controlling the electric lamp.
4) And the environment control instruction and video integration module.
The module is mainly used for integrating the time point of the environment control instruction with the video playing time point, so that when a user requests video data, the environment control instruction can be requested together, the environment control instruction and video stream data of a target video are issued to a client side together, and the client side controls the environment adjusting equipment to adjust the viewing environment according to the environment control instruction while playing the target video.
Referring to fig. 6, an interactive timing chart of the viewing environment adjustment method is shown. The specific implementation flow of the method is as follows:
step 601: a professional uploads a video and an environment control parameter of the video to a server;
step 602: binding environment adjusting equipment by a user;
step 603: the server converts the environment control parameters into corresponding environment control instructions;
step 604: a user requests to watch a target video;
step 605: the client side responds to a watching request triggered by a user, sends a watching request to the server, and requests video data of a target video;
step 606: the server returns video data and an environment control instruction for controlling the film watching environment;
step 607: the client gives user options and determines whether the user needs to set a film viewing environment;
step 608: the user agrees to the adjustment of the film watching environment;
step 609: and the client receives the instruction to control the corresponding environment adjusting equipment and play the target video.
It should be noted that there may be a plurality of videos uploaded in step 601, including the target video.
It should be noted that the environment control parameter in the method shown in fig. 6 is obtained by a professional person by setting a cosine and uploading the cosine to the server, and the server may determine the environment control parameter by detecting the video content of the target video, which is specifically referred to in the above embodiments.
The following is an example of the adjustment timing sequence of the picture quality adjustment and the viewing environment adjustment, and refer to fig. 7, which is a schematic diagram of a business process provided in the embodiment of the present application, and specifically includes the following steps:
s701: a user opens the film to play;
s702: the client performs image quality setting according to the film image quality standard issued by the background;
s703: the background controls and adjusts the environment adjusting equipment according to the IOT authorized by the user;
s704: the best film watching effect is achieved, and the playing is started.
It should be noted that fig. 7 is only an optional implementation provided in the embodiment of the present application, where a client is an APP installed on a terminal device, and a background refers to the terminal device.
As shown in fig. 8, a schematic structural diagram of an apparatus 800 for adjusting video image quality according to an embodiment of the present application may include:
a requesting unit 801 configured to send a viewing request to a server in response to a viewing request of a target video;
a receiving unit 802, configured to receive attribute information of a target video returned by a server, where the attribute information is determined after the server detects video content of the target video;
an adjusting unit 803 is configured to adjust the image quality of the target video according to the attribute information.
Optionally, the adjusting unit 803 is specifically configured to:
determining image quality parameters corresponding to the attribute information according to the corresponding relation between the pre-configured image quality parameters and the attribute information;
and adjusting the image quality of the target video according to the determined image quality parameters.
Optionally, the apparatus further comprises:
an information obtaining unit 804, configured to obtain hardware information of a playing device for playing a target video;
the adjusting unit 803 is specifically configured to:
and determining the image quality parameters corresponding to the attribute information and the hardware information of the playing equipment according to the preset corresponding relation between the image quality parameters and the hardware information and the attribute information.
Optionally, the attribute information includes part or all of the following:
video category information, video picture information.
Optionally, the receiving unit 802 is further configured to:
after the request unit sends the watching request to the server, the adjusting unit receives video stream data of the target video returned by the server before adjusting the image quality of the target video according to the attribute information;
the device also includes:
the playing unit 805 is configured to decode the video stream data after the adjusting unit adjusts the image quality of the target video according to the attribute information, and play the target video according to the adjusted image quality.
Optionally, the receiving unit 802 is further configured to:
after the request unit sends the viewing request to the server, receiving an environment control instruction returned by the server, wherein the environment control instruction is obtained by converting environment control parameters corresponding to the target video by the server;
the device also includes:
and the control unit 806 is configured to control the corresponding environment adjusting device according to the environment control instruction, so as to adjust the viewing environment of the viewing target video.
Optionally, if there are at least two environment control instructions for controlling the same environment attribute;
the control unit 806 is specifically configured to:
and controlling the corresponding environment adjusting equipment according to the priority of the at least two environment control instructions.
As shown in fig. 9, a schematic structural diagram of another video quality adjustment apparatus 900 according to an embodiment of the present application may include:
a determining unit 901, configured to detect video content of an obtained target video, and determine attribute information of the target video;
the transmission unit 902 is configured to return attribute information of the target video to the client after receiving a viewing request of the target video sent by the client, so that the client adjusts the image quality of the target video according to the attribute information.
Optionally, the apparatus further comprises:
the instruction generating unit 903 is configured to obtain an environment control parameter corresponding to the target video, and convert the environment control parameter into an environment control instruction corresponding to a corresponding environment adjusting device, where the environment adjusting device and the client have a binding relationship;
the transmission unit 902 is configured to return attribute information of the target video to the client after receiving a viewing request of the target video sent by the client, so that the client adjusts the image quality of the target video according to the attribute information.
Optionally, the instruction generating unit 903 is specifically configured to:
acquiring a preset environment control parameter corresponding to a target video; or
And determining the environmental control parameters matched with the video content of the target video according to the detection result of the video content of the target video.
Optionally, if there are at least two environment adjusting devices for controlling the environment attributes corresponding to the same environment control parameter;
the instruction generating unit 903 is specifically configured to:
selecting one environment adjusting device from at least two environment adjusting devices, and converting the environment control parameter into an environment control instruction corresponding to the selected environment adjusting device; or
And aiming at each environment adjusting device, converting the environment control parameters into environment control instructions corresponding to each environment adjusting device respectively, and setting priorities for each environment control instruction.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same one or more pieces of software or hardware when implementing the present application.
Having described the video quality adjustment method and apparatus according to the exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application is described next.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, embodiments of the present application further provide an electronic device, which participates in fig. 10, and the electronic device 1000 may include at least a processor 1001 and a memory 1002. The memory 1002 stores program codes, and when the program codes are executed by the processor 1001, the processor 1001 is enabled to execute the steps of the video image quality adjustment method according to various exemplary embodiments of the present application described in the present specification. For example, the processor 1001 may perform the steps as shown in fig. 2.
In some possible implementations, a computing device according to the present application may include at least one processor 1001 and at least one memory 1002. The memory 1002 stores program codes, and when the program codes are executed by the processor 1001, the processor 1001 is enabled to execute the steps of the video image quality adjustment method according to various exemplary embodiments of the present application described above in the present specification. For example, the processor 1001 may perform the steps as shown in fig. 2.
The computing device 110 according to this embodiment of the present application is described below with reference to FIG. 11. The computing device 110 of FIG. 11 is only one example and should not be taken to limit the scope of use or functionality of embodiments of the present application.
As shown in FIG. 11, computing device 110 is in the form of a general purpose computing device. Components of computing device 110 may include, but are not limited to: at least one processing unit 111, the at least one memory unit 112, and a bus 113 that connects the various system components (including the memory unit 112 and the processing unit 111).
Bus 113 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 112 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1121 and/or cache storage unit 1122, and may further include Read Only Memory (ROM) 1123.
Storage unit 112 may also include a program/utility 1125 having a set (at least one) of program modules 1124, such program modules 1124 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The computing device 110 may also communicate with one or more external devices 114 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the computing device 110, and/or with any devices (e.g., router, modem, etc.) that enable the computing device 110 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 115. Also, the computing device 110 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 116. As shown, the network adapter 116 communicates with other modules for the computing device 110 over the bus 113. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computing device 110, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, aspects of the video quality adjustment method provided by the present application may also be implemented in the form of a program product including program code for causing a computer device to perform the steps in the video quality adjustment method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for adjusting video image quality according to the embodiment of the present application may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be executed on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on the user equipment, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (15)

1. A method for adjusting video quality, the method comprising:
responding to a watching request of a target video, and sending the watching request to a server;
receiving attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video;
and adjusting the image quality of the target video according to the attribute information.
2. The method of claim 1, wherein the adjusting the image quality of the target video according to the attribute information comprises:
determining image quality parameters corresponding to the attribute information according to the corresponding relation between the pre-configured image quality parameters and the attribute information;
and adjusting the image quality of the target video according to the determined image quality parameters.
3. The method of claim 2, wherein the method further comprises:
acquiring hardware information of a playing device for playing the target video;
the determining the image quality parameters corresponding to the attribute information according to the corresponding relationship between the pre-configured image quality parameters and the attribute information comprises the following steps:
and determining the image quality parameters corresponding to the attribute information and the hardware information of the playing equipment according to the preset corresponding relation between the image quality parameters and the hardware information and the attribute information.
4. The method of claim 1, wherein the attribute information includes some or all of:
video category information, video picture information.
5. The method of claim 1, wherein after sending the viewing request to a server, before adjusting the quality of the target video according to the attribute information, further comprising:
receiving video stream data of the target video returned by the server;
after the image quality of the target video is adjusted according to the attribute information, the method further comprises the following steps:
and decoding the video stream data, and playing the target video according to the adjusted image quality.
6. The method of any of claims 1 to 5, further comprising, after sending the viewing request to a server:
receiving an environment control instruction returned by the server, wherein the environment control instruction is obtained by converting an environment control parameter corresponding to the target video by the server;
and controlling corresponding environment adjusting equipment according to the environment control instruction so as to adjust the film watching environment for watching the target video.
7. The method of claim 6, wherein if there are at least two environment control commands for controlling the same environment attribute;
the controlling the corresponding environment adjusting device according to the environment control instruction comprises:
and controlling the corresponding environment adjusting equipment according to the priorities of the at least two environment control instructions.
8. A method for adjusting video quality, the method comprising:
detecting the video content of the obtained target video, and determining the attribute information of the target video;
and after receiving a watching request of the target video sent by a client, returning attribute information of the target video to the client so that the client adjusts the image quality of the target video according to the attribute information.
9. The method of claim 8, wherein the method further comprises:
acquiring an environment control parameter corresponding to the target video, and converting the environment control parameter into an environment control instruction corresponding to corresponding environment adjusting equipment, wherein the environment adjusting equipment and the client have a binding relationship;
after receiving a viewing request of the target video sent by a client, the method further comprises the following steps:
and returning the environment control instruction to the client so that the client controls corresponding environment adjusting equipment to adjust the film viewing environment of the target video according to the control instruction.
10. The method of claim 9, wherein the obtaining the environmental control parameter corresponding to the target video comprises:
acquiring a preset environment control parameter corresponding to the target video; or
And determining the environmental control parameters matched with the video content of the target video according to the detection result of the video content of the target video.
11. The method of claim 9, wherein if there are at least two environment adjusting devices for controlling the environment attribute corresponding to the same environment control parameter;
the converting the environmental control parameters into environmental control instructions corresponding to the corresponding environmental conditioning equipment includes:
selecting one environment adjusting device from the at least two environment adjusting devices, and converting the environment control parameter into an environment control instruction corresponding to the selected environment adjusting device; or
And aiming at each environment adjusting device, converting the environment control parameters into environment control instructions corresponding to each environment adjusting device respectively, and setting priorities for each environment control instruction.
12. An apparatus for adjusting video quality, comprising:
a request unit for responding to a viewing request of a target video and sending the viewing request to a server;
the receiving unit is used for receiving the attribute information of the target video returned by the server, wherein the attribute information is determined after the server detects the video content of the target video;
and the adjusting unit is used for adjusting the image quality of the target video according to the attribute information.
13. An apparatus for adjusting video quality, comprising:
the determining unit is used for detecting the video content of the obtained target video and determining the attribute information of the target video;
and the second transmission unit is used for returning the attribute information of the target video to the client after receiving the watching request of the target video sent by the client, so that the client can adjust the image quality of the target video according to the attribute information.
14. An electronic device, comprising a processor and a memory, wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 11.
15. A computer-readable storage medium, characterized in that it comprises program code for causing an electronic device to carry out the steps of the method according to any one of claims 1 to 11, when said program product is run on said electronic device.
CN202010095922.0A 2020-02-17 2020-02-17 Video image quality adjusting method and device, electronic equipment and storage medium Active CN111263188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010095922.0A CN111263188B (en) 2020-02-17 2020-02-17 Video image quality adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010095922.0A CN111263188B (en) 2020-02-17 2020-02-17 Video image quality adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111263188A true CN111263188A (en) 2020-06-09
CN111263188B CN111263188B (en) 2021-10-08

Family

ID=70949360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010095922.0A Active CN111263188B (en) 2020-02-17 2020-02-17 Video image quality adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111263188B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804573A (en) * 2021-01-08 2021-05-14 Oppo广东移动通信有限公司 Television signal processing method and device, electronic equipment and storage medium
CN113542851A (en) * 2021-07-09 2021-10-22 Vidaa美国公司 Menu refreshing method and display device
CN113825032A (en) * 2020-06-18 2021-12-21 聚好看科技股份有限公司 Media asset playing method and display equipment
WO2021253864A1 (en) * 2020-06-18 2021-12-23 海信视像科技股份有限公司 Broadcast receiving apparatus, server device, information record playing apparatus, and display system
CN114286150A (en) * 2020-11-12 2022-04-05 海信视像科技股份有限公司 Display device, server and image quality sharing method
CN114286194A (en) * 2021-12-08 2022-04-05 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114760309A (en) * 2022-04-11 2022-07-15 中国电信股份有限公司 Business interaction method, device, equipment and medium of terminal based on cloud service
CN115776592A (en) * 2022-11-03 2023-03-10 深圳创维-Rgb电子有限公司 Display method, display device, electronic equipment and storage medium
TWI802072B (en) * 2021-11-04 2023-05-11 明基電通股份有限公司 Image display apparatus and system as well as image displaying method thereof
CN116708886A (en) * 2022-11-22 2023-09-05 荣耀终端有限公司 Video processing method, device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165120A1 (en) * 2012-12-11 2014-06-12 Morega Systems Inc. Client device with video playlist translation via client-side proxy and methods for use therewith
CN105263043A (en) * 2015-10-13 2016-01-20 小米科技有限责任公司 Control method and device of smart home equipment, and terminal
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106534942A (en) * 2016-11-04 2017-03-22 微鲸科技有限公司 Video image quality adjusting method and apparatus
CN107566227A (en) * 2017-08-17 2018-01-09 广州视源电子科技股份有限公司 Control method, device, smart machine and the storage medium of home appliance
CN108419098A (en) * 2018-03-30 2018-08-17 深圳Tcl数字技术有限公司 The control method and television set of television set
CN109618237A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN110286868A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Video display adjustment method and device, electronic equipment and storage medium
CN110493091A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 A kind of control method and device of smart home device
CN110536176A (en) * 2019-07-31 2019-12-03 深圳银澎云计算有限公司 A kind of video resolution method of adjustment, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165120A1 (en) * 2012-12-11 2014-06-12 Morega Systems Inc. Client device with video playlist translation via client-side proxy and methods for use therewith
CN105263043A (en) * 2015-10-13 2016-01-20 小米科技有限责任公司 Control method and device of smart home equipment, and terminal
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106534942A (en) * 2016-11-04 2017-03-22 微鲸科技有限公司 Video image quality adjusting method and apparatus
CN107566227A (en) * 2017-08-17 2018-01-09 广州视源电子科技股份有限公司 Control method, device, smart machine and the storage medium of home appliance
CN108419098A (en) * 2018-03-30 2018-08-17 深圳Tcl数字技术有限公司 The control method and television set of television set
CN109618237A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN110286868A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Video display adjustment method and device, electronic equipment and storage medium
CN110536176A (en) * 2019-07-31 2019-12-03 深圳银澎云计算有限公司 A kind of video resolution method of adjustment, electronic equipment and storage medium
CN110493091A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 A kind of control method and device of smart home device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7206235B2 (en) 2020-06-18 2023-01-17 Tvs Regza株式会社 Broadcast receiver and display system
CN115943625A (en) * 2020-06-18 2023-04-07 海信视像科技股份有限公司 Broadcast receiving apparatus, server device, information recording/playing apparatus, and display system
JP2021197716A (en) * 2020-06-18 2021-12-27 Tvs Regza株式会社 Broadcast reception apparatus, server apparatus, information recording/playback apparatus, and display system
WO2021253864A1 (en) * 2020-06-18 2021-12-23 海信视像科技股份有限公司 Broadcast receiving apparatus, server device, information record playing apparatus, and display system
CN113825032A (en) * 2020-06-18 2021-12-21 聚好看科技股份有限公司 Media asset playing method and display equipment
CN114286150A (en) * 2020-11-12 2022-04-05 海信视像科技股份有限公司 Display device, server and image quality sharing method
CN112804573A (en) * 2021-01-08 2021-05-14 Oppo广东移动通信有限公司 Television signal processing method and device, electronic equipment and storage medium
CN113542851A (en) * 2021-07-09 2021-10-22 Vidaa美国公司 Menu refreshing method and display device
CN113542851B (en) * 2021-07-09 2023-05-09 Vidaa美国公司 Menu refreshing method and display device
TWI802072B (en) * 2021-11-04 2023-05-11 明基電通股份有限公司 Image display apparatus and system as well as image displaying method thereof
US12002399B2 (en) 2021-11-04 2024-06-04 Benq Corporation Image display apparatus and system as well as image displaying method thereof
CN114286194A (en) * 2021-12-08 2022-04-05 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114286194B (en) * 2021-12-08 2024-05-03 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114760309A (en) * 2022-04-11 2022-07-15 中国电信股份有限公司 Business interaction method, device, equipment and medium of terminal based on cloud service
CN115776592A (en) * 2022-11-03 2023-03-10 深圳创维-Rgb电子有限公司 Display method, display device, electronic equipment and storage medium
CN116708886A (en) * 2022-11-22 2023-09-05 荣耀终端有限公司 Video processing method, device and storage medium
CN116708886B (en) * 2022-11-22 2024-05-14 荣耀终端有限公司 Video processing method, device and storage medium

Also Published As

Publication number Publication date
CN111263188B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN111263188B (en) Video image quality adjusting method and device, electronic equipment and storage medium
RU2616158C2 (en) Apparatuses and methods for hdr image encoding and decoding
JP5909542B2 (en) Image capture display system, method for performing system-synchronized brightness control using regions of interest in video images, and use of metadata
CN105187810B (en) A kind of auto white balance method and electronic medium device based on face color character
RU2609760C2 (en) Improved image encoding apparatus and methods
CN107211079A (en) Dynamic range for image and video is encoded
AU2015396659A1 (en) Interactive method on intelligent home appliance based on smart TV video scenes and the system thereof
CN104183227A (en) Application program display processing method and device
CN107145871B (en) It is a kind of can gesture operation intelligent home control system
US20140348427A1 (en) Automatic color correction
US11989868B2 (en) Video quality assessing method and apparatus
CN109981991A (en) Model training method, image processing method, device, medium and electronic equipment
Sun et al. Dynamic backlight scaling considering ambient luminance for mobile videos on lcd displays
US11258954B2 (en) Image processing method and apparatus, and electronic device and storage medium
Vo et al. HDR10+ adaptive ambient compensation using creative intent metadata
JP2019506817A (en) Processing multiple HDR image sources
US20090172756A1 (en) Lighting analysis and recommender system for video telephony
US9842532B2 (en) Remote display rendering for electronic devices
CN108881974A (en) Open the method and system of television set child mode
CN113873208A (en) Gamma curve adjusting method and device for projection equipment
CN113556615A (en) Image processing method and device, and computer readable storage medium
US20210211757A1 (en) Systems and methods for adapting playback device for content display
WO2022233697A1 (en) Display-optimized hdr video contrast adaptation
CN115334348A (en) Video subtitle adjusting method and device, electronic equipment and storage medium
CN112752056A (en) Intelligent home remote video interaction method and system based on Internet of things, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024347

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221118

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 35th floor, Tencent building, Keji Zhongyi Road, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.