MPEG4 decode error on imx-6q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPEG4 decode error on imx-6q

Jump to solution
2,873 Views
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



Labels (1)
0 Kudos
Reply
1 Solution
2,222 Views
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.

View solution in original post

0 Kudos
Reply
4 Replies
2,223 Views
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 Kudos
Reply
2,222 Views
saurabh_a
Contributor I

Thanks Mao.

0 Kudos
Reply
2,222 Views
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,222 Views
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 Kudos
Reply