A method, device, system and storage medium for determining differences in video playback platforms
By comparing the pictures after pre-processing of video sources by different video playback platforms, the positioning problem of the difference in playback effects between video playback platforms is solved, and the accurate positioning and optimization of the pre-processing differences is achieved.
Patent Information
- Application Number
- CN202210431242.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-04-22
AI Technical Summary
There are differences in the predetermined processing of the same video source by different video playback platforms, resulting in differences in playback effects, and it is difficult for the prior art to locate the specific reasons for the difference.
By obtaining the video data after the specified video source is processed by different video playback platforms and converting it into pictures, the two pictures are compared to determine the difference in the predetermined processing.
It can quickly and accurately locate the differences in predetermined processing of different video playback platforms, and then locate the reasons for the differences in playback effects, helping to optimize the performance of video playback platforms.
Smart Images

Figure CN114827726B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to, but is not limited to, video technology. More specifically, it relates to a method, apparatus, and storage medium for determining differences between video playback platforms. Background Art
[0002] Video incorporates rich elements such as images, text, and sound, and has gradually become the mainstream form of expression on the Internet. For the same video source, there may be differences in the playback effects on different video playback platforms. For example, the playback effect of the same movie on one mobile phone is better than that on another mobile phone. At this time, it is necessary to determine how such differences in playback effects are caused. Summary of the Invention
[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of the claims.
[0004] Embodiments of the present disclosure provide a method for determining differences between video playback platforms, including:
[0005] Obtaining a first picture obtained by converting first video data, where the first video data is output after a first video playback platform performs a predetermined process on a specified video source;
[0006] Obtaining a second picture obtained by converting second video data, where the second video data is output after a second video playback platform performs the predetermined process on the specified video source;
[0007] Comparing the first picture and the second picture, and determining the differences between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result.
[0008] Embodiments of the present disclosure also provide a device for determining differences between video playback platforms, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, it can implement the method for determining differences between video playback platforms as described in any embodiment of the present disclosure.
[0009] Embodiments of the present disclosure also provide a system for determining differences between video playback platforms, including a first video playback platform, a second video playback platform, and a comparison device, where:
[0010] The first video playback platform is configured to output first video data after performing a predetermined process on a specified video source, and convert the first video data into a first picture;
[0011] The second video playback platform is configured to output second video data after performing the predetermined process on the specified video source, and convert the second video data into a second picture;
[0012] The comparison device is configured to determine the difference between the first video playback platform and the second video playback platform in the predetermined processing according to the video playback platform difference determination method as described in any embodiment of the present disclosure.
[0013] The embodiments of the present disclosure further provide a non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the method for determining the difference in video playback platforms as described in any embodiment of the present disclosure.
[0014] The video playback platform difference determination method, device and system of the above-mentioned embodiments of the present disclosure can determine the differences in predetermined processing between different video playback platforms, and further locate the reasons why different video playback platforms produce different playback effects.
[0015] Other aspects will be apparent upon reading and understanding the drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide an understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solutions of the present disclosure and do not constitute a limitation to the technical solutions of the present disclosure.
[0017] Figure 1 is a flow chart of a method for determining differences in video playback platforms according to an embodiment of the present disclosure;
[0018] Figure 2 is a schematic diagram of a device for determining differences in video playback platforms according to an embodiment of the present disclosure;
[0019] Figure 3 is a schematic diagram of a system for determining differences in video playback platforms according to an embodiment of the present disclosure;
[0020] Figure 4 is a schematic diagram of a system for determining differences in video playback platforms according to another embodiment of the present disclosure;
[0021] Figure 5A , Figure 5B and Figure 5C is an example of a first picture according to an embodiment of the present disclosure; Figure 5B is a binary comparison difference map of the first image and the second image as an example, Figure 5C is an example of the second picture according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] The present disclosure describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present disclosure.
[0023] In the description of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment described as "exemplary" or "for example" in the present disclosure should not be construed as being more preferred or advantageous than other embodiments. The "and / or" herein is a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. "Plurality" means two or more. In addition, in order to clearly describe the technical solutions of the embodiments of the present disclosure, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and roles. Those skilled in the art can understand that the words such as "first" and "second" do not limit the quantity and execution order, and the words such as "first" and "second" do not necessarily limit to be different.
[0024] When describing representative exemplary embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not depend on the specific order of the steps described herein, the method or process should not be limited to the specific order of the steps described. As will be understood by those of ordinary skill in the art, other step orders are possible. Therefore, the specific order of the steps set forth in the specification should not be construed as a limitation on the claims. In addition, the claims directed to the method and / or process should not be limited to performing their steps in the order written, and those skilled in the art can easily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of the present disclosure.
[0025] For the same video source, when playing on different video playback platforms, there may be differences in the playback effects. For example, there may be differences in color or clarity in the playback screen. Finding the reasons for these differences can target the poorly performing video playback platform for adjustment to enhance its playback performance and improve the user's viewing experience.
[0026] The video playback platform of the embodiments of the present disclosure can be a terminal but is not limited thereto. The terminal as the video playback platform can be implemented in various forms. For example, the video playback platform described in the embodiments of the present disclosure can be a mobile terminal such as a mobile phone, a tablet computer, a laptop computer, a handheld computer, a personal digital assistant (PDA), a portable media player (PMP), etc., or a fixed terminal such as a television set, a desktop computer, etc.
[0027] Therefore, an embodiment of the present disclosure provides a method for determining differences in a video playback platform, as Figure 1As shown, it includes:
[0028] Step 110: Obtain a first picture obtained by converting first video data, where the first video data is output after a first video playback platform performs a predetermined process on a specified video source;
[0029] Step 120: Obtain a second picture obtained by converting second video data, where the second video data is output after a second video playback platform performs the predetermined process on the specified video source;
[0030] Step 130: Compare the first picture and the second picture, and determine the differences between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result.
[0031] In the embodiments of the present disclosure, there is no fixed order requirement between Step 110 and Step 120 in the above process. The first picture can be obtained first, or the second picture can be obtained first, or the first picture and the second picture can be obtained simultaneously using different processes. The above first video playback platform and the second video playback platform can be of the same type of platform, such as both being mobile phones, or can be of different types of platforms, for example, one is a mobile phone and the other is a desktop computer; the present disclosure does not limit this.
[0032] The method for determining differences in video playback platforms in the embodiments of the present disclosure can determine the differences in the predetermined process between different video playback platforms, and further can locate the reasons for the differences in playback effects generated by different video playback platforms. For example, which one or which of the predetermined processes during the video playback process cause such effect differences, or when none of the processes during the video playback process cause differences, it can be determined that the difference in the playback effect is caused by the difference in the display screens in the video playback platform.
[0033] During the playback process of the video source, the processing of video data by the video playback platform may include, but is not limited to, the processing of the following several links: decoding processing, post-decoding processing (also known as app drawing), layer composition processing, and screen drawing processing. Among them, the decoding processing can be to decode the encoded video data in the video source to obtain the decoded video data; the post-decoding processing can be to perform image enhancement processing on the decoded video data, etc.; the layer composition processing can be to synthesize the video data and other data to be displayed, such as bullet screens, LOGO, etc.; the screen drawing processing can be to convert the video data into a format that the screen can display, such as converting YUV data into RGB data, etc.
[0034] In an exemplary embodiment of the present disclosure, the processing of one of the links is selected as the predetermined processing, that is, the predetermined processing includes any one of the following processes: decoding processing of video data; post-processing after decoding of video data; layer composition processing of video data; screen rendering processing of video data. Taking a single link as the predetermined processing can determine the differences in the processing of a single link on different video playback platforms, so as to quickly and accurately determine whether there are differences in each link on different platforms and locate the reasons for the differences in video playback effects.
[0035] When the processing of other single links except the decoding processing is used as the predetermined processing, the same video data needs to be input in this link, which requires the ability to intervene in the processing of each link of the video playback platform and is difficult to implement for some video playback platforms. In another exemplary embodiment of the present disclosure, another method for determining the predetermined processing is provided. The predetermined processing includes decoding processing of video data; or includes decoding processing and post-processing after decoding of video data; or includes decoding processing, post-processing after decoding, and layer composition processing of video data; or includes decoding processing, post-processing after decoding, layer composition processing, and screen rendering processing of video data. This embodiment only needs to use the specified video source as the input of the platform and obtain the video data output by the platform after the predetermined processing to achieve comparison. By determining the differences under various predetermined processings in the manner of this embodiment, it is also possible to judge the processing differences in each link.
[0036] In an exemplary embodiment of the present disclosure,
[0037] The first video data is the decoded first video frame. The first picture is obtained in the following manner: input the specified video source into the first video playback platform, read the decoded first video frame from the buffer of the first video playback platform for storing decoded video frames, convert the first video frame into a first picture in file form, and identify each converted first picture according to a preset rule.
[0038] The second video data is the decoded second video frame. The second picture is obtained in the following manner: input the specified video source into the second video playback platform, read the decoded second video frame from the buffer of the second video playback platform for storing decoded video frames, convert the second video frame into a second picture in file form, and identify each converted second picture according to a preset rule.
[0039] When identifying the first picture and the second picture, the same serial number can be added to the identification of the first picture and the second picture converted from the same video frame, so that the first picture and the second picture to be compared with each other can be determined. The identification can also include the identification of the specified video source or the identification of the video playback platform to facilitate the identification of the picture source.
[0040] In this embodiment, the first picture and the second picture for comparison are obtained by inputting the specified video source into the first video playback platform and the second video playback platform respectively, but the present disclosure is not limited thereto. For example, when determining that the video playback effect of the second video playback platform is the standard, multiple first video playback platforms to be adjusted can be compared with the second video playback platform for differences. In this case, the second picture converted from the second video frame obtained by decoding the specified video source by the second video playback platform can be pre-stored, and it is not necessary to obtain the second picture by inputting the specified video source into the second video playback platform every time a comparison is made. Similarly, when the video playback effect of the first video playback platform is the standard, the first picture converted from the first video frame obtained by decoding the specified video source by the first video playback platform can be pre-stored and does not need to be obtained again during the comparison.
[0041] In an exemplary embodiment of the present disclosure, comparing the first picture and the second picture includes: grouping the first picture and the second picture, each group including a first picture and a second picture corresponding to the same video frame in the video source; and comparing each pixel point of the first picture and the second picture in the same group, determining whether the binary data of each pair of pixel points at the same position in the first picture and the second picture is the same, and recording the comparison result. When grouping, the first picture and the second picture corresponding to the same video frame can be identified according to the identification of the picture (such as the serial number of the corresponding video frame).
[0042] In an exemplary embodiment of the present disclosure, when determining the difference between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result, it can be determined that there is a difference or no difference between the two platforms in the predetermined process, and information such as the pixel points with differences can be further determined. For example, if the binary data of the pixel points at a certain position in the two pictures is the same, it is considered that the pixel points of the two pictures are the same; if the binary data is different, it is considered that the pixel points of the two pictures are different. In another embodiment, the values of the YUV three color components can also be determined according to the binary data of the pixel points. When the binary data is different, further compare which component or which components of the pixel points in the first picture and the second picture have different values to assist in subsequent adjustment.
[0043] In an exemplary embodiment of the present disclosure, the method further includes: setting a variety of different predetermined processes, each predetermined process including one or more processing steps during video playback; for each predetermined process, respectively obtaining the first picture and the second picture, comparing the first picture and the second picture, and determining the differences between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result; the method further includes: determining the processing steps that cause the differences in the video playback effects between the first video playback platform and the second video playback platform according to the differences between the first video playback platform and the second video playback platform in each predetermined process. In an example of this embodiment, 4 predetermined processes are specified, and these 4 predetermined processes are respectively decoding processing, post-decoding processing, layer composition processing, and screen rendering processing. By respectively determining the differences between the first video playback platform and the second video playback platform in these 4 predetermined processes, the processing steps that cause the differences in the video playback effects between the first video playback platform and the second video playback platform can be located.
[0044] In another example, 4 predetermined processes are also specified, and these 3 predetermined processes are respectively: decoding processing, decoding processing + post-decoding processing, decoding processing + post-decoding processing + layer composition processing, decoding processing + post-decoding processing + layer composition processing + screen rendering processing. As described above, according to the differences between the two platforms in these 4 predetermined processes, the link where the differences are located can also be located. For example, when it is determined that there are no differences between the two platforms in the predetermined process when the predetermined process includes decoding processing, and it is determined that there are differences between the two platforms in the predetermined process when the predetermined process includes decoding processing and other processing (referring to one or more post-decoding processes), it indicates that there are differences between the two platforms in other processing steps. Another example is that when it is determined that there are differences between the two platforms in the predetermined process when the predetermined process includes decoding processing, and it is also determined that there are differences between the two platforms in the predetermined process when the predetermined process includes decoding processing and other processing. At this time, if the differences determined under these two predetermined processes are the same, it can be determined that there are no differences between the two platforms in the link corresponding to the other processing; if the differences determined under these two predetermined processes are different, it can be determined that there are differences between the two platforms in the link corresponding to the other processing.
[0045] Although the above takes 4 predetermined processes as an example, in other examples, 2 or 3 of the above 4 predetermined processes can also be used as the predetermined processes to compare the differences between the two platforms in these 2 or 3 predetermined processes. For example, when it is known that the processing in some links of the two platforms is the same, these links can be ignored, and only the pictures converted from the video data output in other links are compared.
[0046] In an exemplary embodiment of the present disclosure, the determined platform differences can be used for platform tuning. In this embodiment, the first video playback platform is the video playback platform to be adjusted, and the second video playback platform is the video playback platform serving as the standard platform; after determining the differences between the first video playback platform and the second video playback platform in the predetermined processing, the method further includes: when there are differences between the first video playback platform and the second video playback platform, adjusting the processing logic and / or configuration parameters related to the predetermined processing of the first video playback platform to eliminate or reduce the differences.
[0047] The method for determining video playback platform differences in the above embodiments of the present disclosure can determine the differences in predetermined processing between different video playback platforms, and can also accurately locate the processing links causing the differences by setting multiple specified processes. In addition, the above method can be automatically executed without manual intervention and has higher efficiency than manual processing.
[0048] An embodiment of the present disclosure further provides a device for determining video playback platform differences, including a memory 60 and a processor 50, as Figure 2 shown. A computer program is stored in the memory 60, and when the processor 50 executes the computer program, it can implement the method for determining video playback platform differences as described in any embodiment of the present disclosure.
[0049] An embodiment of the present disclosure further provides a system for determining video playback platform differences, as Figure 3 shown, including a first video playback platform 1, a second video playback platform 2, and a comparison device 3, where:
[0050] The first video playback platform 1 is configured to perform predetermined processing on a specified video source and then output first video data, and convert the first video data into a first picture;
[0051] The second video playback platform 2 is configured to perform the predetermined processing on the specified video source and then output second video data, and convert the second video data into a second picture;
[0052] The comparison device 3 is configured to determine the differences between the first video playback platform and the second video playback platform in the predetermined processing according to the method for determining video playback platform differences as described in any embodiment of the present disclosure.
[0053] Figure 3The first video playback platform and the second video playback platform in can be two different devices such as different terminals. However, they can also be two video playback platforms respectively constituted by different video players on the same device. The comparison device can be integrated with one or both of the first video playback platform and the second video playback platform, or can be an independent device. For example, when it is necessary to compare the differences between multiple first video playback platforms to be adjusted and a second video playback platform as a standard platform, an independent computer or server can be set as the comparison device to achieve the determination of the differences and subsequent adjustment. When the comparison device is an independent device, the first video playback platform and / or the second video playback platform can be directly connected to the comparison device or can be connected to the comparison device through a network.
[0054] In an exemplary embodiment of the present disclosure, the comparison device is configured to obtain a first picture and a second picture by communicating with the first video playback platform and the second video playback platform. For example, the pictures can be uploaded by the first video playback platform and the second video playback platform to the comparison device, or after the comparison device communicates with the first video playback platform and the second video playback platform to determine that the pictures have been stored, the pictures are downloaded from a predefined address. Compared with manually obtained and generated pictures, in this embodiment, the comparison device obtains pictures by communicating with the first video playback platform and the second video playback platform, which can achieve automated processing and greatly improve the efficiency.
[0055] An embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the video playback platform difference determination method as described in any embodiment of the present disclosure.
[0056] An embodiment of the present disclosure also provides a video playback platform difference determination method. The method in this embodiment can judge the differences in the outputs of decoders of different platforms. The system to which this method is applied is as Figure 4 shown, where only the modules related to decoding processing are shown for the two platforms.
[0057] As shown in the figure, the first video playback platform 1 includes an audio-video separator, a decoder, and a converter. The audio-video separator (demuxer) separates the specified video source input to the first video playback platform into audio packets and video packets; the video decoder decodes the video packets to obtain decoded video frames. In one example, the video frames are in YUV format, which can also be referred to as YUV data; the converter converts the decoded video frames into picture files in a file format, such as saving them as jpeg format pictures. The second video playback platform 2 inputs the same video source, and the processing process for the specified video source is similar to that of the first video playback platform 1, which will not be elaborated here. The comparison device 3 obtains the first picture saved by the first video playback platform 1 and the second picture saved by the second video playback platform 2, and performs a binary comparison on the different jpeg format pictures obtained by different platforms to check whether there are differences in the decoding effects of the video decoders on different platforms. Among them, decoding the video to output yuv data is the original decoding process of the video playback platform, and saving the decoded yuv data as a jpeg picture can be a newly added process on the video playback platform. The comparison device can be integrated with one or both of them, or it can be a separate device. In this embodiment, the audio-video separator can be implemented using a multimedia splitter (MediaExtractor). The above-mentioned YUV data can be obtained from the buffer output by the audio-video decoder (MediaCodec) for decoding the video packets, so that the picture conversion tool can convert it into a jpeg format picture for saving. When comparing the jpeg pictures output by the two platforms, a picture comparison tool such as beyond compare can be used to perform a binary comparison to determine whether there are differences.
[0058] Figure 5A and Figure 5C are an example of the first picture output by the first video playback platform and the second picture output by the second video playback platform respectively, Figure 5B showing the binary comparison differences between the two pictures, using different colors to indicate whether the corresponding pixel points are different or not.
[0059] This embodiment provides a fast and convenient method to obtain the output of the comparison machine decoder by directly decoding each frame of the video and saving it in jpeg format. This embodiment can be used by mobile phone manufacturers to compare the differences between a certain mobile phone (which can be used as the first video playback platform) and a comparison machine (which can be used as the second video playback platform), and to tune the decoder or other processing modules in the mobile phone. For example, by changing the decoder parameters and then checking the changes in the differences between the decoder outputs, it is very simple and convenient.
[0060] Although this embodiment compares the differences in the output of the decoder in a video playback platform, the decoder is only one link in the entire video playback chain. Differences in other links will also cause differences in the final effect. The video playback process from front to back can include the following processing links: receiving the video source -> decoder decoding -> post-decoding processing (or app drawing) -> layer composition (which can be implemented through the surfaceflinger tool) -> screen drawing. Therefore, by setting different predetermined processes, differences can be compared at each processing link (which can also be called a node). In this way, it is possible to quickly and conveniently discover and compare the differences between machines and accurately locate which node causes the differences, so as to optimize that node and improve the video display effect of the local machine.
[0061] In any one or more of the above exemplary embodiments, the described functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted via a computer-readable medium as one or more instructions or codes and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium corresponding to a tangible medium such as a data storage medium, or a communication medium including any medium that facilitates the transfer of a computer program, such as according to a communication protocol, from one place to another. In this way, the computer-readable medium generally corresponds to a non-transitory tangible computer-readable storage medium or a communication medium such as a signal or a carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.
[0062] By way of example, and not limitation, such computer-readable storage media can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection can be termed a computer-readable medium. By way of example, if instructions are transmitted using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but rather are directed to non-transient tangible storage media. As used herein, disk and optical disks include compact disk (CD), laser disk, optical disk, digital versatile disk (DVD), floppy disk, or Blu-ray disk, etc., where disks typically reproduce data magnetically, while optical disks use lasers to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
[0063] By way of example, and not limitation, the instructions can be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, as used herein, the term "processor" can refer to any one of the foregoing structures or any other structure suitable for implementing the techniques described herein. Additionally, in some aspects, the functionality described herein can be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques can be fully implemented in one or more circuits or logic elements.
[0064] The technical solutions of the embodiments of the present disclosure can be implemented in a wide variety of devices or apparatuses, including wireless handsets, integrated circuits (ICs) or a group of ICs (e.g., a chipset). The various components, modules, or units described in the embodiments of the present disclosure are emphasized to highlight the functional aspects of the devices configured to perform the described techniques, but do not necessarily need to be implemented by different hardware units. Rather, as described above, the various units can be combined in a codec hardware unit or provided by a collection of interoperable hardware units (including one or more processors as described above) in conjunction with suitable software and / or firmware.
Claims
1. A method for determining differences between video playback platforms, including: obtaining a first picture obtained by converting first video data, where the first video data is output after a first video playback platform performs a predetermined process on a specified video source; obtaining a second picture obtained by converting second video data, where the second video data is output after a second video playback platform performs the predetermined process on the specified video source; comparing the first picture and the second picture, and determining the differences between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result; wherein the predetermined process includes any one of the following processes: decoding process of video data; post - decoding process of video data; layer composition process of video data; screen rendering process of video data; or, the predetermined process includes any one of the following processes: decoding process of video data; the predetermined process includes decoding process and post - decoding process of video data; decoding process, post - decoding process and layer composition process of video data; decoding process, post - decoding process, layer composition process and screen rendering process of video data.
2. The method according to claim 1, characterized in that: the first video data is the first decoded video frame, and the first picture is obtained as follows: input the specified video source into the first video playback platform, read the decoded first video frame from the buffer of the first video playback platform for storing decoded video frames, convert the first video frame into a first picture in file form, and identify each converted first picture according to a preset rule; and / or the second video data is the second decoded video frame, and the second picture is obtained as follows: input the specified video source into the second video playback platform, read the decoded second video frame from the buffer of the second video playback platform for storing decoded video frames, convert the second video frame into a second picture in file form, and identify each converted second picture according to a preset rule.
3. The method according to claim 1, characterized in that: comparing the first picture and the second picture includes: grouping the first picture and the second picture, where each group includes a first picture and a second picture corresponding to the same video frame in the video source; performing pixel - by - pixel comparison on the first picture and the second picture in the same group, determining whether the binary data of each pair of pixels at the same position in the first picture and the second picture is the same, and recording the comparison result.
4. The method according to claim 1, characterized in that: the method further includes: setting a plurality of different predetermined processes, and each predetermined process includes one or more processing links during video playback; for each predetermined process, respectively obtaining the first picture and the second picture, comparing the first picture and the second picture, and determining the differences between the first video playback platform and the second video playback platform in the predetermined process according to the comparison result; The method further includes: determining a processing step that causes a difference in the video playback effects between the first video playback platform and the second video playback platform according to the differences between the first video playback platform and the second video playback platform in each predetermined process.
5. The method according to any one of claims 1 to 4, wherein: the first video playback platform is the video playback platform to be adjusted, and the second video playback platform is the video playback platform used as a standard platform; after determining the differences between the first video playback platform and the second video playback platform in the predetermined process, the method further includes: when there are differences between the first video playback platform and the second video playback platform, adjusting the processing logic and / or configuration parameters related to the predetermined process of the first video playback platform to eliminate or reduce the differences.
6. A video playback platform difference determination device includes a memory and a processor, wherein, a computer program is stored in the memory, and when the processor executes the computer program, it can implement the video playback platform difference determination method according to any one of claims 1 to 5.
7. A video playback platform difference determination system, wherein, it includes a first video playback platform, a second video playback platform, and a comparison device, where: the first video playback platform is configured to output first video data after performing a predetermined process on a specified video source, and convert the first video data into a first picture; the second video playback platform is configured to output second video data after performing the predetermined process on the specified video source, and convert the second video data into a second picture; the comparison device is configured to determine the differences between the first video playback platform and the second video playback platform in the predetermined process according to the video playback platform difference determination method according to any one of claims 1 to 5.
8. The system according to claim 7, wherein: the comparison device is configured to obtain the first picture and the second picture by communicating with the first video playback platform and the second video playback platform.
9. A non-transitory computer-readable storage medium stores a computer program, wherein, when the computer program is executed by a processor, it implements the video playback platform difference determination method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Video quality comparison method and device
CN104811799A