I'd like to use MX515's VPU to do video decoding. I've got the video stream source separated into single frames, I just want to have the VPU decode the frames and return them. It would be very nice if I could avoid using GStreamer.
What are your suggestions?
-1) shall I use the OpenMAX interface and let it handle all the things with libvpu (e.g. vpu_Init(...) and others)?
-1.1) from a (high level) programmer's view, is it possible to focus only on OpenMAX?
-2) is it better to use libvpu directly?
-3) where can I find the sources to compile libvpu? I was unable to find any usable source code;
-4) where can I find VPU firmware files? I only found some vpu_fw_imx51.bin files installed in lucid_1108.tar.gz distribution. I can't believe this is the adequate source to firmware files;
-5) I have a package called libfsl which includes several files like this: lib_H264_dec_arm11_elinux.so. Which component uses these files? libvpu? OpenMAX? Can it cause a problem that I have an i.MX515 (which is Cortex A8), but the libs are apparently compiled for ARM11 (or ARM9), as the suffix suggests?
-6) how can the MXC VPU kernel module be fed with the firmware file?
Any help is appreciated, many thanks, regards,
By the way, is there anybody who succeeded in using lib_mp3_dec_arm9/11/12.so directly? I'd like to decode MP3 frames using this lib and very strange things happen on an iMX515.
Is somebody familiar with this?
Does this lib use the VPU to decode or is it just a sw implementation?
I saw that gstreamer also uses lib_mp3_dec_arm9/11/12...
Perhaps my so (lib) package is broken, could any of you provide with me an official, working lib package alongside with the header files?
Any reason to avoid gstreamer?
Some partial answers...
1. you can in case you are under Andriod.
2. yes, your app should call this lib directly.
3. Not sure but ltib should be able to fetch with with ./ltib -m prep -p <PKG NAME> where PKG_NAME can be found on the list ./ltib -m listpkgs
5. I believe the libvpu
I don't like gstreamer, and it's an overkill to my project.
I'm not developing under Android, so I'll forget about OpenMAX. I'll attempt to get libvpu source files with ltib and compile it.
I couldn't compile ltib, it stopped during the build of rpm-4.0.4 (Sabayon Linux 64-bit). I made a try on a Debian 32-bit, didn't compile. By the way, I have downloaded a package from freescale.com which contains an ltib version with ~700 MBs of packages, and I haven't found anything amongst them which would resemble to libvpu sources.
In the first run I'm going to use my precompiled libvpu.so binaries and hoping it will work...