intel-oneapi - 错误:无法创建输出文件已处理 0 帧
问题描述
我正在运行 oneVPL 示例之一 - hello-vpp。我已经从 oneAPI 示例存储库下载了示例源代码-
https://github.com/oneapi-src/oneAPI-samples.git
我的操作系统是 Ubuntu 18.04。构建后,我尝试了以下命令来获取输出。
./hello-vpp ../content/input.i420 640 480
我得到了以下错误。
Could not create output file
Processed 0 frames
我的命令中有任何更正吗?预期的输出是什么?
解决方案
VPP 示例仅适用于 i420 视频格式,其大小必须为 128x96。所以运行 hello-vpp 示例的正确命令是:
./hello-vpp ../content/input.i420 128x96
预期的输出将是
Found ApiVersion: 2.2
SW session created
Processing ../content/input.i420 -> out.i420
Processed 60 frames
输出文件即 out.i420 将在构建目录中找到(路径:“\Libraries\oneVPL\hello-vpp\build”),默认大小为 640x480。
推荐阅读
- c++ - 如何为多图的插入和擦除功能编写 API?
- java - RecyclerView 末尾的空白处
- rest - 如何保护基于 Firebase Cloud Functions 的 REST API
- html - 如何限制表单名称字段中的特殊字符、下划线、空格(输入标签)?
- asciidoctor - 无法使用 Asciidoctor pdf 渲染页脚
- php - 从本地 URL 上传到服务器
- asp.net-core - IdentityServer4 Client prop Claim 无法在 MongoDB 中设置
- firebase - React Native:管理 RNFirebase 上的通知
- c# - await 阻塞请求
- python - 使用 API 在 gitlab 中添加项目头像