This page explains how to get and build the Multimedia Suite source code.
Before you get the source code, the most important thing to do first is to set up a staging directory to:
Setting up a staging directory is always good practice when building QNX source.
Yes, we know you're not building the core OS here, but it's still a very good idea to use a staging area.
If you're running self-hosted (or under Linux), you can add the export command to your .profile script and it will also automatically get set when you start a new terminal session.
Finally, note that you should be building and running multimedia sources with the Neutrino 6.4.0 development environment. It has a number of updates over earlier releases that make using multimedia much simpler.
If you happen to be using 6.4.1, you'll need to exclude building of the 'spe' variant of the PowerPC platform because not all of the Aviage components build for it. To do this, add this:
# export EXCLUDE_VARIANTLIST=spe
before building.
One feature of the entity called MME has dependencies that we haven't provided. This means that you'll have to make sure that this part of the MME isn't built (see below) and you won't get the MME's ability to change retrieved images. But that's all you'll be missing.
As of April 8th 2009, a new macro was added to many of the modules of the multimedia project source. This new macro requires the installation of the srcversion update package. Install this package as root to your QNX installation. Once you do this, the updated source should build.
# cd $QNX_TARGET/../.. # tar -xvf <srcversion-patch>
In general, the layout of the source is much like most QNX projects. Software components within in the project are (at a high level) broken into libraries, services or applications, and this organization is reflected by the hierarchy under the trunk.
For the multimedia project, there are a number of libraries provided. Many of these libraries are simply to provide capabilities to the main multimedia components and their purposes are rather obvious.
The real functional components of some of the multimedia suite of components are:
The source code is available on the multimedia repository located at http://community.qnx.com/sf/scm/do/listRepositories/projects.multimedia/scm.
To download the source code into your source directory:
svn checkout --username <userid> http://community.qnx.com/svn/repos/multimedia/trunk where <userid> is the email address used to create your account on the QNX site.
If you don't properly create a staging area and suitable qconf-override.mk file, you risk the chance of corrupting your standard installation. Did we say that already? :-)
After you've checked out the source as described in the previous section, change directory to the directory that contains the services, apps and libs directories. We'll assume you're there for the rest of this section.
Here, we'll assume you want to build for X86 and ARM platforms:
# touch services/mme/imgprc/gf/Makefile.dnm
# make hinstall
# make install
The best thing to do now is have a look at the documentation, in particular the Quick Start Guide in the Introduction to the MME. This Quick Start Guide gives you step by step instructions for starting the Multimedia Suite and playing media.