Video playing quality control method and system based on streaming media technology

By performing multi-bit stream encoding on video files and encapsulating them with network status matching, the problem of packet loss during video transmission is solved, thus improving video playback quality and transmission efficiency.

CN115604483BActive Publication Date: 2025-11-21SHENZHEN POWER SUPPLY BUREAU
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211226798.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2025-11-21
Estimated Expiration
2042-10-09

AI Technical Summary

Technical Problem

During video transmission, data packet loss due to internet congestion or instability reduces video playback quality.

Method used

The server performs multi-bit stream encoding on the video file, selects and encapsulates the video encoding based on the client's network status information, and sends the encapsulated files in parallel to improve matching accuracy and transmission efficiency.

Benefits of technology

It reduces packet loss during video transmission, improves the security and stability of video file network transmission and playback, and enhances video playback quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604483B_ABST
    Figure CN115604483B_ABST
Patent Text Reader

Abstract

The application discloses a video playing quality control method and system based on streaming media technology, and comprises the following steps: a server carries out multi-bit stream coding processing on initial video coding of a target video according to one or more video identifiers to obtain video coding corresponding to each video identifier; according to network state information corresponding to each client, the server determines the matching coding information of the client, encapsulates the matching coding information of each client into an encapsulation file, and sends the corresponding encapsulation file to each client in parallel; the matching coding information of the client comprises video coding corresponding to all target video identifiers matched by the client. It can be seen that the application can carry out multi-bit stream coding processing on a video file, reduce the situation that the video cannot be played due to the video file packet loss phenomenon, encapsulate the video coding according to the network status of the client, reduce the data packet loss phenomenon caused by network congestion, improve the stability of video loading, and further improve the video playing quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of streaming media technology, and particularly relates to a video playing quality control method and system based on streaming media technology. BACKGROUND

[0002] In actual life, watching videos through a video platform is a common way of entertainment. However, due to the congestion or instability of the Internet, data packet loss often occurs in the transmission process of a video file, which reduces the video playing quality. Therefore, how to improve the video playing quality is particularly important. SUMMARY

[0003] The present application aims to solve the technical problem of providing a video playing quality control method and system based on streaming media technology, which can improve the video playing quality.

[0004] In order to solve the above technical problem, the present application discloses a video playing quality control method based on streaming media technology, which comprises the following steps:

[0005] The server encodes the initial video of the target video to be transmitted according to one or more video identifiers determined in advance to obtain the video encoding corresponding to each video identifier;

[0006] When detecting the video acquisition request about the target video sent by one or more clients, the server determines the video encoding corresponding to one or more target video identifiers matched by each client according to the network state information corresponding to each client;

[0007] The server encapsulates the encoding information matched by each client to obtain the encapsulation file corresponding to each client, wherein the encoding information matched by each client at least includes the video encoding corresponding to all the target video identifiers matched by the client;

[0008] The server sends the encapsulation file corresponding to each client to each client in parallel, so that each client acquires the target video according to the encapsulation file corresponding to the client.

[0009] As an optional implementation, in the first aspect of the present application, the video encoding corresponding to each of the video identifiers comprises video encoding common to all the video identifiers and video encoding unique to the video identifier, and the quality index parameter of the video obtained by decoding the video encoding corresponding to each of the video identifiers is greater than or equal to a preset index parameter threshold, and the quality index parameter of the video obtained by decoding the video encoding corresponding to all the video identifiers is greater than the quality index parameter of the video obtained by decoding the video encoding corresponding to any of the video identifiers.

[0010] As an optional implementation, in the first aspect of the present application, before the server performs multi-bitstream encoding processing on the initial video encoding of the target video to be transmitted according to the one or more video identifiers determined in advance, the method further comprises:

[0011] The server performs initial encoding processing on video information of a target video to be transmitted based on a video compression mode determined in advance to obtain initial video encoding of the target video, wherein the video compression mode comprises an intra-frame compression mode and / or an inter-frame compression mode, the video information comprises image information of each frame of images arranged in time sequence in the target video, and the initial video encoding comprises sub-video encoding corresponding to each of the frames of images.

[0012] As an optional implementation, in the first aspect of the present application, the server performs initial encoding processing on video information of a target video to be transmitted based on a video compression mode determined in advance to obtain initial video encoding of the target video, comprising:

[0013] The server divides all the images into first-type images and second-type images according to the video information of the target video to be transmitted and time labels corresponding to each of the frames of images in the target video, all the first-type images comprise a first frame of image and images satisfying a preset difference condition among all the images, wherein the images satisfying the preset difference condition comprise images having a difference degree greater than a preset difference degree threshold between adjacent images among all the images, and the adjacent images comprise preceding adjacent images and / or subsequent adjacent images.

[0014] The server performs compression encoding processing on image information corresponding to each of the first-type images based on the intra-frame compression mode to obtain sub-video encoding corresponding to the first-type image.

[0015] The server encodes and compresses the difference information corresponding to each second type of image based on the inter-frame compression mode to obtain a sub-video code corresponding to the second type of image, wherein the difference information corresponding to each second type of image includes the difference information between the image information of the second type of image and the image information of a neighboring image of the second type of image.

[0016] As an optional implementation, in the first aspect of the application, the server performs multi-bit stream encoding processing on the initial video code of the target video to be transmitted according to one or more video identifiers determined in advance to obtain a video code corresponding to each video identifier, including:

[0017] The server extracts a common frame image set from all the images according to the number of one or more video identifiers determined in advance, wherein the common frame image set at least includes all the first type of images; classifies other images in all the images except the common frame image set according to all the video identifiers to obtain a specific frame image matched with each video identifier; and determines the sub-video code corresponding to the specific frame image matched with each video identifier and the sub-video code corresponding to the common frame image set as the video code corresponding to the video identifier; or,

[0018] The server extracts the encoding at a preset position from the sub-video code corresponding to each frame of the image as the common encoding corresponding to all the video identifiers according to the number of one or more video identifiers determined in advance; classifies other encodings in the sub-video code corresponding to each frame of the image except the common encoding according to all the video identifiers to obtain a specific encoding corresponding to each video identifier; and determines the specific encoding corresponding to each video identifier and the common encoding as the video code corresponding to the video identifier.

[0019] As an optional implementation, in the first aspect of the application, the method further includes:

[0020] After receiving the encapsulation file sent by the server, the client decodes the video code corresponding to each target video identifier in the encapsulation file based on one or more decoders to obtain decoding information corresponding to each target video identifier as the decoding result of the encapsulation file.

[0021] The client restores the target video according to the decoding result.

[0022] In addition, before the client restores the target video according to the decoding result, the method further includes:

[0023] The client determines whether completeness of the decoding result is greater than a determined completeness threshold value;

[0024] When the determination result is no, the client predicts missing information of the decoding result according to decoding information corresponding to all the target video identifiers, updates the decoding result, and triggers the operation of restoring the target video according to the decoding result.

[0025] As an optional implementation, in the first aspect of the application, before the server sends the encapsulation file corresponding to each client to each client in parallel, so that each client obtains the target video according to the encapsulation file corresponding to the client, the method further comprises:

[0026] The server determines a data transmission rate matched by each client according to network state information corresponding to each client and an information volume of the encapsulation file corresponding to each client, and the data transmission rate includes a real-time video transmission code rate;

[0027] And the server sends the encapsulation file corresponding to each client to each client in parallel, so that each client obtains the target video according to the encapsulation file corresponding to the client, comprising:

[0028] The server sends the encapsulation file corresponding to each client to each client in parallel based on the data transmission rate matched by each client, so that each client obtains the target video according to the encapsulation file corresponding to the client.

[0029] The second aspect of the application discloses a video playing quality control system based on streaming media technology, and the system at least comprises a server;

[0030] The server comprises:

[0031] The encoding module is configured to perform multi-bit stream encoding processing on initial video encoding of a target video to be transmitted according to one or more video identifiers determined in advance, to obtain video encoding corresponding to each video identifier.

[0032] The determining module is configured to determine video encoding corresponding to one or more target video identifiers matched by each client according to network state information corresponding to each client when detecting a video acquisition request about the target video sent by one or more clients.

[0033] an encapsulating module, configured to encapsulate the encoding information matched by each of the clients to obtain an encapsulation file corresponding to each of the clients, wherein the encoding information matched by each of the clients at least includes video encoding corresponding to all the target video identifiers matched by the client;

[0034] a transmitting module, configured to transmit the encapsulation file corresponding to each of the clients in parallel to enable each of the clients to acquire the target video according to the encapsulation file corresponding to the client.

[0035] As an optional implementation, in the second aspect of the present application, the video encoding corresponding to each of the video identifiers includes video encoding common to all the video identifiers and video encoding specific to the video identifier, the quality index parameter of the video obtained by decoding the video encoding corresponding to each of the video identifiers is greater than or equal to a preset index parameter threshold, and the quality index parameter of the video obtained by decoding the video encoding corresponding to all the video identifiers is greater than the quality index parameter of the video obtained by decoding the video encoding corresponding to any of the video identifiers.

[0036] As an optional implementation, in the second aspect of the present application, the encoding module is further configured to, before obtaining the video encoding corresponding to each of the video identifiers by performing multi-bit stream encoding processing on the initial video encoding of the target video to be transmitted according to the one or more video identifiers determined in advance, perform initial encoding processing on video information of the target video to be transmitted based on a video compression mode determined in advance to obtain the initial video encoding of the target video, wherein the video compression mode includes an intra-frame compression mode and / or an inter-frame compression mode, the video information includes image information of each frame of images arranged in time sequence in the target video, and the initial video encoding includes sub-video encoding corresponding to each of the images.

[0037] As an optional implementation, in the second aspect of the present application, the specific manner in which the encoding module performs initial encoding processing on the video information of the target video to be transmitted to obtain the initial video encoding of the target video includes:

[0038] According to the video information of the target video to be transmitted and a time label corresponding to each frame of images in the target video, all the images are divided into first type images and second type images, all the first type images include a first frame of image and images in all the images satisfying a preset difference condition, wherein the images satisfying the preset difference condition include images in all the images having a difference degree greater than a preset difference degree threshold with adjacent images, the adjacent images include a preceding adjacent image and / or a following adjacent image.

[0039] According to the intra-frame compression mode, the image information corresponding to each first type image is compressed and encoded to obtain a sub-video code corresponding to the first type image;

[0040] According to the inter-frame compression mode, the difference information corresponding to each second type image is compressed and encoded to obtain a sub-video code corresponding to the second type image, and the difference information corresponding to each second type image includes the difference information between the image information of the second type image and the image information of a neighboring image thereof.

[0041] As an optional implementation, in the second aspect of the present application, the encoding module performs multi-bit stream encoding processing on the initial video code of the target video to be transmitted according to one or more video identifiers determined in advance, and the specific manner of obtaining the video code corresponding to each video identifier includes:

[0042] According to the number of one or more video identifiers determined in advance, a common frame image set is extracted from all the images, wherein the common frame image set at least includes all the first type images; according to all the video identifiers, other images in all the images except the common frame image set are classified to obtain the specific frame image matched with each video identifier; and the sub-video code corresponding to the specific frame image matched with each video identifier and the sub-video code corresponding to the common frame image set are determined as the video code corresponding to the video identifier; or,

[0043] According to the number of one or more video identifiers determined in advance, the encoding at a preset position in the sub-video code corresponding to each frame image is extracted as the common encoding corresponding to all the video identifiers; according to all the video identifiers, other encodings in the sub-video code corresponding to each frame image except the common encoding are classified to obtain the specific encoding corresponding to each video identifier; and the specific encoding corresponding to each video identifier and the common encoding are determined as the video code corresponding to the video identifier.

[0044] As an optional implementation, in the second aspect of the present application, the system further includes the client;

[0045] The client includes:

[0046] The decoding module is configured to, after receiving the packaging file sent by the server, decode all the video codes corresponding to the target video identifiers in the packaging file based on one or more decoders to obtain the decoding information corresponding to each target video identifier as the decoding result of the packaging file.

[0047] a restoring module, configured to restore the target video according to the decoding result;

[0048] and the client further comprises:

[0049] a judging module, configured to judge whether the completeness of the decoding result is greater than the determined completeness threshold before the restoring module restores the target video according to the decoding result;

[0050] a predicting module, configured to predict the missing information of the decoding result according to the decoding information corresponding to all the target video identifiers to update the decoding result and trigger the restoring module to perform the operation of restoring the target video according to the decoding result when the judging module judges that the completeness is not greater than the completeness threshold.

[0051] As an optional implementation, in the second aspect of the present application, the determining module is further configured to determine the matching data transmission rate of each client according to the network state information corresponding to each client and the information volume of the encapsulation file corresponding to each client before the transmission module sends the encapsulation file corresponding to each client to each client in parallel to enable each client to acquire the target video according to the encapsulation file corresponding to the client, wherein the data transmission rate comprises a real-time video transmission code rate.

[0052] and the specific manner in which the transmission module sends the encapsulation file corresponding to each client to each client in parallel to enable each client to acquire the target video according to the encapsulation file corresponding to the client comprises:

[0053] sending the encapsulation file corresponding to each client to each client in parallel based on the matching data transmission rate of each client to enable each client to acquire the target video according to the encapsulation file corresponding to the client.

[0054] The third aspect of the present application discloses a server, which comprises:

[0055] a memory in which executable program codes are stored;

[0056] a processor coupled with the memory;

[0057] The processor invokes the executable program codes stored in the memory to perform the steps performed by the server in the video playing quality control method based on the streaming media technology disclosed in the first aspect of the present application.

[0058] The fourth aspect of the present application discloses a computer storage medium, which stores computer instructions, and when the computer instructions are invoked, the steps performed by the server in the video playing quality control method based on streaming media technology disclosed in the first aspect of the present application are executed.

[0059] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0060] In the embodiments of the present application, the server performs multi-bitstream encoding processing on the initial video encoding of the target video to be transmitted according to one or more video identifiers determined in advance, to obtain the video encoding corresponding to each video identifier; when detecting the video acquisition request about the target video sent by one or more clients, the server determines the video encoding corresponding to one or more target video identifiers matched by each client according to the network state information corresponding to each client; the server encapsulates the encoding information matched by each client to obtain the encapsulation file corresponding to each client, wherein the encoding information matched by each client at least includes the video encoding corresponding to all target video identifiers matched by the client; and the server sends the encapsulation file corresponding to each client to the client in parallel, so that each client acquires the target video according to the encapsulation file corresponding to the client. It can be seen that, by performing multi-bitstream encoding processing on the video file to obtain the video encoding corresponding to multiple video identifiers, the present application can reduce the situation that the video cannot be played due to the packet loss phenomenon of the video file in the transmission process, improve the security of the network transmission of the video file, and select the size of the video encoding to be transmitted according to the network status of the client and encapsulate the video encoding, so as to improve the matching degree of the size of the video file to be transmitted and the network status, reduce the packet loss phenomenon caused by network congestion, improve the stability of the client loading video, and further improve the video playing quality. In addition, by sending the encapsulation file of the video to multiple clients in parallel, the efficiency of video transmission can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0062] Figure 1 is a flowchart of a video playing quality control method based on streaming media technology disclosed by the embodiments of the present application;

[0063] Figure 2 is a flowchart of another video playing quality control method based on streaming media technology disclosed by the embodiments of the present application;

[0064] Figure 3 is a structural schematic diagram of a video playing quality control system based on streaming media technology according to an embodiment of the present application;

[0065] Figure 4 is a structural schematic diagram of another video playing quality control system based on streaming media technology according to an embodiment of the present application;

[0066] Figure 5 is a structural schematic diagram of a server according to an embodiment of the present application;

[0067] Figure 6 is a structural schematic diagram of a client according to an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0069] The terms "first", "second", and the like in the specification of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or end including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or end.

[0070] In this document, the term "embodiment" means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor is it independent or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0071] The application discloses a video playing quality control method and system based on streaming media technology, and the method comprises the following steps: carrying out multi-bit stream coding processing on a video file to obtain video coding corresponding to a plurality of video identifiers, so as to reduce the situation that the video cannot be played due to the packet loss phenomenon of the video file in the transmission process, improve the security of the network transmission of the video file, select the volume of the video coding to be transmitted according to the network condition of the client and encapsulate the video coding, improve the matching degree of the volume of the transmitted video file and the network condition, reduce the data packet loss phenomenon caused by the network congestion, improve the stability of the client loading video, and then improve the video playing quality, in addition, the efficiency of the video transmission can be improved by sending the encapsulated files of the video to a plurality of clients in parallel. The following will be described in detail.

[0072] Embodiment one

[0073] Please refer to Figure 1 , Figure 1 is a flow diagram of a video playing quality control method based on streaming media technology disclosed by the embodiment of the application. Wherein, Figure 1 The video playing quality control method based on streaming media technology described above can be applied to the video online playing service, and can also be applied to the video online downloading service, and the embodiment of the application does not make any limitation. As shown in the figure, Figure 1 The video playing quality control method based on streaming media technology can comprise the following operations:

[0074] 101、The server carries out multi-bit stream coding processing on the initial video coding of the target video to be transmitted according to one or more video identifiers determined in advance, and obtains the video coding corresponding to each video identifier.

[0075] In the embodiment of the application, optionally, each video identifier corresponds to a video description method, and the number of video identifiers can be pre-set or determined according to the video information of the target video to be transmitted.

[0076] In the embodiment of the present application, optionally, the video encoding corresponding to each video identifier can include video encoding common to all video identifiers and video encoding unique to the video identifier. Further optionally, each video encoding corresponding to each video identifier can obtain a video after being decoded separately, the quality index parameter of the video obtained after the video encoding corresponding to each video identifier is decoded separately is greater than or equal to a pre-set index parameter threshold, and the quality index parameter of the video obtained after the video encoding corresponding to multiple video identifiers is decoded together is greater than the quality index parameter of the video obtained after the video encoding corresponding to any one of the video identifiers is decoded separately. Still further optionally, the quality index parameter of the video obtained after the video encoding corresponding to all video identifiers is decoded together matches the quality index parameter of the target video. Optionally, the quality index parameter can include one or more of frame rate, resolution, code rate, noise information, blur block information, moire information, and jaggies information. As can be seen, in this way, the client can obtain a video through the video encoding corresponding to a single video identifier, and the quality of the video obtained through the video encoding corresponding to multiple video identifiers is higher than the quality of the video obtained through the video encoding corresponding to a single video identifier, thereby reducing the situation that the client cannot obtain a video due to a high loss rate in the video file transmission process as much as possible, improving the quality of the video obtained by the client, and improving the security and reliability of the video file network transmission.

[0077] In the embodiment of the present application, optionally, the initial video encoding can include sub-video encoding corresponding to each frame image of the target video.

[0078] As an optional implementation, the server performs multi-bitstream encoding processing on the initial video encoding of the target video to be transmitted according to one or more video identifiers pre-determined, to obtain video encoding corresponding to each video identifier, which can include:

[0079] The server extracts a common frame image set from all images of the target video according to the number of one or more video identifiers pre-determined, wherein the common frame image set at least includes all first type images, and the all first type images can include a first frame image and images in all images satisfying a pre-set difference condition, wherein the images satisfying the pre-set difference condition can include images in all images having a difference degree greater than a pre-set difference degree threshold with adjacent images, and the adjacent images can include a preceding adjacent image and / or a following adjacent image.

[0080] According to all video identifiers, other images in all images except the common frame image set are classified to obtain unique frame images matched with each video identifier.

[0081] The sub-video coding corresponding to the unique frame image matched with each video identifier and the sub-video coding corresponding to the common frame image set are determined as the video coding corresponding to the video identifier.

[0082] It can be seen that the optional embodiment can divide all the images of the video into the common frame image corresponding to all the video identifiers and the unique frame image corresponding to each video identifier, and then extract the video coding corresponding to each video identifier, so that the client can obtain the video with a lower frame rate than the original video through the video coding corresponding to each video identifier, and obtain the original video through the video coding corresponding to all the video identifiers, thereby improving the accuracy and reliability of multi-bit stream coding.

[0083] As another optional embodiment, the service end performs multi-bit stream coding processing on the initial video coding of the target video to be transmitted according to one or more video identifiers determined in advance to obtain the video coding corresponding to each video identifier, which can include:

[0084] The service end extracts the coding at the preset position from the sub-video coding corresponding to each frame image as the common coding corresponding to all the video identifiers according to the number of one or more video identifiers determined in advance.

[0085] According to all the video identifiers, the other coding in the sub-video coding corresponding to each frame image except the common coding is classified to obtain the unique coding corresponding to each video identifier.

[0086] The unique coding corresponding to each video identifier and the common coding are determined as the video coding corresponding to the video identifier.

[0087] In the optional embodiment, optionally, the coding at the preset position can include the coding corresponding to the pixel point at the preset position.

[0088] It can be seen that the optional embodiment can divide the pixel points in each image of the video into the common pixel point corresponding to all the video identifiers and the unique pixel point corresponding to each video identifier, and then extract the video coding corresponding to each video identifier, so that the client can obtain the video with a lower image integrity than the original video through the video coding corresponding to each video identifier, and obtain the original video through the video coding corresponding to all the video identifiers, thereby improving the accuracy and reliability of multi-bit stream coding.

[0089] 102. When detecting that one or more clients send a video acquisition request about the target video, the service end determines the video coding corresponding to one or more target video identifiers matched with each client according to the network state information corresponding to each client.

[0090] Optionally, the video acquisition request sent by each client can comprise a video identifier of a target video requested by the client, a client identifier of the client, a video request type

[0091] 103. The server encapsulates the encoding information matched by each client to obtain an encapsulation file corresponding to each client, wherein the encoding information matched by each client at least comprises video encoding corresponding to all target video identifiers matched by the client.

[0092] Optionally, the encoding information matched by each client can further comprise audio encoding corresponding to audio of the target video and / or subtitle encoding corresponding to subtitles of the target video.

[0093] As an optional implementation, the server encapsulates the encoding information matched by each client to obtain an encapsulation file corresponding to each client, which can comprise:

[0094] The server encapsulates the encoding information matched by each client into a preset container format encapsulation container to obtain an encapsulation file corresponding to each client.

[0095] In the optional embodiment, optionally, the preset container format can comprise a FLV (Flash Video) format or a TS (Transport Stream) format. In this way, the diversity of the encapsulation of the encoding information can be improved, and the use of the TS format can reduce the index information in the encapsulation file, reduce the delay of video loading, and improve the video playing efficiency, and the use of the FLV format can reduce the size of the encapsulation file and improve the efficiency of video file loading.

[0096] It can be seen that the implementation of the optional implementation can also encapsulate the encoding information into the encapsulation container to obtain the encapsulation file, thereby improving the accuracy and reliability of the encapsulation of the encoding information.

[0097] 104. The server sends the encapsulation file corresponding to each client to each client in parallel, so that each client acquires the target video according to the encapsulation file corresponding to the client.

[0098] As an optional implementation, the server sends the encapsulation file corresponding to each client to each client in parallel, so that each client acquires the target video according to the encapsulation file corresponding to the client, which can comprise:

[0099] The server sends the encapsulation file corresponding to each client to each client in parallel based on the data transmission rate matched by each client, so that each client acquires the target video according to the encapsulation file corresponding to the client.

[0100] It can be seen that the optional embodiment can transmit the encapsulated file corresponding to the video according to the data transmission rate matched by each client, thereby improving the stability and reliability of video transmission.

[0101] It can be seen that the embodiment of the present application can obtain video encodings corresponding to multiple video identifiers by performing multi-bit stream encoding processing on the video file, thereby reducing the situation that the video cannot be played due to the packet loss phenomenon of the video file in the transmission process, improving the security of network transmission of the video file, and selecting the volume of the video encoding to be transmitted and encapsulating the video encoding according to the network status of the client, thereby improving the matching degree of the volume of the transmitted video file and the network status, reducing the packet loss phenomenon caused by network congestion, improving the stability of the client loading the video, and further improving the video playing quality. In addition, by transmitting the encapsulated file of the video to multiple clients in parallel, the efficiency of video transmission can be improved.

[0102] In an optional embodiment, before the server performs multi-bit stream encoding processing on the initial video encoding of the target video to be transmitted according to one or more video identifiers determined in advance, the method can further include:

[0103] The server performs initial encoding processing on the video information of the target video to be transmitted based on a predetermined video compression mode, to obtain an initial video encoding of the target video. Optionally, the video compression mode can include an intra-frame compression mode and / or an inter-frame compression mode, and the video information can include image information of each frame of image arranged in time sequence in the target video. The initial video encoding can include a sub-video encoding corresponding to each frame of image.

[0104] In the optional embodiment, optionally, the video compression mode can be a video compression mode based on MPEG (Moving Pictures Experts Group) technology and / or H.264 / AVC (Advanced Video Coding) technology. In this way, the diversity and flexibility of the video compression mode can be improved, the video encoding quality can be improved, and the volume of the video file can be reduced.

[0105] It can be seen that the optional embodiment can reduce the amount of information of the video file to be transmitted by using the video compression mode to compress the video file and obtain initial encoding information, thereby saving network bandwidth, and thus being conducive to improving the efficiency and stability of transmitting the video file through the network.

[0106] In the optional embodiment, as an optional implementation, the server performs initial encoding processing on the video information of the target video to be transmitted based on a predetermined video compression manner, to obtain initial video encoding of the target video, which can include:

[0107] The server divides all the images into first-type images and second-type images according to the video information of the target video to be transmitted and the time labels corresponding to each image in the target video, all the first-type images can include the first image and images in all the images that satisfy a preset difference condition, wherein the images that satisfy the preset difference condition can include images in all the images that have a difference degree greater than a preset difference degree threshold between adjacent images, the adjacent images can include a preceding adjacent image and / or a following adjacent image.

[0108] The server performs compression and encoding processing on the image information corresponding to each first-type image based on an intra-frame compression manner, to obtain sub-video encoding corresponding to the first-type image.

[0109] The server performs compression and encoding processing on the difference information corresponding to each second-type image based on an inter-frame compression manner, to obtain sub-video encoding corresponding to the second-type image, the difference information corresponding to each second-type image can include difference information between the image information of the second-type image and the image information of its adjacent image.

[0110] It can be seen that implementing the optional implementation can classify all the images of the video, adopt an intra-frame compression manner for part of the images to include image information within the frame as much as possible, and adopt an inter-frame compression manner for another part of the images to only retain difference information between the image and the adjacent image, so as to reduce the size of the video file to be transmitted as much as possible, reduce the storage space occupied by the video file, and further improve the efficiency of network transmission of the video file.

[0111] In another optional embodiment, before the server sends the encapsulation file corresponding to each client to each client in parallel, so that each client obtains the target video according to the encapsulation file corresponding to the client, the method can further include:

[0112] The server determines a data transmission rate matched by each client according to the network state information corresponding to each client and the information size of the encapsulation file corresponding to each client, and optionally, the data transmission rate can include a real-time video transmission code rate.

[0113] It can be seen that implementing the optional embodiment can dynamically adjust the code rate of video transmission according to the network state of the client, improve the flexibility of video file transmission, so as to reduce the loss rate of video file transmission while maximizing the use of network resources, and improve the stability of the video code stream obtained by the client.

[0114] In yet another optional embodiment, the method can further include:

[0115] The server samples the audio of the target video according to a predetermined sampling frequency to obtain audio information corresponding to each sampling point;

[0116] The server quantizes the audio information corresponding to each sampling point according to a predetermined quantization manner to obtain a quantization result corresponding to each sampling point;

[0117] The server encodes the quantization result corresponding to each sampling point according to a predetermined audio encoding manner to obtain an audio encoding corresponding to the audio of the target video.

[0118] It can be seen that the optional embodiment can convert the audio from an analog signal to a digital signal or convert a digital signal with a higher frequency to a digital signal with a lower frequency by using the sampling, quantization and encoding manner, thereby reducing the data amount of the audio signal and further improving the efficiency of the video file transmission.

[0119] Embodiment Two

[0120] Please refer to Figure 2 , Figure 2 is a flowchart of another video playback quality control method based on streaming media technology disclosed by the embodiment of the present application. In the figure, Figure 2 The video playback quality control method based on streaming media technology described can be applied to a video online playback service or a video online download service, and the embodiment of the present application does not make any limitation. As shown in Figure 2 The video playback quality control method based on streaming media technology can include the following operations:

[0121] 201. The server performs multi-bitstream encoding processing on the initial video encoding of the target video to be transmitted according to one or more predetermined video identifiers to obtain a video encoding corresponding to each video identifier.

[0122] 202. The client sends a video acquisition request about the target video to the server.

[0123] 203. When detecting the video acquisition request about the target video sent by one or more clients, the server determines the video encoding corresponding to one or more target video identifiers matched by each client according to the network state information corresponding to each client.

[0124] 204、the server encapsulates the encoding information matched by each client to obtain an encapsulation file corresponding to each client, wherein the encoding information matched by each client at least includes video encodings corresponding to all target video identifiers matched by the client.

[0125] 205、the server sends the encapsulation file corresponding to each client to each client in parallel, so that each client obtains target videos according to the encapsulation file corresponding to the client.

[0126] 206、after receiving the encapsulation file sent by the server, the client decodes the video encodings corresponding to all target video identifiers in the encapsulation file based on one or more decoders to obtain decoding information corresponding to each target video identifier as a decoding result of the encapsulation file.

[0127] As an optional implementation, the decoding processing of the video encodings corresponding to all target video identifiers in the encapsulation file by the client based on one or more decoders can include:

[0128] the client inputs the video encodings corresponding to each target video identifier in the encapsulation file into one or more decoders to obtain sub-decoding results output by each decoder and distortion degrees corresponding to each sub-decoding result;

[0129] the client determines at least one target sub-decoding result with a distortion degree less than a distortion threshold from all sub-decoding results as the decoding result of the encapsulation file.

[0130] It can be seen that the optional implementation can use multiple decoders to process multiple stream video encodings, thereby improving video decoding efficiency, and the decoding result is screened based on the distortion degrees output by the decoders, thereby improving video decoding quality and reducing the distortion of the decoded video.

[0131] 207、the client restores target videos according to the decoding result.

[0132] In the embodiments of the application, for other descriptions of steps 201, 203, 204 and 205, please refer to the detailed description of steps 101-104 in Embodiment 1, and the embodiments of the application will not be described again.

[0133] It can be seen that by performing the multi-bit stream encoding processing on the video file, the embodiment of the present application obtains the video encoding corresponding to the multiple video identifiers, thereby reducing the situation that the video cannot be played due to the packet loss phenomenon of the video file in the transmission process, improving the security of the network transmission of the video file, and selecting the size of the video encoding to be transmitted according to the network condition of the client and encapsulating the video encoding, so as to improve the matching degree of the size of the transmitted video file and the network condition, reduce the packet loss phenomenon caused by network congestion, improve the stability of the client loading the video, and further improve the video playing quality. By transmitting the encapsulated file of the video to multiple clients in parallel, the efficiency of the video transmission can be improved. In addition, the client can improve the accuracy and reliability of the video playing by decoding the encoding information in the encapsulated file and restoring the video.

[0134] In an optional embodiment, before the client restores the target video according to the decoding result, the method can further include:

[0135] The client determines whether the completeness of the decoding result is greater than the determined completeness threshold value;

[0136] When the determination result is no, the client predicts the missing information of the decoding result according to the decoding information corresponding to all target video identifiers to update the decoding result, and triggers the operation of restoring the target video according to the decoding result.

[0137] It can be seen that the optional embodiment can also predict and complete the missing information of the decoding result according to the existing decoding information when the completeness of the decoding structure of the video is low, thereby improving the completeness of the video information restored by the client and further improving the video playing quality.

[0138] Embodiment three

[0139] Please refer to Figure 3 , Figure 3 is a structural schematic diagram of a video playing quality control system based on streaming media technology disclosed by the embodiment of the present application. Wherein, Figure 3 The video playing quality control system based on streaming media technology described can be applied to the video online playing service, and can also be applied to the video online downloading service, and the embodiment of the present application does not limit. As Figure 3 shown, the video playing quality control system based on streaming media technology at least includes a server 301;

[0140] The server 301 includes:

[0141] The encoding module 3011 is configured to perform multi-bit stream encoding processing on the initial video encoding of the target video to be transmitted according to one or more video identifiers determined in advance, to obtain the video encoding corresponding to each video identifier.

[0142] The determining module 3012 is configured to determine the video encoding corresponding to each target video identifier matched by each client 302 according to the network status information corresponding to each client 302 when detecting the video acquisition request about the target video sent by one or more clients 302.

[0143] The packaging module 3013 is configured to package the encoding information matched by each client 302 to obtain the packaging file corresponding to each client 302, wherein the encoding information matched by each client 302 at least includes the video encoding corresponding to all target video identifiers matched by the client 302.

[0144] The transmission module 3014 is configured to send the packaging file corresponding to each client 302 to the client 302 in parallel, so that each client 302 acquires the target video according to the packaging file corresponding to the client 302.

[0145] It can be seen that the implementation Figure 3 The system described above reduces the situation that the video cannot be played due to the packet loss phenomenon of the video file in the transmission process, improves the security of the network transmission of the video file, and selects the volume of the video encoding to be transmitted according to the network status of the client and packages the video encoding, which can improve the matching degree of the volume of the transmitted video file and the network status, reduce the data packet loss phenomenon caused by network congestion, improve the stability of the client loading video, and further improve the video playing quality. In addition, the efficiency of video transmission can be improved by sending the packaging file of the video to multiple clients in parallel.

[0146] In an optional embodiment, as shown in Figure 3 The video encoding corresponding to each video identifier includes the video encoding common to all video identifiers and the video encoding specific to the video identifier, the quality index parameter of the video obtained by decoding the video encoding corresponding to each video identifier is greater than or equal to the pre-set index parameter threshold, and the quality index parameter of the video obtained by decoding the video encoding corresponding to multiple video identifiers is greater than the quality index parameter of the video obtained by decoding the video encoding corresponding to any video identifier.

[0147] It can be seen that the implementation Figure 3The described system can enable the client to obtain a video through a single video identifier corresponding to a video encoding, and the quality of the video obtained through multiple video identifiers corresponding to video encodings is higher than the quality of the video obtained through a single video identifier corresponding to a video encoding, thereby reducing the situation that the client cannot obtain a video due to a high loss rate in the video file transmission process as much as possible, improving the quality of the video obtained by the client, and improving the security and reliability of the video file network transmission.

[0148] In another optional embodiment, as shown in Figure 3 The encoding module 3011 is further configured to, before obtaining the video encoding corresponding to each video identifier by performing multi-bitstream encoding processing on the initial video encoding of the target video to be transmitted according to the one or more predetermined video identifiers, perform initial encoding processing on the video information of the target video to be transmitted based on a predetermined video compression mode, to obtain the initial video encoding of the target video, wherein the video compression mode includes an intra-frame compression mode and / or an inter-frame compression mode, the video information includes image information of each frame of images arranged in time sequence in the target video, and the initial video encoding includes a sub-video encoding corresponding to each frame of images.

[0149] It can be seen that the implementation Figure 3 The described system can further reduce the amount of information of the video file to be transmitted by using a video compression mode to compress the video file to obtain initial encoding information, thereby saving network bandwidth and facilitating improvement of the efficiency and stability of the network transmission of the video file.

[0150] In yet another optional embodiment, as shown in Figure 3 The encoding module 3011 can perform initial encoding processing on the video information of the target video to be transmitted based on a predetermined video compression mode to obtain the initial video encoding of the target video in the following specific manners.

[0151] According to the video information of the target video to be transmitted and the time labels corresponding to each frame of images in the target video, all the images are divided into first-type images and second-type images, all the first-type images include a first frame of image and images in all the images that satisfy a preset difference condition, wherein the images that satisfy the preset difference condition include images in all the images that have a difference degree greater than a preset difference degree threshold with adjacent images, and the adjacent images include a preceding adjacent image and / or a subsequent adjacent image.

[0152] Based on the intra-frame compression mode, the image information corresponding to each first-type image is compressed and encoded to obtain a sub-video encoding corresponding to the first-type image.

[0153] According to the inter-frame compression mode, the difference information corresponding to each second type of image is compressed and encoded to obtain a sub-video code corresponding to the second type of image. The difference information corresponding to each second type of image includes the difference information between the image information of the second type of image and the image information of the adjacent image thereof.

[0154] It can be seen that, in the implementation Figure 3 The described system classifies all images of a video, adopts an intra-frame compression mode for part of the images to include as much intra-frame image information as possible, adopts an inter-frame compression mode for another part of the images to only keep the difference information between the image and the adjacent image, thereby being capable of reducing the size of the video file to be transmitted while retaining as much video information as possible, reducing the storage space occupied by the video file, and further improving the efficiency of network transmission of the video file.

[0155] In yet another optional embodiment, as Figure 4 shown, the encoding module 3011 performs multi-bit stream encoding processing on the initial video code of the target video to be transmitted according to the one or more predetermined video identifiers. The specific manner of obtaining the video code corresponding to each video identifier can include:

[0156] According to the number of one or more predetermined video identifiers, a common frame image set is extracted from all images, wherein the common frame image set at least includes all first type of images; according to all video identifiers, other images except the common frame image set in all images are classified to obtain the specific frame image matched with each video identifier; and the sub-video code corresponding to the specific frame image matched with each video identifier and the sub-video code corresponding to the common frame image set are determined as the video code corresponding to the video identifier; or,

[0157] According to the number of one or more predetermined video identifiers, the encoding at a preset position is extracted from the sub-video code corresponding to each frame image as the common encoding corresponding to all video identifiers; according to all video identifiers, other encodings except the common encoding in the sub-video code corresponding to each frame image are classified to obtain the specific encoding corresponding to each video identifier; and the specific encoding corresponding to each video identifier and the common encoding are determined as the video code corresponding to the video identifier.

[0158] It can be seen that, in the implementation Figure 4The described system can also employ a plurality of multi-bit stream encoding methods, improving the diversity and flexibility of video encoding methods, and by classifying all images of the video or classifying the pixels of each frame of the video to extract the video encoding corresponding to each video identifier, the client can obtain a video with a frame rate or image completeness lower than the original video through the video encoding corresponding to each video identifier, and obtain the original video through the video encoding corresponding to all video identifiers, thereby improving the accuracy and reliability of multi-bit stream encoding.

[0159] In yet another optional embodiment, as shown in Figure 4 The system can also include a client 302;

[0160] The client 302 includes:

[0161] The decoding module 3021 is configured to, after receiving the encapsulation file sent by the server 301, decode all video encodings corresponding to the target video identifiers in the encapsulation file based on one or more decoders, to obtain decoding information corresponding to each target video identifier as a decoding result of the encapsulation file.

[0162] The restoration module 3022 is configured to restore the target video according to the decoding result.

[0163] The client 302 further includes:

[0164] The judgment module 3023 is configured to, before the restoration module 3022 restores the target video according to the decoding result, judge whether the completeness of the decoding result is greater than the determined completeness threshold.

[0165] The prediction module 3024 is configured to, when the judgment module 3023 judges that the completeness is not greater than the completeness threshold, predict the missing information of the decoding result according to the decoding information corresponding to all target video identifiers to update the decoding result, and trigger the restoration module 3022 to perform the operation of restoring the target video according to the decoding result.

[0166] It can be seen that the implementation Figure 4 The described system can enable the client to decode the encoding information in the encapsulation file and restore the video, thereby improving the accuracy and reliability of video playback, and by predicting and completing the missing information of the decoding result according to the existing decoding information when the completeness of the decoding structure of the video is low, the completeness of the video information restored by the client is improved, further improving the video playback quality.

[0167] In yet another optional embodiment, as shown in Figure 5As shown, the determining module 3012 is further configured to determine a matching data transmission rate of each client 302 according to the network state information corresponding to each client 302 and the information volume of the encapsulation file corresponding to each client 302 before the transmission module 3014 transmits the encapsulation file corresponding to each client 302 to the client 302 in parallel, so that each client 302 acquires the target video according to the encapsulation file corresponding to the client 302, wherein the data transmission rate includes a real-time video transmission code rate.

[0168] In addition, the transmission module 3014 transmits the encapsulation file corresponding to each client 302 to the client 302 in parallel, so that each client 302 acquires the target video according to the encapsulation file corresponding to the client 302. The specific manner can include:

[0169] According to the matching data transmission rate of each client 302, the transmission module 3014 transmits the encapsulation file corresponding to each client 302 to the client 302 in parallel, so that each client 302 acquires the target video according to the encapsulation file corresponding to the client 302.

[0170] It can be seen that the embodiment Figure 5 The described system can also dynamically adjust the code rate of video transmission according to the network state corresponding to the client, improve the flexibility of video file transmission, so as to reduce the loss rate of video file transmission while maximizing the use of network resources, and improve the stability of the video code stream acquired by the client.

[0171] Embodiment four

[0172] Please refer to Figure 5 , Figure 6 is a structural schematic diagram of a server disclosed by the embodiment of the application. As shown in the figure, Figure 6 The server can include:

[0173] a memory 401 storing executable program codes;

[0174] a processor 402 coupled with the memory 401;

[0175] The processor 402 invokes the executable program codes stored in the memory 401 to execute the steps performed by the server in the video playing quality control method based on the streaming media technology described in the embodiment one or the embodiment two of the application.

[0176] Embodiment five

[0177] The embodiment of the application discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the steps performed by the server in the video playing quality control method based on the streaming media technology described in the embodiment one or the embodiment two of the application.

[0178] Embodiment six

[0179] The embodiment of the present application discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to make a computer execute steps performed by a server in the video playing quality control method based on streaming media technology described in the embodiment one or the embodiment two.

[0180] Embodiment seven

[0181] Please refer to Figure 6 , ​ is a structural schematic diagram of a client disclosed by the embodiment of the present application. As shown in the figure, the client can comprise: ​

[0182] a memory 501 storing executable program codes;

[0183] a processor 502 coupled with the memory 501;

[0184] The processor 502 invokes the executable program codes stored in the memory 501 to execute steps performed by a client in the video playing quality control method based on streaming media technology described in the embodiment one or the embodiment two of the present application.

[0185] Embodiment eight

[0186] The embodiment of the present application discloses another computer storage medium, which stores computer instructions, and the computer instructions are used to execute steps performed by a client in the video playing quality control method based on streaming media technology described in the embodiment one or the embodiment two of the present application when being invoked.

[0187] Embodiment nine

[0188] The embodiment of the present application discloses another computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to make a computer execute steps performed by a client in the video playing quality control method based on streaming media technology described in the embodiment one or the embodiment two.

[0189] ​The system embodiments described above are only illustrative, wherein the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., can be located in one place or distributed to multiple network modules. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0190] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software and the necessary general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, and the computer software product can be stored in a computer readable storage medium, including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage, a magnetic tape storage, or any other computer readable medium that can be used to carry or store data.

[0191] Finally, it should be noted that: the video playback quality control method and system based on streaming media technology disclosed by the embodiments of the present application are only the preferred embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that; the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A video playback quality control method based on streaming media technology, characterized in that, The method includes: The server performs multi-bit stream encoding on the initial video encoding of the target video to be transmitted based on one or more pre-determined video identifiers to obtain the video encoding corresponding to each video identifier; each video identifier corresponds to a video description method. When a video acquisition request for the target video is detected from one or more clients, the server determines the video encoding corresponding to one or more target video identifiers that match each client based on the network status information corresponding to each client. The server encapsulates the encoding information matching each client to obtain an encapsulated file corresponding to each client. The encoding information matching each client includes at least the video encodings corresponding to all the target video identifiers that match that client. The server sends the encapsulation file corresponding to each client in parallel, so that each client can obtain the target video based on the encapsulation file corresponding to the client. The server performs multi-bit stream encoding on the initial video encoding of the target video to be transmitted based on one or more pre-determined video identifiers to obtain the video encoding corresponding to each video identifier, including: The server extracts a common frame image set from all images of the target video to be transmitted based on a predetermined number of one or more video identifiers. The common frame image set includes at least all images of a first category, all images of the first category include first frame images and all images satisfying a preset difference condition. Images satisfying the preset difference condition include all images whose difference from adjacent images is greater than a preset difference threshold, and adjacent images include preceding adjacent images and / or following adjacent images. Based on all video identifiers, the server classifies all images other than the common frame image set to obtain a unique frame image matching each video identifier. The server then determines the sub-video codec corresponding to the unique frame image matching each video identifier and the sub-video codec corresponding to the common frame image set as the video codec corresponding to that video identifier. Alternatively... The server extracts a code at a preset position from the sub-video code corresponding to each frame of the target video to be transmitted, based on a predetermined number of one or more video identifiers, as a common code corresponding to all video identifiers; based on all video identifiers, it classifies the other codes in the sub-video code corresponding to each frame of the image, excluding the common code, to obtain a unique code corresponding to each video identifier; and determines the unique code corresponding to each video identifier and the common code as the video code corresponding to that video identifier.

2. The video playback quality control method based on streaming media technology according to claim 1, characterized in that, The video code corresponding to each video identifier includes a video code common to all video identifiers and a video code unique to that video identifier. The quality index parameter of the video obtained after decoding the video code corresponding to each video identifier individually is greater than or equal to a preset index parameter threshold. The quality index parameter of the video obtained after decoding the video codes corresponding to multiple video identifiers together is greater than the quality index parameter of the video obtained after decoding any one of the video codes corresponding to any one of the video identifiers individually.

3. The video playback quality control method based on streaming media technology according to claim 1 or 2, characterized in that, Before the server performs multi-bit stream encoding processing on the initial video encoding of the target video to be transmitted based on one or more pre-determined video identifiers to obtain the video encoding corresponding to each video identifier, the method further includes: The server performs initial encoding processing on the video information of the target video to be transmitted based on a predetermined video compression method to obtain the initial video encoding of the target video. The video compression method includes intra-frame compression and / or inter-frame compression. The video information includes the image information of each frame of the target video arranged in chronological order. The initial video encoding includes the sub-video encoding corresponding to each frame of the image.

4. The video playback quality control method based on streaming media technology according to claim 3, characterized in that, The server performs initial encoding processing on the video information of the target video to be transmitted based on a pre-determined video compression method, to obtain the initial video encoding of the target video, including: The server classifies all the images into a first category and a second category based on the video information of the target video to be transmitted and the time tag corresponding to each frame of the target video. The server performs compression encoding on the image information corresponding to each first type of image based on the intra-frame compression method to obtain the sub-video encoding corresponding to the first type of image. The server performs compression encoding on the difference information corresponding to each second type of image based on the inter-frame compression method to obtain the sub-video encoding corresponding to the second type of image. The difference information corresponding to each second type of image includes the difference information between the image information of the second type of image and the image information of its neighboring images.

5. The video playback quality control method based on streaming media technology according to any one of claims 1, 2, and 4, characterized in that, The method further includes: After receiving the encapsulated file sent by the server, the client decodes the video encoding corresponding to all the target video identifiers in the encapsulated file based on one or more decoders to obtain the decoding information corresponding to each target video identifier, which is used as the decoding result of the encapsulated file. The client reconstructs the target video based on the decoding result; And, before the client reconstructs the target video based on the decoding result, the method further includes: The client determines whether the completeness of the decoding result is greater than the determined completeness threshold; When the determination result is negative, the client predicts the missing information of the decoding result based on the decoding information corresponding to all the target video identifiers, updates the decoding result, and triggers the operation of restoring the target video based on the decoding result.

6. The video playback quality control method based on streaming media technology according to claim 5, characterized in that, Before the server sends the encapsulated file corresponding to each client in parallel, so that each client can obtain the target video based on the encapsulated file corresponding to that client, the method further includes: The server determines the data transmission rate matching each client based on the network status information corresponding to each client and the information size of the encapsulation file corresponding to each client. The data transmission rate includes the real-time video transmission bitrate. And, the server sends the encapsulation file corresponding to each client in parallel, so that each client can obtain the target video according to the encapsulation file corresponding to that client, including: The server sends the corresponding encapsulation file to each client in parallel based on the data transmission rate matched to each client, so that each client can obtain the target video according to the encapsulation file corresponding to the client.

7. A video playback quality control system based on streaming media technology, characterized in that, The system includes at least a server; The server includes: The encoding module is used to perform multi-bit stream encoding processing on the initial video encoding of the target video to be transmitted based on one or more pre-determined video identifiers to obtain the video encoding corresponding to each video identifier; each video identifier corresponds to a video description method; The determination module is used to determine the video encoding corresponding to one or more target video identifiers that match each client based on the network status information corresponding to each client when a video acquisition request for the target video sent by one or more clients is detected. The encapsulation module is used to encapsulate the encoding information that matches each client to obtain an encapsulation file corresponding to each client, wherein the encoding information that matches each client includes at least the video encodings corresponding to all the target video identifiers that match that client; The transmission module is used to send the encapsulation file corresponding to each client in parallel, so that each client can obtain the target video according to the encapsulation file corresponding to the client; The encoding module performs multi-bit stream encoding on the initial video encoding of the target video to be transmitted based on one or more pre-determined video identifiers, and the specific method for obtaining the video encoding corresponding to each video identifier includes: Based on a predetermined number of one or more video identifiers, a common frame image set is extracted from all images of the target video to be transmitted. This common frame image set includes at least all images of a first category, all images of the first category include first frame images and images satisfying a preset difference condition. Images satisfying the preset difference condition include images whose difference from adjacent images is greater than a preset difference threshold, and adjacent images include preceding adjacent images and / or following adjacent images. Based on all video identifiers, the images other than the common frame image set are classified to obtain a unique frame image matching each video identifier. The sub-video code corresponding to the unique frame image matching each video identifier and the sub-video code corresponding to the common frame image set are determined as the video code corresponding to that video identifier. Alternatively... Based on a predetermined number of one or more video identifiers, a code at a preset position is extracted from the sub-video code corresponding to each frame of the target video to be transmitted, which serves as the common code corresponding to all the video identifiers; based on all the video identifiers, the other codes in the sub-video code corresponding to each frame of the image, excluding the common code, are classified to obtain the unique code corresponding to each video identifier; and the unique code corresponding to each video identifier and the common code are determined as the video code corresponding to that video identifier.

8. A server-side component, characterized in that, The server includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps performed by the server in the video playback quality control method based on streaming media technology as described in any one of claims 1-6.

9. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked by a processor, are used to execute the steps performed by the server in the video playback quality control method based on streaming media technology as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Video processing method and equipment

    CN108924592A