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
Solved! Go to Solution.
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.
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.
Thanks Mao.
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
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