CN113766212A - Video decoding function test method, test device and test equipment - Google Patents
Video decoding function test method, test device and test equipment Download PDFInfo
- Publication number
- CN113766212A CN113766212A CN202111006660.7A CN202111006660A CN113766212A CN 113766212 A CN113766212 A CN 113766212A CN 202111006660 A CN202111006660 A CN 202111006660A CN 113766212 A CN113766212 A CN 113766212A
- Authority
- CN
- China
- Prior art keywords
- tested
- tool
- decoding
- playing
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 155
- 238000010998 test method Methods 0.000 title claims description 8
- 230000006870 function Effects 0.000 claims description 76
- 238000000034 method Methods 0.000 claims description 39
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 7
- 238000013515 script Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The application discloses a testing method, a testing device and a computer readable storage medium for providing video decoding function, which are characterized in that a preset rule for extracting a preset video file and a feature file for storing feature information of the preset video file are pre-established, so that a decoding tool to be tested and a playing tool to be tested are deployed and configured on the equipment to be tested, after the decoding tool to be tested and the playing tool to be tested play the preset video file, the feature information of the played preset video file is extracted according to the preset rule, the feature information of the played preset video file is compared with the feature information recorded in the feature file corresponding to the preset video file to obtain a comparison result, namely the video decoding function testing result of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested can be determined, and the problems of screen splash, screen blackness and the like can be automatically judged, therefore, the manpower required by the video decoding function test of the computer is reduced, and the test efficiency is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device and a computer readable storage medium for testing a video decoding function.
Background
In order to ensure that computer equipment can provide reliable functional performance and better use experience in various mainstream use scenes such as daily office work, network application, entertainment, productivity and the like, comprehensive testing needs to be performed on functions of the computer equipment in various scenes. In the method, for use scenes related to video playing, video transcoding, video editing and the like, strict requirements are placed on functions of a computer device, such as video hard decoding capability, soft decoding capability, decoder software compatibility and the like.
In the existing test scheme of the video decoding function of the computer, after a group of parameters such as a decoding mode, a decoding tool, a playing tool and the like are set on the computer equipment to be tested, videos with specified code rates and formats are continuously played, and whether errors such as screen omission, screen blacking and the like exist in an output picture is observed, so that whether the video decoding and video playing functions of the computer equipment to be tested are normal or not is judged. However, with the increase of computer platform types, decoding tool types and playing tool types, the testing scheme requiring manual watching to observe the playing situation of the computer device to be tested causes the cost of testing input manpower to be greatly increased, and the testing efficiency is increasingly not meeting the industrial requirements.
The technical problem to be solved by the technical personnel in the field is to improve the testing efficiency of the computer video decoding function test and reduce the manpower required by the test.
Disclosure of Invention
The application aims to provide a video decoding function testing method, a video decoding function testing device, video decoding function testing equipment and a computer readable storage medium, which are used for improving the testing efficiency of a computer video decoding function test and reducing the manpower required by the test.
In order to solve the above technical problem, the present application provides a method for testing a video decoding function, including:
deploying and configuring a decoding tool to be tested and a playing tool to be tested in advance on equipment to be tested;
running the decoding tool to be tested and the playing tool to be tested, and playing a preset video file;
extracting the feature information of the played preset video file according to a preset rule;
comparing the played characteristic information of the preset video file with the characteristic information recorded in the characteristic file corresponding to the preset video file to obtain a comparison result;
and determining the video decoding function test results of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested according to the comparison result.
Optionally, the extracting, according to a preset rule, the played feature information of the preset video file specifically includes:
intercepting an image of a preset time point of the played preset video file at a playing window of the playing tool to be tested;
and extracting the characteristic information of the image to be used as the characteristic information of the played preset video file.
Optionally, the extracting the feature information of the image to be used as the feature information of the played preset video file specifically includes:
and carrying out digital processing on the image to obtain an image information matrix which is used as the characteristic information of the played preset video file.
Optionally, the extracting the feature information of the image to be used as the feature information of the played preset video file specifically includes:
and extracting color information of a plurality of preset coordinates on the image to serve as the feature information of the played preset video file.
Optionally, the deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested in advance specifically includes:
if the device to be tested is the device with the x86 architecture, calling a video decoding test tool universal for an x86 platform, deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested according to the test requirement of the device to be tested;
if the device to be tested is not the x86 framework device, calling a preset automatic configuration script, and deploying and configuring the decoding tool to be tested and the playing tool to be tested in the device to be tested according to the test requirement of the device to be tested.
Optionally, the deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested in advance specifically includes:
analyzing a video decoding function test requirement to obtain a decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested, and the corresponding relation between the decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested;
and generating a test sequence of each corresponding relation.
Optionally, the determining, according to the comparison result, a video decoding function test result of the to-be-tested decoding tool and the to-be-tested playing tool on the to-be-tested device specifically includes:
if the ratio of the feature value of the absolute value of the difference value of the corresponding standard feature value recorded in the feature file in the total number of the feature values is within the allowable range reaches a preset ratio, determining that the video decoding function test of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested is qualified;
and if the ratio of the characteristic value to the total number of the characteristic values, the absolute value of the difference value of which is within the allowable range with the standard characteristic value, does not reach a preset ratio, determining that the video decoding function test of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested is unqualified.
In order to solve the above technical problem, the present application further provides a device for testing a video decoding function, including:
the deployment unit is used for deploying and configuring the decoding tool to be tested and the playing tool to be tested in the equipment to be tested in advance;
the playing unit is used for operating the decoding tool to be tested and the playing tool to be tested and playing a preset video file;
the extracting unit is used for extracting the feature information of the played preset video file according to a preset rule;
the comparison unit is used for comparing the played characteristic information of the preset video file with the characteristic information recorded in the characteristic file corresponding to the preset video file to obtain a comparison result;
and the analysis unit is used for determining the video decoding function test results of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested according to the comparison result.
In order to solve the above technical problem, the present application further provides a device for testing a video decoding function, including:
a memory for storing instructions, said instructions comprising the steps of any of the above methods for testing video decoding functionality;
a processor to execute the instructions.
To solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for testing the video decoding function according to any one of the above items.
The method for testing the video decoding function comprises the steps of setting a preset rule for extracting a preset video file and a feature file for storing feature information of the preset video file in advance, deploying and configuring a decoding tool to be tested and a playing tool to be tested on a device to be tested, operating the decoding tool to be tested and the playing tool to be tested to play the preset video file, extracting the feature information of the played preset video file according to the preset rule, comparing the feature information of the played preset video file with the feature information recorded in the feature file corresponding to the preset video file to obtain a comparison result, determining the video decoding function test result of the decoding tool to be tested and the playing tool to be tested on the device to be tested, automatically judging whether problems such as screen splash, screen blackout and the like occur or not, and reducing the manpower required by the video decoding function test of a computer, and the test efficiency is improved.
The application also provides a testing device, a testing device and a computer readable storage medium for the video decoding function, which have the beneficial effects and are not repeated herein.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing a video decoding function according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a device for testing video decoding functions according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for testing video decoding function according to an embodiment of the present disclosure.
Detailed Description
The core of the application is to provide a test method, a test device, test equipment and a computer readable storage medium for video decoding function test, which are used for improving the test efficiency of the computer video decoding function test and reducing the manpower required by the test.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of a method for testing a video decoding function according to an embodiment of the present disclosure.
As shown in fig. 1, a method for testing a video decoding function provided in an embodiment of the present application includes:
s101: and deploying and configuring a decoding tool to be tested and a playing tool to be tested in the equipment to be tested in advance.
S102: and operating the decoding tool to be tested and the playing tool to be tested, and playing the preset video file.
S103: and extracting the characteristic information of the played preset video file according to a preset rule.
S104: and comparing the played characteristic information of the preset video file with the characteristic information recorded in the characteristic file corresponding to the preset video file to obtain a comparison result.
S105: and determining the video decoding function test result of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested according to the comparison result.
In a specific implementation, a preset video file and a feature file are prepared in advance according to test requirements. The preset video file is a standard video file, and the feature file is used for storing feature information of the preset video file under normal playing, specifically, the feature information may be feature information included in each frame of image of the preset video file.
The software architecture on which the method for testing the video decoding function provided by the embodiment of the present application is based may include: the system comprises an automatic task module, a test engine and a feature library. The automatic task module is used for generating one or more groups of automatic test tasks according to parameters such as a decoding mode, a decoding tool, a playing tool and the like of the test requirements; when each group of test tasks starts, the parameters of the equipment to be tested are automatically configured according to the requirements of the current task, and the test engine is started to start the test of the current round. The test engine is used for calling the preset video file and the feature file in the feature library according to the test task requirement, collecting and comparing features in the test process, outputting a test report and the like. The feature library is used for storing test comparison groups for testing the device to be tested, and each test comparison group can comprise a standard video file with a specific specification and a general feature file corresponding to the standard video file. It should be noted that the method for testing the video decoding function provided in the embodiment of the present application may be performed based on the device to be tested, or may be performed based on another device, that is, the another device interacts with the device to be tested to complete tasks of deployment, testing, analysis of the test result, and the like of the device to be tested.
For step S101, it is necessary to complete the installation of the decoding tool and the installation of the playing tool on the device under test, and complete the setting of parameters such as the decoding mode and the playing mode. Specifically, automatic execution of deploying and configuring the decoding tool to be tested and the playing tool to be tested on the equipment to be tested can be realized by writing an automatic configuration script in advance.
In the test of the video decoding function, a test object includes at least one of a device to be tested, a decoding tool and a playing tool, the compatibility between the two needs to be tested, and whether the combination of the two can realize the test of video decoding (including video soft decoding and video hard decoding) is tested, and an applicable scenario can be that whether the personal computer device can support video playing through the decoding tool to be tested and the playing tool to be tested, whether the decoding tool to be tested is compatible with the playing tool to be tested, whether a newly developed decoding tool or playing tool can execute the video playing function on a normally running computer device, and the like. Step S101: the method includes the steps of deploying and configuring a decoding tool to be tested and a playing tool to be tested in advance on a device to be tested, and specifically may include:
analyzing the video decoding function test requirement to obtain the corresponding relation among the decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested, and the type of the decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested;
and generating a test sequence of each corresponding relation.
The corresponding relationship among a decoding mode to be tested, the type of the decoding tool to be tested, and the type of the playing tool to be tested is one or a group of test cases executed on the equipment to be tested, and the test sequence is the sequence of executing the test cases on the equipment to be tested.
On the basis, the test case can also be used as a test case under the corresponding relation of the model of the equipment to be tested, the decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested, so that the test case is suitable for testing various models of computer equipment, various types of decoding tools and various types of playing tools in batch.
After the decoding tool to be tested and the playing tool to be tested are installed on the equipment to be tested, the decoding tool to be tested and the playing tool to be tested are configured according to the decoding mode to be tested and the playing mode to be tested. After the required installation and configuration of all decoding tools to be tested and playing tools to be tested are completed on the equipment to be tested, the test can be started to be executed according to the test sequence.
For step S102, when the current test case is executed, the decoding tool to be tested and the playing tool to be tested corresponding to the current test case are operated to play the preset video file prepared in advance.
The preset rule corresponds to the feature information described in the feature file for step S103 and step S104. For the purpose of testing efficiency, the characteristic information for comparison can only select some representative characteristic parameters of the preset video file, and cannot compare all the information of the preset video file one by one. The selected and compared feature information may be color information included in a point of a specific coordinate in an image captured at a fixed time in a preset video file played by the playing tool to be tested.
For step S105, in the actual testing process, the test may be stopped and the test failure may be confirmed when one test case fails, or the pass rate of the test case may be counted after all tests are completed to determine whether the test case is passed or not. Step S105: determining the video decoding function test result of the to-be-tested decoding tool and the to-be-tested playing tool on the to-be-tested device according to the comparison result, which may specifically include:
if the ratio of the feature value of the absolute value of the difference value of the corresponding standard feature value recorded in the feature file to the total number of the feature values in the allowable range reaches a preset ratio, determining that the video decoding function test of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested is qualified;
and if the ratio of the feature value of the absolute value of the difference value of the absolute value of the difference value of the absolute value of the difference value of the absolute value of the difference value of the absolute value of the standard absolute value of the absolute.
Taking color information contained in a point of a specific coordinate in an image captured at regular time in a preset video file played by a playing tool to be tested as an example, the color information can be described by using an RGB value, a gray value or a pixel value, the feature information recorded in a corresponding feature file is standard color information, the absolute value of the difference between the color information contained in the point of the specific coordinate in the captured image and the standard color information recorded in the feature file is determined, and if the ratio of the point of the absolute value of the difference in an allowable range to the selected point reaches a preset ratio, the video decoding function tests of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested are determined to be qualified, otherwise, the video decoding function tests of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested are determined to be unqualified.
After obtaining the test result, the method for testing the video decoding function provided in the embodiment of the present application may further include: and generating and outputting a test report according to the test data and the test result.
The method for testing the video decoding function provided by the embodiment of the application comprises the steps of setting a preset rule for extracting a preset video file and a feature file for storing feature information of the preset video file in advance, deploying and configuring a decoding tool to be tested and a playing tool to be tested on a device to be tested, operating the decoding tool to be tested and the playing tool to be tested to play the preset video file, extracting feature information of the played preset video file according to the preset rule, comparing the feature information of the played preset video file with the feature information recorded in the feature file corresponding to the preset video file to obtain a comparison result, determining the video decoding function test result of the decoding tool to be tested and the playing tool to be tested on the device to be tested, automatically judging whether the problems of screen splash, screen blackout and the like occur or not, and reducing the manpower required by the video decoding function test of a computer, and the test efficiency is improved.
Example two
On the basis of the foregoing embodiment, in the method for testing a video decoding function provided in the embodiment of the present application, step S103: extracting the feature information of the played preset video file according to a preset rule, which specifically comprises the following steps:
intercepting an image of a preset time point of a played preset video file at a playing window of a playing tool to be tested;
and extracting the characteristic information of the image to be used as the characteristic information of the played preset video file.
In a specific implementation, when the playing tool to be tested plays the preset video file, the playing window of the playing tool to be tested captures an image of a preset time point of the played preset video file, where the preset time point refers to a time point of the preset video file, and for example, a screenshot may be performed every fixed time interval, or a preset time point of the screenshot may be selected according to the playing content of the preset video file.
On this basis, the feature information of the image is extracted to be used as the feature information of the played preset video file, which specifically may be: and carrying out digital processing on the image to obtain an image information matrix which is used as the characteristic information of the played preset video file.
In the specific implementation, the image information matrix is obtained by carrying out noise reduction on the intercepted image, adjusting the contrast and RGB numerical values of the intercepted image to the standard values of the original preset video file, and converting the image into the numerical value matrix by using an image processing algorithm. Correspondingly, the feature file is recorded with feature information in the form of an image information matrix for comparison with an image information matrix obtained based on an image intercepted from a played preset video file.
Or, extracting feature information of the image to serve as feature information of a played preset video file, which may specifically be: and extracting color information of a plurality of preset coordinates on the image to be used as the characteristic information of the played preset video file.
In a specific implementation, the color information of color blocks at a plurality of preset coordinates on the intercepted image is selected, for example, RGB values, gray scale values or pixel values, and the like. Correspondingly, the standard value of the color information corresponding to the coordinates is recorded in the feature file and is used for comparing with the color information of the color block obtained based on the image intercepted from the played preset video file.
EXAMPLE III
In the above embodiment, the automatic execution of deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested is realized by writing the automatic configuration script in advance. For computer devices using the x86 platform, a general decoding test tool in the prior art can be automatically configured according to test requirements, such as GPU-Z, furacrk, AIDA64, and the like. For computer devices that employ non-x 86 platforms, however, additional automated deployment scripts need to be written.
In the batch test of the computer video decoding function, on the basis of the above embodiment, in the test method of the video decoding function provided in the embodiment of the present application, step S101: the method specifically comprises the following steps of deploying and configuring a decoding tool to be tested and a playing tool to be tested in advance on equipment to be tested, wherein the method specifically comprises the following steps:
if the device to be tested is the device with the x86 architecture, calling a video decoding test tool universal for the x86 platform, deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested according to the test requirement of the device to be tested;
if the device to be tested is not the x86 architecture device, calling a preset automatic configuration script, and deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested according to the test requirement of the device to be tested.
In specific implementation, the corresponding automatic configuration script is called by identifying the platform type of the device to be tested, so as to perform automatic deployment and configuration of the decoding tool to be tested and the playing tool to be tested according to the test requirements.
On the basis of the above detailed description of the various embodiments corresponding to the method for testing the video decoding function, the application also discloses a device for testing the video decoding function, a testing device and a computer readable storage medium corresponding to the method.
Example four
Fig. 2 is a schematic structural diagram of a device for testing video decoding functions according to an embodiment of the present disclosure.
As shown in fig. 2, the apparatus for testing video decoding function provided in the embodiment of the present application includes:
the deployment unit 201 is used for deploying and configuring a decoding tool to be tested and a playing tool to be tested in advance on the equipment to be tested;
the playing unit 202 is used for running the decoding tool to be tested and the playing tool to be tested and playing a preset video file;
an extracting unit 203, configured to extract feature information of a played preset video file according to a preset rule;
a comparison unit 204, configured to compare the feature information of the played preset video file with the feature information recorded in the feature file corresponding to the preset video file, so as to obtain a comparison result;
the analysis unit 205 is configured to determine, according to the comparison result, a video decoding function test result of the to-be-tested decoding tool and the to-be-tested playing tool on the to-be-tested device.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
EXAMPLE five
Fig. 3 is a schematic structural diagram of a device for testing video decoding function according to an embodiment of the present disclosure.
As shown in fig. 3, the apparatus for testing video decoding function provided in the embodiment of the present application includes:
a memory 310 for storing instructions, the instructions comprising the steps of the method for testing video decoding function according to any of the above embodiments;
a processor 320 for executing the instructions.
Processor 320 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 320 may be implemented in at least one hardware form of a digital Signal processing (dsp), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (pla), or a digital Signal processing (dsp). The processor 320 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a central Processing unit (cpu); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 320 may be integrated with an image processor GPU (graphics Processing unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 320 may also include an Artificial Intelligence (AI) (artificial intelligence) processor for processing computational operations related to machine learning.
Memory 310 may include one or more computer-readable storage media, which may be non-transitory. Memory 310 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 310 is at least used for storing a computer program 311, wherein after the computer program 311 is loaded and executed by the processor 320, the relevant steps in the test method for video decoding function disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 310 may also include an operating system 312, data 313, and the like, and the storage may be transient storage or persistent storage. The operating system 312 may be Windows, among others. Data 313 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the video decoding function testing apparatus may further include a display 330, a power supply 340, a communication interface 350, an input output interface 360, a sensor 370, and a communication bus 380.
Those skilled in the art will appreciate that the configuration shown in fig. 3 does not constitute a limitation of the testing device for video decoding functionality and may include more or fewer components than those shown.
The test equipment for the video decoding function provided by the embodiment of the application comprises the memory and the processor, and when the processor executes the program stored in the memory, the test method for the video decoding function can be realized, and the effect is the same as that of the test method for the video decoding function.
EXAMPLE six
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions.
To this end, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the testing method, such as the video decoding function.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory ROM (Read-Only Memory), a random Access Memory ram (random Access Memory), a magnetic disk, or an optical disk.
The computer program contained in the computer-readable storage medium provided in this embodiment can implement the steps of the method for testing a video decoding function as described above when executed by the processor, and the effects are the same as above.
The foregoing describes a method, an apparatus, a device and a computer readable storage medium for testing video decoding function provided by the present application in detail. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method for testing video decoding function, comprising:
deploying and configuring a decoding tool to be tested and a playing tool to be tested in advance on equipment to be tested;
running the decoding tool to be tested and the playing tool to be tested, and playing a preset video file;
extracting the feature information of the played preset video file according to a preset rule;
comparing the played characteristic information of the preset video file with the characteristic information recorded in the characteristic file corresponding to the preset video file to obtain a comparison result;
and determining the video decoding function test results of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested according to the comparison result.
2. The testing method according to claim 1, wherein the extracting the feature information of the played preset video file according to a preset rule specifically comprises:
intercepting an image of a preset time point of the played preset video file at a playing window of the playing tool to be tested;
and extracting the characteristic information of the image to be used as the characteristic information of the played preset video file.
3. The testing method according to claim 2, wherein the extracting the feature information of the image as the feature information of the played preset video file specifically comprises:
and carrying out digital processing on the image to obtain an image information matrix which is used as the characteristic information of the played preset video file.
4. The testing method according to claim 2, wherein the extracting the feature information of the image as the feature information of the played preset video file specifically comprises:
and extracting color information of a plurality of preset coordinates on the image to serve as the feature information of the played preset video file.
5. The testing method according to claim 1, wherein the pre-deploying and configuring the decoding tool to be tested and the playing tool to be tested at the device to be tested specifically comprises:
if the device to be tested is the device with the x86 architecture, calling a video decoding test tool universal for an x86 platform, deploying and configuring the decoding tool to be tested and the playing tool to be tested on the device to be tested according to the test requirement of the device to be tested;
if the device to be tested is not the x86 framework device, calling a preset automatic configuration script, and deploying and configuring the decoding tool to be tested and the playing tool to be tested in the device to be tested according to the test requirement of the device to be tested.
6. The testing method according to claim 1, wherein the pre-deploying and configuring the decoding tool to be tested and the playing tool to be tested at the device to be tested specifically comprises:
analyzing a video decoding function test requirement to obtain a decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested, and the corresponding relation between the decoding mode to be tested, the type of the decoding tool to be tested and the type of the playing tool to be tested;
and generating a test sequence of each corresponding relation.
7. The method according to claim 1, wherein the determining, according to the comparison result, a video decoding function test result of the to-be-tested decoding tool and the to-be-tested playing tool on the to-be-tested device specifically includes:
if the ratio of the feature value of the absolute value of the difference value of the corresponding standard feature value recorded in the feature file in the total number of the feature values is within the allowable range reaches a preset ratio, determining that the video decoding function test of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested is qualified;
and if the ratio of the characteristic value to the total number of the characteristic values, the absolute value of the difference value of which is within the allowable range with the standard characteristic value, does not reach a preset ratio, determining that the video decoding function test of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested is unqualified.
8. An apparatus for testing video decoding functions, comprising:
the deployment unit is used for deploying and configuring the decoding tool to be tested and the playing tool to be tested in the equipment to be tested in advance;
the playing unit is used for operating the decoding tool to be tested and the playing tool to be tested and playing a preset video file;
the extracting unit is used for extracting the feature information of the played preset video file according to a preset rule;
the comparison unit is used for comparing the played characteristic information of the preset video file with the characteristic information recorded in the characteristic file corresponding to the preset video file to obtain a comparison result;
and the analysis unit is used for determining the video decoding function test results of the decoding tool to be tested and the playing tool to be tested on the equipment to be tested according to the comparison result.
9. A device for testing video decoding functions, comprising:
a memory for storing instructions comprising the steps of the method of testing a video decoding function of any of claims 1 to 7;
a processor to execute the instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for testing video decoding functionality according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006660.7A CN113766212B (en) | 2021-08-30 | 2021-08-30 | Video decoding function testing method, testing device and testing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111006660.7A CN113766212B (en) | 2021-08-30 | 2021-08-30 | Video decoding function testing method, testing device and testing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113766212A true CN113766212A (en) | 2021-12-07 |
CN113766212B CN113766212B (en) | 2024-06-04 |
Family
ID=78791870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111006660.7A Active CN113766212B (en) | 2021-08-30 | 2021-08-30 | Video decoding function testing method, testing device and testing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113766212B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115379209A (en) * | 2022-09-14 | 2022-11-22 | 北京睿芯高通量科技有限公司 | Automatic test system for video coder-decoder |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005506011A (en) * | 2002-10-02 | 2005-02-24 | トムソン ライセンシング ソシエテ アノニム | System and method for compliance testing digital decoding device |
CN102879660A (en) * | 2011-07-11 | 2013-01-16 | 富泰华工业(深圳)有限公司 | Device and method for testing electronic product |
CN106341687A (en) * | 2016-09-30 | 2017-01-18 | 努比亚技术有限公司 | Method and device for locating video decoding abnormality |
EP3273689A1 (en) * | 2016-07-21 | 2018-01-24 | Eurofins Scientific (Ireland) Limited | Method of testing the operation of a video player embedded in an electronic display device |
CN110602481A (en) * | 2018-06-12 | 2019-12-20 | 浙江宇视科技有限公司 | Video quality detection method and device in video monitoring system |
US20210120292A1 (en) * | 2018-06-30 | 2021-04-22 | Huawei Technologies Co., Ltd. | Video playback quality detection method and apparatus |
CN112738527A (en) * | 2020-12-29 | 2021-04-30 | 深圳市天视通视觉有限公司 | Video decoding detection method and device, electronic equipment and storage medium |
-
2021
- 2021-08-30 CN CN202111006660.7A patent/CN113766212B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005506011A (en) * | 2002-10-02 | 2005-02-24 | トムソン ライセンシング ソシエテ アノニム | System and method for compliance testing digital decoding device |
CN102879660A (en) * | 2011-07-11 | 2013-01-16 | 富泰华工业(深圳)有限公司 | Device and method for testing electronic product |
EP3273689A1 (en) * | 2016-07-21 | 2018-01-24 | Eurofins Scientific (Ireland) Limited | Method of testing the operation of a video player embedded in an electronic display device |
CN106341687A (en) * | 2016-09-30 | 2017-01-18 | 努比亚技术有限公司 | Method and device for locating video decoding abnormality |
CN110602481A (en) * | 2018-06-12 | 2019-12-20 | 浙江宇视科技有限公司 | Video quality detection method and device in video monitoring system |
US20210120292A1 (en) * | 2018-06-30 | 2021-04-22 | Huawei Technologies Co., Ltd. | Video playback quality detection method and apparatus |
CN112738527A (en) * | 2020-12-29 | 2021-04-30 | 深圳市天视通视觉有限公司 | Video decoding detection method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
戚甫峰;纪晓佳;黄子革;: "电视信号转换部件检测仪的设计与实现", 电子科学技术, no. 03 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115379209A (en) * | 2022-09-14 | 2022-11-22 | 北京睿芯高通量科技有限公司 | Automatic test system for video coder-decoder |
Also Published As
Publication number | Publication date |
---|---|
CN113766212B (en) | 2024-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136094B (en) | A kind of page method of testing and device | |
CN114003451B (en) | Interface testing method, device, system and medium | |
CN111813686A (en) | Game testing method and device, testing terminal and storage medium | |
CN103605604A (en) | Method for batch testing of set-top box software stability | |
CN112882930B (en) | Automatic test method and device, storage medium and electronic equipment | |
CN109801342B (en) | Method and device for dynamically identifying mapping fit degree in running process on mobile equipment | |
CN116527879A (en) | Set top box testing method, device, medium and computer device | |
CN113766212A (en) | Video decoding function test method, test device and test equipment | |
KR101460860B1 (en) | GUI Test apparatus using test scenario model based on states and the method thereof | |
CN114676066A (en) | Security testing method and device for target application, electronic equipment and storage medium | |
CN111708704A (en) | Cloud real machine testing method and device, terminal and storage medium | |
CN115860827A (en) | Mobile terminal advertisement testing method and system | |
CN115588458A (en) | Storage device testing method, system, device and readable storage medium | |
CN115237441A (en) | Upgrade test method, device and medium based on cloud platform | |
CN114185784A (en) | Barrage rendering test method and device | |
CN114756448A (en) | Automatic testing system and method for reduction degree of user interface | |
CN113535029A (en) | Operation recording method, terminal, computer device and computer-readable storage medium | |
CN114549533B (en) | Template image storage method, device, equipment and storage medium | |
CN112000581B (en) | Testing method and tool for Cocos2D framework software | |
CN116893976A (en) | Software version testing method, system, electronic device and storage medium | |
CN115454868A (en) | Compatibility testing method, device, equipment and medium | |
CN116955127A (en) | Compatibility testing method and device of operating system, electronic equipment and storage medium | |
CN117950983A (en) | User interface testing method, device, electronic equipment and storage medium | |
CN115827439A (en) | Camera power-off test method and device, computer equipment and storage medium | |
CN117234907A (en) | Testing method and system for graphical user interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |