回顾:ViCueSoft CodecWar
CodecWar is an analysis service created by ViCueSoft的开发者 编解码器肛门y-sis工具VQ分析仪,VQ DVK,和VQ 探针. 该网站有两个主要功能. 首先, 它提供了一个免费的图书馆 编解码器比较lating to all relevant compression standards, 专有和开源. 使用这个函数例如,您可以快速比较VVC与最新版本的 AV2, with outputs including both RD-Curve and BD-Rate comparisons. 这个功能使该网站对任何需要保持当前编解码器比较的人都很有用.
其次,该站点允许您配置编码器,对单个或多个测试文件进行编码, 并为输出生成rd曲线. In both use cases, 你可以 use test files provided on 的 网站或上传您自己的,并使用网站上的编解码器进行编码或上传您自己的. 然而,如果 you upload your own clips or 编解码器s for 的 comparison function, you’ll be charged for 的 associated processing time.
这个网站还在建设中. 按照目前的 configured, 的 ideal users are researchers who 正在寻找一种方便的方法来比较使用相关数据集的编解码器和编解码器开发人员正在寻找一种结构化的方法来对其他编解码器进行基准测试. In contrast, it’s not a particularly convenient way for streaming producers to run experiments to 优化它们的编码参数,尽管它可能会发展成这样.
比较视频编解码器
此功能对最终用户是免费的,允许他们选择和修改的不同观点 的 data that ViCueSoft has already crunched. 这是一种很有用的方法,可以用来理解不同的编解码器是如何比较的 剪辑及比较方法. 所有的 this data is free; you just need to configure 的 data you want to see and 下载 的 report.
开始,如在 图1, 你可以选择 从模板或您自己的选择. 在一个 high level, each comparison comes down to one or more 编解码器s compared using one or more test clips.
![比较编解码器](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157801-Ozer_CodecWar_Review_Fig1-ORG.png)
图1. 在比较编解码器时,您可以选择模板或自己的比较点.
Codec support is growing; for example, when I started my review, 的 only VP9 编解码器 可用的是 SVT-VP9 编解码器, which historically has been a poor performer. By 的 last day, ViCueSoft had added libvpx. HEVC选项是MPEG参考编码器,这是伟大的 researchers but irrelevant for producers, and SVT-HEVC,另一个差劲的表现. Here, x265 is 的 obvious choice for 的 HEVC codec (and I’m 确定 ViCueSoft will add it soon). 你可以上传任何编解码器 like, this means additional encoding charges and inconvenience.
与此形成鲜明对比的是, 该服务为AV1提供了更好的选择, 包括SVT-AV1和libaom, 和VVC, 包括MPEG参考编码器和Fraunhofer的开源实现. 同样,H.264包含了 MPEG reference encoder and x264, 的 logical choice. 这个服务很好地满足了我的好奇心, 这是怎么最新的版本 AV2和VVC的比较.
你可以在 图2. 我已经看过了lected 的 VVC reference encoder as 的 reference编解码器, 我将其与AVM/进行比较研究使用随机接入的编解码器 (RA)配置.
![比较VVC和av2](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157802-Ozer_CodecWar_Review_Fig2-ORG.png)
图2. Comparing VVC with 的 latest version of AV2
Note 的 “How it works” button on 的 top left of 图2. 在本例中,它显示一个YouTube 视频,但在其他屏幕上,它会显示更详细的说明. ViCueSoft做得很好 在整个UI中散布这些帮助屏幕以协助您的操作.
Next, you choose 的 clips to compare, as 所示 图3. 你可以按任意一个排序 巴勒斯坦权力机构rameters at 的 top; 你可以 see 的 resolution op下拉列表中的选项. 该网站包括 很好的混合了 测试剪辑,包括所有 genres and some familiar clips like CrowdRun, WITCHER3, and Tango, which 你可以 view and 下载 编解码器war.com/gallery.
![选择要比较的片段](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157803-Ozer_CodecWar_Review_Fig3-ORG.png)
图3. 选择要比较的片段
请注意,并非所有测试剪辑都可用于所有编码比较, meaning each 编解码器 in 的 available configurations. 例如, 在ViCueSoft添加libvpx之后, I attempted to compare it to x264 using both VBR configurations. 中只有一个测试片段可用 free comparison, a 480x270@60 fps clip that held 不感兴趣.
要明确的是,最常见的比较 will have multiple options; 的 VVC versus AV2 comparison I ran had more than 40 comparison clips. 而 clips will increase over time, 的 more fringe your 编解码器/configu定量比较,夹子越少 will likely be available for 的 free comparison.
图4 显示顶部部分 of 结果. 总体而言,AV2证明了26.多出2% efficient than 的 reference VVC 编解码器 as com采用AOM分段三次埃尔米特插值多项式方法 (PCHIP)与Polyfit相比. If 你根本不知道是哪一个Polation方法选择,你是 in good company; fortunately, ViCueSoft有一篇博客文章 这似乎是印度证明PCHIP更准确.
![Vicuesoft编解码效率](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157804-Ozer_CodecWar_Review_Fig4-ORG.png)
图4. 根据ViCueSoft的计算, AV2 is about 26% more efficient than 的 VVC reference编解码器, 令人印象深刻.
Of 课程, 如果不了解用于每个编码器的命令字符串,则没有质量比较是完整的. 您可以访问所有转码的这些 通过CodecWar界面的Profiles页面中的Configurations选项卡. 这个选项卡 contains 的 configuration files you might need for performing your own custom transcodes 在我要描述的第二个函数中.
在......底部 图4中,您看到了这个功能 to toggle between BD-Rates (for Bjontegaard Delta-Rates)和RD-Curves(对于Rate Dis)tortion-Curves). 你可能知道,一个速率-distortion graph plots 的 quality levels of 的 编解码器s at different bit率s, while BD-Rate quantifies 的 difference into a single number.
例如,在左边 图5, 你可以看到rd曲线比较ing VVC and AV2 at different bit率s for 的 使用VMAF剪辑子午线 度规. AV2 is 的 bluish line atop 的 curve, with 的 gray VVC在底部. 你可能已经猜到了, 上面的夹子质量较好.
![rd曲线表示代码](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157805-Ozer_CodecWar_Review_Fig5-ORG.png)
图5. Here’s 的 RD-Curve presentation from 的 CodecWar report for VMAF.
右侧显示的BD-Rate计算将这些差异量化为单个数字在这个例子中,她是34岁.85%. 对于这个分析,VVC is 的 so-called anchor 编解码器 to which we’re 比较AV2. 由于数字是绿色的, it means that, on average, AV2 delivers 的 与VVC的34级质量相同.比特率降低85%. If 的 number were red, it would mean that AV2 was less efficient.
再一次,指的是底部 图4, 的 BD-Rate report shows 的 BD-Rate value for all clips; 你可以 下载样本BD-VMAF的费率报告. The RD-Curve report includes 的 data shown in 图5 for all test clips; 你可以 下载 VMAF的样本RD-Curve报告. 注意,您可以查看和保存 任何一个报告 指标显示在底部 图4.
每次你选择一个报告,你可以点击“阅读更多关于这个研究”显示在顶部 在图4中查看数据 图6. 这提供了一个概述,链接到 的 GitLab location where 你可以 下载 的 编解码器, and details about 大都会博物馆ric and interpolation method.
![编解码器war报告](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157806-Ozer_CodecWar_Review_Fig6-ORG.png)
图6. Details about 的 report 所示 图4
配置视频编码器
The 证券交易委员会ond CodecWar use case is to customise an encoding profile, 编码文件, 并生成任意的rd曲线 大都会博物馆如图4所示. 这个选项更有用,但也更复杂,有点脱节. 此外,你必须付费才能玩.
你通过这个过程 a five-step wizard, first choosing your 编解码器. In this operation, 你可以 only select a single 编解码器. 如图所示 图7我选择了使用x264的AVC 编解码器. 同样,您可以选择任何编解码器 可在系统中或上传任何 请联系ViCueSoft.
![自定义编码管道x264](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157807-Ozer_CodecWar_Review_Fig7-ORG.png)
图7. Creating my custom encoding pipeline for x264
在步骤2中,您可以选择一个预设,可以是标准配置 你的服务或者你的自我. Or 你可以 create your own custom configuration. 我选择了一个自定义 要达到的配置 图8.
![配置自定义编码](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157808-Ozer_CodecWar_Review_Fig8-ORG.png)
图8. 配置自定义编码
你从左上角开始选择创建一个模板,模板就会自动生成参数,然后显示在中间的可编辑编码器文本字段中. 您可以通过编辑文本来更改文本字段中的任何参数. 然而,如果 修改命令 字符串, 你负责 使 确定 命令字符串有效. If 它在正确的, you’ll fail 的 validation phase discussed next.
Similarly, for those 编解码器s ope率d via a configuration file, you are able to upload a cusTom配置文件. 正如前面提到的, to see what comprises a configuration file, 您可以从客户配置文件屏幕中的配置选项中下载由ViCueSoft创建的一个. 不幸的是,“它是如何工作的” video file doesn’t address what a configuration file is and where to access one; it just states that 你可以 upload one, 哪个复杂的手术适合我.
一旦您完成更改或添加 不同的配置文件,您单击右下角的验证按钮. 编码器尝试转码一个短文件以验证新的配置. If 如果成功,您可以继续. If 有一个错误, 在继续之前,必须调试它并使新的配置工作.
没有编码GUI,并且给定 的宽度 编解码器可用,真的不能 be. 所以,你负责 ensuring 的 configuration options are correct. 这不应该是 对于了解参考编码器的研究人员或正在评估自己编解码器的编解码器开发人员来说,这是一个问题, 但它可能是为那些寻求运行一些编码实验的普通用户. 对我来说,一个复杂的问题是x264编解码器使用了x264编码器, 而不是FFmpeg中的x264编码器, 所以典型的FFmpeg命令不起作用. 那 没什么大不了的,但它让我慢了下来. If 技术上可行, 开发人员应该考虑对像x264这样的编解码器使用类似ffmpeg的命令, x265(如果 当添加时, VP9代替 or in addition to 的 native encoder commands.
Returning to 的 interface tour, in 的 bot汤姆中间 图8中,您可以看到QP值ues used for 的 multiple encodes, which you 也可以编辑. If 你喜欢,你也可以选择 的 encoding points via bit率s, although you’ll have to choose or create a preset that encodes using VBR.
然后,按右下角的Validate来验证更改是否有效. 在左上角 验证屏幕, 您可以看到与您编写的编码作业相关的费用. 这些代表CodecCash,成本为0.每个9欧元. 你可以在 编解码器war.com/pricing.
中间屏幕 表明我们通过了所有的 验证测试和 都可以继续. 一次 您已经验证了配置(图9),它就被保存了 使用默认配置,并且每次部署该编解码器时它都会作为选项显示.
![传递新配置](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157809-Ozer_CodecWar_Review_Fig9-ORG.png)
图9. The new configuration has passed; we can proceed.
接下来,选择要用所选配置编码的剪辑. Pricing is based on 的 编解码器, resolution, and frame 率. In 图10, 你可以 see that based on 的 formula applied by 的 site, CrowdRun (1080p@50 fps) counts as 39 streams, for a total price of 八个编解码器现金单位.
![选择流](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157810-Ozer_CodecWar_Review_Fig10-ORG.png)
图10. Choosing 的 streams, setting 的 price, and starting 的 encode
编码时间取决于剪辑,编解码器, 和配置. 大部分的 预设配置设置为最大值 quality, which obviously extends 的 encoding time. 开始编码后,有一个状态屏幕可以查看 确定你的进步. 一次 complete, 你可以 access 结果 in 的 工作空间选项卡. 如图所示 in 图11 (52页) once you access 的 job, 你可以 view three cate血腥的 结果.
Configuration选项卡 details test parameters like command strings, 详细日志显示播放编码次数和 其他性能数据. Metrics选项卡包含 的 RD-Curves for 的 clips that you encoded, 所有的 同样的指标显示在中间 图11.
![rd-curves codewar](http://dzceab466r34n.cloudfront.net/Images/ArticleImages/InlineImages/157811-Ozer_CodecWar_Review_Fig11-ORG.png)
图11. Here are 的 RD-Curves for 的 selected clips that I encoded.
您可以以JSON格式导出所有结果以供将来处理,但不能运行com半成品的 生成的结果文件. 所以,如果 you ran CrowdRun with x264 with a single B-frame 然后 16个b帧,你无法装载 在这个界面中比较两者.
最后的想法
在一个 high level, 的 ideal customer for 的 证券交易委员会的编码相关功能 CodecWar is a compressionist who doesn’t have 的 pro克ming skills (or time) to automate 的ir test管理和报告活动. 这当然包括我.
挑战在于每个压缩师都有自己独特的分析和报告 模式. 我主要依赖于RD-Curve和BD-Rate数据,但也依赖于可视化 的 的持续时间内的度量分数 要识别的文件 质量下降,以及像文件和标准数据中最低质量帧这样的数据评估…的可能性 瞬态质量 问题和质量可变性. I’d love 的 ability to upload some files, 选择一些参数, 然后下载结果, 但只有 if 它提供了我所依赖的数据来做出我认为明智的决定. Building an application that can support many of 的se idiosyncratic 模式s will be tough, but ViCueSoft is off 令人印象深刻的开始.
相关文章
<证券交易委员会tion class="article_grid">
本文将重点介绍Ant Media Server和流媒体服务器支持的许多特性. 观众还将学习如何在亚马逊网络服务上配置WebRTC流媒体服务器,以及如何启动和运行直播流和视频点播流.
2023年10月4日
证券交易委员会tion>