MPEG4 decode error on imx-6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPEG4 decode error on imx-6q

跳至解决方案
2,907 次查看
saurabh_a
Contributor I

Hello i.MX Community,

I want to decode MPEG4 decode with rotation on imx-6q using mxc_vpu_test application provided by freescale.

I execute the following command:

./mxc_vpu_test.out -D "-i /root/BlackBerry.mp4 -f 0 -r 90"

Output

[INFO]  VPU test program built on Feb  7 2013 10:34:13

[INFO]  Product Info: i.MX6Q/D/S

[INFO]  VPU firmware version: 2.1.5_r32515

[INFO]  VPU library version: 5.4.6

[INFO]  Format: STD_MPEG4

[INFO]  MPEG4 class: MPEG4

[INFO]  Input file "/root/BlackBerry.mp4" opened.

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

[ERR]   vpu_DecGetInitialInfo failed, ret:-1, errorcode:1

[ERR]   decoder parse failed

I play the video using mplay and it plays fine.Could anyone tell me possible mistake I am doing by which call vpu_DecGetInitialInfo() is failing.

Regards,

Saurabh



标签 (1)
0 项奖励
回复
1 解答
2,256 次查看
jack_mao
NXP Employee
NXP Employee

Hi,

   mxc_vpu_test has requirement to the decode file, it should be raw data,  if  any file  can be decoded by it, the file should be raw data file.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,257 次查看
jack_mao
NXP Employee
NXP Employee

Hi,

   mxc_vpu_test has requirement to the decode file, it should be raw data,  if  any file  can be decoded by it, the file should be raw data file.

0 项奖励
回复
2,256 次查看
saurabh_a
Contributor I

Thanks Mao.

0 项奖励
回复
2,256 次查看
jack_mao
NXP Employee
NXP Employee

mxc_vpu_test.out only support the ES stream playback, in your case , your playback file is mpeg4 format, the unit test code can't support it, so it will fail

2,256 次查看
saurabh_a
Contributor I

Hello Mao,

Thanks for the reply.So that means that mxc_vpu_test.out is not a full fledged encoding decoding application?

But I have seen the test cases provided with the mxc_vpu_test test application for decoding of .mp4 files.If the test cases are provided in that bunch then test application should support it right?

A

0 项奖励
回复