WO2016095241A1 - Method and device for selecting video encoding and decoding hardware platform - Google Patents

Method and device for selecting video encoding and decoding hardware platform Download PDF

Info

Publication number
WO2016095241A1
WO2016095241A1 PCT/CN2014/094496 CN2014094496W WO2016095241A1 WO 2016095241 A1 WO2016095241 A1 WO 2016095241A1 CN 2014094496 W CN2014094496 W CN 2014094496W WO 2016095241 A1 WO2016095241 A1 WO 2016095241A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
codec
preset
test
hardware platform
Prior art date
Application number
PCT/CN2014/094496
Other languages
French (fr)
Chinese (zh)
Inventor
沈案
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2016095241A1 publication Critical patent/WO2016095241A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

Disclosed is a method for selecting a video encoding and decoding hardware platform, comprising: classifying all the test video sources in a test video source library into different test video source subsets corresponding to different video technical indexes; on a pre-set hardware platform, performing an encoding and decoding performance test evaluation on each video encoding and decoding program for all the test video sources in a test video source subset corresponding to a pre-set video technical index, so as to obtain a typical video encoding and decoding program corresponding to the pre-set video technical index; and on the typical video encoding and decoding program, performing the encoding and decoding performance test evaluation on each hardware platform to be selected for all the test video sources in the test video source subset corresponding to the pre-set video technical index, so as to obtain a hardware platform to be selected with an encoding and decoding performance test comprehensive value satisfying a second pre-set condition. Also disclosed is a device for selecting a video encoding and decoding hardware platform. The present invention can improve the efficiency and accuracy of selecting a video encoding and decoding hardware platform.

Description

选择视频编解码硬件平台的方法及装置  Method and device for selecting video codec hardware platform
技术领域Technical field
本发明涉及视频编解码领域,尤其涉及选择视频编解码硬件平台的方法及装置。The present invention relates to the field of video coding and decoding, and in particular, to a method and apparatus for selecting a video codec hardware platform.
背景技术Background technique
随着计算机技术,尤其是数字多媒体技术的迅猛发展和广泛应用,视频编解码技术在产品设计和开发中的重要性不言而喻。通常的,视频编解码器会对视频原始信息进行数据压缩,以解决存储和传输困难;而在播放视频时,视频编解码器会对压缩的视频数据进行解码,通过逆运算尽量还原视频信息。视频编解码器在编解码过程中对空域/时域的抽样、宏块的运动补偿、块变换/子带分解、或者熵编码等的运算过程需要越来越高要求的硬件平台支持,且随着视频的分辨率、编解码延时、视频码流控制等技术指标要求的提高,硬件平台的选择将更加重要。With the rapid development and wide application of computer technology, especially digital multimedia technology, the importance of video codec technology in product design and development is self-evident. Generally, a video codec compresses video original information to solve storage and transmission difficulties. When playing video, the video codec decodes the compressed video data and restores the video information by inverse operation. The video codec needs more and more high-demand hardware platform support for the spatial/time domain sampling, macroblock motion compensation, block transform/subband decomposition, or entropy coding in the codec process, and With the improvement of video index resolution, codec delay, video stream control and other technical indicators, the choice of hardware platform will be more important.
目前,视频编解码领域的相关研究主要集中在编码格式、编解码运算量以及兼容性等方面的优化上,基本属于视频编解码软件方面的研究,主流视频编解码器有:DivX、WMV、RealVideo、Cinepak等;而视频编解码硬件方面的研究主要是针对特定的硬件平台、特定的技术指标要求进行优化,导致在项目开发过程中缺少通用且灵活高效的硬件平台评估方案;另外,现行的硬件平台评估方案通常需要在每一待选硬件平台上针对所有的视频编解码器中的每一视频编解码器测试所有的测试片源,使得评估工作量很大,从而导致评估周期过长;再加上项目需求的变化会造成评估工作的高度重复性,严重影响项目进度。因此,提供一种能提高视频编解码硬件平台选型的效率的方法,实为必要。At present, the related research in the field of video coding and decoding mainly focuses on the optimization of coding format, codec computation and compatibility, and basically belongs to the research of video codec software. The mainstream video codecs are: DivX, WMV, RealVideo. , Cinepak, etc.; video coding and decoding hardware research is mainly aimed at specific hardware platforms, specific technical indicators to optimize, resulting in a lack of a common and flexible and efficient hardware platform evaluation program in the project development process; In addition, the current hardware The platform evaluation scheme usually needs to test all the test chip sources for each video codec in each video codec on each candidate hardware platform, so that the evaluation workload is large, resulting in an excessive evaluation period; Coupled with changes in project requirements, the assessment will be highly repetitive and seriously affect the progress of the project. Therefore, it is necessary to provide a method for improving the efficiency of video codec hardware platform selection.
发明内容Summary of the invention
本发明的主要目的在于提供一种选择视频编解码硬件平台的方法及装置,旨在提高视频编解码硬件平台选型的效率。The main object of the present invention is to provide a method and apparatus for selecting a video codec hardware platform, which aims to improve the efficiency of video codec hardware platform selection.
为实现上述目的,本发明提供的一种选择视频编解码硬件平台的方法,包括以下步骤:To achieve the above objective, the present invention provides a method for selecting a video codec hardware platform, including the following steps:
A、将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集;A. classify all test film sources in the test source library according to preset classification rules, and divide into different test film source subsets corresponding to different video technical indicators;
B、在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;B. On the preset hardware platform, all test film sources in the test chip source subset corresponding to the preset video technical indicators are subjected to codec performance test evaluation for each video codec in the video codec library. Obtaining a typical video codec program that meets the first preset condition corresponding to the preset video technical indicator;
C、在所述典型视频编解码程序上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到编解码性能测试综合值满足第二预设条件的待选硬件平台。C. On the typical video codec program, all the test chip sources in the test chip source subset corresponding to the preset video technical indicators are coded and tested for each candidate hardware platform in the candidate hardware platform. Evaluate to obtain a candidate hardware platform whose codec performance test comprehensive value satisfies the second preset condition.
优选地,所述编解码性能测试评估的过程为:在相应的硬件平台上将对应的测试片源在相应视频编解码程序上播放,对播放所得的图像的主观视觉质量、客观保真度和色彩三个方面的质量进行综合评估,以得到相应视频编解码程序或相应待选硬件平台的编解码性能评估值。Preferably, the process of the codec performance test evaluation is: playing the corresponding test film source on the corresponding video codec on the corresponding hardware platform, subjective visual quality, objective fidelity and the image obtained by the play. The quality of the three aspects of color is comprehensively evaluated to obtain the codec performance evaluation value of the corresponding video codec or the corresponding candidate hardware platform.
优选地,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;Preferably, the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
所述步骤B包括:在预设的硬件平台上,依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The step B includes: sequentially, on the preset hardware platform, all the test chip sources in the test chip source subset corresponding to each preset video technical indicator to each video codec in the video codec library. Performing a codec performance test evaluation to obtain a typical video codec corresponding to the first preset condition corresponding to each preset video technical indicator;
所述步骤C包括:The step C includes:
C1、依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;C1, in turn, in the typical video codec corresponding to each preset video technical indicator, all the test film sources in the test chip source subset corresponding to the corresponding preset video technical indicators are for each of all the selected hardware platforms. Selecting a hardware platform for performing a codec performance test evaluation to obtain a codec performance test value corresponding to a corresponding preset video technical indicator of each candidate hardware platform;
C2、根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。C2. Set weight values for two or more codec performance test values corresponding to two or more preset video technical indicators of each candidate hardware platform according to preset requirements, and obtain each candidate hardware in a weighted average manner. The integrated value of the codec performance test corresponding to the two or more preset video technical indicators of the platform, thereby obtaining the candidate hardware platform whose codec performance test comprehensive value is greater than the preset comprehensive value.
优选地,所述步骤B具体包括:Preferably, the step B specifically includes:
B1、将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;B1. All test source sources in the test slice source subset corresponding to the preset video technical indicators are classified according to a preset hierarchical rule, and are divided into different levels of secondary test piece source subsets corresponding to the preset hierarchical rules;
B2、在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;B2. On the preset hardware platform, all test chip sources in the secondary test chip source subset of the preset level are subjected to codec performance test evaluation for each video codec in the video codec library, and The codec performance test evaluation value is used as the initial clustering center of the K-means algorithm;
B3、在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;B3. On the preset hardware platform, all the test film sources except the secondary test piece source subset of the preset level in the test chip source subset corresponding to the preset video technical indicators are used for each of the video coding and decoding programs. A video codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
B4、通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。B4. The K-means algorithm performs processing to sort all the video codecs in the video codec library according to the performance and the inferiority, and selects the video codec in the front row to be matched with the preset video technical indicators. Typical video codec.
优选地,所述步骤A之前还包括:Preferably, before the step A, the method further includes:
D、检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。D. Retrieve the newly released test film source, update the newly released test film source to the test film source library, and retrieve the newly released video codec and update the newly released video codec to the video. Codec library.
优选地,所述步骤D还包括:在视频编解码程序库中删除版本过低的视频编解码程序。Preferably, the step D further comprises: deleting a video codec that is too low in the video codec library.
此外,为实现上述目的,本发明还提供一种选择视频编解码硬件平台的装置,包括:In addition, to achieve the above object, the present invention further provides an apparatus for selecting a video codec hardware platform, including:
片源分类模块,用于将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集;The source source classification module is configured to classify all test film sources in the test source library according to a preset classification rule, and divide into different test chip source subsets corresponding to different video technical indicators;
典型程序评估模块,用于在预设硬件平台上将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module is configured to code and decode each video codec in the video codec library in the test chip source subset corresponding to the preset video technical indicator on the preset hardware platform. Testing and evaluating to obtain a typical video codec corresponding to the first preset condition corresponding to the preset video technical indicator;
硬件评估模块,用于在典型视频编解码程序上将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到性能测试综合值满足第二预设条件的待选硬件平台。The hardware evaluation module is configured to code and decode all the test chip sources in the test chip source subset corresponding to the preset video technical indicators on each of the candidate hardware platforms in the candidate video codec. The test is evaluated to obtain a candidate hardware platform whose performance test comprehensive value satisfies the second preset condition.
优选地,所述编解码性能测试评估的过程为:在相应的硬件平台上将对应的测试片源在相应视频编解码程序上播放,对播放所得的图像的主观视觉质量、客观保真度和色彩三个方面的质量进行综合评估,以得到相应视频编解码程序或相应待选硬件平台的编解码性能评估值。Preferably, the process of the codec performance test evaluation is: playing the corresponding test film source on the corresponding video codec on the corresponding hardware platform, subjective visual quality, objective fidelity and the image obtained by the play. The quality of the three aspects of color is comprehensively evaluated to obtain the codec performance evaluation value of the corresponding video codec or the corresponding candidate hardware platform.
优选地,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;Preferably, the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
所述典型程序评估模块用于在预设的硬件平台上依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module is configured to sequentially encode and decode each video source in the video codec library in the test chip source subset corresponding to each preset video technical indicator on a preset hardware platform. The program performs a codec performance test evaluation to obtain a typical video codec program corresponding to the first preset condition corresponding to each preset video technical indicator;
所述硬件评估模块用于依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;以及用于根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。The hardware evaluation module is configured to sequentially, in a typical video codec corresponding to each preset video technical indicator, all test source sources in the test chip source subset corresponding to the corresponding preset video technical indicators to all the selected hardware platforms. Each candidate hardware platform performs a codec performance test evaluation to obtain a codec performance test value corresponding to a corresponding preset video technical indicator of each candidate hardware platform; and is used for each waiting according to a preset requirement Selecting two or more codec performance test values corresponding to two or more preset video technical indicators of the hardware platform to set weight values, and obtaining two or more preset video technologies for each candidate hardware platform in a weighted average manner The integrated value of the codec performance test corresponding to the indicator, thereby obtaining the candidate hardware platform whose codec performance test comprehensive value is greater than the preset comprehensive value.
优选地,所述片源分类模块还用于将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;Preferably, the slice source classification module is further configured to classify all the test piece sources in the test piece source subset corresponding to the preset video technical indicators according to a preset classification rule, and divide into different levels corresponding to the preset classification rules. Secondary test chip source subset;
所述典型程序评估模块包括初始聚类中心获取单元、聚类依据获取单元以及排序单元:The typical program evaluation module includes an initial cluster center acquisition unit, a cluster basis acquisition unit, and a sort unit:
初始聚类中心获取单元,用于在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;The initial clustering center acquiring unit is configured to compile each video codec in the video codec library in the preset level of the secondary test chip source subset on the preset hardware platform. Decoding performance test evaluation, and the obtained codec performance test evaluation value is used as an initial clustering center of the K-means algorithm;
聚类依据获取单元,用于在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;The clustering obtaining unit is configured to: on the preset hardware platform, all test film sources except a subset of the secondary test piece source of the preset level in the test chip source subset corresponding to the preset video technical index Each video codec in the codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
排序单元,用于通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。a sorting unit for sorting all video codecs in the video codec library by performance calculation by K-means algorithm, and selecting a video codec located in the top of the sorting as a preset video technology A typical video codec corresponding to the indicator.
优选地,所述选择视频编解码硬件平台的装置还包括更新模块,该更新模块用于检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及用于检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。Preferably, the device for selecting a video codec hardware platform further includes an update module, configured to retrieve a newly released test slice source, and update the newly released test slice source to the test slice source library, and use Retrieve the newly released video codec and update the newly released video codec to the video codec library.
优选地,所述更新模块还用于在视频编解码程序库中删除版本过低的视频编解码程序。Preferably, the update module is further configured to delete a video codec that is too low in the video codec library.
本发明所提供的选择视频编解码硬件平台的方法通过将测试片源库中的所有测试片源进行分类,以便于在对不同的待选硬件平台进行针对某视频技术指标的编解码性能测试评估时,能快速的找到合适的对应测试片源,提高评估测试的时效性;还通过K-means算法获得与预设视频技术指标对应的典型视频编解码程序,使得将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一待选硬件平台进行编解码性能测试评估时,只需要在与预设视频技术指标对应的典型视频编解码程序进行编解码性能测试评估,而无需在其他的非典型视频编解码程序进行编解码性能测试评估,从而能大量的减少评估过程的评估测试工作量,提升评估测试的效率;还通过加权平均的方式综合两个以上预设视频技术指标的编解码性能评估结果,以得出最终的目标硬件平台,能提高评估测试的准确性。The method for selecting a video codec hardware platform provided by the present invention classifies all the test chip sources in the test chip source library, so as to perform test evaluation on the codec performance of a certain video technical indicator on different candidate hardware platforms. When you can quickly find the appropriate corresponding test source, improve the timeliness of the evaluation test; also obtain the typical video codec corresponding to the preset video technical indicators through the K-means algorithm, so that it will correspond to the preset video technical indicators. When all the test chip sources in the test chip source subset evaluate the codec performance test for each candidate hardware platform, only the typical video codec corresponding to the preset video technical specification needs to perform the codec performance test evaluation, and There is no need to perform codec performance test evaluation in other atypical video codecs, which can greatly reduce the evaluation test workload of the evaluation process and improve the efficiency of the evaluation test. It also integrates two or more preset video technologies by weighted average method. The codec performance evaluation results of the indicator to arrive at the final target hardware platform, Can improve the accuracy of the evaluation test.
附图说明DRAWINGS
图1为本发明选择视频编解码硬件平台的方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for selecting a video codec hardware platform according to the present invention;
图2为图1中通过K-means算法得到预设视频技术指标对应的典型视频编解码程序的步骤的细化流程示意图;2 is a schematic flowchart showing the steps of obtaining a typical video codec program corresponding to a preset video technical indicator by the K-means algorithm in FIG. 1;
图3为图1中在典型视频编解码程序上对每一待选硬件平台进行编解码性能测试评估以得到目标硬件平台的步骤的细化流程示意图;3 is a schematic diagram of a detailed process of the steps of performing a codec performance test evaluation on each candidate hardware platform to obtain a target hardware platform in a typical video codec program in FIG. 1;
图4为本发明选择视频编解码硬件平台的方法另一实施例的流程示意图;4 is a schematic flowchart diagram of another embodiment of a method for selecting a video codec hardware platform according to the present invention;
图5为本发明选择视频编解码硬件平台的装置一实施例的功能模块示意图;5 is a schematic diagram of functional modules of an apparatus for selecting a video codec hardware platform according to an embodiment of the present invention;
图6为图5中典型程序评估模块的细化功能模块示意图;6 is a schematic diagram of a refinement function module of the typical program evaluation module of FIG. 5;
图7为本发明选择视频编解码硬件平台的装置另一实施例的功能模块示意图。FIG. 7 is a schematic diagram of functional modules of another embodiment of a device for selecting a video codec hardware platform according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
目前,市面上的视频编解码程序有很多,如DivX、WMV、RealVideo、Cinepak等;表征视频性能的视频技术指标也有多种,如分辨率、码率、帧率以及压缩比等;用于加载视频编解码程序以播放视频的硬件平台(如智能电视、电脑等)的配置亦是不唯一的;在一硬件平台上,不同的视频编码器上播放相同的测试片源时,观看者会有不一样的观感;在一版本的视频编码器上,于不同的硬件平台上播放相同的测试片源时,观看者也会有不一样的观感。研发工程师在针对项目要求研发新的视频编解码硬件平台的过程中,通常需要在多个待选的硬件平台中选出综合性能优异的目标硬件平台。At present, there are many video codec programs on the market, such as DivX, WMV, RealVideo, Cinepak, etc.; there are various video technical indicators for characterizing video performance, such as resolution, bit rate, frame rate and compression ratio; The video codec program is not unique in the configuration of the hardware platform (such as smart TV, computer, etc.) for playing video; on a hardware platform, when playing the same test source on different video encoders, the viewer will have Different look and feel; on a version of the video encoder, when playing the same test source on different hardware platforms, the viewer will have a different look and feel. In the process of developing a new video codec hardware platform for project requirements, R&D engineers usually need to select a target hardware platform with excellent comprehensive performance among multiple candidate hardware platforms.
本发明提供一种选择视频编解码硬件平台的方法。The present invention provides a method of selecting a video codec hardware platform.
参照图1,在一实施例中,该选择视频编解码硬件平台的方法包括:Referring to FIG. 1, in an embodiment, the method for selecting a video codec hardware platform includes:
步骤S10,将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集。In step S10, all the test chip sources in the test source library are classified according to a preset classification rule, and are divided into different test chip source subsets corresponding to different video technical indicators.
在本实施例中,测试片源库用于收集较为权威或专业的视频编解码测试机构(比如某些主流视频编解码程序的厂家或者国际电信联盟等标准机构)针对不同的视频技术指标发布的与之对应的测试片源;在对待选硬件平台进行编解码性能测试评估前,先将测试片源库中的所有测试片源进行分类,分类规则为将用于测试相同视频技术指标的测试片源分在同一测试片源子集里,以便于在对不同编解码硬件平台进行针对某视频技术指标的编解码性能测试评估时,能快速的找到合适的对应测试片源,提高评估测试的时效性;另外,在对不同编解码硬件平台进行针对某视频技术指标的编解码性能测试评估时,不进行与该视频技术指标不对应的测试片源的评估,能大量的减少评估过程的评估测试工作量,能提升评估测试的效率。In this embodiment, the test source library is used to collect more authoritative or professional video codec test institutions (such as some mainstream video codec manufacturers or standard organizations such as the International Telecommunication Union) for different video technical indicators. The corresponding test chip source; before testing the codec performance test of the hardware platform to be selected, first classify all test film sources in the test source library, and the classification rule is a test piece that will be used to test the same video technical index. The source points are in the same test source subset, so that when the codec performance test for a certain video technology indicator is evaluated on different codec hardware platforms, the corresponding corresponding test source can be quickly found, and the time limit of the evaluation test can be improved. In addition, when the codec performance test for a certain video technology indicator is performed on different codec hardware platforms, the evaluation of the test film source that does not correspond to the video technical indicator is not performed, and the evaluation test of the evaluation process can be greatly reduced. The workload can improve the efficiency of the evaluation test.
步骤S20,在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序。Step S20: Perform, on a preset hardware platform, all the test chip sources in the test chip source subset corresponding to the preset video technical indicators, and perform codec performance test evaluation on each video codec in the video codec library. And obtaining a typical video codec that meets the first preset condition corresponding to the preset video technical indicator.
由于现行出现的视频编解码程序有很多,对于既定的视频编解码程序,针对不同的视频技术指标其编解码性能会有不同;在本实施例中,现行出现的视频编解码程序收集在视频编解码程序库中,在待选硬件平台进行编解码性能测试评估前,先在预设的硬件平台(本实施例中,预设的硬件平台为成熟的硬件平台,比如电脑)上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一视频编解码程序进行编解码性能测试评估,将所有视频编解码程序按编解码性能测试评估所得的性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序,本实施例中,第一预设条件为性能排序排在前列,当然,典型视频编解码程序可以有多个,通常的可以选性能排序排在前三的三个视频编解码程序为与预设视频技术指标对应的典型视频编解码程序。Since there are many video codec programs that are currently available, for a given video codec, the codec performance may be different for different video technical indicators; in this embodiment, the currently occurring video codec is collected in the video code. In the decoding library, before the evaluation of the codec performance test of the candidate hardware platform, the preset hardware platform (in this embodiment, the preset hardware platform is a mature hardware platform, such as a computer), All the test chip sources in the test chip source subset corresponding to the video technical indicators are subjected to codec performance test evaluation for each video codec program, and all video codecs are sorted according to the performance and performance of the codec performance test evaluation. The video codec in the top of the sorting is selected as a typical video codec corresponding to the preset video technical indicator. In this embodiment, the first preset condition is that the performance sorting is in the forefront, of course, the typical video codec There can be more than one, usually you can choose the performance of the top three video codecs in the top three as the default Specifications frequency corresponding to typical video codecs.
步骤S30,在所述典型视频编解码程序上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到编解码性能测试综合值满足第二预设条件的待选硬件平台。Step S30, on the typical video codec, all the test chip sources in the test chip source subset corresponding to the preset video technical indicators are coded and decoded for each candidate hardware platform in all the selected hardware platforms. The test is evaluated to obtain a candidate hardware platform whose codec performance test comprehensive value satisfies the second preset condition.
在本实施例中,将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一待选硬件平台进行编解码性能测试评估时,只需要在与预设视频技术指标对应的典型视频编解码程序进行编解码性能测试评估,而无需在其他的非典型视频编解码程序进行编解码性能测试评估,从而能大量的减少评估过程的评估测试工作量,提升评估测试的效率;本实施例中,在对每一待选硬件平台进行针对预设视频技术指标的编解码性能测试评估时,会得到相应的编解码性能测试综合值,当某待选硬件平台的相应的编解码性能测试综合值大于预设综合值时,该待选硬件平台为目标硬件平台。In this embodiment, when all test chip sources in the test chip source subset corresponding to the preset video technical indicators are subjected to codec performance test evaluation for each candidate hardware platform, only need to correspond to preset video technical indicators. The typical video codec performs the codec performance test evaluation without the need for codec performance test evaluation in other atypical video codecs, which can greatly reduce the evaluation test workload of the evaluation process and improve the efficiency of the evaluation test; In this embodiment, when the codec performance test for the preset video technical indicator is performed on each candidate hardware platform, the corresponding codec performance test comprehensive value is obtained, and the corresponding codec of the candidate hardware platform is selected. When the performance test comprehensive value is greater than the preset comprehensive value, the candidate hardware platform is the target hardware platform.
在本实施例中,无论是在预设的硬件平台上通过测试片源对视频编解码程序进行编解码性能测试评估,还是在典型视频编解码程序上通过测试片源对待选硬件平台进行编解码性能测试评估,其编解码性能测试评估的过程都是相似的,具体的,在预设的硬件平台上将测试片源在被测视频编解码程序上播放或在待选硬件平台上将测试片源在典型视频编解码程序上播放,通过对播放所得的图像的质量进行评估来评估被测视频编解码程序或待选硬件平台的编解码性能优劣,优选地,对播放所得的图像的质量进行以下三个方面的评估:一、对播放所得的图像的主观视觉质量进行评估,其评估子项目可包括但不限于失真敏感度、清晰度和边缘失真等,其评估手段可通过但不限于问卷调查等进行;二、对播放所得的图像的客观保真度进行评估,其评估子项目可以包括但不限于亮度表现度、对比表现度和结构相似度等;三、对播放所得的图像的色彩进行评估,其评估子项目可以包括但不限于色调、亮度和饱和度等;在对播放所得的图像的质量进行以上三个方面的评估时,可以但不限于基于预设的评分标准对播放所得的图像针对每一评估子项目进行评分,最后以所有评估子项目的评分和值或者所有评估子项目的平均评分值作为被测视频编解码程序或待选硬件平台的编解码性能评估值,根据不同被测视频编解码程序或不同待选硬件平台对应的编解码性能评估值大小来比较其编解码性能的优劣,常规的,编解码性能评估值较大的被测视频编解码程序或待选硬件平台的编解码性能较优。In this embodiment, whether the video codec is coded and tested by the test chip source on the preset hardware platform, or the codec source is used to encode and decode the hardware platform in the typical video codec. Performance test evaluation, the process of codec performance test evaluation is similar, specifically, the test chip source is played on the measured video codec program on the preset hardware platform or the test piece is on the candidate hardware platform. The source is played on a typical video codec program, and the quality of the coded video codec or the hardware platform to be selected is evaluated by evaluating the quality of the image obtained by the playback. Preferably, the quality of the image obtained by the playback is optimized. The following three aspects are evaluated: 1. The subjective visual quality of the images obtained by the broadcast is evaluated, and the evaluation sub-items may include, but are not limited to, distortion sensitivity, sharpness, and edge distortion, etc., and the evaluation means may be passed through but not limited to Questionnaires, etc.; second, evaluate the objective fidelity of the images obtained by the broadcast, and the evaluation sub-projects can Including but not limited to brightness performance, contrast performance and structural similarity, etc.; third, the color of the image obtained by the broadcast is evaluated, and the evaluation sub-items may include, but are not limited to, hue, brightness, saturation, etc.; The quality of the image is evaluated in the above three aspects. It can be, but is not limited to, scoring the image obtained for each evaluation sub-item based on the preset scoring criteria, and finally evaluating the score and value or all the evaluations of all the evaluation sub-items. The average score value of the sub-item is used as the codec performance evaluation value of the video codec program or the candidate hardware platform to be tested, and the codec performance evaluation value corresponding to different test video codec programs or different candidate hardware platforms is compared. The pros and cons of the codec performance, the conventional codec decoding program with a large evaluation value of the codec performance or the codec performance of the candidate hardware platform is superior.
进一步地,在本实施例中,参照图2,当预设视频技术指标为一个时,步骤S20具体包括:Further, in this embodiment, referring to FIG. 2, when the preset video technical indicator is one, step S20 specifically includes:
步骤S21,将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集。Step S21: All the test film sources in the test film source subset corresponding to the preset video technical indicators are classified according to a preset hierarchical rule, and are divided into different levels of secondary test film source subsets corresponding to the preset hierarchical rules.
步骤S22,在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;Step S22, on the preset hardware platform, all the test chip sources in the secondary test chip source subset of the preset level are subjected to codec performance test evaluation for each video codec in the video codec library, and The obtained codec performance test evaluation value is used as the initial clustering center of the K-means algorithm;
步骤S23,在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;Step S23, on the preset hardware platform, all the test film sources except the secondary test piece source subset of the preset level in the test chip source subset corresponding to the preset video technical index are used in all the video codec programs. Each video codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
步骤S24,通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。Step S24, sorting all the video codecs in the video codec library by performance calculation by the calculation process of the K-means algorithm, and selecting the video codec in the front row to be matched with the preset video technical indicators. Typical video codec.
在本实施例中,通过K-means算法获得与预设视频技术指标对应的典型视频编解码程序,在进行K-means算法的计算处理前需要获得其初始聚类中心以及聚类依据,本实施例通过将与预设视频技术指标对应的测试片源子集分成与预设分级规则对应的不同等级的二次测试片源子集,以便于在获取初始聚类中心时能仅通过其中某一等级(通常的选择其中间等级,以使得初始聚类中心有良好的收敛性)的二次测试片源子集的测试即可,从而减少获取初始聚类中心的测试量,提高提升评估测试的效率,特别的,当二次测试片源子集中的片源类似度较高时,甚至可以仅通过该二次测试片源子集中的部分片源的测试即可获得初始聚类中心。In this embodiment, a typical video codec corresponding to the preset video technical index is obtained by the K-means algorithm, and the initial cluster center and the clustering basis need to be obtained before the K-means algorithm is processed. For example, the test chip source subset corresponding to the preset video technical indicator is divided into different levels of secondary test piece source subsets corresponding to the preset hierarchical rule, so that only one of the initial cluster centers can be obtained when acquiring the initial cluster center. The test of the secondary test source subset of the level (usually selecting the intermediate level so that the initial clustering center has good convergence) can reduce the test volume of the initial cluster center and improve the evaluation test. Efficiency, in particular, when the similarity of the source of the secondary test piece source subset is high, the initial cluster center can be obtained even by testing only a part of the source of the secondary test piece source subset.
下面预设视频技术指标以分辨率为例,阐述如何获得与分辨率对应的典型视频编解码程序:The following preset video technical indicators take the resolution as an example to illustrate how to obtain a typical video codec corresponding to the resolution:
首先,将与分辨率对应的测试片源子集中的所有测试片源根据其自身的分辨率大小近似度进行等级划分,例如对于现行的分辨率测试片源子集中的所有测试片源按照176×144、352×288、1280×720、1920×1080进行四个等级的划分;接着,在获取对应的初始聚类中心时,可将分辨率为1280×720的等级(中间等级,当然这里也可选择分辨率为352×288的)的二次测试片源子集中的测试片源在预设的硬件平台上对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估;而在获取对应的聚类依据时,将其余等级的二次测试片源子集中的所有测试片源在预设的硬件平台上对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估;最后,通过K-means算法的计算处理将所有视频编解码程序按性能优劣进行排序,以便于选取位于排序前列的视频编解码程序为与分辨率对应的典型视频编解码程序。First, all test chip sources in the subset of test chip sources corresponding to the resolution are classified according to their own resolution size approximation. For example, for all test chip sources in the current resolution test chip source subset, according to 176× 144, 352×288, 1280×720, 1920×1080 perform four levels of division; then, when acquiring the corresponding initial cluster center, the resolution can be 1280×720 (intermediate level, of course, here too) The test slice source in the secondary test chip source subset of the selected resolution 352×288 is subjected to codec performance test evaluation for each video codec in all video codecs on a preset hardware platform; When obtaining the corresponding clustering basis, all the test chip sources in the remaining level of the secondary test chip source subset are coded and decoded on each of the video codec programs on the preset hardware platform. Test evaluation; finally, all video codecs are sorted by performance according to the calculation process of K-means algorithm, so as to select the video editing in the top of the sorting. A typical procedure for the resolution of video codecs corresponds.
需要强调的是,对于不同的视频技术指标,与其对应的典型视频编解码程序通常是不同的,故当预设视频技术指标为两个以上时,需要针对不同的视频技术指标分别执行步骤S21至步骤S24,以获得与相应视频技术指标对应的相应典型视频编解码程序。即,当预设视频技术指标为两个以上时,步骤S20为:在预设的硬件平台上,依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序。It should be emphasized that, for different video technical indicators, the corresponding video codec is usually different from each other. Therefore, when the preset video technical indicators are two or more, step S21 needs to be performed separately for different video technical indicators. Step S24, to obtain a corresponding typical video codec corresponding to the corresponding video technical indicator. That is, when the preset video technical indicators are two or more, step S20 is: sequentially, on the preset hardware platform, all the test film source pairs in the test chip source subset corresponding to each preset video technical indicator. Each video codec in the codec library performs a codec performance test evaluation to obtain a typical video codec corresponding to the first preset condition corresponding to each preset video technical indicator.
进一步地,在本实施例中,参照图3,当预设视频技术指标为两个以上时,步骤S30包括:Further, in this embodiment, referring to FIG. 3, when the preset video technical indicators are two or more, step S30 includes:
步骤S31,依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;Step S31: sequentially, in the typical video codec corresponding to each preset video technical indicator, all test source sources in the test slice source subset corresponding to the corresponding preset video technical indicators to each of all the selected hardware platforms. The candidate hardware platform performs the codec performance test evaluation to obtain the codec performance test value corresponding to the corresponding preset video technical indicator of each candidate hardware platform;
步骤S32,将每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值进行综合整理,以得到每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值满足第二预设条件的待选硬件平台。Step S32, synthesizing two or more codec performance test values corresponding to two or more preset video technical indicators of each candidate hardware platform, to obtain two or more preset videos of each candidate hardware platform. The comprehensive value of the codec performance test corresponding to the technical indicator, thereby obtaining the candidate hardware platform whose integrated value of the codec performance test satisfies the second preset condition.
在本实施例中,当预设视频技术指标为两个以上时,由于每一预设视频技术指标对应的典型视频编解码程序通常是不同的,故需要依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,评估测试将得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值,显然,每一待选硬件平台的编解码性能测试值也为两个以上,通过对该两个以上编解码性能测试值进行综合整理得到编解码性能测试综合值,在与预设综合值进行比对,编解码性能测试综合值大于预设综合值的待选硬件平台为目标硬件平台。In this embodiment, when the preset video technical indicators are two or more, since the typical video codec programs corresponding to each preset video technical indicator are usually different, it is required to sequentially correspond to each preset video technical indicator. The typical video codec program will perform all the test chip sources in the test chip source subset corresponding to the corresponding preset video technical indicators, and perform codec performance test evaluation and evaluation test on each candidate hardware platform in all the selected hardware platforms. The codec performance test value corresponding to the corresponding preset video technical indicator of each candidate hardware platform is obtained. Obviously, the codec performance test value of each candidate hardware platform is also two or more, and the two or more are passed. The codec performance test value is comprehensively compiled to obtain the integrated value of the codec performance test, and is compared with the preset integrated value, and the candidate hardware platform whose codec performance test value is greater than the preset comprehensive value is the target hardware platform.
本实施例中,具体地,步骤S32具体为根据预设需求(研发项目的需求)为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。例如,当研发项目要求目标硬件平台能针对不分辨率和码率有较好的编解码性能,其中分辨率尤为重要,如此,可将分辨率对应的编解码性能测试值设置为大于0.5,而将码率对应的编解码性能测试值设置为小于0.5,以加权平均的方式获得每一待选硬件平台的编解码性能测试综合值,再与预设综合值进行比较。本实施例通过综合两个以上预设视频技术指标的编解码性能评估结果,以得出最终的目标硬件平台,能提高评估测试的准确性。In this embodiment, specifically, step S32 is specifically, according to the preset requirement (required for the research and development project), two or more codec performance test values corresponding to two or more preset video technical indicators of each candidate hardware platform are respectively The weight value is set, and the coded performance test comprehensive value corresponding to the two or more preset video technical indicators of each candidate hardware platform is obtained in a weighted average manner, so that the integrated value of the codec performance test is greater than the preset comprehensive value. Optional hardware platform. For example, when the R&D project requires the target hardware platform to have better codec performance for no resolution and code rate, the resolution is especially important. Therefore, the codec performance test value corresponding to the resolution can be set to be greater than 0.5, and The codec performance test value corresponding to the code rate is set to be less than 0.5, and the coded performance test comprehensive value of each candidate hardware platform is obtained in a weighted average manner, and then compared with the preset integrated value. In this embodiment, by combining the codec performance evaluation results of two or more preset video technical indicators to obtain a final target hardware platform, the accuracy of the evaluation test can be improved.
本实施例所提供的选择视频编解码硬件平台的方法通过将测试片源库中的所有测试片源进行分类,以便于在对不同的待选硬件平台进行针对某视频技术指标的编解码性能测试评估时,能快速的找到合适的对应测试片源,提高评估测试的时效性;还通过K-means算法获得与预设视频技术指标对应的典型视频编解码程序,使得将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一待选硬件平台进行编解码性能测试评估时,只需要在与预设视频技术指标对应的典型视频编解码程序进行编解码性能测试评估,而无需在其他的非典型视频编解码程序进行编解码性能测试评估,从而能大量的减少评估过程的评估测试工作量,提升评估测试的效率;还通过加权平均的方式综合两个以上预设视频技术指标的编解码性能评估结果,以得出最终的目标硬件平台,能提高评估测试的准确性。The method for selecting a video codec hardware platform provided by this embodiment classifies all test chip sources in the test chip source library, so as to perform codec performance test on a certain candidate hardware platform for a certain video technical indicator. During the evaluation, it can quickly find the appropriate corresponding test source and improve the timeliness of the evaluation test. The K-means algorithm also obtains the typical video codec corresponding to the preset video technical indicators, so that it will be compared with the preset video technical indicators. When all the test chip sources in the corresponding test chip source subset perform the codec performance test evaluation on each candidate hardware platform, only the typical video codec program corresponding to the preset video technical indicator needs to perform the codec performance test evaluation. There is no need to perform codec performance test evaluation in other atypical video codecs, which can greatly reduce the evaluation test workload of the evaluation process and improve the efficiency of the evaluation test. It also integrates more than two preset videos by weighted average method. Codec performance evaluation results of technical indicators to arrive at the final target hardware platform Can improve the accuracy of the evaluation test.
参照图4,在本发明选择视频编解码硬件平台的方法前述实施例的基础上,在执行步骤S10之前,该选择视频编解码硬件平台的方法还包括:Referring to FIG. 4, based on the foregoing embodiment of the method for selecting a video codec hardware platform of the present invention, before the step S10 is performed, the method for selecting a video codec hardware platform further includes:
步骤S40,检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。Step S40, retrieving the newly released test piece source, updating the newly released test piece source to the test piece source library, and retrieving the newly released video codec and updating the newly released video codec to Video codec library.
由于数字多媒体技术的迅猛发展,编解码技术的发展也越来越快,具体的表现为视频编解码程序更新换代频繁,对应的测试片源也更新频繁,如此,若在对待选硬件平台进行编解码性能测试评估之前不把测试片源库以及视频编解码程序库进行更新,将难以保证用于对待选硬件平台进行编解码性能评估测试的测试片源以及视频编解码程序能覆盖重要编解码技术以及其发展趋势。本实施例中,对测试片源库以及视频编解码程序库进行更新的动作包括获取新的测试片源、新的视频编解码程序,以及将版本过低的视频编解码程序和已经不再使用的视频编解码程序删除、同时删除对应的测试片源等。在本实施例中,在将测试片源库中的所有测试片源按照预设分类规则进行分类之前,先检索以获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,同时检索以获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中,以保证用于对待选硬件平台进行编解码性能评估测试时能覆盖重要编解码技术以及其发展趋势。Due to the rapid development of digital multimedia technology, the development of codec technology is getting faster and faster. The specific performance is that the video codec program is updated frequently, and the corresponding test source is also updated frequently. If so, if the hardware platform is to be edited. Before the decoding performance test evaluation, the test source library and the video codec library are not updated, and it is difficult to ensure that the test film source and the video codec program for the codec performance evaluation test of the hardware platform to be selected can cover important codec technology. And its development trend. In this embodiment, the actions of updating the test fragment source library and the video codec library include acquiring a new test film source, a new video codec, and a video encoding and decoding program that is too low in version and no longer used. The video codec is deleted, and the corresponding test film source is deleted at the same time. In this embodiment, before all the test piece sources in the test piece source library are classified according to the preset classification rule, the new test sample source is retrieved, and the newly released test piece source is updated to the test piece. In the source library, simultaneously retrieve to obtain the newly released video codec, and update the newly released video codec to the video codec library to ensure that the codec performance evaluation test can be used for the hardware platform to be selected. Cover important codec technology and its development trends.
需要强调的是,在本实施例中,测试片源库和视频编解码程序库是相互独立的,将测试片源库中的测试片源按预设规则进行分类以及从视频编解码程序库中的所有视频编解码程序中选取出典型视频编解码程序也是相互独立的,如此,可提升整个选择视频编解码硬件平台过程的灵活性。It should be emphasized that, in this embodiment, the test source library and the video codec library are independent of each other, and the test source in the test source library is classified according to a preset rule and from the video codec library. The selection of typical video codecs in all video codecs is also independent of each other, thus improving the flexibility of the entire process of selecting a video codec hardware platform.
本发明进一步提供一种选择视频编解码硬件平台的装置。The present invention further provides an apparatus for selecting a video codec hardware platform.
参照图5,在一实施例中,该选择视频编解码硬件平台的装置,包括:Referring to FIG. 5, in an embodiment, the apparatus for selecting a video codec hardware platform includes:
片源分类模块10,用于将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集;The source classification module 10 is configured to classify all test film sources in the test source library according to preset classification rules, and divide into different test chip source subsets corresponding to different video technical indicators;
典型程序评估模块20,用于在预设硬件平台上将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module 20 is configured to code and decode each video codec in the video codec library in the test chip source subset corresponding to the preset video technical indicator on the preset hardware platform. Performing a performance test evaluation to obtain a typical video codec corresponding to the first preset condition corresponding to the preset video technical indicator;
硬件评估模块30,用于在典型视频编解码程序上将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到性能测试综合值满足第二预设条件的待选硬件平台。The hardware evaluation module 30 is configured to code and decode all the test chip sources in the test slice source subset corresponding to the preset video technical indicators on each of the candidate hardware platforms in the candidate video codec. The performance test is evaluated to obtain a candidate hardware platform whose performance test comprehensive value satisfies the second preset condition.
在本实施例中,片源分类模块10包括测试片源库,该测试片源库用于收集较为权威或专业的视频编解码测试机构(比如某些主流视频编解码程序的厂家或者国际电信联盟等标准机构)针对不同的视频技术指标发布的与之对应的测试片源;在对待选硬件平台进行编解码性能测试评估前,片源分类模块10先将测试片源库中的所有测试片源进行分类,分类规则为将用于测试相同视频技术指标的测试片源分在同一测试片源子集里,以便于在对不同编解码硬件平台进行针对某视频技术指标的编解码性能测试评估时,能快速的找到合适的对应测试片源,提高评估测试的时效性。In this embodiment, the slice source classification module 10 includes a test slice source library for collecting more authoritative or professional video codec test institutions (such as some mainstream video codec manufacturers or the International Telecommunication Union). The standard test organization source for the different video technical indicators is released; before the coded performance test evaluation of the selected hardware platform, the slice source classification module 10 first tests all the test source sources in the test source library. To classify, the classification rule is to divide the test piece sources used to test the same video technical indicators into the same test chip source subset, so as to perform the evaluation of the codec performance test for a certain video technical indicator on different codec hardware platforms. It can quickly find the appropriate corresponding test source and improve the timeliness of the evaluation test.
由于现行出现的视频编解码程序有很多,对于既定的视频编解码程序,针对不同的视频技术指标其编解码性能会有不同;在本实施例中,典型程序评估模块20包括视频编解码程序库,该视频编解码程序库用于收集现行出现的视频编解码程序;在待选硬件平台进行编解码性能测试评估前,典型程序评估模块20先在预设的硬件平台(本实施例中,预设的硬件平台为成熟的硬件平台,比如电脑)上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一视频编解码程序进行编解码性能测试评估,将所有视频编解码程序按编解码性能测试评估所得的性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序;本实施例中,第一预设条件为性能排序排在前列,当然,典型视频编解码程序可以有多个,通常的可以选性能排序排在前三的三个视频编解码程序为与预设视频技术指标对应的典型视频编解码程序。Since there are many video codec programs that are currently available, for a given video codec, the codec performance may be different for different video specifications. In this embodiment, the typical program evaluation module 20 includes a video codec library. The video codec library is used to collect the currently occurring video codec; before the candidate hardware platform performs the codec performance test evaluation, the typical program evaluation module 20 is first on the preset hardware platform (in this embodiment, The hardware platform is a mature hardware platform, such as a computer. All the test chip sources in the test chip source subset corresponding to the preset video technical indicators are subjected to codec performance test evaluation for each video codec program, and all will be evaluated. The video codec is sorted according to the performance of the codec performance test evaluation, and the video codec in the top of the sort is selected as a typical video codec corresponding to the preset video technical indicator; in this embodiment, A preset condition is that the performance ordering is in the forefront. Of course, there are multiple typical video codecs. Generally, the three video codecs ranked in the top three can be selected as the typical video codec corresponding to the preset video technical indicators.
在本实施例中,硬件评估模块30将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一待选硬件平台进行编解码性能测试评估时,只需要在与预设视频技术指标对应的典型视频编解码程序进行编解码性能测试评估,而无需在其他的非典型视频编解码程序进行编解码性能测试评估,从而能大量的减少评估过程的评估测试工作量,提升评估测试的效率;本实施例中,硬件评估模块30在对每一待选硬件平台进行针对预设视频技术指标的编解码性能测试评估时,会得到相应的编解码性能测试综合值,当某待选硬件平台的相应的编解码性能测试综合值大于预设综合值时,该待选硬件平台为目标硬件平台。In this embodiment, the hardware evaluation module 30 only needs to be in the preset with all the test chip sources in the test chip source subset corresponding to the preset video technical indicators for performing the codec performance test evaluation on each candidate hardware platform. The typical video codec corresponding to the video technical indicators evaluates the codec performance test without the need for codec performance test evaluation in other atypical video codecs, which can greatly reduce the evaluation test workload of the evaluation process and improve the evaluation. The efficiency of the test; in this embodiment, when the hardware evaluation module 30 performs the test and evaluation of the codec performance test for the preset video technical indicator for each candidate hardware platform, the corresponding codec performance test comprehensive value is obtained. When the corresponding codec performance test value of the selected hardware platform is greater than the preset integrated value, the candidate hardware platform is the target hardware platform.
在本实施例中,无论是在预设的硬件平台上通过测试片源对视频编解码程序进行编解码性能测试评估,还是在典型视频编解码程序上通过测试片源对待选硬件平台进行编解码性能测试评估,其编解码性能测试评估的过程都是相似的,具体的,在预设的硬件平台上将测试片源在被测视频编解码程序上播放或在待选硬件平台上将测试片源在典型视频编解码程序上播放,通过对播放所得的图像的质量进行评估来评估被测视频编解码程序或待选硬件平台的编解码性能优劣,优选地,对播放所得的图像的质量进行以下三个方面的评估:一、对播放所得的图像的主观视觉质量进行评估,其评估子项目可包括但不限于失真敏感度、清晰度和边缘失真等,其评估手段可通过但不限于问卷调查等进行;二、对播放所得的图像的客观保真度进行评估,其评估子项目可以包括但不限于亮度表现度、对比表现度和结构相似度等;三、对播放所得的图像的色彩进行评估,其评估子项目可以包括但不限于色调、亮度和饱和度等;在对播放所得的图像的质量进行以上三个方面的评估时,可以但不限于基于预设的评分标准对播放所得的图像针对每一评估子项目进行评分,最后以所有评估子项目的评分和值或者所有评估子项目的平均评分值作为被测视频编解码程序或待选硬件平台的编解码性能评估值,根据不同被测视频编解码程序或不同待选硬件平台对应的编解码性能评估值大小来比较其编解码性能的优劣,常规的,编解码性能评估值较大的被测视频编解码程序或待选硬件平台的编解码性能较优。In this embodiment, whether the video codec is coded and tested by the test chip source on the preset hardware platform, or the codec source is used to encode and decode the hardware platform in the typical video codec. Performance test evaluation, the process of codec performance test evaluation is similar, specifically, the test chip source is played on the measured video codec program on the preset hardware platform or the test piece is on the candidate hardware platform. The source is played on a typical video codec program, and the quality of the coded video codec or the hardware platform to be selected is evaluated by evaluating the quality of the image obtained by the playback. Preferably, the quality of the image obtained by the playback is optimized. The following three aspects are evaluated: 1. The subjective visual quality of the images obtained by the broadcast is evaluated, and the evaluation sub-items may include, but are not limited to, distortion sensitivity, sharpness, and edge distortion, etc., and the evaluation means may be passed through but not limited to Questionnaires, etc.; second, evaluate the objective fidelity of the images obtained by the broadcast, and the evaluation sub-projects can Including but not limited to brightness performance, contrast performance and structural similarity, etc.; third, the color of the image obtained by the broadcast is evaluated, and the evaluation sub-items may include, but are not limited to, hue, brightness, saturation, etc.; The quality of the image is evaluated in the above three aspects. It can be, but is not limited to, scoring the image obtained for each evaluation sub-item based on the preset scoring criteria, and finally evaluating the score and value or all the evaluations of all the evaluation sub-items. The average score value of the sub-item is used as the codec performance evaluation value of the video codec program or the candidate hardware platform to be tested, and the codec performance evaluation value corresponding to different test video codec programs or different candidate hardware platforms is compared. The pros and cons of the codec performance, the conventional codec decoding program with a large evaluation value of the codec performance or the codec performance of the candidate hardware platform is superior.
进一步地,在本实施例中,片源分类模块10还用于将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;Further, in this embodiment, the slice source classification module 10 is further configured to classify all test slice sources in the test slice source subset corresponding to the preset video technical indicators according to a preset hierarchical rule, and divide into and preset preset hierarchical rules. Corresponding different levels of secondary test chip source subsets;
参照图6,典型程序评估模块20具体包括初始聚类中心获取单元21、聚类依据获取单元22以及排序单元23:Referring to FIG. 6, the typical program evaluation module 20 specifically includes an initial cluster center obtaining unit 21, a clustering basis obtaining unit 22, and a sorting unit 23:
初始聚类中心获取单元21,用于在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;The initial clustering center acquiring unit 21 is configured to perform, on a preset hardware platform, all the test chip sources in the secondary test chip source subset of the preset level to each video codec in the video codec library. Codec performance test evaluation, the obtained codec performance test evaluation value as the initial clustering center of the K-means algorithm;
聚类依据获取单元22,用于在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;The clustering obtaining unit 22 is configured to: on the preset hardware platform, all the test chip source pairs except the secondary test piece source subset of the preset level in the test chip source subset corresponding to the preset video technical index Each video codec in the video codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
排序单元23,用于通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。The sorting unit 23 is configured to sort all the video codecs in the video codec library by performance calculation by the K-means algorithm, and select the video codec in the top of the sorting as the preset video. A typical video codec corresponding to the technical specifications.
在本实施例中,典型程序评估模块20通过K-means算法获得与预设视频技术指标对应的典型视频编解码程序;具体的,进行K-means算法的计算处理前需要获得其初始聚类中心以及聚类依据;本实施例通过片源分类模块10将与预设视频技术指标对应的测试片源子集分成与预设分级规则对应的不同等级的二次测试片源子集,以便于初始聚类中心获取单元21在获取初始聚类中心时能仅通过其中某一等级(通常的选择其中间等级,以使得初始聚类中心有良好的收敛性)的二次测试片源子集的测试即可,从而减少获取初始聚类中心的测试量,提高提升评估测试的效率,特别的,当二次测试片源子集中的片源类似度较高时,甚至可以仅通过该二次测试片源子集中的部分片源的测试即可获得初始聚类中心。In this embodiment, the typical program evaluation module 20 obtains a typical video codec corresponding to the preset video technical specification by using the K-means algorithm; specifically, the initial clustering center needs to be obtained before the K-means algorithm is processed. And the clustering basis; in this embodiment, the source of the test piece corresponding to the preset video technical indicator is divided into a subset of the secondary test piece source corresponding to the preset hierarchical rule by the slice source classification module 10, so as to facilitate the initial The cluster center acquisition unit 21 can test only a subset of the secondary test piece source when only one of the levels (usually selecting the middle level thereof so that the initial cluster center has good convergence) when acquiring the initial cluster center. That is, thereby reducing the amount of testing to obtain the initial clustering center, and improving the efficiency of the evaluation test. In particular, when the similarity of the source of the secondary test chip source subset is high, it is even possible to pass only the secondary test piece. The initial clustering center is obtained by testing a part of the source in the source subset.
下面预设视频技术指标以分辨率为例,阐述如何获得与分辨率对应的典型视频编解码程序:The following preset video technical indicators take the resolution as an example to illustrate how to obtain a typical video codec corresponding to the resolution:
首先,片源分类模块10将与分辨率对应的测试片源子集中的所有测试片源根据其自身的分辨率大小近似度进行等级划分,例如对于现行的分辨率测试片源子集中的所有测试片源按照176×144、352×288、1280×720、1920×1080进行四个等级的划分;接着,初始聚类中心获取单元21在获取对应的初始聚类中心时,可将分辨率为1280×720的等级(中间等级,当然这里也可选择分辨率为352×288的)的二次测试片源子集中的测试片源在预设的硬件平台上对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估;而聚类依据获取单元22在获取对应的聚类依据时,将其余等级的二次测试片源子集中的所有测试片源在预设的硬件平台上对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估;最后,排序单元23通过K-means算法的计算处理将所有视频编解码程序按性能优劣进行排序,以便于选取位于排序前列的视频编解码程序为与分辨率对应的典型视频编解码程序。First, the slice source classification module 10 classifies all test chip sources in the subset of test chip sources corresponding to the resolution according to their own resolution size approximation, for example, for all tests in the current resolution test chip source subset. The slice source is divided into four levels according to 176×144, 352×288, 1280×720, and 1920×1080; then, the initial cluster center acquiring unit 21 can obtain a resolution of 1280 when acquiring the corresponding initial cluster center. The test chip source of the secondary test chip source subset of the ×720 level (intermediate level, of course, the resolution can also be selected as 352×288) is on each of the video coding and decoding programs on the preset hardware platform. The video codec performs a codec performance test evaluation; and the clustering obtaining unit 22 obtains the corresponding clustering source of the remaining level of the second test piece source subset on the preset hardware platform. A codec performance test evaluation is performed for each video codec in all video codecs; finally, the sorting unit 23 compiles all the videos by the calculation process of the K-means algorithm. The decoding program is sorted according to the performance and the inferiority, so that the video codec located in the top of the sorting is selected as a typical video codec corresponding to the resolution.
需要强调的是,对于不同的视频技术指标,与其对应的典型视频编解码程序通常是不同的,故当预设视频技术指标为两个以上时,需要针对不同的视频技术指标通过K-means算法获得与相应视频技术指标对应的相应典型视频编解码程序。即,当预设视频技术指标为两个以上时,典型程序评估模块20具体用于在预设的硬件平台上,依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序。It should be emphasized that, for different video technical indicators, the corresponding typical video codec is usually different. Therefore, when the preset video technical indicators are more than two, the K-means algorithm needs to be adopted for different video technical indicators. Obtain the corresponding typical video codec corresponding to the corresponding video technical indicators. That is, when the preset video technical indicators are two or more, the typical program evaluation module 20 is specifically configured to sequentially perform all the tests in the test chip source subset corresponding to each preset video technical indicator on the preset hardware platform. The film source performs a codec performance test evaluation on each video codec in the video codec library to obtain a typical video codec corresponding to the first preset condition corresponding to each preset video technical indicator.
进一步地,在本实施例中,当预设视频技术指标为两个以上时,硬件评估模块30具体用于依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;以及用于将每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值进行综合整理,以得到每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值满足第二预设条件的待选硬件平台。Further, in this embodiment, when the preset video technical indicators are two or more, the hardware evaluation module 30 is specifically configured to sequentially and corresponding presets on a typical video codec corresponding to each preset video technical indicator. All test chip sources in the test chip source subset corresponding to the video technical indicators perform codec performance test evaluation on each candidate hardware platform of all the selected hardware platforms to obtain the corresponding preset video of each candidate hardware platform. The codec performance test value corresponding to the technical indicator; and the two or more codec performance test values corresponding to the two or more preset video technical indicators of each candidate hardware platform are comprehensively sorted to obtain each candidate to be selected The integrated value of the codec performance test corresponding to the two or more preset video technical indicators of the hardware platform, thereby obtaining the candidate hardware platform whose comprehensive value of the codec performance test meets the second preset condition.
在本实施例中,当预设视频技术指标为两个以上时,由于每一预设视频技术指标对应的典型视频编解码程序通常是不同的,故需要硬件评估模块30依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,评估测试将得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值,显然,每一待选硬件平台的编解码性能测试值也为两个以上,通过对该两个以上编解码性能测试值进行综合整理得到编解码性能测试综合值,在与预设综合值进行比对,编解码性能测试综合值大于预设综合值的待选硬件平台为目标硬件平台。In this embodiment, when the preset video technical indicators are more than two, since the typical video codec corresponding to each preset video technical indicator is usually different, the hardware evaluation module 30 is required to be in each preset. The typical video codec corresponding to the video technical indicator performs codec performance test on each of the candidate hardware platforms in all the candidate hardware platforms in the test chip source subset corresponding to the corresponding preset video technical indicators. The evaluation and evaluation test will obtain the codec performance test value corresponding to the corresponding preset video technical indicator of each candidate hardware platform. Obviously, the codec performance test value of each candidate hardware platform is also two or more. The two or more codec performance test values are comprehensively combined to obtain a comprehensive value of the codec performance test, which is compared with the preset integrated value, and the codec performance test value is greater than the preset integrated value of the candidate hardware platform as the target hardware platform. .
本实施例中,具体的,硬件评估模块30根据预设需求(研发项目的需求)为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。例如,当研发项目要求目标硬件平台能针对不分辨率和码率有较好的编解码性能,其中分辨率尤为重要,如此,硬件评估模块30可将分辨率对应的编解码性能测试值设置为大于0.5,而将码率对应的编解码性能测试值设置为小于0.5,以加权平均的方式获得每一待选硬件平台的编解码性能测试综合值,再与预设综合值进行比较。本实施例通过硬件评估模块30综合两个以上预设视频技术指标的编解码性能评估结果,以得出最终的目标硬件平台,能提高评估测试的准确性。In this embodiment, specifically, the hardware evaluation module 30 respectively determines, for each candidate hardware platform, two or more codec performance test values corresponding to two or more preset video technical indicators according to preset requirements (requirements of the research and development project). The weight value is set, and the coded performance test comprehensive value corresponding to the two or more preset video technical indicators of each candidate hardware platform is obtained in a weighted average manner, so that the integrated value of the codec performance test is greater than the preset comprehensive value. Optional hardware platform. For example, when the R&D project requires the target hardware platform to have better codec performance for no resolution and code rate, where resolution is particularly important, the hardware evaluation module 30 can set the codec performance test value corresponding to the resolution to If the codec performance test value corresponding to the code rate is set to be less than 0.5, the coded performance test integrated value of each candidate hardware platform is obtained in a weighted average manner, and then compared with the preset integrated value. In this embodiment, the hardware evaluation module 30 integrates the codec performance evaluation results of two or more preset video technical indicators to obtain a final target hardware platform, which can improve the accuracy of the evaluation test.
本实施例所提供的选择视频编解码硬件平台的装置通过片源分类模块10将测试片源库中的所有测试片源进行分类,以便于在对不同的待选硬件平台进行针对某视频技术指标的编解码性能测试评估时,能快速的找到合适的对应测试片源,提高评估测试的时效性;其典型程序评估模块20还通过K-means算法获得与预设视频技术指标对应的典型视频编解码程序,使得将与预设视频技术指标对应的测试片源子集中的所有测试片源对每一待选硬件平台进行编解码性能测试评估时,只需要在与预设视频技术指标对应的典型视频编解码程序进行编解码性能测试评估,而无需在其他的非典型视频编解码程序进行编解码性能测试评估,从而能大量的减少评估过程的评估测试工作量,提升评估测试的效率;其硬件评估模块30还通过加权平均的方式综合两个以上预设视频技术指标的编解码性能评估结果,以得出最终的目标硬件平台,能提高评估测试的准确性。The device for selecting a video codec hardware platform provided by this embodiment classifies all the test chip sources in the test chip source library by the slice source classification module 10, so as to perform a certain video technical index on different candidate hardware platforms. When the codec performance test is evaluated, the corresponding corresponding test chip source can be quickly found to improve the timeliness of the evaluation test; the typical program evaluation module 20 also obtains a typical video code corresponding to the preset video technical index through the K-means algorithm. The decoding process is such that when all the test chip sources in the test chip source subset corresponding to the preset video technical indicators are subjected to the codec performance test evaluation for each candidate hardware platform, only the typical corresponding to the preset video technical indicators is required. The video codec performs the codec performance test evaluation without the need for codec performance test evaluation in other atypical video codecs, which can greatly reduce the evaluation test workload of the evaluation process and improve the efficiency of the evaluation test; The evaluation module 30 also integrates two or more preset video technology fingers by means of weighted averaging The target codec performance evaluation results to arrive at the final target hardware platform can improve the accuracy of the evaluation test.
需要强调的是,在本实施例中,片源分类模块10、典型程序评估模块20以及硬件评估模块30三者之间有较高的独立性,各模块之间的耦合度较低,提升了选择视频编解码硬件平台的装置的灵活性,同时也提高了选择视频编解码硬件平台的装置的易维护性。It should be emphasized that, in this embodiment, the slice source classification module 10, the typical program evaluation module 20, and the hardware evaluation module 30 have high independence, and the coupling degree between the modules is low, which is improved. The flexibility of the device that selects the video codec hardware platform also improves the ease of maintenance of the device that selects the video codec hardware platform.
参照图7,在本发明选择视频编解码硬件平台的装置前述实施例的基础上,该选择视频编解码硬件平台的装置还包括:Referring to FIG. 7, in the foregoing embodiment of the apparatus for selecting a video codec hardware platform of the present invention, the apparatus for selecting a video codec hardware platform further includes:
更新模块40,用于检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及用于检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。The update module 40 is configured to retrieve a newly released test piece source, update the newly released test piece source to the test piece source library, and retrieve the newly released video codec and retrieve the newly released video. The codec is updated to the video codec library.
由于数字多媒体技术的迅猛发展,编解码技术的发展也越来越快,具体的表现为视频编解码程序更新换代频繁,对应的测试片源也更新频繁,如此,若在对待选硬件平台进行编解码性能测试评估之前,更新模块40不把测试片源库以及视频编解码程序库进行更新,将难以保证用于对待选硬件平台进行编解码性能评估测试的测试片源以及视频编解码程序能覆盖重要编解码技术以及其发展趋势。本实施例中,更新模块40对测试片源库以及视频编解码程序库进行更新的动作包括获取新的测试片源、新的视频编解码程序,以及将版本过低的视频编解码程序和已经不再使用的视频编解码程序删除、同时删除对应的测试片源等。在本实施例中,在片源分类模块10将测试片源库中的所有测试片源按照预设分类规则进行分类之前,更新模块40先检索以获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,同时检索以获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中,以保证用于对待选硬件平台进行编解码性能评估测试时能覆盖重要编解码技术以及其发展趋势。Due to the rapid development of digital multimedia technology, the development of codec technology is getting faster and faster. The specific performance is that the video codec program is updated frequently, and the corresponding test source is also updated frequently. If so, if the hardware platform is to be edited. Before the performance evaluation of the decoding test, the update module 40 does not update the test source library and the video codec library, and it is difficult to ensure that the test film source and the video codec can be covered for the codec performance evaluation test of the hardware platform to be selected. Important codec technology and its development trend. In this embodiment, the update module 40 updates the test fragment source library and the video codec library, including acquiring a new test slice source, a new video codec, and a version of the video codec that is too low. The video codec that is no longer used deletes, deletes the corresponding test source, and so on. In this embodiment, before the slice source classification module 10 classifies all the test slice sources in the test slice source library according to the preset classification rule, the update module 40 first searches to obtain the newly released test slice source, and the new release is performed. The test sample source is updated into the test source library, and retrieved to obtain the newly released video codec, and the newly released video codec is updated to the video codec library to ensure that the hardware platform is to be selected. It can cover important codec technology and its development trend when performing codec performance evaluation test.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种选择视频编解码硬件平台的方法,其特征在于,所述选择视频编解码硬件平台的方法包括以下步骤: A method for selecting a video codec hardware platform, wherein the method for selecting a video codec hardware platform comprises the following steps:
    A、将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集;A. classify all test film sources in the test source library according to preset classification rules, and divide into different test film source subsets corresponding to different video technical indicators;
    B、在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;B. On the preset hardware platform, all test film sources in the test chip source subset corresponding to the preset video technical indicators are subjected to codec performance test evaluation for each video codec in the video codec library. Obtaining a typical video codec program that meets the first preset condition corresponding to the preset video technical indicator;
    C、在所述典型视频编解码程序上,将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到编解码性能测试综合值满足第二预设条件的待选硬件平台。C. On the typical video codec program, all the test chip sources in the test chip source subset corresponding to the preset video technical indicators are coded and tested for each candidate hardware platform in the candidate hardware platform. Evaluate to obtain a candidate hardware platform whose codec performance test comprehensive value satisfies the second preset condition.
  2. 如权利要求1所述的选择视频编解码硬件平台的方法,其特征在于,所述编解码性能测试评估的过程为:在相应的硬件平台上将对应的测试片源在相应视频编解码程序上播放,对播放所得的图像的主观视觉质量、客观保真度和色彩三个方面的质量进行综合评估,以得到相应视频编解码程序或相应待选硬件平台的编解码性能评估值。The method for selecting a video codec hardware platform according to claim 1, wherein the process of evaluating the codec performance test is: placing a corresponding test piece source on a corresponding video codec on a corresponding hardware platform. Play, comprehensively evaluate the quality of the subjective visual quality, objective fidelity and color of the played image to obtain the codec performance evaluation value of the corresponding video codec or the corresponding candidate hardware platform.
  3. 如权利要求1所述的选择视频编解码硬件平台的方法,其特征在于,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;The method for selecting a video codec hardware platform according to claim 1, wherein the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
    所述步骤B包括:在预设的硬件平台上,依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The step B includes: sequentially, on the preset hardware platform, all the test chip sources in the test chip source subset corresponding to each preset video technical indicator to each video codec in the video codec library. Performing a codec performance test evaluation to obtain a typical video codec corresponding to the first preset condition corresponding to each preset video technical indicator;
    所述步骤C包括:The step C includes:
    C1、依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;C1, in turn, in the typical video codec corresponding to each preset video technical indicator, all the test film sources in the test chip source subset corresponding to the corresponding preset video technical indicators are for each of all the selected hardware platforms. Selecting a hardware platform for performing a codec performance test evaluation to obtain a codec performance test value corresponding to a corresponding preset video technical indicator of each candidate hardware platform;
    C2、根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。C2. Set weight values for two or more codec performance test values corresponding to two or more preset video technical indicators of each candidate hardware platform according to preset requirements, and obtain each candidate hardware in a weighted average manner. The integrated value of the codec performance test corresponding to the two or more preset video technical indicators of the platform, thereby obtaining the candidate hardware platform whose codec performance test comprehensive value is greater than the preset comprehensive value.
  4. 如权利要求2所述的选择视频编解码硬件平台的方法,其特征在于,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;The method for selecting a video codec hardware platform according to claim 2, wherein the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
    所述步骤B包括:在预设的硬件平台上,依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The step B includes: sequentially, on the preset hardware platform, all the test chip sources in the test chip source subset corresponding to each preset video technical indicator to each video codec in the video codec library. Performing a codec performance test evaluation to obtain a typical video codec corresponding to the first preset condition corresponding to each preset video technical indicator;
    所述步骤C包括:The step C includes:
    C1、依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;C1, in turn, in the typical video codec corresponding to each preset video technical indicator, all the test film sources in the test chip source subset corresponding to the corresponding preset video technical indicators are for each of all the selected hardware platforms. Selecting a hardware platform for performing a codec performance test evaluation to obtain a codec performance test value corresponding to a corresponding preset video technical indicator of each candidate hardware platform;
    C2、根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。C2. Set weight values for two or more codec performance test values corresponding to two or more preset video technical indicators of each candidate hardware platform according to preset requirements, and obtain each candidate hardware in a weighted average manner. The integrated value of the codec performance test corresponding to the two or more preset video technical indicators of the platform, thereby obtaining the candidate hardware platform whose codec performance test comprehensive value is greater than the preset comprehensive value.
  5. 如权利要求1所述的选择视频编解码硬件平台的方法,其特征在于,所述步骤B具体包括:The method of selecting a video codec hardware platform according to claim 1, wherein the step B specifically includes:
    B1、将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;B1. All test source sources in the test slice source subset corresponding to the preset video technical indicators are classified according to a preset hierarchical rule, and are divided into different levels of secondary test piece source subsets corresponding to the preset hierarchical rules;
    B2、在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;B2. On the preset hardware platform, all test chip sources in the secondary test chip source subset of the preset level are subjected to codec performance test evaluation for each video codec in the video codec library, and The codec performance test evaluation value is used as the initial clustering center of the K-means algorithm;
    B3、在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;B3. On the preset hardware platform, all the test film sources except the secondary test piece source subset of the preset level in the test chip source subset corresponding to the preset video technical indicators are used for each of the video coding and decoding programs. A video codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
    B4、通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。B4. The K-means algorithm performs processing to sort all the video codecs in the video codec library according to the performance and the inferiority, and selects the video codec in the front row to be matched with the preset video technical indicators. Typical video codec.
  6. 如权利要求2所述的选择视频编解码硬件平台的方法,其特征在于,所述步骤B具体包括:The method of selecting a video codec hardware platform according to claim 2, wherein the step B specifically includes:
    B1、将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;B1. All test source sources in the test slice source subset corresponding to the preset video technical indicators are classified according to a preset hierarchical rule, and are divided into different levels of secondary test piece source subsets corresponding to the preset hierarchical rules;
    B2、在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;B2. On the preset hardware platform, all test chip sources in the secondary test chip source subset of the preset level are subjected to codec performance test evaluation for each video codec in the video codec library, and The codec performance test evaluation value is used as the initial clustering center of the K-means algorithm;
    B3、在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;B3. On the preset hardware platform, all the test film sources except the secondary test piece source subset of the preset level in the test chip source subset corresponding to the preset video technical indicators are used for each of the video coding and decoding programs. A video codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
    B4、通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。B4. The K-means algorithm performs processing to sort all the video codecs in the video codec library according to the performance and the inferiority, and selects the video codec in the front row to be matched with the preset video technical indicators. Typical video codec.
  7. 如权利要求1所述的选择视频编解码硬件平台的方法,其特征在于,所述步骤A之前还包括:The method of selecting a video codec hardware platform according to claim 1, wherein the step A further comprises:
    D、检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。D. Retrieve the newly released test film source, update the newly released test film source to the test film source library, and retrieve the newly released video codec and update the newly released video codec to the video. Codec library.
  8. 如权利要求7所述的选择视频编解码硬件平台的方法,其特征在于,所述步骤D还包括:在视频编解码程序库中删除版本过低的视频编解码程序。The method for selecting a video codec hardware platform according to claim 7, wherein the step D further comprises: deleting a video codec that is too low in the video codec library.
  9. 一种选择视频编解码硬件平台的装置,其特征在于,所述选择视频编解码硬件平台的装置包括:An apparatus for selecting a video codec hardware platform, wherein the apparatus for selecting a video codec hardware platform comprises:
    片源分类模块,用于将测试片源库中的所有测试片源按照预设分类规则进行分类,分成与不同视频技术指标相对应的不同测试片源子集;The source source classification module is configured to classify all test film sources in the test source library according to a preset classification rule, and divide into different test chip source subsets corresponding to different video technical indicators;
    典型程序评估模块,用于在预设硬件平台上将与预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到所述预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module is configured to code and decode each video codec in the video codec library in the test chip source subset corresponding to the preset video technical indicator on the preset hardware platform. Testing and evaluating to obtain a typical video codec corresponding to the first preset condition corresponding to the preset video technical indicator;
    硬件评估模块,用于在典型视频编解码程序上将与预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到性能测试综合值满足第二预设条件的待选硬件平台。The hardware evaluation module is configured to code and decode all the test chip sources in the test chip source subset corresponding to the preset video technical indicators on each of the candidate hardware platforms in the candidate video codec. The test is evaluated to obtain a candidate hardware platform whose performance test comprehensive value satisfies the second preset condition.
  10. 如权利要求9所述的选择视频编解码硬件平台的装置,其特征在于,所述编解码性能测试评估的过程为:在相应的硬件平台上将对应的测试片源在相应视频编解码程序上播放,对播放所得的图像的主观视觉质量、客观保真度和色彩三个方面的质量进行综合评估,以得到相应视频编解码程序或相应待选硬件平台的编解码性能评估值。The apparatus for selecting a video codec hardware platform according to claim 9, wherein the process of evaluating the codec performance test is: placing a corresponding test piece source on a corresponding video codec on a corresponding hardware platform. Play, comprehensively evaluate the quality of the subjective visual quality, objective fidelity and color of the played image to obtain the codec performance evaluation value of the corresponding video codec or the corresponding candidate hardware platform.
  11. 如权利要求9所述的选择视频编解码硬件平台的装置,其特征在于,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;The device for selecting a video codec hardware platform according to claim 9, wherein the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
    所述典型程序评估模块用于在预设的硬件平台上依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module is configured to sequentially encode and decode each video source in the video codec library in the test chip source subset corresponding to each preset video technical indicator on a preset hardware platform. The program performs a codec performance test evaluation to obtain a typical video codec program corresponding to the first preset condition corresponding to each preset video technical indicator;
    所述硬件评估模块用于依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;The hardware evaluation module is configured to sequentially, in a typical video codec corresponding to each preset video technical indicator, all test source sources in the test chip source subset corresponding to the corresponding preset video technical indicators to all the selected hardware platforms. Each candidate hardware platform performs a codec performance test evaluation to obtain a codec performance test value corresponding to the corresponding preset video technical indicator of each candidate hardware platform;
    所述硬件评估模块还用于根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。The hardware evaluation module is further configured to set a weight value for each of the two or more codec performance test values corresponding to the two or more preset video technical indicators of each candidate hardware platform according to a preset requirement, and perform weighted average manner. Obtaining a comprehensive codec performance test value corresponding to two or more preset video technical indicators of each candidate hardware platform, thereby obtaining a candidate hardware platform whose codec performance test comprehensive value is greater than a preset comprehensive value.
  12. 如权利要求10所述的选择视频编解码硬件平台的装置,其特征在于,所述预设视频技术指标为一个或两个以上,当所述预设视频技术指标为两个以上时;The device for selecting a video codec hardware platform according to claim 10, wherein the preset video technical indicator is one or more, when the preset video technical indicator is two or more;
    所述典型程序评估模块用于在预设的硬件平台上依次将与每一预设视频技术指标对应的测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,以得到每一预设视频技术指标对应的满足第一预设条件的典型视频编解码程序;The typical program evaluation module is configured to sequentially encode and decode each video source in the video codec library in the test chip source subset corresponding to each preset video technical indicator on a preset hardware platform. The program performs a codec performance test evaluation to obtain a typical video codec program corresponding to the first preset condition corresponding to each preset video technical indicator;
    所述硬件评估模块用于依次在每一预设视频技术指标对应的典型视频编解码程序上将与相应预设视频技术指标对应的测试片源子集中的所有测试片源对所有待选硬件平台中的每一待选硬件平台进行编解码性能测试评估,以得到每一待选硬件平台的与相应预设视频技术指标对应的编解码性能测试值;The hardware evaluation module is configured to sequentially, in a typical video codec corresponding to each preset video technical indicator, all test source sources in the test chip source subset corresponding to the corresponding preset video technical indicators to all the selected hardware platforms. Each candidate hardware platform performs a codec performance test evaluation to obtain a codec performance test value corresponding to the corresponding preset video technical indicator of each candidate hardware platform;
    所述硬件评估模块还用于根据预设需求为每一待选硬件平台的与两个以上预设视频技术指标对应的两个以上编解码性能测试值分别设置权重值,并以加权平均的方式获得每一待选硬件平台的与两个以上预设视频技术指标对应的编解码性能测试综合值,从而得到编解码性能测试综合值大于预设综合值的待选硬件平台。The hardware evaluation module is further configured to set a weight value for each of the two or more codec performance test values corresponding to the two or more preset video technical indicators of each candidate hardware platform according to a preset requirement, and perform weighted average manner. Obtaining a comprehensive codec performance test value corresponding to two or more preset video technical indicators of each candidate hardware platform, thereby obtaining a candidate hardware platform whose codec performance test comprehensive value is greater than a preset comprehensive value.
  13. 如权利要求9所述的选择视频编解码硬件平台的装置,其特征在于, The apparatus for selecting a video codec hardware platform according to claim 9, wherein:
    所述片源分类模块还用于将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;The slice source classification module is further configured to classify all test film sources in the test slice source subset corresponding to the preset video technical indicators according to a preset hierarchical rule, and divide into two different tests corresponding to the preset hierarchical rules. Source subset
    所述典型程序评估模块包括初始聚类中心获取单元、聚类依据获取单元以及排序单元:The typical program evaluation module includes an initial cluster center acquisition unit, a cluster basis acquisition unit, and a sort unit:
    初始聚类中心获取单元,用于在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;The initial clustering center acquiring unit is configured to compile each video codec in the video codec library in the preset level of the secondary test chip source subset on the preset hardware platform. Decoding performance test evaluation, and the obtained codec performance test evaluation value is used as an initial clustering center of the K-means algorithm;
    聚类依据获取单元,用于在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;The clustering obtaining unit is configured to: on the preset hardware platform, all test film sources except a subset of the secondary test piece source of the preset level in the test chip source subset corresponding to the preset video technical index Each video codec in the codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
    排序单元,用于通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。a sorting unit for sorting all video codecs in the video codec library by performance calculation by K-means algorithm, and selecting a video codec located in the top of the sorting as a preset video technology A typical video codec corresponding to the indicator.
  14. 如权利要求10所述的选择视频编解码硬件平台的装置,其特征在于, The apparatus for selecting a video codec hardware platform according to claim 10, wherein:
    所述片源分类模块还用于将与预设视频技术指标对应的测试片源子集中的所有测试片源按照预设分级规则进行分级,分成与预设分级规则对应的不同等级的二次测试片源子集;The slice source classification module is further configured to classify all test film sources in the test slice source subset corresponding to the preset video technical indicators according to a preset hierarchical rule, and divide into two different tests corresponding to the preset hierarchical rules. Source subset
    所述典型程序评估模块包括初始聚类中心获取单元、聚类依据获取单元以及排序单元:The typical program evaluation module includes an initial cluster center acquisition unit, a cluster basis acquisition unit, and a sort unit:
    初始聚类中心获取单元,用于在预设的硬件平台上,将预设等级的二次测试片源子集中的所有测试片源对视频编解码程序库中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的初始聚类中心;The initial clustering center acquiring unit is configured to compile each video codec in the video codec library in the preset level of the secondary test chip source subset on the preset hardware platform. Decoding performance test evaluation, and the obtained codec performance test evaluation value is used as an initial clustering center of the K-means algorithm;
    聚类依据获取单元,用于在预设的硬件平台上,将与预设视频技术指标对应的测试片源子集中预设等级的二次测试片源子集外的所有测试片源对所有视频编解码程序中的每一视频编解码程序进行编解码性能测试评估,将得到的编解码性能测试评估值作为K-means算法的聚类依据;The clustering obtaining unit is configured to: on the preset hardware platform, all test film sources except a subset of the secondary test piece source of the preset level in the test chip source subset corresponding to the preset video technical index Each video codec in the codec performs a codec performance test evaluation, and the obtained codec performance test evaluation value is used as a clustering basis of the K-means algorithm;
    排序单元,用于通过K-means算法的计算处理将视频编解码程序库中的所有视频编解码程序按性能优劣进行排序,并将位于排序前列的视频编解码程序选为与预设视频技术指标对应的典型视频编解码程序。a sorting unit for sorting all video codecs in the video codec library by performance calculation by K-means algorithm, and selecting a video codec located in the top of the sorting as a preset video technology A typical video codec corresponding to the indicator.
  15. 如权利要求9所述的选择视频编解码硬件平台的装置,其特征在于,所述选择视频编解码硬件平台的装置还包括更新模块,该更新模块用于检索获取新发布的测试片源,并将新发布的测试片源更新到测试片源库中,以及用于检索获取新发布的视频编解码程序,并将新发布的视频编解码程序更新到视频编解码程序库中。The device for selecting a video codec hardware platform according to claim 9, wherein the device for selecting a video codec hardware platform further comprises an update module, wherein the update module is configured to retrieve and obtain a newly released test film source, and The newly released test piece source is updated into the test piece source library, and used to retrieve the newly released video codec and update the newly released video codec to the video codec library.
  16. 如权利要求15所述的选择视频编解码硬件平台的装置,其特征在于,所述更新模块还用于在视频编解码程序库中删除版本过低的视频编解码程序。The apparatus for selecting a video codec hardware platform according to claim 15, wherein the update module is further configured to delete a video codec that is too low in the video codec library.
PCT/CN2014/094496 2014-12-17 2014-12-22 Method and device for selecting video encoding and decoding hardware platform WO2016095241A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410789532.8 2014-12-17
CN201410789532.8A CN105791833B (en) 2014-12-17 2014-12-17 Select the method and device of coding and decoding video hardware platform

Publications (1)

Publication Number Publication Date
WO2016095241A1 true WO2016095241A1 (en) 2016-06-23

Family

ID=56125699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094496 WO2016095241A1 (en) 2014-12-17 2014-12-22 Method and device for selecting video encoding and decoding hardware platform

Country Status (2)

Country Link
CN (1) CN105791833B (en)
WO (1) WO2016095241A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096624A (en) * 2019-04-26 2019-08-06 深圳前海微众银行股份有限公司 A kind of decoding method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090192836A1 (en) * 2008-01-24 2009-07-30 Patrick Kelly Automated test system project management
CN101582041A (en) * 2009-05-25 2009-11-18 中山大学 Distributed compilation method and system based on web
CN102457892A (en) * 2010-10-26 2012-05-16 中国移动通信集团公司 Test method and test device
WO2013183209A1 (en) * 2012-06-04 2013-12-12 株式会社アドバンテスト Test program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0418527A (en) * 2004-02-12 2007-05-15 Nokia Corp method for reporting a streaming quality, operable instructional computing program, computing program product, streaming system, client on a streaming system, server on a streaming system, and, protocol for a stream transmission system
CA2604139C (en) * 2006-05-09 2014-02-18 Nippon Telegraph And Telephone Corporation Video quality estimation apparatus, method, and program
CN101594552B (en) * 2009-06-29 2010-12-01 华东师范大学 Testing method for IPTV service quality damage by network transmission
BR112012008605B1 (en) * 2009-10-22 2021-09-08 Nippon Telegraph And Telephone Corporation VIDEO QUALITY ESTIMATION APPARATUS AND METHOD
CN101986708A (en) * 2010-10-29 2011-03-16 北京中星微电子有限公司 Video decoding method and decoder
CN103414915B (en) * 2013-08-22 2014-07-16 合一网络技术(北京)有限公司 Quality evaluation method and device for uploaded videos of websites

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090192836A1 (en) * 2008-01-24 2009-07-30 Patrick Kelly Automated test system project management
CN101582041A (en) * 2009-05-25 2009-11-18 中山大学 Distributed compilation method and system based on web
CN102457892A (en) * 2010-10-26 2012-05-16 中国移动通信集团公司 Test method and test device
WO2013183209A1 (en) * 2012-06-04 2013-12-12 株式会社アドバンテスト Test program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096624A (en) * 2019-04-26 2019-08-06 深圳前海微众银行股份有限公司 A kind of decoding method, device, computer equipment and storage medium
CN110096624B (en) * 2019-04-26 2023-03-21 深圳前海微众银行股份有限公司 Encoding and decoding method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105791833A (en) 2016-07-20
CN105791833B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
WO2019009449A1 (en) Method and device for encoding/decoding image
WO2017028601A1 (en) Voice control method and device for intelligent terminal, and television system
WO2016091011A1 (en) Subtitle switching method and device
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2015154639A1 (en) Method and apparatus for recording and replaying video of terminal
WO2015085765A1 (en) Information pushing method and intelligent terminal
WO2017142319A1 (en) Image encoding method and apparatus, and image decoding method and apparatus
WO2017096769A1 (en) Method and system for color calibration of display device
WO2017005066A1 (en) Method and apparatus for recording audio and video synchronization timestamp
WO2017086740A1 (en) Method for decoding video using in-loop filter, and device therefor
WO2017197802A1 (en) Character string fuzzy matching method and apparatus
WO2016173192A1 (en) Television stability test method and device
WO2016029502A1 (en) Signal source switching method and device
WO2017091007A1 (en) Image encoding method and device, and image decoding method and device
WO2018045682A1 (en) Method and device for testing audio and picture synchronization
WO2016090652A1 (en) Video compression method and device
WO2018028124A1 (en) Television set and signal source switching method thereof
WO2015058570A1 (en) Method and device for automatically recognizing network operator to realize data configuration
WO2014079327A1 (en) Information pushing method and system, digital tv receiving terminal and computer storage medium
WO2017054488A1 (en) Television play control method, server and television play control system
WO2015018185A1 (en) Method and device for realizing distributed remote control, and television terminal and mobile terminal thereof
WO2015152503A1 (en) Apparatus for decoding image and method therefor
WO2016095241A1 (en) Method and device for selecting video encoding and decoding hardware platform
WO2019137016A1 (en) Television programme recommendation method, device, and computer readable storage medium
WO2016101305A1 (en) Video file processing method and display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14908276

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/11/17)

122 Ep: pct application non-entry in european phase

Ref document number: 14908276

Country of ref document: EP

Kind code of ref document: A1