QNX Technical Articles
QNX® Aviage Multimedia Suite 1.2.0 Intel Performance Primitive Codecs (Patch ID 1507) Installation Note
Date of this edition: July 16, 2009
Target OS: This software is compatible with target systems running QNX® Neutrino® 6.4.0 or 6.4.1.
Host OS: You must have already installed the QNX® Software Development Platform (SDP) 6.4.0 or 6.4.1 as a self-hosted QNX Neutrino system, or on one of the following hosts:
Version | Microsoft Windows | Linux |
---|---|---|
6.4.0 | Windows Vista, Vista 64-bit, XP SP2 or SP3, or 2000 SP4 | Linux Red Hat Enterprise Workstation 4 or 5, Red Hat Enterprise Server 5.1 64-bit, Red Hat Fedora Core 6 or 7, Ubuntu 6.0.6 LTS or 7, or SUSE 10 |
6.4.1 | Windows Vista, Vista 64-bit, XP SP2 or SP3, or 2000 SP4 | Linux Red Hat Enterprise Workstation 4.0 or 5.0, Red Hat Enterprise Server 5.1 64-bit, Red Hat Fedora 10, Ubuntu 8.04 LTS or 8.10, or SUSE 11 |
Required software:
This package requires the Aviage Multimedia Suite 1.2.0 installed on your system.
This is a nonstandard patch. Don't attempt to use |
For the most up-to-date version of this note, go to our website (www.qnx.com), log into your myQNX account, then go to the Download Center. |
Contents
Installation procedure
To install the QNX Aviage Multimedia Intel Performance Primitive Codecs package, follow the procedure described below.
- Log in as root (or with administrator privileges on Windows).
- If you are upgrading to a new Software Codec, you must remove the old codec from your system:
- Go to the directory with the codec file; for example: $QNX_TARGET/x86/lib/dll/mmedia/.
- Remove any of the following files that are present:
- ipp_ac3_decoder.so
- ipp_h264_decode.so
- ipp_mpeg2_decoder.so
- ipp_video_decoder.so
- Go to the directory: $QNX_TARGET/x86/usr/lib/ and remove: libumc_common.so.1.
- Download the patch-640-1507-ipp-decoder.tar package to your host environment.
- Determine the base directory of your QNX SDP installation by opening a command shell and using the qconfig command. For example:
$ qconfig QNX Installations Installation Name: QNX Software Development Platform 6.4.0 Version: 6.4.0 Base Directory: /usr/qnx640/ QNX_HOST: /usr/qnx640/host/qnx6/x86/ QNX_TARGET: /usr/qnx640/target/qnx6/
The base directory in this example is /usr/qnx640/, but it could be different on your machine, depending on your host and where you installed the QNX SDP.
- Extract the archive you downloaded into the installation directory (base_dir/install), using one of the methods describe below: .
Command-line based extraction
Command-line based extractions differ according to the host.
Windows hosts
To extract the package on a Windows host:
- Open a command prompt (cmd.exe) and switch to the drive indicated in the base directory that you found in step 4 above. (e.g. C:).
- Copy the package to your installation directory (base_dir\install), replacing base_dir
with the path you found in step 4, and package with the
name of the package:
copy drive:\package base_dir\install
- Use the following commands to extract the package contents. Do not specify the drive letter in the archive path:
cd base_dir\install tar -xvf archive
Neutrino and Linux hosts
To extract the package on a Neutrino of Linux host:
- Open a command shell.
- Use the following commands, replacing base_dir with the path found in step 3, and package with the full path to the downloaded archive:
cd base_dir/install tar -x -v -f package
GUI based extraction
To extract the package using a GUI application:
- Use any GUI-based application that supports the TAR format (e.g. WinZIP under Windows), making sure that the destination directory is your installation directory (base_dir/install).
Using WinZip
If you use WinZIP:
- Choose .
- Switch to the “Miscellaneous” tab in this dialog.
- Turn off the TAR file smart CR/LF conversion option.
If the TAR file smart CR/LF conversion option is turned on and you extract the archive, your shiplist file will contain unwanted ^M characters. |
Structure of the package
The QNX Aviage Multimedia Intel Performance Primitive Codecs package is installed in the base_dir/install/qnxaviage-mmedia-ipp/20090707nnnn directory. This directory includes:
- manifest
- Contains the checksums of the files shipped in the package (as generated by the cksum utility).
- shiplist
- A list of the files included in the package.
- target
- A directory of fixes related to components that would be built into QNX Neutrino target or runtime systems.
- ipp_decoder_inst.html
- This installation note. Please read it through before continuing with the installation.
- ipp_decoder_rel.html
- The release notes for the QNX Aviage Multimedia Intel Performance Primitive Codecs package
Applying the package
After extracting and installing the package, you must determine how to incorporate it into your host system.
The package is stored in a directory (or folder) that is separate from your development system. This design allows you some flexibility in how you apply the package.
You can use any one of three methods to apply the package:
- Modify build and configuration files to look in the package subdirectory
- Create an override directory tree
- Replace the development host files with the files from the package
The first two methods work only for files within the QNX_TARGET subtree. For tools and other host-specific files, you must replace the development host files with the files from the package. |
Method 1: Modify build and configuration files
With this method, you use the files in the package by modifying buildfiles to include the full path to the files in the package subdirectory.
This method allows you to test the package before committing to it. It does not affect your development host. If you choose to stop using the package, you only need to change the buildfiles back to their previous state.
Method 2: Use an override directory tree
With this method you create an “override” tree, and tell the system builder and mkifs utilities to look for binaries in a particular subdirectory before looking in the standard location ($QNX_TARGET).
To do this from the command line:
- cd base_dir
- mkdir build
- pax -rw /target/qnx6/* build/
- Add base_dir/build to your system builder paths. For mkifs, you can use the -r option, specifying the same path.
Like Method 1, this method allows you to test the package before commmiting to it, and to easily revert back to your previous installation.
Method 3: Replace the development host files
This method replaces files on your development host with files from the new package.
This is a destructive procedure. We recommend that you create a backup of the affected files before proceeding. |
Creating a backup
To create a backup on any of our hosts:
- (Windows only) From the cmd.exe prompt, run ksh.
- Go to the base directory:
cd base_dir/
- Make a backup of the files that will be overwritten:
pax -w < install/qnxaviage-mmedia-ipp/20090707nnnn/shiplist > install/qnxaviage-mmedia-ipp/20090707nnnn/backup.tar
You can use whatever name you like for the backup archive. The pax utility may display some error messages when it attempts to back up nonexistent files for host operating systems other than the one you're using. You can ignore these messages.
- (Windows only) Exit ksh.
Copying the files — Windows hosts
To apply the package on a Windows system from the command prompt:
- Switch back to cmd.exe from ksh.
- Switch to the drive specified in your base directory (e.g. C:).
- Go to the directory with the package installation. Make sure that you use the backslash (\) in all pathnames.
cd base_dir\install\qnxaviage-mmedia-ipp\20090707nnnn\
- Install the target updates:
cd target cp -r . ../../../../target
Copying the files — Neutrino and Linux hosts
To apply the package on a Neutrino or Linux system:
- Go to the package directory:
cd base_dir/install/qnxaviage-mmedia-ipp/20090707nnnn/
- Install the target updates:
grep '^target' shiplist | pax -rw base_dir/.
- (QNX Neutrino only — optional) Install the runtime updates:
cd target/qnx6/x86 find ! -type d | pax -rw /
Technical support
If you have any questions, comments, or problems with a QNX product, please contact Technical Support. For more information, see the How to Get Help chapter of the Welcome to the QNX Software Development Platform guide or visit our website, www.qnx.com.