900260 Automated Visual Event Detection and Classification : mbarivision Installation - Step 5. Build and install Berkeley MPEG Encoder (optional) This page last changed on Jun 09, 2010 by dcline. The Berkeley mpeg encoder is used in the AVED scripts to create mpeg clips of the results from mbarivision. If you don't need to create video clips of the output, or have some alternative tool you use, then skip this step. ### Install GraphicsMagick GraphicsMagick is required at various points in the scripts. It's also a very handy tool in general for image handling. If you don't already have this installed, install GraphicsMagick with:
    yum install GraphicsMagick
### Build and install Berkeley mpeg encoder Download the Berkeley mpeg encoder from: http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html If this site is down, we have copy here: mpeg_encode.tgz. We ran into difficulties compiling this, and needed to make a minor modifications to libpnmrw.c/h files. Replace the libpnmrw.c/h files in your download with these: libpnmrw.c libpnmrw.h. Build and install this with:
    cp </my/downloads/libpnmrw.c> <mpeg_encode/libpnmrw.c>
    cp </my/downloads/libpnmrw.h> <mpeg_encode/headers/libpnmrw.h>
    make
    install mpeg_encode /usr/local/bin
If installing on a Beowulf cluster, install this to a NFS directory shared across nodes
    install mpeg_encode /home/shared/aved/bin
When you are done, complete installation with Step 6. Build and Install Mbarivision or Pmbarivision. Attachments: libpnmrw.c (text/plain) libpnmrw.h (text/x-chdr) mpeg_encode.tgz (application/x-gzip)

Document generated by Confluence on Feb 03, 2026 14:12