h.264 decoding + VPU

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

h.264 decoding + VPU

Jump to solution
1,221 Views
tibowcc
Contributor I

Hi guys,

I'm able to compile and run the test program mxc_vpu_test on an iMX53 with the following type of videos:

- MPEG sequence, v4, video, simple @ L3

- JVT NAL sequence, H.264 video, baseline @ L 32

But with those formats, I can't:

- ISO Media, MPEG v4 system, version 2

- ISO Media, MPEG v4 system, version 1

The program returns the error RETCODE_FAILURE = -1

So first of all, is it possible to decode those type of videos with the VPU ? And if yes, how can I modify the test program in order to do so.

Any help will be appreciated! Thanks.

Labels (4)
0 Kudos
1 Solution
878 Views
eaglezhou
NXP Employee
NXP Employee

Hi, tibo

    vpu unit test program 'mxc_vpu_test' only support video raw data, includes h.264/mpeg4/mpeg2/h.263/...

    and it doesn't support files with container info (such as ISO Media, MPEG v4 system, version 1/2).

Eagle.


View solution in original post

0 Kudos
3 Replies
878 Views
tibowcc
Contributor I

Hi,

thanks for your reply!

So, what would be the way to read files with containers? I saw a Freescale plugin for gstreamer, but it's for Linux (I'm using Android).

I also spent the whole day trying to connect FFMpeg to the VPU, but no luck so far...

Thanks in advance for your help

0 Kudos
878 Views
eaglezhou
NXP Employee
NXP Employee

Hi, Tibo

    For gstreamer, there is one aiurdemux plugin,

    For android, you can refer to fsl_parser component in OpenMAXIL part.

Eagle.

0 Kudos
879 Views
eaglezhou
NXP Employee
NXP Employee

Hi, tibo

    vpu unit test program 'mxc_vpu_test' only support video raw data, includes h.264/mpeg4/mpeg2/h.263/...

    and it doesn't support files with container info (such as ISO Media, MPEG v4 system, version 1/2).

Eagle.


0 Kudos