Video playing method and device, terminal equipment and computer readable storage medium

By acquiring and adjusting the display parameters of video frames, the stuttering problem during scene transitions in video playback was resolved, resulting in a smoother video playback experience.

CN121815013APending Publication Date: 2026-04-07SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-26
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, stuttering issues can easily occur during video playback when scene transitions occur, especially when the transition frequency is high.

Method used

By obtaining the target display parameter information provided by the target server and analyzing it according to different scenarios, the display parameters of the video frames are adjusted to improve the smoothness of scene switching.

Benefits of technology

It effectively avoids stuttering during scene transitions in video playback, improving the smoothness of video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815013A_ABST
    Figure CN121815013A_ABST
Patent Text Reader

Abstract

The invention provides a video playing method and device, terminal equipment and a computer readable storage medium. The method comprises the following steps: determining to-be-played video information; obtaining target display parameter information corresponding to the to-be-played video information from a target server, wherein the target display parameter information is obtained through analysis according to different scenes; and if the target display parameter information sent by the target server is obtained, playing the to-be-played video information according to the target display parameter information. According to the video playing method provided by the invention, after the to-be-played video information is determined, the target display parameter information which corresponds to the to-be-played video information and is subjected to different scene analysis is obtained from the server. In this way, when the to-be-played video information is played subsequently, adjustment can be performed based on the target display parameter information, the scene switching fluency is improved, and the problem of jamming during scene change in the video is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video processing technology, specifically to a video playback method, apparatus, terminal device, and computer-readable storage medium. Background Technology

[0002] In existing technologies, as video quality improves, stuttering and buffering issues arise during video playback, especially with rapid scene transitions. Therefore, it is necessary to address this stuttering problem during scene changes. Summary of the Invention

[0003] This application provides a video playback method that can avoid video playback stuttering.

[0004] Firstly, this application provides a video playback method, the method comprising: Determine the video information to be played; Obtain target display parameter information corresponding to the video to be played from the target server; the target display parameter information is obtained based on analysis of different scenarios. If the target display parameter information sent by the target server is obtained, the video information to be played is played according to the target display parameter information.

[0005] In some embodiments of this application, playing the video information to be played according to the target display parameter information includes: Analyze the target display parameter information to determine the sub-display parameter information corresponding to each video frame in the video information to be played; Based on the sub-display parameter information, adjust the display parameters of each video frame to obtain the adjusted video frames; Based on the adjusted video frames, the video information to be played is then played.

[0006] In some embodiments of this application, the step of parsing the target display parameter information and determining the sub-display parameter information corresponding to each video frame in the video information to be played includes: Analyze the target display parameter information to determine the sub-display parameter information; Determine the first video frame information corresponding to each of the sub-display parameter information; Determine whether the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played; If the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played, then the sub-display parameter information corresponding to each video frame in the video information to be played is determined according to the matched first video frame information and second video frame information.

[0007] In some embodiments of this application, after determining whether the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played, the method further includes: If the first video frame information corresponding to each of the sub-display parameter information does not match the second video frame information in the video information to be played, then the video information to be played is played according to the set display parameter information.

[0008] In some embodiments of this application, obtaining the target display parameter information corresponding to the video to be played from the target server includes: Determine the playback duration of the video to be played; If the playback duration exceeds the target duration threshold, the system retrieves the target display parameter information corresponding to the video to be played from the target server.

[0009] In some embodiments of this application, after determining the playback duration of the video information to be played, the method further includes: If the playback duration is less than or equal to the target duration threshold, the video to be played will be played according to the set display parameter information.

[0010] In some embodiments of this application, obtaining the target display parameter information corresponding to the video to be played from the target server includes: According to the target communication protocol, obtain the target display parameter information corresponding to the video information to be played from the target server.

[0011] Secondly, this application also provides a video playback device, the device comprising: The determination module is used to determine the information of the video to be played; The acquisition module is used to obtain target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained by analysis based on different scenarios. The playback module is used to play the video information to be played according to the target display parameter information sent by the target server if the target display parameter information is obtained.

[0012] Thirdly, this application also provides a terminal device, the terminal device including a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to implement the steps in any of the video playback methods described above.

[0013] Fourthly, this application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the steps of any of the video playback methods described above.

[0014] The video playback method provided in this application can obtain target display parameter information corresponding to the video to be played, which has been analyzed for different scenes, from the server after determining the video information to be played. In this way, when the video information to be played is subsequently played, adjustments can be made based on the target display parameter information, improving the smoothness of scene switching and avoiding stuttering issues when scene changes occur in the video. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram of a video playback system provided in the embodiments of this application; Figure 2 This is a schematic flowchart of one embodiment of the video playback method in this application; Figure 3 This is a schematic diagram of a functional module of the video playback device in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of the terminal device in the embodiments of this application. Detailed Implementation

[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0018] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0019] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. Furthermore, it is understood that in the specific embodiments of this application, user information, user data, and other related data are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0020] To enable any person skilled in the art to implement and use this application, the following description is provided. In this description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0021] This application provides a video playback method, apparatus, device, and storage medium, which are described in detail below.

[0022] Please see Figure 1 , Figure 1 This is a schematic diagram of a video playback system provided in an embodiment of this application. The video playback system may include a terminal device 100 and a server 200, and the server 200 may transmit data to the terminal device 100. Figure 1 The terminal device 100 can obtain the video data sent by the server 200 to execute the video playback method in this application.

[0023] In this embodiment of the application, the terminal device 100 may include, but is not limited to, desktop computers, portable computers, PDAs (personal digital assistants), tablet computers, wireless terminal devices, embedded devices, televisions, mobile phones, etc.

[0024] In this embodiment, server 200 includes, but is not limited to, a standalone server, or a server network or server cluster, including, but not limited to, computers, network hosts, single network servers, multiple network server sets, or cloud servers composed of multiple servers. The cloud server can be composed of a large number of computers or network servers based on cloud computing.

[0025] In the embodiments of this application, the terminal device 100 and the server 200 can communicate through any communication method, including but not limited to mobile communication based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP / IP Protocol Suite (TCP / IP) and User Datagram Protocol (UDP).

[0026] It should be noted that, Figure 1 The schematic diagram of the video playback system shown is merely an example. The video playback system and scenario described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of video playback systems and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0027] like Figure 2 As shown, Figure 2 This is a schematic flowchart of one embodiment of the video playback method in this application. The video playback method may include the following steps 201 to 203: 201. Determine the video information to be played.

[0028] In this embodiment, the video to be played can be determined according to the user's instructions. For example, if a user clicks on a target video in the video library to play it, then each video frame in that target video is the video information to be played. Alternatively, if a user clicks on a specific target video on a webpage to play it, that target video can also be considered as the video information to be played. This embodiment does not limit the specifics of this application. Furthermore, the video information to be played can be videos stored in the video library or on the server corresponding to the webpage. When a user needs to watch a video in the video library or on the webpage, the user simply opens the video library or webpage and selects it.

[0029] 202. Obtain the target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained based on the analysis of different scenarios.

[0030] Once the video information to be played by the user is determined, the terminal device can request the target display parameter information corresponding to the video information from the target server of the video library or website. In this embodiment, the target display parameter information may include any type of display parameter such as brightness, contrast, saturation, and color temperature, and the specific embodiment of this application does not limit it.

[0031] Furthermore, each video stored on the server can be analyzed using corresponding scene analysis methods to obtain display parameters corresponding to different scenes. In this embodiment, "different scenes" refers to different video frame scenes, not the user's viewing environment. Specifically, appropriate display parameters for different video frame scenes can be analyzed manually, or any automatic scene analysis method can be used to analyze the corresponding display parameters for different video frame scenes. This embodiment does not limit the specific methods used.

[0032] 203. If the target display parameter information sent by the target server is obtained, play the video information to be played according to the target display parameter information.

[0033] After the server sends the target display parameter information corresponding to the video to be played to the terminal device, the terminal device can play the video according to the target display parameter information. For example, assuming the video to be played involves scene switching between sky and water, the scene involving the sky can correspond to a first set of display parameters, the scene involving the water can correspond to another set of second display parameters, and so on. Of course, the more scenes involved, the more display parameters there will be, including third display parameters, fourth display parameters, etc., and the specific embodiments of this application do not limit them.

[0034] Since the terminal device obtains the target display parameter information corresponding to different scenarios, it can play videos according to these target display parameters. For example, suppose the initial display parameter information of a video frame corresponding to a certain scene in the video to be displayed includes brightness A, contrast A, color temperature A, etc., while the revised target display parameter information includes brightness B, contrast B, color temperature B, etc., then when playing the video, brightness A, contrast A, and color temperature A are corrected to brightness B, contrast B, and color temperature B, respectively. Furthermore, as the video plays, if subsequent video frames involve other scenes, the display parameters are continuously replaced and corrected according to other matching scenes. Because the revised target display parameters are based on optimal parameters analyzed under different scenarios, the smoothness of video scene transitions can be improved.

[0035] Based on this, the video playback method provided in this application can obtain target display parameter information corresponding to the video to be played, which has been analyzed for different scenes, from the server after determining the video information to be played. In this way, when the video information to be played is subsequently played, adjustments can be made based on the target display parameter information, improving the smoothness of scene switching and avoiding stuttering issues when scene changes occur in the video.

[0036] To better implement the embodiments of this application, in one embodiment, playing the video information to be played according to the target display parameter information includes: The target display parameter information is parsed to determine the sub-display parameter information corresponding to each video frame in the video information to be played; the display parameters of each video frame are adjusted according to the sub-display parameter information to obtain the adjusted video frames; and the video information to be played is played according to the adjusted video frames.

[0037] The above embodiments provide a method for playing a video based on target display parameter information corresponding to different scenarios. To further improve the smoothness of video playback, this application also provides an implementation method.

[0038] Specifically, the above embodiment can be understood as follows: assuming the video to be played includes a sky scene and a water scene. The sky scene can correspond to a first set of display information parameters, while the water scene can correspond to a second set of display parameter information. In other words, when the video to be played switches scenes, the sky scene is displayed using the first display parameter information, and the water scene is displayed using the second display parameter information. However, in reality, each frame in the video also has subtle differences. Therefore, in practice, corresponding display parameter information can also be set for each video frame in each video in the video library or webpage. In this way, the target display parameter information obtained by the terminal device includes the display parameter information corresponding to each video frame in the video to be played.

[0039] Based on this, when the target display parameter information is obtained, it can be analyzed to determine whether it includes display parameters for each frame or only a few sets of target display parameters. When switching between different scenes, playback is based on the corresponding set of display parameter information. Therefore, if the sub-display parameter information corresponding to each video frame in the video to be played is determined, the display parameters of each video frame can be adjusted according to the sub-display parameter information to obtain the adjusted video frames. The adjustment method is the same as the above implementation method and will not be repeated here. Then, the video to be played can be played according to the adjusted video frames.

[0040] To better implement the embodiments of this application, in one embodiment, the target display parameter information is parsed to determine the sub-display parameter information corresponding to each video frame in the video information to be played, including: Parse the target display parameter information to determine the sub-display parameter information; determine the first video frame information corresponding to each sub-display parameter information; determine whether the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played; if the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played, then determine the sub-display parameter information corresponding to each video frame in the video information to be played based on the matched first and second video frame information.

[0041] The above embodiments provide a scheme in which each frame of the video to be played corresponds to a specific set of sub-display parameters. However, in some cases, video frames may be missing from the video library or webpage, network fluctuations may occur when requesting the target display parameters from the server, or the server may misidentify the video to be played after determining its identity, resulting in the sending of display parameters for a different video, thus causing a mismatch between the display parameters and the video to be played. Therefore, these situations can all lead to a mismatch between the display parameters and the video during playback, potentially causing more severe stuttering or other unexpected issues.

[0042] Based on this, this application also provides a video frame verification scheme. Specifically, when analyzing the sent target display parameter information, it can be first determined whether each video frame corresponds to sub-display parameter information. If each video frame corresponds to sub-display parameter information, it belongs to the case where adjustments are made for each video frame. In this case, it is necessary to compare the first video frame information corresponding to each video frame in the target display parameter information with the second video frame information corresponding to each video frame in the video frames to be played. Specifically, in this application embodiment, the first video frame information and the second video frame information can be understood as corresponding identity information. It can be understood that video frames have frame number sequence numbers, timing information, etc., or each video frame can also carry a corresponding identifier, all of which can be regarded as video frame information. Therefore, after obtaining the first video frame information corresponding to each sub-display parameter information, it can be compared with the second video frame information of each video frame in the video information to be played. For example, the timing information, frame number, and identification information of the first and second video frame information can be compared. If the timing information, frame number, and identification information of one video frame in the first video frame information correspond to one video frame in the second video frame information, and the number of first and second video frames are the same, it means that the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played. In this way, it can be ensured that the sub-display parameter information can be used to correct the correct corresponding video frame, avoiding incorrect correction of video frames. After the display parameters are corrected or adjusted, playback can be performed. This will not be elaborated further in the embodiments of this application.

[0043] It should be noted that if the information in the first video frame does not match or does not completely match the information in the second video frame, playback can be stopped. The user can then be prompted to replay the video to re-acquire the corresponding target display parameter information, determining whether the correct target display parameter information can be obtained. If the correct information cannot be obtained, an error message can be displayed to the user.

[0044] To better implement the embodiments of this application, in one embodiment of this application, after determining whether the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played, the method further includes: If the first video frame information corresponding to each sub-display parameter information does not match the second video frame information in the video information to be played, then the video information to be played will be played according to the set display parameter information.

[0045] The above embodiments provide a scheme for correcting or adjusting display parameters and playing video only when the first video frame information matches the second video frame information. When a mismatch occurs, playback can be stopped. Based on this, this application also provides an implementation method. Specifically, when the first video information and the second video information fail to match, video playback can still be performed using the original initial display parameters or the settings of the user terminal device's own display device, to avoid situations where the video fails to play, leading the user to mistakenly believe the device is damaged or there is a network failure.

[0046] To better implement the embodiments of this application, in one embodiment, target display parameter information corresponding to the video information to be played is obtained from the target server, including: Determine the playback duration of the video to be played; if the playback duration exceeds the target duration threshold, obtain the target display parameter information corresponding to the video to be played from the target server.

[0047] The above embodiments provide a scheme for playing a video based on target display parameter information. During experiments, it was found that video playback stuttering is related to video duration. The longer the video duration, the more data the system processes, making stuttering more likely. Therefore, a target duration threshold can be set. If the playback duration of the video exceeds this threshold, it means the terminal device needs to consume more computing resources to process the parameters involved in video playback. Therefore, the longer the video to be played, the higher the likelihood of stuttering. Thus, the target display parameter information can be requested from the server only when the video duration is long. After obtaining the target display parameter information, video playback can be performed according to any of the above implementation methods; further details are omitted in this application.

[0048] To better implement the embodiments of this application, in one embodiment of this application, after determining the playback duration of the video information to be played, the method further includes: If the playback duration is less than or equal to the target duration threshold, the video to be played will be played according to the set display parameters.

[0049] The above embodiments provide a processing solution for videos with a long playback duration. Building upon this, this application also provides an implementation process for videos with a short playback duration. Specifically, if the video to be played is less than or equal to the target duration threshold, it means the terminal device does not need to consume excessive computing resources to calculate the video data. Therefore, the probability of stuttering during video playback decreases. In this case, the video to be played can be displayed according to the user's settings preferences, i.e., the original user-set display parameters. This satisfies the user's preferences without causing video playback stuttering.

[0050] To better implement the embodiments of this application, in one embodiment, target display parameter information corresponding to the video information to be played is obtained from the target server, including: According to the target communication protocol, obtain the target display parameter information corresponding to the video to be played from the target server.

[0051] As can be seen from the above embodiments, the scheme for obtaining the display parameters corresponding to each video through scene analysis in this application is pre-analyzed, rather than analyzed in real time based on the video specified by the user. Therefore, a separate target communication protocol can be set between the user's terminal device and the server to achieve efficient communication between the terminal device and the server, as well as identity recognition. If data communication is conducted through this target communication protocol, the server can immediately know that the terminal device is requesting the corresponding display parameter information. At the same time, identity verification can also be completed quickly. Therefore, the efficiency of obtaining target display parameter information can be improved through this target communication protocol. This target communication protocol can adopt any communication protocol, and this application embodiment does not limit it. When the terminal device and the server conduct other data communication, other communication protocols can be used for communication; the target communication protocol is only used when requesting and transmitting target display parameter information.

[0052] To better implement the video playback method in the embodiments of this application, in addition to the video playback method, the embodiments of this application also provide a video playback device, such as... Figure 3 As shown, the device 300 includes: Module 301 is used to determine the video information to be played; The acquisition module 302 is used to obtain the target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained by analyzing different scenarios. The playback module 303 is used to play the video information to be played according to the target display parameter information sent by the target server.

[0053] The video playback device provided in this application can, after the determining module 301 determines the video information to be played, obtain the target display parameter information corresponding to the video information to be played, which has been analyzed for different scenes, from the server through the obtaining module 302. In this way, the subsequent playback module 303 can adjust based on the target display parameter information when playing the video information to be played, thereby improving the smoothness of scene switching and avoiding stuttering problems when scene changes occur in the video.

[0054] In some embodiments of this application, the playback module 303 is specifically used for: Analyze the target display parameter information to determine the sub-display parameter information corresponding to each video frame in the video to be played; Based on the sub-display parameter information, adjust the display parameters of each video frame to obtain the adjusted video frames; Based on the adjusted video frames, play the video information to be played.

[0055] In some embodiments of this application, the determining module 301 is specifically used for: Analyze the target display parameter information to determine the parameter information for each sub-display; Determine the first video frame information corresponding to each sub-display parameter information; Determine whether the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played; If the first video frame information corresponding to each sub-display parameter information matches the second video frame information in the video information to be played, then the sub-display parameter information corresponding to each video frame in the video information to be played is determined based on the matched first and second video frame information.

[0056] In some embodiments of this application, the playback module 303 is further configured to: If the first video frame information corresponding to each sub-display parameter information does not match the second video frame information in the video information to be played, then the video information to be played will be played according to the set display parameter information.

[0057] In some embodiments of this application, the acquisition module 302 is specifically used for: Determine the playback duration of the video to be played; If the video playback duration exceeds the target duration threshold, the target display parameter information corresponding to the video to be played is obtained from the target server.

[0058] In some embodiments of this application, the playback module 303 is further configured to: If the playback duration is less than or equal to the target duration threshold, the video to be played will be played according to the set display parameters.

[0059] In some embodiments of this application, the acquisition module 302 is further configured to: According to the target communication protocol, obtain the target display parameter information corresponding to the video to be played from the target server.

[0060] This application also provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the steps of the video playback method according to any one of the embodiments of this application. This terminal device integrates any one of the video playback methods provided in the embodiments of this application, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the terminal device involved in the embodiments of this application. Specifically: The terminal device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4 The terminal device structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 401 is the control center of the terminal device. It connects various parts of the terminal device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, thereby providing overall monitoring of the terminal device. Optionally, the processor 401 may include one or more processing cores; the processor 401 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. Preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the aforementioned modem processor may not be integrated into the processor 401.

[0061] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0062] The terminal device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0063] The terminal device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0064] Although not shown, the terminal device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the terminal device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402 to realize various functions, such as: Determine the video information to be played; Obtain the target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained based on analysis of different scenarios. If the target display parameter information sent by the target server is obtained, the video to be played is played according to the target display parameter information.

[0065] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0066] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the video playback methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps: Determine the video information to be played; Obtain the target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained based on analysis of different scenarios. If the target display parameter information sent by the target server is obtained, the video to be played is played according to the target display parameter information.

[0067] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0068] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0069] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0070] The video playback method and apparatus provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A video playback method, characterized in that, The method includes: Determine the video information to be played; Obtain target display parameter information corresponding to the video to be played from the target server; the target display parameter information is obtained based on analysis of different scenarios. If the target display parameter information sent by the target server is obtained, the video information to be played is played according to the target display parameter information.

2. The video playback method according to claim 1, characterized in that, The step of playing the video information to be played according to the target display parameter information includes: Analyze the target display parameter information to determine the sub-display parameter information corresponding to each video frame in the video information to be played; Based on the sub-display parameter information, adjust the display parameters of each video frame to obtain the adjusted video frames; Based on the adjusted video frames, the video information to be played is then played.

3. The video playback method according to claim 2, characterized in that, The step of parsing the target display parameter information and determining the sub-display parameter information corresponding to each video frame in the video information to be played includes: Analyze the target display parameter information to determine the sub-display parameter information; Determine the first video frame information corresponding to each of the sub-display parameter information; Determine whether the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played; If the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played, then the sub-display parameter information corresponding to each video frame in the video information to be played is determined according to the matched first video frame information and second video frame information.

4. The video playback method according to claim 3, characterized in that, After determining whether the first video frame information corresponding to each of the sub-display parameter information matches the second video frame information in the video information to be played, the method further includes: If the first video frame information corresponding to each of the sub-display parameter information does not match the second video frame information in the video information to be played, then the video information to be played is played according to the set display parameter information.

5. The video playback method according to claim 1, characterized in that, The step of obtaining the target display parameter information corresponding to the video to be played from the target server includes: Determine the playback duration of the video to be played; If the playback duration exceeds the target duration threshold, the system retrieves the target display parameter information corresponding to the video to be played from the target server.

6. The video playback method according to claim 1, characterized in that, After determining the playback duration of the video to be played, the method further includes: If the playback duration is less than or equal to the target duration threshold, the video to be played will be played according to the set display parameters.

7. The video playback method according to claim 1, characterized in that, The step of obtaining the target display parameter information corresponding to the video to be played from the target server includes: According to the target communication protocol, obtain the target display parameter information corresponding to the video information to be played from the target server.

8. A video playback device, characterized in that, The device includes: The determination module is used to determine the information of the video to be played; The acquisition module is used to obtain target display parameter information corresponding to the video to be played from the target server. The target display parameter information is obtained by analysis based on different scenarios. The playback module is used to play the video information to be played according to the target display parameter information sent by the target server if the target display parameter information is obtained.

9. A terminal device, characterized in that, The terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the video playback method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the steps of the video playback method according to any one of claims 1 to 7.