首页 > 解决方案 > 错误:无法创建输出文件已处理 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

我的命令中有任何更正吗?预期的输出是什么?

标签: intel-oneapionevpl

解决方案


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。


推荐阅读