Playing parameter control method and device, equipment and storage medium

By separating differential image quality parameters from common image quality parameters, the differential image quality parameters are updated only when the encoding parameters change. This solves the problems of low efficiency and poor stability caused by frequent loading and switching of the image quality processing module in network video playback, and achieves faster image quality switching and higher playback stability.

CN121665070APending Publication Date: 2026-03-13GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

During online video playback, the frequent loading and switching of the image quality processing module leads to low playback efficiency and poor stability. In particular, when network conditions change, visual anomalies such as brief flickering and delay may occur.

Method used

A mechanism separating differential image quality parameters and common image quality parameters is adopted. The differential image quality parameters are only updated when the encoding parameters meet the image quality change conditions, reducing the amount of data processing. The differential image quality file in the target memory area is quickly accessed through AutoDownload technology, ensuring the stability and smoothness of video playback.

Benefits of technology

It improves video playback response speed, reduces latency and resource consumption, ensures playback stability and efficiency, and avoids delays and flickering caused by frequent changes in image quality parameters. It is suitable for mobile devices and battery-powered devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121665070A_ABST
    Figure CN121665070A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a playing parameter control method and device, equipment and a storage medium, and the method comprises the steps: obtaining a current coding parameter of to-be-played video data when determining that a video playing program needs to play video data, and determining a first difference image quality parameter according to the current coding parameter; the first difference image quality parameter and the public image quality parameter are provided for a video playing program to play video data, and a real-time coding parameter of the video data is monitored in the playing process of the video playing program; and when it is determined that the real-time coding parameter satisfies the image quality change condition, determining a second difference image quality parameter which should be used currently according to the real-time coding parameter, and sending the second difference image quality parameter to the video playing program to replace the first difference image quality parameter. According to the technical means, the technical problems of low network video playing efficiency and poor playing stability caused by loading and switching the image quality processing module when the image quality effect needs to be changed are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video playback technology, and in particular to a playback parameter control method, apparatus, device, and storage medium. Background Technology

[0002] With the rapid development of digital media, online video playback has become an important part of home entertainment. Users can watch online videos on internet-connected devices through online streaming services (also known as online video services, such as iQiyi, Tencent Video, Youku, YouTube, Netflix, etc.) and expect to have a high-quality viewing experience.

[0003] In related technologies, the image quality processing module used when playing online videos typically determines the video quality. However, during online video playback, changes in network conditions can alter the video quality, requiring adjustments to the image quality parameters. This necessitates loading and using new image quality parameters corresponding to the changed network conditions. This leads to frequent reloading and switching of the image quality processing module. However, this loading and switching process can cause brief flickering, delays, or other visual anomalies in the online video playback. Furthermore, it can unnecessarily consume multimedia processing system resources, reducing playback efficiency and stability. Summary of the Invention

[0004] This application provides a playback parameter control method, apparatus, device, and storage medium to solve the technical problem in the related art of low network video playback efficiency and poor playback stability caused by loading and switching the image quality processing module when the image quality needs to change.

[0005] In a first aspect, one embodiment of this application provides a playback parameter control method, including:

[0006] When it is determined that the video playback program needs to play video data, the current encoding parameters of the video data to be played are obtained, and the first difference image quality parameter is determined based on the current encoding parameters.

[0007] The first differential image quality parameter and the common image quality parameter are provided to the video playback program so that the video playback program can play the video data based on the first differential image quality parameter and the common image quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program;

[0008] When it is determined that the real-time encoding parameters meet the image quality change conditions, a second differential image quality parameter to be used is determined based on the real-time encoding parameters, and the second differential image quality parameter is sent to the video playback program so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data.

[0009] As described above, when it is determined that a video playback program needs to play video data, the playback parameter control device can obtain the current encoding parameters of the video data to be played, and determine the corresponding first difference quality parameter based on the encoding parameters. Then, the first difference quality parameter and the common quality parameter are provided to the video playback program to achieve video data playback. During video data playback, the real-time encoding parameters are monitored. When the encoding parameters meet the quality change conditions, a second difference quality parameter applicable to the current encoding parameters is redefined, and the video playback program replaces the first difference quality parameter with the second difference quality parameter to continue playing video data based on the second difference quality parameter and the common quality parameter. This solves the network problems caused by loading and switching quality processing modules when the image quality needs to change in related technologies. The technical issues of low video playback efficiency and poor playback stability can be addressed by using a pre-defined approach. When image quality needs to change, instead of loading the entire image quality processing module to modify all image quality parameters, common and differential image quality parameters are pre-distinguished. When a change in image quality is required, the common parameters are retained, and only the differential parameters are modified. This means that only the differing parts are updated when the image quality changes, reducing the amount of data being modified and thus reducing data processing time. This allows for faster image quality switching, accelerating video playback response speed, ensuring playback efficiency, providing a smoother viewing experience, avoiding delays caused by loading duplicate data, reducing the possibility of interruptions, and ensuring playback stability. This is especially beneficial when the playback parameter control device is a mobile device or a battery-powered device. Furthermore, loading differential image quality parameters only when the encoding parameters meet the conditions for image quality change (i.e., loading only when necessary) reduces resource consumption caused by frequent changes in image quality parameters. Furthermore, automatic monitoring of encoding parameters enables automatic adjustment of differential image quality parameters to adapt to changes in the video stream in a timely manner, ensuring playback continuity and avoiding playback flickering caused by delays due to changes in differential image quality parameters, thus further guaranteeing playback stability.

[0010] In one embodiment of this application, the step of obtaining the current encoding parameters of the video data to be played when it is determined that the video playback program needs to play video data, and determining the first difference image quality parameter based on the current encoding parameters, includes:

[0011] When it is determined that the video playback program needs to play video data, a common quality file and a differential quality file are loaded respectively, and common quality parameters and differential quality parameters corresponding to different encoding parameters are obtained. The common quality file includes the settings of common quality parameters, and the differential quality file includes the settings of differential quality parameters corresponding to different encoding parameters. There is at least one differential quality file.

[0012] The common image quality parameters corresponding to the common image quality file are used as the common image quality parameters for playing the video data, and the common image quality parameters used during the playback of the video data remain unchanged;

[0013] Obtain the current encoding parameters of the video data to be played, and find the first differential quality parameter corresponding to the current encoding parameters based on the differential quality file;

[0014] The step of determining the second differential image quality parameter to be used based on the real-time encoding parameters includes:

[0015] Based on the difference image quality file, find the second difference image quality parameter corresponding to the real-time encoding parameters.

[0016] As described above, by setting differential image quality files and common image quality files, differential image quality parameters and common image quality parameters can be determined separately. Therefore, when the encoding parameters meet the conditions for image quality change, only the differential image quality parameters need to be changed.

[0017] In one embodiment of this application, when it is determined that the real-time encoding parameters meet the image quality change conditions, finding the second differential image quality parameter corresponding to the real-time encoding parameters based on the differential image quality file includes:

[0018] When it is determined that the real-time encoding parameters meet the image quality change conditions, AutoDownLoad is triggered;

[0019] The AutoDownLoad function calls the differential image quality file stored in the target memory area to find the second differential image quality parameter corresponding to the real-time encoding parameter based on the differential image quality file.

[0020] As described above, by using AutoDownload technology to call the differential quality file in the target memory region, it can be ensured that when the differential quality parameters need to be changed, the differential quality file containing the differential quality parameters can be quickly accessed by the processor. When AutoDownload is triggered, the playback parameter control device will automatically call the memory data (currently the differential quality parameters) in a specific region (currently the target memory region). This method can reduce abnormal problems such as screen delay and flickering caused by manually managing quality parameters, and ensure that the differential quality parameters are available and up-to-date during video playback.

[0021] In one embodiment of this application, the playback parameter control method further includes:

[0022] When the AutoDownLoad initialization condition is met, AutoDownLoad is activated and a target memory region is allocated for AutoDownLoad. The AutoDownLoad initialization condition is when it is determined that the video playback program needs to play video data or when the video playback program is started.

[0023] The difference image quality file is stored in the target memory area.

[0024] As described above, by pre-allocating a target memory area for AutoDownload and storing the difference quality files in the target memory area, the difference quality parameters can be found by accessing the target memory area when needed. This ensures the stability, reliability, and smoothness of video playback, and is especially suitable for scenarios where encoding parameters change frequently.

[0025] In one embodiment of this application, the encoding parameters include frame rate and / or bit rate.

[0026] In one embodiment of this application, when the encoding parameters include frame rate and bitrate, the image quality change condition is that the parameter value of the frame rate changes or the bitrate range to which the bitrate belongs changes.

[0027] In one embodiment of this application, when the encoding parameters include frame rate and bitrate, the types of differential image quality parameters that need to be changed when the frame rate parameter value changes are different from the types of differential image quality parameters that need to be changed when the bitrate range to which the bitrate belongs changes.

[0028] The step of determining the second differential image quality parameter to be used based on the real-time encoding parameters, and sending the second differential image quality parameter to the video playback program, so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data, includes:

[0029] Based on the type of the real-time encoding parameters that satisfy the image quality change conditions, a second differential image quality parameter that should be used is determined, and the second differential image quality parameter is sent to the video playback program so that the video playback program uses the second differential image quality parameter to replace the same type of differential image quality parameter in the first differential image quality parameter to continuously play the video data during playback. The type of the second differential image quality parameter is suitable for the type of the real-time encoding parameters that satisfy the image quality change conditions.

[0030] As mentioned above, when there are multiple types of encoding parameters, the type of encoding parameter that causes the change in image quality can be combined with the type of the corresponding differential image quality parameter. Instead of changing all differential image quality parameters, the amount of data processed can be further reduced, and playback efficiency and stability can be improved.

[0031] In one embodiment of this application, when the encoding parameters include frame rate and bit rate, there are three difference quality files, and the three difference quality files are a sharpness difference file, a noise reduction difference file, and a memory-related difference file, respectively; the difference quality parameters corresponding to the sharpness difference file are sharpness parameters, the difference quality parameters corresponding to the noise reduction difference file are noise reduction parameters, and the difference quality parameters corresponding to the memory-related difference file include scaling factor, deinterlacing parameter, and image enhancement parameter.

[0032] As described above, by reasonably setting the differential image quality files corresponding to different differential image quality parameter types, the playback parameter control device can quickly retrieve and load (i.e. find) the required differential image quality parameters. This not only speeds up the search for differential image quality parameters but also improves the adaptability and responsiveness of video data playback under different encoding parameters. It also eliminates the need to repeatedly access common image quality files, reduces the number of memory accesses, and improves video processing efficiency.

[0033] Secondly, one embodiment of this application also provides a playback parameter control device, including:

[0034] The parameter acquisition unit is used to acquire the current encoding parameters of the video data to be played when it is determined that the video playback program needs to play video data, and to determine the first difference image quality parameter based on the current encoding parameters.

[0035] The parameter monitoring unit is used to provide the first differential image quality parameters and common image quality parameters to the video playback program so that the video playback program can play the video data based on the first differential image quality parameters and common image quality parameters, and to monitor the real-time encoding parameters of the video data during the playback process of the video playback program.

[0036] The parameter change unit is used to determine the second differential image quality parameter to be used when it is determined that the real-time encoding parameters meet the image quality change conditions, and to send the second differential image quality parameter to the video playback program so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data.

[0037] Thirdly, one embodiment of this application also provides a playback parameter control device, including: a display screen, one or more processors, and a memory;

[0038] The memory is used to store one or more programs;

[0039] The display screen is used to display information;

[0040] When the one or more programs are executed by the one or more processors, the one or more processors implement the playback parameter control method as described in the first aspect.

[0041] Fourthly, one embodiment of this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the playback parameter control method as described in the first aspect.

[0042] The beneficial effects of the playback parameter control device, equipment, and storage medium provided above can be referenced in relation to the beneficial effects of the playback parameter control method. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the playback process of network video in related technologies;

[0044] Figure 2 This application provides a schematic diagram of the structure of a playback parameter control device according to one embodiment.

[0045] Figure 3 A flowchart illustrating a playback parameter control method provided in one embodiment of this application;

[0046] Figure 4 A flowchart illustrating a playback parameter control method provided in another embodiment of this application;

[0047] Figure 5 This is a schematic diagram illustrating the correspondence between bitrate and differential image quality parameters, provided as an embodiment of this application.

[0048] Figure 6 A flowchart illustrating a playback parameter control method provided in yet another embodiment of this application;

[0049] Figure 7 This is a schematic diagram of a playback parameter control device provided in one embodiment of this application. Detailed Implementation

[0050] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and not for limiting the scope of the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the present application are shown in the drawings, not the entire structure.

[0051] Online video can also be understood as video streaming online, where users can use network technology to play videos stored on the network on their local devices.

[0052] In online video playback technology, multimedia processing systems typically select appropriate image quality processing modules based on the resolution of the online video to achieve the corresponding image quality effect. Here, "multimedia processing system" refers to devices capable of playing online videos (such as smart TVs) or players providing online streaming media services. Image quality processing modules include settings for various image quality parameters. These parameters are obtained through these modules, and different modules may determine slightly different values ​​for these parameters. Image quality parameters are those related to the presented image quality when playing online videos; different parameters may result in different image quality effects. Image quality parameters include, but are not limited to: scaling, deinterlacing, sharpness, 3D / 2D noise reduction, dynamic contrast, color, gamma, and white balance. These are commonly used parameters in video playback and will not be further explained or described here.

[0053] Generally, different resolutions of online videos require different image quality parameters for playback, necessitating the loading of different image quality processing modules. The resolution referred to here can also be considered the video's clarity. For example, if the online video's resolution corresponds to High Definition (HD) or Ultra High Definition (e.g., 4K), the multimedia processing system will call the corresponding HD or Ultra High Definition image quality processing module to use the image quality parameters determined by that module for playback. If the online video's resolution corresponds to Standard Definition (SD), the multimedia processing system will call the corresponding SD image quality processing module to use the image quality parameters determined by that module for playback.

[0054] However, this approach has some limitations. For example, the streaming media services used by multimedia processing systems typically adjust the resolution dynamically based on the real-time network bandwidth during video playback. This means the actual playback resolution may differ from the video's native resolution. For instance, a video might be set to 4K (Ultra High Definition), but as network conditions change (primarily bandwidth), such as decreasing bandwidth, the streaming service might switch from 4K to Full High Definition (Full HD), or even SD, as network conditions worsen. In this case, the image quality processing module needs to be reloaded and switched to ensure the appropriate image quality parameters are used for the current resolution. The current image quality needs to be compatible with the current resolution, requiring changes to the image quality parameters. Changing these parameters necessitates reloading and switching the appropriate image quality processing module to use its corresponding parameters. Essentially, reloading and switching the image quality processing module can be understood as changing the currently used image quality parameters.

[0055] Based on this, Figure 1 This is a schematic diagram of the network video playback process in related technologies, for reference. Figure 1 When playing online videos, the user first initiates playback in the multimedia processing system (e.g., by selecting an online video in a player). At this point, the image quality parameters corresponding to each image quality processing module are determined. Next, the multimedia processing system determines the resolution of the online video and, based on the detected signal type and resolution, selects the appropriate image quality processing module. Signal types include, but are not limited to, HDMI, USB, Network, AV, YPbPr, VGA, PC, ATV, and DTV. These are commonly used signal types for video data and will not be further explained or described here. During online video playback, the multimedia processing system monitors the real-time network bandwidth. When it determines that the network bandwidth has changed (the change must be significant enough to cause a change in resolution), the multimedia processing system determines that the resolution has changed, meaning it needs to readjust the image quality. It then reloads and switches the currently used image quality processing module to use its image quality parameters for online video playback and continues to monitor network bandwidth. When it determines that the network bandwidth has not changed, the multimedia processing system continues to use the current image quality processing module with the appropriate image quality parameters for online video playback.

[0056] For example, when switching a network video from 4K to Full HD, it is necessary to load the corresponding image quality processing module for Full HD and switch the currently used image quality processing module for 4K to the corresponding Full HD module. The image quality parameters set by the Full HD module are then used to play the network video, thereby changing the image quality from 4K to Full HD.

[0057] During the loading and switching of the image quality processing module, abnormalities may occur in the picture (such as brief flickering, delays, or other visual anomalies in the playback). Specifically, the image quality processing module typically includes memory-dependent image algorithms. Memory-dependent image algorithms generally refer to algorithms that need to process image data (i.e., image frames) in memory. For example, algorithms used to determine scaling factors, deinterlacing parameters, sharpness parameters, dynamic contrast parameters, and color parameters all belong to memory-dependent image algorithms.

[0058] When the resolution of a network video changes during playback (manifested as a change in sharpness), loading a new image processing module requires using memory-related image algorithms to match appropriate image quality parameters, such as scaling factors, to ensure proper playback. Otherwise, jagged edges will appear. For example, if the network video's resolution is 1920×1080, corresponding to Full HD, while the current multimedia processing system uses a resolution (adapted to network bandwidth) of 1280×720, corresponding to HD, then to play the network video using the multimedia processing system, a suitable scaling factor needs to be selected to ensure the network video remains clear and undistorted at the resolution used by the multimedia processing system.

[0059] However, configuring memory-dependent image algorithms requires a large amount of data. This data includes, but is not limited to, image quality parameters determined by memory-dependent image algorithms (such as scaling factors, deinterlacing parameters, sharpness parameters, dynamic contrast parameters, color parameters, etc.), temporary data generated during image frame processing (such as image frames scaled using scaling factors), and buffer data generated for smooth playback (such as a certain number of image frames pre-loaded in memory). When the currently used resolution changes due to constantly changing network bandwidth, requiring repeated loading and switching of image quality processing modules, the memory continuously loads the aforementioned data. However, since the data loading rate of the chips used in multimedia processing systems (mainly graphics processing units, GPUs) is limited, the chips cannot instantly load all the aforementioned data (because changes in network bandwidth cause the sharpness used in network video (i.e., the resolution applicable to the multimedia processing system) to fluctuate frame by frame, so the chips need to instantly load all the aforementioned data). This may result in the loading process being perceived by the human eye, i.e., a brief flicker, delay, or other visual abnormalities in the playback. Furthermore, frequent loading and switching of image quality processing modules may also lead to unnecessary consumption of processing resources, reducing energy efficiency. When the image quality changes and the image processing module needs to be reloaded and switched, ensuring playback efficiency and stability becomes a pressing technical problem that needs to be solved.

[0060] To address the aforementioned technical problems, this application provides a playback parameter control method. This method aims to reduce the amount of data that needs to be repeatedly loaded when the image quality processing module reloads and switches. The image quality parameters used for playing online videos are divided into common image quality parameters and differential image quality parameters. Common image quality parameters represent the shared portion, while differential image quality parameters represent the differing portion. When the image quality parameters need to change during online video playback (e.g., due to changes in network bandwidth), only the differential image quality parameters need to be replaced; the common image quality parameters do not need to be changed. This reduces the number of image quality parameters that need to be replaced, thereby improving the efficiency and stability of video playback.

[0061] The playback parameter control method provided in this application can be executed by a playback parameter control device. This playback parameter control device can be implemented through software and / or hardware, and can consist of two or more physical entities, or a single physical entity. Currently, this playback parameter control device can be a playback device capable of online video playback, such as a mobile phone, tablet computer, interactive whiteboard, laptop computer, desktop computer, or smart TV.

[0062] Figure 2This is a schematic diagram of a playback parameter control device according to one embodiment of this application. (Reference) Figure 2 The playback parameter control device includes a processor 11, a memory 12, and a display screen 13. The processor 11, memory 12, and display screen 13 can be connected via a bus or other means.

[0063] The number of processors 11 can be one or more. Figure 2 The example below uses a processor 11. Processor 11 may include processing units such as an application processor (AP), a GPU, and a central processing unit (CPU).

[0064] The memory 12, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the playback parameter control device in this embodiment. The memory 12 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the playback parameter control device. Furthermore, the memory 12 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 12 may further include remotely located memories 12 relative to the processor 11, which can be connected to the playback parameter control device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0065] The display screen 13 can be a liquid crystal display (LCD), an LED display, an organic light-emitting diode (OLED) display, or a flexible light-emitting diode (FLED) display, etc. The display screen 13 can also be a touch display screen, in which case it includes a display component and a touch component. The display component is used to complete the visual output. The touch component is used to collect the user's touch operations, and the touch component can be a touch component supporting infrared touch, electromagnetic touch, capacitive touch, and / or resistive touch, etc.

[0066] The playback parameter control device may also include a component for accessing a network (such as the Internet) to enable playback of network videos.

[0067] The playback parameter control device may also include one or more communication interfaces to enable communication with other devices. Furthermore, the playback parameter control device may also include components such as a power supply, speaker, and camera; however, this embodiment does not limit the scope of the invention.

[0068] Based on the aforementioned hardware structure, the playback parameter control device has at least one operating system installed. This operating system can be Android, Windows, or Linux, among others. In addition to the installed operating system, the playback parameter control device can install at least one application. This application can be a built-in application of the operating system or an application downloaded from a backend server or a third-party device. In one embodiment, the playback parameter control device has at least one application installed for implementing online video playback, enabling the playback of online videos through this application. For example, the application can be a client for a network streaming media service, such as the Tencent Video app or the iQiyi Video app, which can be considered applications for implementing online video playback. Furthermore, the application can be other applications that implement network streaming media services, such as a web-based application that can play Tencent Video. In this embodiment, the application used for playing online videos is referred to as the video playback program.

[0069] At this point, the playback parameter control device can implement playback parameter control methods during the playback of network video by the video playback program (the program code implementing the playback control parameter methods is stored in memory and available to the processor for execution). It can be understood that the operations performed by the playback parameter control device when implementing the playback parameter control methods are all implemented by the running program code. That is, the playback parameter control device can be considered a multimedia processing system (implemented by running the program code corresponding to the playback control parameter methods), which can determine the image quality parameters required for network video playback and provide these determined image quality parameters to the video playback program. The communication method between the playback parameter control device and the video playback program can use existing communication methods. Optionally, in practical applications, the playback parameter control methods can also be implemented by the video playback program itself; that is, the program code implementing the playback control parameter methods can be called by the video playback program or integrated into the corresponding program code of the video playback program.

[0070] Figure 3 A flowchart illustrating a playback parameter control method according to an embodiment of this application is provided, with reference to... Figure 3 The playback parameter control method includes steps 210-230:

[0071] Step 210: When it is determined that the video playback program needs to play video data, obtain the current encoding parameters of the video data to be played, and determine the first difference image quality parameter based on the current encoding parameters.

[0072] In one embodiment, when the video playback program plays a network video, the resolution (also understood as clarity) of the network video includes SD, HD, FHD, 4K and 8K (Super Ultra High Definition), etc., and the video playback program can also adjust the currently used resolution according to the actual situation during the playback of the network video.

[0073] For example, the video data to be played can also be understood as the network video that the video playback program is currently preparing to play. The user can start the video playback program in the playback parameter control device and select the network video (i.e., video data) to be played within the program. At this time, the playback parameter control device can determine the network video (i.e., the video data to be played) that the video playback program needs to (i.e., prepares to) play, and can analyze the network video's metadata. This metadata includes data such as the network video's resolution, bitrate, and frame rate. The resolution of the network video is related to its clarity; the higher the resolution, the clearer the video. Bitrate refers to the amount of data used or transmitted per unit of time. Bitrate determines the compression rate and quality of the video image; the higher the bitrate, the clearer the image, and the higher the corresponding resolution. Frame rate is the frequency (rate) at which images appear continuously on the display screen, measured in frames; the higher the frame rate, the smoother the image.

[0074] Currently, when analyzing the metadata of online videos, encoding parameters can be obtained from the metadata. These encoding parameters are what determine whether the image quality changes during online video playback; that is, changes in encoding parameters may cause changes in the image quality of the online video. In other words, different encoding parameters will result in different image quality parameters being used by the video playback program.

[0075] In one embodiment, the encoding parameters include frame rate and / or bit rate as an example. In practical applications, the encoding parameters can also be other data, such as the resolution currently used by the video player, or the network bandwidth when the video player plays online video.

[0076] It is understandable that different bitrates will result in different resolutions and image quality when playing online videos. Consequently, the image quality parameters used by the video player will also differ. Similarly, different frame rates will also affect the image quality (e.g., noise reduction), thus requiring the video player to use different image quality parameters. Therefore, in this embodiment, the image quality parameters to be used by the video player when playing video data can be determined by obtaining the bitrate and / or frame rate.

[0077] In one embodiment, the encoding parameters include frame rate and bit rate as an example for description.

[0078] Currently, the frame rate parameters used by different online videos generally include 24fps, 30fps, 50fps, and 60fps. When the frame rate value is different, some quality parameters (such as noise reduction) used by the video playback program will also differ.

[0079] The bitrate range used by different online videos generally includes: 500kbps-2Mbps, 3Mbps-5Mbps, 6Mbps-10Mbps, 15Mbps-25Mbps, and 26Mbps-40Mbps. Under different bitrate ranges, some quality parameters (such as scaling factor, resolution parameters, deinterlacing parameters, etc.) used by the video playback program will also be different.

[0080] To better understand the technical solutions, the applicable resolution, frame rate, and bitrate ranges for different image quality effects are described below. Specifically, when the video quality corresponds to SD, the resolution is 640×480 (4:3 or 16:9) or lower, the frame rate is typically 24fps, 30fps, or 60fps (National Television Standards Committee, NTSC), and the bitrate range is 500kbps-2Mbps; when the video quality corresponds to HD, the resolution is 1280×720 (i.e., HD 720P), the frame rate is typically 24fps, 30fps, 50fps, or 60fps, and the bitrate range is 3Mbps-5Mbps; when the video quality corresponds to FHD, the resolution is 1920×1080 (HD 720P). 1080P video quality typically uses a frame rate of 24fps, 30fps, 50fps, or 60fps, with a bitrate range of 6Mbps-10Mbps. 4K video quality uses a resolution of 3840×2160, with a frame rate of 24fps, 30fps, 50fps, or 60fps, and a bitrate range of 15Mbps-25Mbps. 8K video quality uses a resolution of 7680×4320, with a frame rate of 24fps, 30fps, or 60fps, and a bitrate range of 26Mbps-40Mbps.

[0081] In one embodiment, when the playback parameter control device obtains the current frame rate and bit rate of the video data to be played, it can assume that the frame rate and bit rate used when the video data is started to be played are the currently obtained frame rate and bit rate. Then, the difference quality parameters applicable to the currently obtained frame rate and bit rate can be determined.

[0082] Among them, the differential image quality parameters refer to the image quality parameters that need to be changed when different encoding parameters cause changes in image quality. For all image quality parameters, when the encoding parameters change, some image quality parameters need to be changed so that the image quality effect presented by the changed image quality parameters is applicable to the changed encoding parameters. The remaining image quality parameters that do not change (i.e., the image quality parameters other than the differential image quality parameters) can be denoted as common image quality parameters. When the encoding parameters change, these common image quality parameters do not need to be changed; that is, common image quality parameters are applicable to the image quality effect corresponding to each encoding parameter.

[0083] The distinction between differential and common image quality parameters can be set based on actual conditions (i.e., which image quality parameters need to be changed when encoding parameters change). Currently, when encoding parameters include frame rate and bitrate, differential image quality parameters include sharpness (i.e., resolution) parameters, 3D / 2D noise reduction parameters (hereinafter referred to as noise reduction parameters), and image quality parameters determined by memory-related image algorithms. Currently, memory-related image algorithms include scaling algorithms, deinterlacing algorithms, and image enhancement algorithms. Scaling algorithms are used to adjust the resolution of video frames to adapt them to different screen sizes; scaling algorithms determine the scaling factor. Deinterlacing algorithms convert interlaced video frames to progressive scan to eliminate motion blur and jagged edges. Deinterlacing algorithms determine deinterlacing parameters. Image enhancement algorithms improve the visual effect of video frames. Image enhancement algorithms determine image enhancement parameters; currently, image enhancement parameters include dynamic contrast parameters, color parameters, and other parameters related to visual effects. Common image quality parameters include all other image quality parameters besides differential image quality parameters, such as white balance and gamma.

[0084] Optionally, the required differential image quality parameters for different encoding parameter values ​​can be pre-set manually (i.e., establishing a correspondence between encoding parameters and differential image quality parameters), as well as common image quality parameters, and stored in the playback parameter control device. It is understandable that when encoding parameters include multiple types (such as frame rate and bitrate), the required type of differential image quality parameter may differ when each type of encoding parameter changes. In this case, manual settings are required for all types of differential image quality parameters applicable to each type of encoding parameter.

[0085] When manually pre-setting the differential image quality parameters required for encoding parameters at different values, this can be achieved by setting a common image quality file and a differential image quality file. Common image quality parameters can be determined through a common image quality file, and differential image quality parameters can be determined through a differential image quality file. Both common and differential image quality files include the settings of the corresponding image quality parameters, recording the settings of each image quality parameter corresponding to different encoding parameters (currently, each encoding parameter corresponds to the same common image quality parameter). Common and differential image quality files can be considered as independently distinguishing the settings of relevant image quality parameters in the image quality processing module to form corresponding image quality files. Optionally, multiple differential image quality files can be set, and each differential image quality file is used to determine different types of differential image quality parameters. For example, if three differential image quality files are set, one differential image quality file records the sharpness parameter settings under different encoding parameters, one differential image quality file records the denoising parameter settings under different encoding parameters, and one differential image quality file records the image quality parameter settings determined by memory-related image algorithms under different encoding parameters. When the playback parameter control device determines that video data needs to be played, it can first load the common quality file and the difference quality file to determine the common quality parameters and each difference quality parameter. Then, it can determine the difference quality parameters in the difference quality file based on the currently acquired encoding parameters.

[0086] Optionally, after the playback parameter control device determines the current encoding parameters, it can determine the differential image quality parameters that should be used for the currently acquired encoding parameters based on the differential image quality parameters required for different values ​​of encoding parameters, and record the determined differential image quality parameters as the first differential image quality parameter. When the encoding parameters include frame rate and bit rate, the first differential image quality parameter should include sharpness parameters, noise reduction parameters, and image quality parameters determined based on memory-related image algorithms.

[0087] Step 220: Provide the first difference image quality parameter and the common image quality parameter to the video playback program so that the video playback program can play video data based on the first difference image quality parameter and the common image quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program.

[0088] For example, after determining the first difference quality parameter, the playback parameter control device can send the first difference quality parameter and the common quality parameter to the video playback program. The video playback program then uses the first difference quality parameter and the common quality parameter to play the video data. That is, the video playback program starts playing the video data and uses the first difference quality parameter and the common quality parameter. It can be understood that the encoding parameters (used to determine the first difference quality parameter) obtained by the playback parameter control device from the metadata can be considered as the encoding parameters when the video playback program first starts playing the video data. In other words, the bitrate and frame rate at the beginning of video data playback are the frame rate and bitrate corresponding to the first difference quality parameter.

[0089] Subsequently, the playback parameter control device continues to monitor the real-time encoding parameters of the video data. It is understood that during video playback, the encoding parameters may change due to factors such as variations in network conditions, and these changes may lead to changes in image quality, necessitating the use of different image quality parameters. Therefore, in this embodiment, the playback parameter control device continuously monitors the encoding parameters of the video data during playback. That is, the playback parameter control device can communicate with the video playback program to monitor the frame rate and / or bit rate currently used by the program. It is understood that when the video playback program plays video data, it buffers the next few frames in a buffer area. At this time, the real-time encoding parameters can be obtained based on each video frame in the buffer area.

[0090] Optionally, in addition to monitoring encoding parameters, the playback parameter control device can also monitor other content in real time (all of which can be achieved through communication with the video playback program) to understand the real-time playback status of the video data. For example, the playback parameter control device can also monitor whether the video is currently playing, paused, or stopped, and respond accordingly to changes based on the monitored playback status. For instance, when it detects that the video data is playing, it continues to monitor the encoding parameters; when it detects that the video data is paused, it pauses monitoring the encoding parameters; and when it detects that the video data is stopped, it stops monitoring the encoding parameters. Furthermore, the playback parameter control device can also monitor other parameters, such as the real-time resolution being used.

[0091] Step 230: When it is determined that the real-time encoding parameters meet the image quality change conditions, determine the second difference image quality parameter to be used at the current time based on the real-time encoding parameters, and send the second difference image quality parameter to the video playback program so that the video playback program can use the second difference image quality parameter to replace the first difference image quality parameter to continuously play the video data during playback.

[0092] For example, image quality change conditions refer to the conditions that the encoding parameters must meet when the image quality changes. Currently, image quality change conditions mainly limit the conditions for changes in encoding parameters. In one embodiment, when the encoding parameters include frame rate and bitrate, the image quality change condition is a change in the frame rate parameter value or a change in the bitrate range to which the bitrate belongs. For example, frame rate values ​​generally include 24fps, 30fps, 50fps, and 60fps. When the frame rate value changes (i.e., from one value to another), image quality parameters such as noise reduction must also change to ensure that the changed image quality is suitable for the changed frame rate. Bitrate ranges generally include 500kbps-2Mbps, 3Mbps-5Mbps, 6Mbps-10Mbps, 15Mbps-25Mbps, and 26Mbps-40Mbps. When the bitrate is in different bitrate ranges (i.e., from one bitrate range to another), image quality parameters such as scaling factor, sharpness parameter, and deinterlacing parameter must also change to ensure that the changed image quality is suitable for the changed frame rate. Therefore, during the monitoring of encoding parameters, if it is determined that the frame rate changes from one value to another or the bitrate changes from one bitrate range to another, that is, if at least one of the two conditions is met, it can be considered that the encoding parameters meet the image quality change condition. At this time, it is necessary to redetermine the differential image quality parameters applicable to the changed encoding parameters. Currently, the differential image quality parameters applicable to the changed encoding parameters are denoted as the second differential image quality parameters.

[0093] When the playback parameter control device determines that the real-time encoding parameters meet the image quality change conditions, it determines the differential image quality parameter corresponding to the current real-time encoding parameters based on the differential image quality parameters required for different encoding parameters, and records the currently determined differential image quality parameter as the second differential image quality parameter.

[0094] Optionally, the currently determined second differential image quality parameter should include the sharpness parameter, the noise reduction parameter, and the image quality parameter determined by the memory-related image algorithm. That is, regardless of which type of encoding meets the image quality change condition, all types of differential image quality parameters are redefined. In this case, the parameter values ​​of some differential image quality parameters may be the same before and after the change. For example, the encoding parameters include frame rate and bit rate. When the frame rate changes, the sharpness parameter may not need to change. In this case, when determining the second differential image quality parameter, the sharpness parameter corresponding to the second differential image quality parameter is the same as the sharpness parameter corresponding to the first differential image quality parameter.

[0095] Optionally, when encoding parameters include frame rate and bitrate, the types of differential image quality parameters that need to be changed when the frame rate parameter value changes may differ from the types of differential image quality parameters that need to be changed when the bitrate range changes. For example, the sharpness parameter does not need to be changed when the frame rate changes. In this case, differential image quality parameters can be pre-classified to further distinguish which types of image quality parameters need to be changed when the frame rate changes and which types of image quality parameters need to be changed when the bitrate changes. It should be noted that the types of image quality parameters corresponding to changes in bitrate and frame rate may overlap. In this embodiment, determining the second differential image quality parameter to be used based on the real-time encoding parameters and sending the second differential image quality parameter to the video playback program so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play video data includes: determining the second differential image quality parameter to be used based on the type of the real-time encoding parameters that meet the image quality change conditions, and sending the second differential image quality parameter to the video playback program so that the video playback program uses the second differential image quality parameter to replace the differential image quality parameter of the same type in the first differential image quality parameters during playback to continuously play video data. The type of the second differential image quality parameter is applicable to the type of the real-time encoding parameters that meet the image quality change conditions. When monitoring real-time encoding parameters, if it is determined that the frame rate has changed (i.e., the type of encoding parameter that meets the condition for image quality change is frame rate), then the differential image quality parameters to be used under each type corresponding to the frame rate can be determined according to the classification and used as the second differential image quality parameters. If it is determined that the bitrate range has changed (i.e., the type of encoding parameter that meets the condition for image quality change is bitrate), then the differential image quality parameters to be used under each type corresponding to the bitrate range can be determined according to the classification and used as the second differential image quality parameters. The classification can be done manually or by the playback parameter control device based on historically changed differential image quality parameters (for example, the playback parameter control device identifies differential image quality parameters whose parameter values ​​substantially change each time the encoding parameters change, thereby achieving classification).

[0096] After determining the second difference quality parameter, the playback parameter control device can send the second difference quality parameter to the video playback program. The video playback program then uses the second difference quality parameter to replace the first difference quality parameter. The video playback program uses the second difference quality parameter and common quality parameters to play the video data; that is, the video playback program continues to play the video data, using the second difference quality parameter and common quality parameters. It can be understood that when the encoding parameters include frame rate and bit rate, after determining the appropriate type of second difference quality parameter based on the type of encoding parameters, when the video playback program replaces the first difference quality parameter, it can replace only some of the difference quality parameters. For example, if the second difference quality parameter includes some image enhancement parameters and noise reduction parameters, when the video playback program uses the second difference quality parameter to replace the first difference quality parameter, it can replace only some of the image enhancement and noise reduction parameters, while the other difference quality parameters remain unchanged.

[0097] Afterward, the playback parameter control device can continue to monitor the real-time encoding parameters of the video data, and determine whether to change the currently used differential image quality parameters based on the encoding parameters, until the video playback program finishes playing the video data.

[0098] It is understandable that when the playback parameter control device determines that video data needs to be played, the acquired encoding parameters (used to determine the first difference in image quality parameters) can also be considered as encoding parameters that satisfy the image quality condition change. This is because before playing video data, both the frame rate and bit rate should be zero. When preparing to play video data and starting playback, the frame rate and bit rate will change, that is, change to the frame rate and bit rate acquired in step 210. At this time, the change in frame rate and bit rate can satisfy the image quality change condition. Therefore, the playback parameter control device can determine the first difference in image quality parameters based on the changed frame rate and bit rate.

[0099] It should be noted that in practical applications, when the encoding parameter includes frame rate, the condition for image quality changes is a change in the frame rate parameter value. When the encoding parameter includes bitrate, the condition for image quality changes is a change in the bitrate range to which the bitrate belongs.

[0100] Optionally, when the video playback program stops playing video data, the playback parameter control device can detect this playback status and stop monitoring the encoding parameters. When the video playback program resumes playing video data (which can be other video data), this method can be executed again.

[0101] As described above, when it is determined that a video playback program needs to play video data, the playback parameter control device can obtain the current encoding parameters of the video data to be played, and determine the corresponding first difference quality parameter based on the encoding parameters. Then, the first difference quality parameter and the common quality parameter are provided to the video playback program to achieve video data playback. During video data playback, the real-time encoding parameters are monitored. When the encoding parameters meet the quality change conditions, a second difference quality parameter applicable to the current encoding parameters is redefined, and the video playback program replaces the first difference quality parameter with the second difference quality parameter to continue playing video data based on the second difference quality parameter and the common quality parameter. This solves the network problems caused by loading and switching quality processing modules when the image quality needs to change in related technologies. The technical issues of low video playback efficiency and poor playback stability can be addressed by using a pre-defined approach. When image quality needs to change, instead of loading the entire image quality processing module to modify all image quality parameters, common and differential image quality parameters are pre-distinguished. When a change in image quality is required, the common parameters are retained, and only the differential parameters are modified. This means that only the differing parts are updated when the image quality changes, reducing the amount of data being modified and thus reducing data processing time. This allows for faster image quality switching, accelerating video playback response speed, ensuring playback efficiency, providing a smoother viewing experience, avoiding delays caused by loading duplicate data, reducing the possibility of interruptions, and ensuring playback stability. This is especially beneficial when the playback parameter control device is a mobile device or a battery-powered device. Furthermore, loading differential image quality parameters only when the encoding parameters meet the conditions for image quality change (i.e., loading only when necessary) reduces resource consumption caused by frequent changes in image quality parameters. Furthermore, automatic monitoring of encoding parameters enables automatic adjustment of differential image quality parameters to adapt to changes in the video stream, ensuring playback continuity and preventing playback flickering caused by delays in differential image quality parameter changes, thus further guaranteeing playback stability. Moreover, when there are multiple types of encoding parameters, only the corresponding type of differential image quality parameter that is currently causing the image quality change can be modified, without needing to change all differential image quality parameters. This further reduces the amount of data processed, improving playback efficiency and stability.

[0102] Figure 4 A flowchart illustrating a playback parameter control method provided in another embodiment of this application. Figure 4 The playback parameter control method shown is in Figure 3 Based on the playback parameter control method shown, the process of determining common and differential image quality parameters is further described, referring to... Figure 4 The playback parameter control method includes steps 310-350:

[0103] Step 310: When it is determined that the video playback program needs to play video data, load the common quality file and the differential quality file respectively, and obtain the common quality parameters and the differential quality parameters corresponding to different encoding parameters. The common quality file includes the settings of the common quality parameters, and the differential quality file includes the settings of the differential quality parameters corresponding to different encoding parameters. There is at least one differential quality file.

[0104] The common image quality file includes settings for common image quality parameters. Currently, since various common image quality parameters do not change under different image quality effects, in this embodiment, the settings for all common image quality parameters can be placed in a single common image quality file; that is, only one common image quality file needs to be used at present. For example, when common image quality parameters include white balance, gamma, etc., the common image quality file records the determination method or parameter value of white balance, gamma, and other common image quality parameters under different encoded parameters (i.e., encoded parameters with different values). Currently, the determination method or parameter value corresponding to each different encoded parameter is the same. Here, the determination method refers to the implementation method for determining the parameter value of the corresponding image quality parameter (which can also be understood as the algorithm for determining the parameter value). After loading the common image quality file, the parameter value of the common image quality parameter can be determined based on the determination method, and this parameter value can be recorded in the common image quality file, or the parameter value recorded in the common image quality file can be used directly. In practical applications, multiple common image quality files can also be set according to the type of common image quality parameter, and different common image quality files correspond to different types of common image quality parameters.

[0105] The difference quality files include settings for difference quality parameters corresponding to different encoding parameters (i.e., encoding parameters with different values). Optionally, different types of difference quality parameters can share the same difference quality file, or multiple difference quality files can be set based on the type of difference quality parameters, and the types of difference quality parameters corresponding to each difference quality file are different. In one embodiment, when the encoding parameters include frame rate and bit rate, there are three difference quality files, and the three difference quality files are a sharpness difference file, a noise reduction difference file, and a memory-related difference file, respectively; the difference quality parameters corresponding to the sharpness difference file are sharpness parameters, the difference quality parameters corresponding to the noise reduction difference file are noise reduction parameters, and the difference quality parameters corresponding to the memory-related difference file include scaling factor, deinterlacing parameter, and image enhancement parameter.

[0106] The sharpness difference file includes sharpness parameter settings (i.e., the difference image quality parameters corresponding to the sharpness difference file are sharpness parameters), which records the determination method or parameter value of the sharpness parameter under each encoding parameter, such as the determination method or parameter value of the sharpness parameter under various frame rate parameter values ​​and various bitrate ranges. The noise reduction difference file includes noise reduction parameter settings (i.e., the difference image quality parameters corresponding to the noise reduction difference file are noise reduction parameters), which records the determination method or parameter value of the noise reduction parameter under each encoding parameter. The memory-related difference file includes settings for scaling factors, deinterlacing parameters, and image enhancement parameters (i.e., the difference image quality parameters corresponding to the memory-related difference file include scaling factors, deinterlacing parameters, and image enhancement parameters), which records the determination method of the scaling factors (i.e., scaling algorithm), the determination method of the deinterlacing parameters (i.e., deinterlacing algorithm), and the determination method of the image enhancement parameters (i.e., image enhancement algorithm) under each encoding parameter. In practical applications, the memory-related difference files can be further subdivided.

[0107] After loading each difference quality file, the parameter values ​​of each difference quality parameter under each encoding parameter can be determined based on a deterministic method, and these parameter values ​​can be recorded in the corresponding difference quality file. Alternatively, the parameter values ​​recorded in the difference quality file can be used directly. That is, after loading each difference quality file, the difference quality parameters corresponding to each encoding parameter can be clearly identified. Subsequently, when the encoding parameters change, the difference quality file can be accessed to determine the difference quality parameters applicable to the current encoding parameters based on the correspondence between the encoding parameters and the difference quality parameters.

[0108] Both common and differential image quality files can be pre-set manually and stored in the playback parameter control device. Alternatively, manual analysis of the image quality processing modules used in the related technology can be employed to compare the image quality effects under different encoding parameters. This identifies which image quality parameters change due to variations in encoding parameters, thus determining the types of differential image quality parameters. Furthermore, the resource consumption, processing time, and image quality of the image quality processing modules under different encoding parameters are monitored. This allows for the identification of settings related to common and differential image quality parameters within each module. Subsequently, a common image quality file is generated based on the settings related to the common image quality parameters, and multiple differential image quality files are generated based on the settings related to the differential image quality parameters. Generally, the image quality processing modules used in the related technology are stored in JSON (a lightweight data exchange format) or BIN (binary file format) formats for easy access. JSON format files can be directly modified, and BIN format files, generated from Excel, can also be modified. Based on this, settings related to differential image quality parameters (i.e., sharpness parameters, deinterlacing parameters, and image enhancement parameters) are manually extracted from each image quality processing module. Then, based on the settings related to sharpness parameters, a new JSON or BIN file is created to obtain a sharpness differential file; based on the settings related to noise reduction parameters, a new JSON or BIN file is created to obtain a noise reduction differential file; and based on the settings related to scaling factors, deinterlacing parameters, and image enhancement parameters (i.e., memory-related image algorithms), a memory-related differential file is formed. In one embodiment, each differential image quality file is stored in a database for quick retrieval and loading. This database storing the differential image quality files is referred to as the differential database. Taking encoding parameters including bitrate as an example... Figure 5 This is a schematic diagram illustrating the correspondence between bitrate and differential image quality parameters, provided as an embodiment of this application. (Refer to...) Figure 5 When storing the different image quality files in the difference database, the input to the difference database includes the bitrate range and the name of the different image quality file. Figure 5 In the database, sharpness represents the sharpness difference file, NR represents the noise reduction difference file, and memory-related represents the memory-related difference file. Then, you can find the difference image quality parameters corresponding to different bitrate ranges in the difference database.

[0109] Furthermore, the settings related to common image quality parameters in each image quality processing module are manually converted into a new JSON or BIN file to obtain a common image quality file.

[0110] In one embodiment, after the common quality file and the differential quality files are manually stored in the playback parameter control device, when the playback parameter control device determines that the video playback program needs to play video data, it can load the common quality file and each differential quality file. When loading the common quality file, common quality parameters can be obtained from it. It can be understood that if the common quality file records a specific method, the playback parameter control device can determine the corresponding common quality parameters based on that method. If the common quality file records common quality parameters, the playback parameter control device reads the corresponding common quality parameters. When loading the differential quality files, the differential quality parameters corresponding to each encoding parameter can be obtained in the same way.

[0111] Optionally, since the difference quality parameters may change during video playback, the playback parameter control device needs to frequently access the difference quality file to determine the applicable difference quality parameters. Therefore, in one embodiment, before loading the difference quality file, it is stored in a specific memory area. This memory area is fast to read and write, allowing the playback parameter control device to quickly load and access the difference quality file. This memory area is also large enough to store all data related to the difference quality parameters. Furthermore, this memory area minimizes cache misses to improve processing speed. It also needs to be memory-aligned and isolated from other parts of the system. Afterward, the playback parameter control device can load the difference quality file from this memory area, and the obtained difference quality parameters are also stored in this memory area. Optionally, when the video playback program plays video data, the buffer for the upcoming video frames can also be stored in this memory area, allowing the playback parameter control device to access this memory area to quickly obtain real-time encoding parameters.

[0112] Step 320: Use the common quality parameters corresponding to the common quality file as the common quality parameters used for playing video data. The common quality parameters used during the playback of video data remain unchanged.

[0113] For example, after loading a common quality file to obtain common quality parameters based on the common quality file, it can be determined whether to use the common quality parameters. Currently, the common quality parameters remain unchanged during the playback of video data.

[0114] Step 330: Obtain the current encoding parameters of the video data to be played, and find the first difference quality parameter corresponding to the current encoding parameters based on the difference quality file.

[0115] For example, after loading the differential quality file to obtain the differential quality parameters corresponding to different encoding parameters based on the differential quality file, and obtaining the current encoding parameters of the video data to be played, the memory area where the differential quality file is located can be accessed to find the differential quality parameters corresponding to the current encoding parameters in the differential quality parameters corresponding to each differential quality file.

[0116] In one embodiment, there are multiple differential image quality files (three are used as an example here). When the types of differential image quality parameters corresponding to each differential image quality file are different, finding the first differential image quality parameter corresponding to the current encoding parameter based on the differential image quality files may include: sorting the differential image quality files according to their priority and searching for the first differential image quality parameter corresponding to the current encoding parameter in turn. For example, when there are multiple differential image quality files, they can be prioritized. The priority sorting rules can be set according to the actual situation. For example, when the encoding parameters include two types, bitrate and frame rate, the type of differential image quality parameter that needs to be changed may be different when different types of encoding parameters change. Therefore, the priority sorting can be set according to the type of encoding parameters, and different encoding parameters correspond to different priority sorting. Among them, the differential image quality file corresponding to the differential image quality parameter that needs to be changed when a certain type of encoding parameter changes has a higher priority. Alternatively, a reasonable priority sorting can be set manually based on the degree of impact on image quality, resource consumption, search time, etc., when changing each differential image quality parameter to ensure faster search speed for differential image quality parameters. Subsequently, when the playback parameter control device searches for differential quality parameters based on the differential quality files, it can sequentially search for the first differential quality parameter corresponding to the encoding parameters in each differential quality parameter corresponding to each differential quality file in descending order of priority.

[0117] Step 340: Provide the first difference image quality parameter and the common image quality parameter to the video playback program so that the video playback program can play video data based on the first difference image quality parameter and the common image quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program.

[0118] Step 350: When it is determined that the real-time encoding parameters meet the image quality change conditions, the second difference image quality parameter corresponding to the real-time encoding parameters is found based on the difference image quality file, and the second difference image quality parameter is sent to the video playback program so that the video playback program uses the second difference image quality parameter to replace the first difference image quality parameter to continuously play the video data during playback.

[0119] The process of finding the second differential image quality parameter corresponding to the real-time encoding parameter based on the differential image quality file can refer to the process of finding the first differential image quality parameter based on the differential image quality file.

[0120] As described above, common image quality files and differential image quality files are pre-set. The differential image quality files include sharpness differential files, noise reduction differential files, and memory-related differential files. Then, when the video playback program determines that video data needs to be played, it loads the common image quality files and each differential image quality file to obtain the common image quality parameters and the differential image quality parameters corresponding to each encoding parameter. Subsequently, appropriate differential image quality parameters and unchangeable common image quality parameters can be used based on the encoding parameters of the video data. When the image quality needs to change, only the differential image quality parameters are modified, reducing the loading of redundant data. That is, when the image quality changes, only the differential parts are updated, thus reducing the amount of data changed. This reduces data processing time, allowing for faster image quality switching, thus accelerating the response speed of video data playback, ensuring playback efficiency, providing a smoother viewing experience, avoiding delays caused by loading duplicate data, reducing the possibility of interruptions, and ensuring playback stability. This is especially beneficial when the playback parameter control device is a mobile device or a battery-powered device. Furthermore, by setting differential quality files and common quality files, differential quality parameters and common quality parameters can be determined separately. This allows for the replacement of only the differential quality parameters when the encoding parameters meet the conditions for quality changes. Moreover, by appropriately setting differential quality files corresponding to different differential quality parameter types, the playback parameter control device can quickly retrieve and load (i.e., find) the required differential quality parameters. This not only speeds up the search for differential quality parameters but also improves the adaptability and responsiveness to video data playback under different encoding parameters. It eliminates the need for repeated access to common quality files, reduces memory accesses, and improves video processing efficiency. Furthermore, by combining common and differential quality files, processor and memory resources can be allocated rationally, improving device performance and stability.

[0121] Figure 6 A flowchart illustrating a playback parameter control method provided in another embodiment of this application. Figure 6 The playback parameter control method shown is in Figure 3 and Figure 4 Based on the playback parameter control method shown, the loading mechanism used when searching for differential image quality parameters is described exemplarily. (Reference) Figure 6 The playback parameter control method includes steps 410-480:

[0122] Step 410: When the AutoDownLoad initialization conditions are met, activate AutoDownLoad and allocate a target memory area for AutoDownLoad. The AutoDownLoad initialization conditions are when it is determined that the video playback program needs to play video data or when the video playback program is started.

[0123] AutoDownload is a memory management technology that allows devices to automatically download and manage specific types of memory data. This memory data is typically data that needs to be accessed frequently or has a significant impact on performance. Currently, when encoding parameters meet the conditions for image quality changes, it is necessary to access the difference image quality file to find the corresponding difference image quality parameters. Therefore, the difference image quality file can be considered data that needs to be accessed frequently. Based on this, in this embodiment, AutoDownload can be used to find the difference image quality parameters.

[0124] For example, AutoDownLoad is activated when the AutoDownLoad initialization conditions are met. These conditions are either when it is determined that the video playback program needs to play video data or when the video playback program is started. Specifically, AutoDownLoad is initialized when the video playback program starts, or after the video playback program starts and it is determined that the program is ready to play video data, AutoDownLoad is initialized.

[0125] Initializing AutoDownload specifically refers to activating AutoDownload so that when differential quality parameters need to be found, they can be accessed through AutoDownload to determine the differential quality parameters. Furthermore, activating AutoDownload allocates a memory region for it; this allocated memory region is currently designated as the target memory region. The target memory region is used to store the differential quality files for AutoDownload's use. Specifically, the target memory region is a specific area within DRAM (Dynamic Random Access Memory) space. The target memory region should be able to read and write quickly to facilitate fast loading and access to differential quality files, and it should be large enough to store all data related to differential quality parameters. The target memory region should also minimize cache misses to improve processing speed, and it needs to be memory-aligned and isolated from other parts of the system.

[0126] Optionally, after allocating the target memory region, the conditions for triggering AutoDownLoad to access the target memory region are also set (or defined). Currently, the condition is that the encoding parameters meet the image quality change conditions.

[0127] Step 420: Store the difference image quality file in the target memory area.

[0128] For example, after initializing AutoDownload, the device can identify differential quality files in the playback parameter control area and store them in the target memory area. Alternatively, differential quality files and common quality files can be categorized so that the playback parameter control device can clearly identify which quality files are differential quality files. Storing differential quality files in the target memory area can also be understood as marking differential quality files so that the playback parameter control device knows which data it needs to access.

[0129] Step 430: When it is determined that the video playback program needs to play video data, load the common quality file and the differential quality file respectively, and obtain the common quality parameters and the differential quality parameters corresponding to different encoding parameters. The common quality file includes the settings of the common quality parameters, and the differential quality file includes the settings of the differential quality parameters corresponding to different encoding parameters. There is at least one differential quality file.

[0130] Currently, the image quality file with different resolutions is being loaded from the target memory region.

[0131] Optionally, the AutoDownLoad initialization condition is that when it is determined that the video playback program needs to play video data, steps 410-420 can be executed first, and then the steps in step 430 to load the common quality file and the difference quality file respectively can be executed.

[0132] Step 440: Use the common quality parameters corresponding to the common quality file as the common quality parameters used for playing video data. The common quality parameters used during the playback of video data remain unchanged.

[0133] Step 450: Obtain the current encoding parameters of the video data to be played, and find the first difference quality parameter corresponding to the current encoding parameters based on the difference quality file.

[0134] When the current encoding parameters are obtained, it can be assumed that the encoding parameters have changed from 0 to the current data. At this time, the encoding parameters generally meet the image quality change conditions, which can trigger AutoDownload. AutoDownload is used to call the difference image quality file stored in the target memory area to find the first difference image quality parameter based on the difference image quality file.

[0135] Step 460: Provide the first difference image quality parameter and the common image quality parameter to the video playback program so that the video playback program can play video data based on the first difference image quality parameter and the common image quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program.

[0136] Step 470: When it is determined that the real-time encoding parameters meet the conditions for image quality change, trigger AutoDownLoad.

[0137] For example, when the encoding parameters meet the conditions for image quality change, the playback parameter control device generates an event to indicate the appropriate action to be taken. Currently, this event is used to trigger AutoDownLoad, meaning that taking the appropriate action specifically refers to triggering AutoDownLoad to use AutoDownLoad to call the differential image quality file stored in the target memory area and find the differential image quality parameters.

[0138] Step 480: AutoDownLoad calls the difference quality file stored in the target memory area to find the second difference quality parameter corresponding to the real-time encoding parameter based on the difference quality file, and sends the second difference quality parameter to the video playback program so that the video playback program uses the second difference quality parameter to replace the first difference quality parameter to continuously play the video data during playback.

[0139] For example, AutoDownLoad automatically calls each differential image quality file stored in the target memory area and finds the corresponding differential image quality parameter based on each differential image quality file (currently the second differential image quality parameter).

[0140] For example, taking encoding parameters including frame rate and bitrate as an example, when it is determined that video data to be played needs to be played, if the bitrate of the acquired video data to be played is in the range of 15Mbps-25Mbps and the frame rate is 50fps, then AutoDownload can be used to determine the first differential quality parameter applicable to 15Mbps-25Mbps and 50fps based on each differential quality file in the target memory area. The video playback program then uses the first differential quality parameter and the common quality parameter to play the video data. Real-time encoding parameters are monitored. When it is detected that the current bitrate changes from the range of 15Mbps-25Mbps to the range of 5Mbps-10Mbps, the type of differential quality parameter that needs to be changed when the bitrate changes is determined. Then, AutoDownload is used to determine the second differential quality parameter applicable to 5Mbps-10Mbps based on each differential quality file in the target memory area, and the second differential quality parameter is used to replace the first differential quality parameter to achieve playback of video data using the second differential quality parameter.

[0141] Understandably, playback parameter control devices can monitor encoding parameters in real time, and monitor playback status such as whether playback is currently in progress, paused, or stopped. This allows for the adjustment of differential quality parameters at appropriate times (when playback is in progress and encoding parameters meet the conditions for quality change). Furthermore, playback parameter control devices can monitor memory data and its usage. Memory data can be understood as data stored in memory, such as video frame buffers and differential quality parameters. Monitoring memory data ensures its availability, allowing for timely retrieval of differential quality parameters when needed, and preloading more frames before the buffer runs out. Monitoring memory data usage identifies frequently accessed data, less frequently used data, and memory occupancy, thus determining the priority order of differential quality files.

[0142] As described above, utilizing AutoDownload technology to access the differential quality file in the target memory region ensures that when differential quality parameters need to be changed, the processor can quickly access the differential quality file containing the parameters. When AutoDownload is triggered, the playback parameter control device automatically calls the memory data (currently the differential quality parameters) in a specific region (currently the target memory region). This method reduces issues such as screen delays and flickering caused by manually managing quality parameters (i.e., manually switching quality parameters, such as when a user starts playing a video or manually switches to a new resolution, requiring the program to explicitly specify the storage location and loading time of the quality parameters). This ensures that the differential quality parameters are available and up-to-date during video playback. Furthermore, pre-allocating a target memory region for AutoDownload and storing the differential quality file in that region allows for the retrieval of differential quality parameters when needed, guaranteeing the stability, reliability, and smoothness of video playback, especially suitable for scenarios where encoding parameters change frequently. Furthermore, public quality files do not need to be stored in the target memory area, which reduces the storage of redundant data in the target memory area, optimizes the use of the target memory area, and enables the system to better handle other tasks or support more concurrent video streams.

[0143] One embodiment of this application also provides a playback parameter control device. Figure 7 This is a schematic diagram of a playback parameter control device provided in one embodiment of this application, with reference to... Figure 7 The playback parameter control device includes a parameter acquisition unit 501, a parameter monitoring unit 502, and a parameter change unit 503.

[0144] The parameter acquisition unit 501 is used to acquire the current encoding parameters of the video data to be played when it is determined that the video playback program needs to play video data, and determine a first difference quality parameter based on the current encoding parameters; the parameter monitoring unit 502 is used to provide the first difference quality parameter and the common quality parameter to the video playback program so that the video playback program can play the video data based on the first difference quality parameter and the common quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program; the parameter change unit 503 is used to determine a second difference quality parameter to be used when it is determined that the real-time encoding parameters meet the quality change conditions, and send the second difference quality parameter to the video playback program so that the video playback program can use the second difference quality parameter to replace the first difference quality parameter during the playback process to continuously play the video data.

[0145] Based on the above embodiments, the parameter acquisition unit 501 includes: a file loading subunit, used to load a common quality file and a differential quality file respectively when it is determined that the video playback program needs to play video data, and obtain common quality parameters and differential quality parameters corresponding to different encoding parameters. The common quality file includes the settings of common quality parameters, and the differential quality file includes the settings of differential quality parameters corresponding to different encoding parameters. The differential quality file is at least one. A parameter setting subunit is used to use the common quality parameters corresponding to the common quality file as the common quality parameters used to play the video data. The common quality parameters used during the playback of the video data remain unchanged. A first parameter lookup subunit is used to obtain the current encoding parameters of the video data to be played, and look up the first differential quality parameter corresponding to the current encoding parameters based on the differential quality file.

[0146] Accordingly, the parameter change unit 503 is specifically used to: when it is determined that the real-time encoding parameters meet the image quality change conditions, find the second difference image quality parameter corresponding to the real-time encoding parameters based on the difference image quality file, and send the second difference image quality parameter to the video playback program, so that the video playback program uses the second difference image quality parameter to replace the first difference image quality parameter during playback to continuously play the video data.

[0147] Based on the above embodiments, the parameter change unit 503 includes: a mechanism triggering subunit, used to trigger AutoDownLoad when it is determined that the real-time encoding parameters meet the image quality change conditions; a second parameter lookup subunit, used by AutoDownLoad to call the difference image quality file stored in the target memory area, so as to look up the second difference image quality parameter corresponding to the real-time encoding parameters based on the difference image quality file; and a parameter sending subunit, used to send the second difference image quality parameter to the video playback program, so that the video playback program uses the second difference image quality parameter to replace the first difference image quality parameter during playback to continuously play the video data.

[0148] Based on the above embodiments, the playback parameter control device further includes: a mechanism activation unit, used to activate AutoDownLoad when the AutoDownLoad initialization condition is met, and allocate a target memory area for the AutoDownLoad, wherein the AutoDownLoad initialization condition is when it is determined that the video playback program needs to play video data or when the video playback program is started; and a file storage unit, used to store the differential quality file in the target memory area.

[0149] Based on the above embodiments, the encoding parameters include frame rate and / or bit rate.

[0150] Based on the above embodiments, when the encoding parameters include frame rate and bit rate, the image quality change condition is that the parameter value of the frame rate changes or the bit rate range to which the bit rate belongs changes.

[0151] Based on the above embodiments, when the encoding parameters include frame rate and bitrate, the type of differential image quality parameter that needs to be changed when the frame rate parameter value changes is different from the type of differential image quality parameter that needs to be changed when the bitrate range to which the bitrate belongs changes. Accordingly, the parameter change unit 503 is specifically used to: when it is determined that the real-time encoding parameters meet the image quality change conditions, determine the second differential image quality parameter to be used at present according to the type of the real-time encoding parameters that meet the image quality change conditions, and send the second differential image quality parameter to the video playback program, so that the video playback program uses the second differential image quality parameter to replace the same type of differential image quality parameter in the first differential image quality parameter to continuously play the video data during playback, wherein the type of the second differential image quality parameter is applicable to the type of real-time encoding parameters that meet the image quality change conditions.

[0152] Based on the above embodiments, when the encoding parameters include frame rate and bit rate, there are three difference quality files, and the three difference quality files are respectively a sharpness difference file, a noise reduction difference file, and a memory-related difference file; the difference quality parameters corresponding to the sharpness difference file are sharpness parameters, the difference quality parameters corresponding to the noise reduction difference file are noise reduction parameters, and the difference quality parameters corresponding to the memory-related difference file include scaling factor, deinterlacing parameter, and image enhancement parameter.

[0153] The playback parameter control device provided in this application embodiment is included in the playback parameter control device and can be used to execute the playback parameter control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0154] It is worth noting that in the embodiments of the playback parameter control device described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of this application.

[0155] One embodiment of this application also provides a playback parameter control device, see reference. Figure 2 The playback parameter control device includes a processor 11, a memory 12, and a display screen 13. The processor 11, memory 12, and display screen 13 can be connected via a bus or other means. The display screen 13 is used for display; the memory 12 is used to store one or more programs; when one or more programs are executed by one or more processors 11, the one or more processors 11 implement the playback parameter control method described in any of the foregoing embodiments. The relevant details of each component can be found in the foregoing description.

[0156] The aforementioned playback parameter control device is used to execute arbitrary playback parameter control methods, and has corresponding functions and beneficial effects. For specific details not described here, please refer to the relevant descriptions of the aforementioned playback parameter control methods.

[0157] One embodiment of this application also provides a storage medium containing computer-executable instructions, which, when executed by a processor, are used to perform related operations in the playback parameter control method provided in any embodiment of this application, and have corresponding functions and beneficial effects.

[0158] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.

[0159] Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing module of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing module of the computer or other programmable data processing apparatus, produce implementations of the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0160] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0161] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0162] Note that the above are merely preferred embodiments and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the appended claims.

Claims

1. A method for controlling playback parameters, characterized in that, include: When it is determined that the video playback program needs to play video data, the current encoding parameters of the video data to be played are obtained, and the first difference image quality parameter is determined based on the current encoding parameters. The first differential image quality parameter and the common image quality parameter are provided to the video playback program so that the video playback program can play the video data based on the first differential image quality parameter and the common image quality parameter, and monitor the real-time encoding parameters of the video data during the playback process of the video playback program; When it is determined that the real-time encoding parameters meet the image quality change conditions, a second differential image quality parameter to be used is determined based on the real-time encoding parameters, and the second differential image quality parameter is sent to the video playback program so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data.

2. The playback parameter control method according to claim 1, characterized in that, When it is determined that the video playback program needs to play video data, the step of obtaining the current encoding parameters of the video data to be played, and determining the first difference image quality parameter based on the current encoding parameters, includes: When it is determined that the video playback program needs to play video data, a common quality file and a differential quality file are loaded respectively, and common quality parameters and differential quality parameters corresponding to different encoding parameters are obtained. The common quality file includes the settings of common quality parameters, and the differential quality file includes the settings of differential quality parameters corresponding to different encoding parameters. There is at least one differential quality file. The common image quality parameters corresponding to the common image quality file are used as the common image quality parameters for playing the video data, and the common image quality parameters used during the playback of the video data remain unchanged; Obtain the current encoding parameters of the video data to be played, and find the first differential quality parameter corresponding to the current encoding parameters based on the differential quality file; The step of determining the second differential image quality parameter to be used based on the real-time encoding parameters includes: Based on the difference image quality file, find the second difference image quality parameter corresponding to the real-time encoding parameters.

3. The playback parameter control method according to claim 2, characterized in that, When it is determined that the real-time encoding parameters meet the image quality change conditions, the step of finding the second differential image quality parameter corresponding to the real-time encoding parameters based on the differential image quality file includes: When it is determined that the real-time encoding parameters meet the image quality change conditions, AutoDownLoad is triggered; The AutoDownLoad function calls the differential image quality file stored in the target memory area to find the second differential image quality parameter corresponding to the real-time encoding parameter based on the differential image quality file.

4. The playback parameter control method according to claim 3, characterized in that, Also includes: When the AutoDownLoad initialization condition is met, AutoDownLoad is activated and a target memory region is allocated for AutoDownLoad. The AutoDownLoad initialization condition is when it is determined that the video playback program needs to play video data or when the video playback program is started. The difference image quality file is stored in the target memory area.

5. The playback parameter control method according to claim 1, characterized in that, The encoding parameters include frame rate and / or bit rate.

6. The playback parameter control method according to claim 5, characterized in that, When the encoding parameters include frame rate and bitrate, the image quality change condition is a change in the frame rate parameter value or a change in the bitrate range to which the bitrate belongs.

7. The playback parameter control method according to claim 6, characterized in that, When the encoding parameters include frame rate and bitrate, the types of differential image quality parameters that need to be changed when the frame rate parameter value changes are different from the types of differential image quality parameters that need to be changed when the bitrate range to which the bitrate belongs changes. The step of determining the second differential image quality parameter to be used based on the real-time encoding parameters, and sending the second differential image quality parameter to the video playback program, so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data, includes: Based on the type of the real-time encoding parameters that satisfy the image quality change conditions, a second differential image quality parameter that should be used is determined, and the second differential image quality parameter is sent to the video playback program so that the video playback program uses the second differential image quality parameter to replace the same type of differential image quality parameter in the first differential image quality parameter to continuously play the video data during playback. The type of the second differential image quality parameter is suitable for the type of the real-time encoding parameters that satisfy the image quality change conditions.

8. The playback parameter control method according to any one of claims 2-4, characterized in that, When the encoding parameters include frame rate and bit rate, there are three difference quality files, and the three difference quality files are a sharpness difference file, a noise reduction difference file, and a memory-related difference file, respectively; the difference quality parameters corresponding to the sharpness difference file are sharpness parameters, the difference quality parameters corresponding to the noise reduction difference file are noise reduction parameters, and the difference quality parameters corresponding to the memory-related difference file include scaling factor, deinterlacing parameter, and image enhancement parameter.

9. A playback parameter control device, characterized in that, include: The parameter acquisition unit is used to acquire the current encoding parameters of the video data to be played when it is determined that the video playback program needs to play video data, and to determine the first difference image quality parameter based on the current encoding parameters. The parameter monitoring unit is used to provide the first differential image quality parameters and common image quality parameters to the video playback program so that the video playback program can play the video data based on the first differential image quality parameters and common image quality parameters, and to monitor the real-time encoding parameters of the video data during the playback process of the video playback program. The parameter change unit is used to determine the second differential image quality parameter to be used when it is determined that the real-time encoding parameters meet the image quality change conditions, and to send the second differential image quality parameter to the video playback program so that the video playback program uses the second differential image quality parameter to replace the first differential image quality parameter during playback to continuously play the video data.

10. A playback parameter control device, characterized in that, include: Display screen, one or more processors, and memory; The memory is used to store one or more programs; The display screen is used to display information; When the one or more programs are executed by the one or more processors, the one or more processors implement the playback parameter control method as described in any one of claims 1-8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the playback parameter control method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Video quality adjusting method, device, terminal equipment and storage medium

    CN107659828A

  • Image quality parameter adjustment method, device and equipment and readable storage medium

    CN111163349A

  • Virtual desktop data processing method and device, equipment and medium

    CN114416236A

  • Dynamic image quality video playing method and device, electronic equipment and storage medium

    CN115776590A

  • Image quality adjustment method, video communication device using the method and recording medium recording the method

    JP2000165864A