CN111050212A - Video playing method, device and storage medium - Google Patents

Video playing method, device and storage medium Download PDF

Info

Publication number
CN111050212A
CN111050212A CN201911297414.4A CN201911297414A CN111050212A CN 111050212 A CN111050212 A CN 111050212A CN 201911297414 A CN201911297414 A CN 201911297414A CN 111050212 A CN111050212 A CN 111050212A
Authority
CN
China
Prior art keywords
video
playing
video playing
parameters
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911297414.4A
Other languages
Chinese (zh)
Inventor
严鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201911297414.4A priority Critical patent/CN111050212A/en
Publication of CN111050212A publication Critical patent/CN111050212A/en
Priority to PCT/CN2020/111293 priority patent/WO2021120675A1/en
Pending legal-status Critical Current

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Landscapes

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

Abstract

The invention discloses a video playing method, a device and a storage medium, wherein the method comprises the following steps: acquiring a playing scene of a video to be processed; acquiring a target video playing parameter of the video to be processed according to the playing scene; and playing the video to be processed according to the target video playing parameters. The target video playing parameters are obtained according to the characteristics of the video, the video is played by adopting the target video playing parameters, the video playing effect can be more fit with the characteristics of the video, the video playing effect is further improved, the watching experience of a user is improved, and the technical problem that the characteristics of the video playing parameters and the video are not matched in the existing video playing process is solved.

Description

Video playing method, device and storage medium
Technical Field
The present invention relates to the field of multimedia playing, and in particular, to a video playing method, device and storage medium.
Background
Along with the penetration of the internet in life, the popularization of intelligent equipment, the further deepening of the concept and the popularization of the intelligent television, and the demand and the expectation of the intelligent television on the market are increasingly urgent.
However, the existing television set adopts a fixed playing parameter in the playing process, the playing parameter is a parameter manually adjusted by a user last time, and the situations that the playing parameter is not matched with the characteristics of the currently played video and the playing parameter is not appropriate with the played video content easily occur, so that the video playing effect is poor and the user experience is low.
Disclosure of Invention
The invention mainly aims to provide a video playing method, video playing equipment and a storage medium, and aims to solve the technical problem that video playing parameters are not matched with the characteristics of a video in the existing video playing process.
In order to achieve the above object, the present invention provides a video playing method, including the following steps:
acquiring a playing scene of a video to be processed;
acquiring a target video playing parameter of the video to be processed according to the playing scene;
and playing the video to be processed according to the target video playing parameters.
Optionally, the step of obtaining the target video playing parameter of the video to be processed according to the playing scene includes:
acquiring video playing parameters corresponding to the video to be processed according to the playing scene;
and determining target video playing parameters according to the video playing parameters corresponding to the video to be processed.
Optionally, the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters, and the step of obtaining the video playing parameters corresponding to the video to be processed according to the playing scene includes:
judging whether the playing scene has historical video playing parameters or not;
if yes, obtaining historical video playing parameters of the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and screening the historical video playing parameters according to the distribution condition of the historical video playing parameters of the playing scene to obtain target video playing parameters.
Optionally, after the step of determining whether the playing scene has the historical video playing parameters, the method further includes:
if not, acquiring preset video playing parameters corresponding to the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and taking the preset video playing parameters corresponding to the playing scenes as target video playing parameters.
Optionally, the step of screening the historical video playing parameters according to the distribution of the historical video playing parameters of the playing scene to obtain target video playing parameters includes:
acquiring the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
determining a target partition with the largest distribution quantity of each preset numerical value partition of each video playing parameter according to the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
and determining target video playing parameters according to the historical video playing parameters in the target partition of each video playing parameter.
Optionally, the step of obtaining video playing parameters corresponding to the video to be processed according to the playing scene includes:
acquiring the video content type of the video to be processed in the playing scene;
and acquiring video playing parameters corresponding to the video to be processed according to the video content type.
Optionally, after the step of playing the video to be processed according to the target video playing parameter, the method further includes:
monitoring an attribute of ambient light;
and when the attribute of the ambient light changes, adjusting the video playing parameter of the video to be processed according to the change condition of the attribute of the ambient light.
Optionally, the attribute of the ambient light includes ambient light brightness, and the step of adjusting the playing brightness of the video to be processed according to the change condition of the attribute of the ambient light when the attribute of the ambient light changes includes:
when the ambient light brightness changes, acquiring a curve conversion value corresponding to the changed ambient light brightness;
acquiring a corresponding backlight value according to the curve conversion value corresponding to the changed ambient light brightness;
and adjusting the playing brightness of the video to be processed according to the backlight value.
Further, to achieve the above object, the present invention further provides a video playing device, including:
the scene acquisition module is used for acquiring a playing scene of a video to be processed;
the parameter acquisition module is used for acquiring target video playing parameters of the video to be processed according to the playing scene;
and the video playing module is used for playing the video to be processed according to the target video playing parameters.
Further, to achieve the above object, the present invention also provides a video playing device, where the video playing device includes a memory, a processor, and a video playing program stored in the memory and capable of running on the processor, and the video playing program, when executed by the processor, implements the steps of the video playing method as described above.
Further, to achieve the above object, the present invention further provides a storage medium, where a video playing program is stored, and the video playing program, when executed by a processor, implements the steps of the video playing method as described above.
The method comprises the steps of acquiring a playing scene of a video to be processed; acquiring a target video playing parameter of the video to be processed according to the playing scene; and playing the video to be processed according to the target video playing parameters. The target video playing parameters are obtained according to the characteristics of the video, the video is played by adopting the target video playing parameters, the video playing effect can be more fit with the characteristics of the video, the video playing effect is further improved, the watching experience of a user is improved, and the technical problem that the characteristics of the video playing parameters and the video are not matched in the existing video playing process is solved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment of a video playback device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video playing method according to a first embodiment of the present invention;
fig. 3 is a functional block diagram of a video playback device according to a preferred embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, in the existing television, a fixed playing parameter is adopted in the playing process, and the playing parameter is a parameter manually adjusted by a user last time, so that the situations that the playing parameter is not matched with the characteristics of the currently played video and the playing parameter is not in contact with the played video content easily occur, which results in a poor video playing effect and low user experience.
Based on the above-mentioned defects, the present invention provides a video playing device, and referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a device according to an embodiment of the video playing device of the present invention.
As shown in fig. 1, the video playback device may include: a processor 1001, e.g. a CPU, a communication bus 1002, a user interface 1003 to be analyzed, a network interface 1004, a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The to-be-analyzed user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional to-be-analyzed user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the hardware configuration of the video playback device shown in fig. 1 does not constitute a limitation of the video playback device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module to be analyzed, and a video playback program. The operating system is a program for managing and controlling the video playing equipment and software resources, and supports the operation of a network communication module, a user interface module to be analyzed, a video playing program and other programs or software; the network communication module is used to manage and control the network interface 1004; the to-be-analyzed user interface module is used for managing and controlling the to-be-analyzed user interface 1003.
In the hardware structure of the video playback device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface to be analyzed 1003 is mainly used for connecting a client and performing data communication with the client; the processor 1001 may call a video playback program stored in the memory 1005 and perform the following operations:
acquiring a playing scene of a video to be processed;
acquiring a target video playing parameter of the video to be processed according to the playing scene;
and playing the video to be processed according to the target video playing parameters.
Further, the step of obtaining the target video playing parameter of the video to be processed according to the playing scene includes:
acquiring video playing parameters corresponding to the video to be processed according to the playing scene;
and determining target video playing parameters according to the video playing parameters corresponding to the video to be processed.
Further, the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters, and the step of obtaining the video playing parameters corresponding to the video to be processed according to the playing scene includes:
judging whether the playing scene has historical video playing parameters or not;
if yes, obtaining historical video playing parameters of the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and screening the historical video playing parameters according to the distribution condition of the historical video playing parameters of the playing scene to obtain target video playing parameters.
Further, after the step of determining whether the playing scene has the historical video playing parameters, the method further includes:
if not, acquiring preset video playing parameters corresponding to the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and taking the preset video playing parameters corresponding to the playing scenes as target video playing parameters.
Further, the step of screening the historical video playing parameters according to the distribution of the historical video playing parameters of the playing scene to obtain the target video playing parameters includes:
acquiring the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
determining a target partition with the largest distribution quantity of each preset numerical value partition of each video playing parameter according to the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
and determining target video playing parameters according to the historical video playing parameters in the target partition of each video playing parameter.
Further, the step of obtaining video playing parameters corresponding to the video to be processed according to the playing scene includes:
acquiring the video content type of the video to be processed in the playing scene;
and acquiring video playing parameters corresponding to the video to be processed according to the video content type.
Further, after the step of playing the video to be processed according to the target video playing parameter, the method further includes:
monitoring an attribute of ambient light;
and when the attribute of the ambient light changes, adjusting the video playing parameter of the video to be processed according to the change condition of the attribute of the ambient light.
Further, the attribute of the ambient light includes ambient light brightness, and the step of adjusting the playing brightness of the video to be processed according to the change condition of the attribute of the ambient light when the attribute of the ambient light changes includes:
when the ambient light brightness changes, acquiring a curve conversion value corresponding to the changed ambient light brightness;
acquiring a corresponding backlight value according to the curve conversion value corresponding to the changed ambient light brightness;
and adjusting the playing brightness of the video to be processed according to the backlight value.
The specific implementation of the video playing device of the present invention is substantially the same as the following embodiments of the video playing method, and will not be described herein again.
The invention also provides a video playing method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a video playing method according to a first embodiment of the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein.
In the embodiments of the video playing method, the execution subject is a video playing device capable of playing video, such as a television, a mobile phone, a tablet computer, a computer, and the like, and for convenience of description, the television is taken as the execution subject to describe the embodiments. The video playing method comprises the following steps:
step S10, acquiring a playing scene of a video to be processed;
in the prior art, some televisions adopt fixed playing parameters in the playing process, the playing parameters are parameters manually adjusted by a user last time, the conditions that the playing parameters are not matched with the characteristics of the currently played video and the playing parameters are not close to the played video content easily occur, the video playing effect is poor, and the user experience is low.
In order to solve the technical problem that in the prior art, in the video playing process, the video playing parameters are not matched with the characteristics of the video, the embodiment of the invention provides a video playing method, which aims to improve the video playing effect by automatically adjusting the video playing parameters according to the characteristics of the video.
In this embodiment, the video to be processed may be understood as a video being played or a video to be played by the video playing device. When the television plays a video, the television first acquires a playing scene of the video to be played or being played, and the specific acquisition of the playing scene of the video can be acquired from identification information of the video, wherein the identification information includes but is not limited to a name, a number and the like of the video; or the video can be obtained by analyzing and analyzing; the method and the device can also be selected or set by the user, and the embodiment does not limit the specific acquisition mode of the playing scene of the video. The playing scene of the video refers to the classification of the video set according to the different video types, the playing scene of the video includes but is not limited to a movie playing scene, a television play scene, an animation playing scene, a news playing scene, a sports event playing scene, a game event playing scene, an integrated art program playing scene, and the like, and correspondingly, if the video to be processed is a movie, the playing scene is the movie playing scene; if the video to be processed is a television play, the playing scene is a television play scene; if the video to be processed is an animation, the playing scene is an animation playing scene; if the video to be processed is news, the playing scene is a news playing scene; if the video to be processed is a sports event, the playing scene is a sports event playing scene; if the video to be processed is a game event, the playing scene is a game event playing scene; and if the video to be processed is the comprehensive program, the playing scene is the comprehensive program playing scene.
Step S20, acquiring target video playing parameters of the video to be processed according to the playing scene;
in this embodiment, the target video playing parameter may be understood as a picture display attribute when playing a video, and the target video playing parameter includes, but is not limited to, at least one of brightness, contrast, color saturation, sharpness, color temperature, and sharpness. After the playing scene of the video to be processed is obtained, there are two ways to obtain the target video playing parameter according to the playing scene: one method is that operation and maintenance personnel or users preset different video playing parameters for different playing scenes, namely preset video playing parameters, after the playing scene of the video to be processed is obtained, the preset video playing parameters corresponding to the playing scene can be obtained, and then the video to be processed is played according to the preset video playing parameters, so that the video playing parameters can be automatically adjusted according to the playing scene of the video, and the matching degree of the video playing parameters and the characteristics of the video is improved; the other method is to record adjustment data of the video playing parameters of each playing scene, namely historical video playing parameters, of the user, wherein the historical video playing parameters corresponding to each playing scene can reflect the video playing parameters which are adopted by the user when the video corresponding to the playing scene is played in the past, for example, the historical video playing parameters corresponding to the playing scene a can reflect the video playing parameters which are adopted by the user when the video corresponding to the playing scene a is played in the past, and the historical video playing parameters corresponding to the playing scene B can reflect the video playing parameters which are adopted by the user when the video corresponding to the playing scene B is played in the past; and each playing scene is stored in association with the corresponding historical video playing parameter. After the playing scene of the video to be processed is obtained, the historical video playing parameters corresponding to the playing scene can be obtained, and then the target video playing parameters are determined according to the historical video playing parameters. The two modes can be implemented individually or in combination, and the embodiment is not particularly limited.
And step S30, playing the video to be processed according to the target video playing parameters.
In this embodiment, after the target video playing parameter is obtained, the television can play the video to be processed by using the target video playing parameter.
The embodiment obtains the playing scene of the video to be processed; acquiring a target video playing parameter of the video to be processed according to the playing scene; and playing the video to be processed according to the target video playing parameters. Corresponding target video playing parameters are obtained according to the characteristics of the video, the video is played by adopting the target video playing parameters, the video playing effect can be more fit with the characteristics of the video, the video playing effect is further improved, and the watching experience of a user is improved.
Further, a second embodiment of the video playing method of the present invention is provided, wherein the step S20 includes:
step S201, acquiring video playing parameters corresponding to the video to be processed according to the playing scene;
step S202, determining target video playing parameters according to the video playing parameters corresponding to the video to be processed.
In this embodiment, to determine the target video playing parameter of the video to be processed, first, a video playing parameter corresponding to the video to be processed is obtained, where the video playing parameter corresponding to the video to be processed includes a historical video playing parameter and/or a preset video playing parameter.
Specifically, if the video playing parameter corresponding to the video to be processed only includes a preset video playing parameter, after the playing scene of the video to be processed is obtained, the preset video playing parameter corresponding to the playing scene is obtained, and the preset video playing parameter is used as a target video playing parameter; if the video playing parameters corresponding to the video to be processed only comprise historical video playing parameters, judging whether the playing scene has the historical video playing parameters, if so, acquiring the historical video playing parameters of the playing scene, determining target video playing parameters according to the historical video playing parameters of the playing scene, and if not, taking default playing parameters set by operation and maintenance personnel or a user as the target video playing parameters;
if the video playing parameters corresponding to the video to be processed comprise historical video playing parameters and preset video playing parameters, firstly judging whether the playing scene has the historical video playing parameters or not, if so, acquiring the historical video playing parameters of the playing scene, determining target video playing parameters according to the historical video playing parameters of the playing scene, if not, acquiring the preset video playing parameters corresponding to the playing scene, and taking the preset video playing parameters as the target video playing parameters; further, if there is a history video playing parameter in the playing scene, it is also necessary to determine whether the history video playing parameter of the playing scene is the same as a preset video playing parameter corresponding to the playing scene, and if not, the following steps are executed: acquiring historical video playing parameters of the playing scene, and determining target video playing parameters according to the historical video playing parameters of the playing scene; if the video playing parameters are the same, taking the historical video playing parameters of the playing scene or the preset video playing parameters corresponding to the playing scene as the target video playing parameters.
In the above three specific situations of the video playing parameters corresponding to the video to be processed, the operation and maintenance personnel or the user can select the parameters according to the needs, and this embodiment is not limited specifically.
It can be understood that, in a one-time playing process of a playing scene, the same user may adjust the video playing parameter for multiple times to find the most satisfactory playing parameter, and play the video with the parameter, so that the time length of playing the video with the parameter is much longer than the middle adjustment value, and therefore, the historical video playing parameter refers to the video playing parameter corresponding to the time period in which the playing time length after each adjustment is the longest in multiple adjustments of the user in the playing scene within the preset time period; the historical video playing parameter may also be a video playing parameter obtained by the last adjustment performed by the user in the one-time playing process of one playing scene, and the historical video playing parameter is not specifically limited in this embodiment.
Further, the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters, and the step S201 includes:
step A21, judging whether the playing scene has historical video playing parameters;
step A22, if yes, obtaining historical video playing parameters of the playing scene;
correspondingly, the step S202 includes:
step A23, screening the historical video playing parameters according to the distribution condition of the historical video playing parameters of the playing scene to obtain target video playing parameters.
In this embodiment, the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters. After a playing scene of a video to be processed is acquired, whether historical video playing parameters exist in the playing scene or not is judged, if yes, the fact that the user plays the video of the playing scene in the past is indicated, and in order to enable the video playing effect to be more fit with the watching habit of the user, the historical video playing parameters reflect the watching habit of the user, therefore, when the historical video playing parameters exist in the playing scene, the historical video playing parameters which are stored in association with the playing scene are acquired, the target video playing parameters are determined according to the historical video playing parameters of the playing scene, and specifically, the historical video playing parameters are screened according to the distribution situation of the historical video playing parameters of the playing scene, and the target video playing parameters are obtained.
If not, acquiring a preset video playing parameter corresponding to the playing scene, and taking the preset video playing parameter corresponding to the playing scene as a video playing parameter corresponding to the video to be processed.
Further, before step a21, the method further includes: recording video playing parameters of each playing scene during historical playing of a user, namely obtaining historical video playing parameters, and managing and storing each playing scene and the historical video playing parameters thereof.
Further, since the historical video playing parameters may include video playing parameters that have been adjusted by the user, or may include preset video playing parameters corresponding to the playing scene, if it is not considered that whether the historical video playing parameters are the same as the preset video playing parameters, the historical video playing parameters are directly obtained and screened, so that the obtaining efficiency of the target video playing parameters is reduced, and in order to avoid this, the present embodiment determines whether to execute step a22 according to whether the historical video playing parameters are the same as the preset video playing parameters. Specifically, if the playing scene has a historical video playing parameter, determining whether the historical video playing parameter of the playing scene is the same as a preset video playing parameter corresponding to the playing scene, and if not, indicating that the playing effect of the preset video playing parameter or a default playing parameter of the playing scene is unsatisfactory in the historical playing process of the user, executing the following steps: acquiring historical video playing parameters of the playing scene, and determining target video playing parameters according to the historical video playing parameters of the playing scene; if the difference is the same, it indicates that the playing effect of the preset video playing parameter of the playing scene by the user is satisfactory in the history playing process, and therefore, the adjustment is not performed on the basis of the preset video playing parameter of the playing scene, and therefore, in the playing of this time, the history video playing parameter of the playing scene or the preset video playing parameter corresponding to the playing scene is still used as the target video playing parameter.
It can be understood that, in a one-time playing process of a playing scene, the same user may adjust the video playing parameter for multiple times to find the most satisfactory playing parameter, and play the video with the parameter, so that the time length of playing the video with the parameter is much longer than the middle adjustment value, and therefore, the historical video playing parameter refers to the video playing parameter corresponding to the time period in which the playing time length after each adjustment is the longest in multiple adjustments of the user in the playing scene within the preset time period; the historical video playing parameters can also be video playing parameters obtained by the last adjustment of a user in the one-time playing process of one playing scene; the historical video playing parameter may also be a preset video playing parameter corresponding to the current playing scene, and the embodiment does not specifically limit the historical video playing parameter.
Further, after the step a21, the method further includes:
step A24, if not, acquiring preset video playing parameters corresponding to the playing scene;
correspondingly, the step S202 includes:
step A25, using the preset video playing parameter corresponding to the playing scene as the target video playing parameter.
In this embodiment, if there is no history video playing parameter in the playing scene, it is stated that the user has not played the video of the playing scene in the past, and therefore the target video playing parameter cannot be determined according to the habit of the user playing the video of the playing scene in the past, the preset video playing parameter corresponding to the playing scene is obtained, the preset video playing parameter is used as the target video playing parameter, and the target video playing parameter is used to play the video, so that the video playing effect can be more similar to the characteristic of the video itself, and further, the video playing effect is improved, and the viewing experience of the user is improved.
Further, the step S201 includes:
step S2011, acquiring the video content type of the video to be processed in the playing scene;
step S2012, a video playing parameter corresponding to the video to be processed is obtained according to the video content type.
In this embodiment, operation and maintenance personnel or users can set different video content types for different playing scenes according to needs, the video content types are more detailed classification of videos according to the video playing contents, for example, the video content types in the movie playing scene can include swordsmen, comedy, horror, disaster, suspense, action, and the like, and the video content types in the sports playing scene can include football events, sports events, and the like, In basketball events, baseball events, swimming events, shooting events, and the like, if different video content types in the same playing scene are set as uniform video playing parameters, the degree of engagement between the video playing parameters and the video playing contents is still not high enough, and in order to further improve the degree of engagement between the video playing parameters and the video playing contents, in this embodiment, after the playing scene of the video to be processed is obtained, the video to be processed also needs to be subjected to content analysis to obtain the video content type of the video to be processed in the playing scene.
After the video content type of the video to be processed in the playing scene is determined, video playing parameters corresponding to the video to be processed are obtained according to the video content type, where the video playing parameters corresponding to the video to be processed include historical video playing parameters and/or preset video playing parameters.
Further, the step a23 includes:
step A231, obtaining the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
step A232, determining a target partition with the maximum distribution quantity of each preset numerical value partition of each video playing parameter according to the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
step A233, determining the target video playing parameters according to the historical video playing parameters in the target partition of each video playing parameter.
In this embodiment, the operation and maintenance staff preset different value partitions, that is, preset value partitions, for different video playing parameters, and after the user adjusts the video playing parameters each time, the television will count the distribution number of the historical video playing parameters of each playing scene in each preset value partition of each video playing parameter again. Therefore, after determining that the historical video playing parameters exist in the playing scene of the video to be processed, the distribution condition of the historical video playing parameters of the playing scene in each preset value partition of each video playing parameter can be obtained. And determining the partition with the largest number of historical video playing parameters, namely the target partition, in the plurality of preset numerical value partitions of each video playing parameter according to the distribution condition, wherein each video playing parameter has a corresponding target partition.
After the target partition of each video playing parameter is determined, determining the target video playing parameter according to the value of the historical video playing parameter in the target partition of each video playing parameter, wherein one mode comprises the following two modes, namely calculating the average value of the values of the historical video playing parameter in the target partition of each video playing parameter, and taking the average value obtained by calculating each video playing parameter as the target video playing parameter; and another way is to use any one of the values of the historical video playing parameters in the target partition of each video playing parameter as the value of the corresponding video playing parameter, and the two ways are alternatively implemented, which is not limited in this embodiment.
To assist understanding, for example, if the video playing parameters include brightness and contrast, the preset value partitions of the brightness are brightness values 0 to 30, 30 to 70, and 70 to 100, the preset value partitions of the contrast are contrast values 0 to 40, 40 to 60, 60 to 80, and 80 to 100, after the historical video playing parameters are obtained, the number of the historical video playing parameters included in different preset value partitions is counted, the number of the historical video playing parameters included in the preset value partitions of the brightness is respectively, 0 to 30 playing 2 times, 30 to 70 playing 22 times, and 70 to 100 playing 6 times, the number of the historical video playing parameters included in the preset value partitions of the contrast is respectively, 0 to 40 playing 3 times, 40 to 60 playing 5 times, 60 to 80 playing 20 times, and 80 to 100 playing 2 times, and it is known that the brightness partition (i.e., the target partition) including the largest number of the historical video playing parameters is 30 to 70, the contrast partition is a contrast value of 60-80, and after the target partition is determined, the video playing parameters of the video to be processed can be determined according to the historical video playing parameters in the target partition.
The selection of the video playing parameters and the division of the preset numerical partitions are only exemplary, and the operation and maintenance personnel can select the video playing parameters and divide the corresponding preset numerical partitions according to needs.
In this embodiment, by setting the refined video content types in different playing scenes and configuring corresponding preset video playing parameters for the refined video content types, the degree of engagement between the video playing parameters and the video playing contents can be further improved; the video playing parameters corresponding to the to-be-processed video are obtained according to the historical video playing parameters, and then the to-be-processed video is played according to the video playing parameters, self-learning can be performed based on the historical parameter adjustment condition of the user, and then the video playing parameters which are satisfied by most users are automatically set according to the preference of the user, so that the video watching experience of the user is improved.
Further, a third embodiment of the video playing method according to the present invention is provided, where after the step S30, the method further includes:
step S41, monitoring the attribute of the ambient light;
and step S42, when the attribute of the ambient light changes, adjusting the video playing parameters of the video to be processed according to the change condition of the attribute of the ambient light.
When the user watches video, the ambient light may change, for example, when the ambient light has brightness and darkness, if the brightness of the tv is not changed, the brightness of the display screen may have a large brightness and darkness contrast with the ambient light, which may cause damage to the user's eyesight, or when the color temperature of the ambient light changes from cold light to warm light, if the color temperature of the tv is not changed, the color temperature of the display screen may have a large color temperature contrast with the ambient light, which may cause damage to the user's eyesight. To avoid this, in the process of playing the video to be processed according to the video playing parameters acquired in step S20, the ambient light sensor detects the attribute of the ambient light at a certain frequency or in real time, and when the attribute of the ambient light changes, the video playing parameters of the video to be processed are adjusted according to the change of the attribute of the ambient light. The attributes of the ambient light include, but are not limited to, brightness, light level, light quality, light type, light ratio, light color, etc.
This embodiment is through monitoring the ambient light attribute, when the ambient light attribute changes, corresponds the video broadcast parameter of adjustment video to reduce the light of display screen and the attribute difference of ambient light, minimize the harm to user's eyesight, promote user's video and watch experience.
Further, taking the example that the attribute of the ambient light includes the ambient light intensity as an example, the step S42 further includes:
step S423, when the ambient light brightness changes, obtaining a curve conversion value corresponding to the changed ambient light brightness;
the embodiment is a process for specifically adjusting the playing brightness of a video to be processed. Firstly, calculating to obtain a middle brightness value according to the ambient light brightness, the minimum range of the ambient light sensor and the maximum range of the ambient light sensor, wherein the specific calculation formula is as follows:
A=light_min+(100-light_min)*(adc_val-adc_min)/(adc_max-adc_min);
wherein A is an intermediate luminance value;
adc _ min is the minimum range of the ambient light sensor;
adc _ max is the maximum range of the ambient light sensor;
adc _ val is the measured value of the ambient light sensor, i.e. the ambient light brightness after change;
light_min=4*adc_min。
after the intermediate brightness value is obtained, a corresponding curve conversion value can be obtained through calculation by a conversion formula of the intermediate brightness value and the curve conversion value preset by operation and maintenance personnel; the corresponding relationship between the middle brightness value and the curve conversion value may also be preset by the operation and maintenance staff to obtain the corresponding curve conversion value, which is not limited in this embodiment.
Step S424, obtaining a corresponding backlight value according to the curve conversion value corresponding to the changed ambient light brightness;
in this embodiment, after obtaining the curve conversion value corresponding to the changed ambient light brightness, the corresponding backlight value is obtained according to the magnitude of the curve conversion value.
To aid understanding, an example is now listed: a is a curve conversion value corresponding to the changed ambient light brightness, ba is a backlight value corresponding to a, a is a curve conversion value corresponding to a backlight value of 0, B is a curve conversion value corresponding to a backlight value of 25, C is a curve conversion value corresponding to a backlight value of 50, D is a curve conversion value corresponding to a backlight value of 75, and E is a curve conversion value corresponding to a backlight value of 100.
If a is less than or equal to A, ba is 0;
if a < a ≦ B, ba ═ 25 ═ a (a-a) × 100/(B-a)/100;
if B < a ≦ C, ba ═ 25+25 ≦ (a-B) × 100/(C-B)/100;
if C < a ≦ D, ba ═ 50+25 ≦ (a-C) × 100/(D-C)/100;
if D < a < E, ba ═ 75+25 ═ a-D ═ 100/(E-D)/100;
if a is more than or equal to E, ba is 100.
The division of the backlight values 0, 25, 50, 75, and 100 is only exemplary, and the operation and maintenance staff may adjust the specific backlight values according to the needs, and correspondingly, the curve conversion values corresponding to the backlight values are also changed, and this embodiment is not limited in particular.
Step S425 is to adjust the playing brightness of the video to be processed according to the backlight value.
After the backlight value needing to be adjusted is obtained, the backlight of the television is adjusted to the corresponding backlight value, so that the playing brightness of the video to be processed is in the brightness which enables a user to have better watching experience.
Further, before step S423, the method further includes:
acquiring a difference value between the brightness of the ambient light and the playing brightness of the video to be processed;
if the difference between the ambient light brightness and the playing brightness of the video to be processed is greater than or equal to the preset difference threshold, step S423 is executed.
In this embodiment, the preset difference threshold is set by an operation and maintenance person according to a brightness difference between the ambient light brightness and the video playing brightness, where human eyes can feel obvious discomfort, and if the difference between the ambient light brightness and the playing brightness of the video to be processed is smaller than the preset difference threshold, a user watching the video does not feel obvious discomfort, so as to avoid that the watching experience of the user is affected by frequently adjusting the brightness of a television when the ambient light brightness frequently changes, and therefore, the playing brightness of the video to be processed is not adjusted at this time; however, if the difference between the ambient light brightness and the playing brightness of the video to be processed is greater than or equal to the preset difference threshold, a user watching the video may feel uncomfortable, and if the user watches the video for a long time, the user may have an adverse effect on the eyesight.
By monitoring the brightness of the environment, the embodiment adjusts the playing brightness of the video to be processed when the brightness of the environment changes. The uncomfortable feeling of the user watching the video when the ambient light changes can be avoided, and the watching experience of the user is further improved.
The invention also provides a video playing device.
Referring to fig. 3, fig. 3 is a functional module diagram of a video playing device according to a first embodiment of the present invention. The video playing device comprises:
the scene obtaining module 10 is configured to obtain a playing scene of a video to be processed;
a parameter obtaining module 20, configured to obtain a target video playing parameter of the video to be processed according to the playing scene;
and the video playing module 30 is configured to play the video to be processed according to the target video playing parameter.
Further, the parameter obtaining module comprises:
a scene parameter obtaining unit, configured to obtain, according to the playing scene, a video playing parameter corresponding to the video to be processed;
and the target parameter determining unit is used for determining target video playing parameters according to the video playing parameters corresponding to the video to be processed.
Further, the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters, and the scene parameter acquiring unit includes:
the judging subunit is used for judging whether the playing scene has historical video playing parameters;
a history parameter obtaining subunit, configured to, if yes, obtain a history video playing parameter of the playing scene;
correspondingly, the target parameter determining unit includes:
and the screening subunit is used for screening the historical video playing parameters according to the distribution condition of the historical video playing parameters of the playing scene to obtain target video playing parameters.
Further, the scene parameter acquiring unit includes:
a preset parameter obtaining subunit, configured to, if not, obtain a preset video playing parameter corresponding to the playing scene;
correspondingly, the target parameter determining unit includes:
and the target parameter determining subunit is used for taking the preset video playing parameter corresponding to the playing scene as the target video playing parameter.
Further, the screening subunit includes:
the distribution condition acquisition subunit is used for acquiring the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
the target partition determining subunit is configured to determine, according to the distribution quantity of the historical video playing parameters of the playing scene in each preset value partition of each video playing parameter, a target partition with the largest distribution quantity of each preset value partition of each video playing parameter;
and the target parameter determining subunit is used for determining the target video playing parameters according to the historical video playing parameters in the target partition of each video playing parameter.
Further, the scene parameter acquiring unit further includes:
the type obtaining subunit is used for obtaining the video content type of the video to be processed in the playing scene;
and the type parameter acquisition unit is used for acquiring the video playing parameters corresponding to the video to be processed according to the video content type.
Further, the video playing device further comprises:
a monitoring module for monitoring an attribute of the ambient light;
and the adjusting module is used for adjusting the video playing parameters of the video to be processed according to the change condition of the attribute of the ambient light when the attribute of the ambient light changes.
Further, the attribute of the ambient light includes an ambient light brightness, and the adjusting module further includes:
the device comprises a curve conversion value acquisition unit, a control unit and a control unit, wherein the curve conversion value acquisition unit is used for acquiring a curve conversion value corresponding to the changed ambient light brightness when the ambient light brightness changes;
the backlight value acquisition unit is used for acquiring a corresponding backlight value according to the curve conversion value corresponding to the changed ambient light brightness;
and the playing brightness adjusting unit is used for adjusting the playing brightness of the video to be processed according to the backlight value.
The specific implementation of the video playing apparatus of the present invention is substantially the same as the embodiments of the video playing method, and will not be described herein again.
In addition, the embodiment of the invention also provides a storage medium.
The storage medium has a video playing program stored thereon, and the video playing program realizes the steps of the video playing method as described above when being executed by the processor.
The specific implementation of the storage medium of the present invention is substantially the same as the embodiments of the video playing method described above, and will not be described herein again.
The present invention is described in connection with the accompanying drawings, but the present invention is not limited to the above embodiments, which are only illustrative and not restrictive, and those skilled in the art can make various changes without departing from the spirit and scope of the invention as defined by the appended claims, and all changes that come within the meaning and range of equivalency of the specification and drawings that are obvious from the description and the attached claims are intended to be embraced therein.

Claims (10)

1. A video playing method is characterized by comprising the following steps:
acquiring a playing scene of a video to be processed;
acquiring a target video playing parameter of the video to be processed according to the playing scene;
and playing the video to be processed according to the target video playing parameters.
2. The video playing method according to claim 1, wherein the step of obtaining the target video playing parameter of the video to be processed according to the playing scene comprises:
acquiring video playing parameters corresponding to the video to be processed according to the playing scene;
and determining target video playing parameters according to the video playing parameters corresponding to the video to be processed.
3. The video playing method according to claim 2, wherein the video playing parameters corresponding to the video to be processed include historical video playing parameters and preset video playing parameters, and the step of obtaining the video playing parameters corresponding to the video to be processed according to the playing scene includes:
judging whether the playing scene has historical video playing parameters or not;
if yes, obtaining historical video playing parameters of the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and screening the historical video playing parameters according to the distribution condition of the historical video playing parameters of the playing scene to obtain target video playing parameters.
4. The video playing method according to claim 3, wherein after the step of determining whether the playing scene has the historical video playing parameters, the method further comprises:
if not, acquiring preset video playing parameters corresponding to the playing scene;
the step of determining the target video playing parameter according to the video playing parameter corresponding to the video to be processed comprises the following steps:
and taking the preset video playing parameters corresponding to the playing scenes as target video playing parameters.
5. The video playing method according to claim 3, wherein the step of screening the historical video playing parameters according to the distribution of the historical video playing parameters of the playing scene to obtain the target video playing parameters comprises:
acquiring the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
determining a target partition with the largest distribution quantity of each preset numerical value partition of each video playing parameter according to the distribution quantity of the historical video playing parameters of the playing scene in each preset numerical value partition of each video playing parameter;
and determining target video playing parameters according to the historical video playing parameters in the target partition of each video playing parameter.
6. The video playing method according to claim 2, wherein the step of obtaining the video playing parameters corresponding to the video to be processed according to the playing scene comprises:
acquiring the video content type of the video to be processed in the playing scene;
and acquiring video playing parameters corresponding to the video to be processed according to the video content type.
7. The video playing method according to claim 1, wherein after the step of playing the video to be processed according to the target video playing parameter, the method further comprises:
monitoring an attribute of ambient light;
and when the attribute of the ambient light changes, adjusting the video playing parameter of the video to be processed according to the change condition of the attribute of the ambient light.
8. The video playing method according to claim 7, wherein the attribute of the ambient light includes an ambient light brightness, and the step of adjusting the playing brightness of the video to be processed according to the change condition of the attribute of the ambient light when the attribute of the ambient light changes includes:
when the ambient light brightness changes, acquiring a curve conversion value corresponding to the changed ambient light brightness;
acquiring a corresponding backlight value according to the curve conversion value corresponding to the changed ambient light brightness;
and adjusting the playing brightness of the video to be processed according to the backlight value.
9. A video playback device, characterized in that the video playback device comprises a memory, a processor and a video playback program stored on the memory and executable on the processor, which video playback program, when executed by the processor, implements the steps of the video playback method according to any one of claims 1 to 8.
10. A storage medium having stored thereon a video playback program which, when executed by a processor, implements the steps of the video playback method according to any one of claims 1 to 8.
CN201911297414.4A 2019-12-16 2019-12-16 Video playing method, device and storage medium Pending CN111050212A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911297414.4A CN111050212A (en) 2019-12-16 2019-12-16 Video playing method, device and storage medium
PCT/CN2020/111293 WO2021120675A1 (en) 2019-12-16 2020-08-26 Video playback method and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911297414.4A CN111050212A (en) 2019-12-16 2019-12-16 Video playing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111050212A true CN111050212A (en) 2020-04-21

Family

ID=70236935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911297414.4A Pending CN111050212A (en) 2019-12-16 2019-12-16 Video playing method, device and storage medium

Country Status (2)

Country Link
CN (1) CN111050212A (en)
WO (1) WO2021120675A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021120675A1 (en) * 2019-12-16 2021-06-24 深圳Tcl新技术有限公司 Video playback method and device, and storage medium
CN113891136A (en) * 2021-09-18 2022-01-04 深圳Tcl新技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114567813A (en) * 2022-03-08 2022-05-31 深圳创维-Rgb电子有限公司 Image quality improving method and device, playing equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106937173A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 Video broadcasting method and device
CN106990828A (en) * 2017-03-31 2017-07-28 努比亚技术有限公司 A kind of apparatus and method for controlling screen display
CN109272944A (en) * 2018-11-05 2019-01-25 Oppo(重庆)智能科技有限公司 Backlight adjusting method, device, terminal device and computer-readable storage medium
CN110035318A (en) * 2018-11-26 2019-07-19 阿里巴巴集团控股有限公司 Video broadcasting method, device and multimedia data playing method
CN110545465A (en) * 2019-08-15 2019-12-06 咪咕动漫有限公司 video playing method, terminal and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080316372A1 (en) * 2007-06-20 2008-12-25 Ning Xu Video display enhancement based on viewer characteristics
CN101795313A (en) * 2009-12-23 2010-08-04 宇龙计算机通信科技(深圳)有限公司 Method, device and mobile terminal for playing audio and video
CN104780466A (en) * 2015-04-03 2015-07-15 天脉聚源(北京)传媒科技有限公司 Method and device for adjusting television display brightness
CN105828149A (en) * 2016-04-28 2016-08-03 合智能科技(深圳)有限公司 Method and apparatus for optimizing playing
CN107734356B (en) * 2017-10-30 2020-01-14 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN107885482B (en) * 2017-11-07 2021-03-02 Oppo广东移动通信有限公司 Audio playing method and device, storage medium and electronic equipment
CN108012199A (en) * 2017-11-30 2018-05-08 青岛海信电器股份有限公司 The method and apparatus and smart television of program parameter are configured on smart television
CN111050212A (en) * 2019-12-16 2020-04-21 深圳Tcl新技术有限公司 Video playing method, device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104347036B (en) * 2013-08-08 2017-12-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106937173A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 Video broadcasting method and device
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106990828A (en) * 2017-03-31 2017-07-28 努比亚技术有限公司 A kind of apparatus and method for controlling screen display
CN109272944A (en) * 2018-11-05 2019-01-25 Oppo(重庆)智能科技有限公司 Backlight adjusting method, device, terminal device and computer-readable storage medium
CN110035318A (en) * 2018-11-26 2019-07-19 阿里巴巴集团控股有限公司 Video broadcasting method, device and multimedia data playing method
CN110545465A (en) * 2019-08-15 2019-12-06 咪咕动漫有限公司 video playing method, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021120675A1 (en) * 2019-12-16 2021-06-24 深圳Tcl新技术有限公司 Video playback method and device, and storage medium
CN113891136A (en) * 2021-09-18 2022-01-04 深圳Tcl新技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114567813A (en) * 2022-03-08 2022-05-31 深圳创维-Rgb电子有限公司 Image quality improving method and device, playing equipment and computer readable storage medium
CN114567813B (en) * 2022-03-08 2024-03-22 深圳创维-Rgb电子有限公司 Image quality improving method, device, playing equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2021120675A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
US8643662B2 (en) Video entertainment picture quality adjustment
US10242379B2 (en) Tracking visual gaze information for controlling content display
WO2021120675A1 (en) Video playback method and device, and storage medium
US9883211B2 (en) Method and apparatus for selection of advertisements to fill a commercial break of an unknown duration
US8171515B2 (en) Automatically generated TV favorites list
US8436803B2 (en) Image display device and image display method
CN102845057B (en) Display device, television receiver, display device control method
US20180338104A1 (en) Luminance management for high dynamic range displays
US10979755B2 (en) Delivery of media content to a user device at a particular quality based on a personal quality profile
EP3185574A1 (en) Method and system for switching video playback resolution
CN110636378A (en) Television remote control method, smart television and readable storage medium
CN113259765A (en) Method for automatically adjusting display parameters of display screen of television device and television device
CN111405369A (en) Smart television, control method thereof and computer-readable storage medium
US20070121005A1 (en) Adaptation of close-captioned text based on surrounding video content
CN112822550A (en) Television terminal adjusting method and device and television terminal
US20150074695A1 (en) Method for channel selection, channel selecting device, and television system including the channel selecting device and a television device
JP2011166315A (en) Display device, method of controlling the same, program, and recording medium
US20170164050A1 (en) Presenting alternate content
US20160316275A1 (en) Automatic adjustment of user-defined settings for a video program or channel
CN113891136A (en) Video playing method and device, electronic equipment and storage medium
JP7061190B2 (en) Display system, display method and program
WO2022156248A1 (en) Image processing device, working method of image processing device, and non-volatile storage medium
CN112637528B (en) Picture processing method and device
US20220360852A1 (en) Playback mode switching method and multimedia display apparatus thereof
CN106303721A (en) Image mode adjusting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421