MPEGe Lib

MPEG encoding engine © 1995 The Regents of the University of California
Library Front end © 1995 Alex R (web1@bloodyeck.com)

About the library

MPEGe lib is a library designed to allow you to create MPEG movies from your application. It is really easy to use and hides a lot of the complexities of MPEG streams from the user (although lots of options are available to be changed).

The encoder library uses the Berkeley MPEG encoder engine to do all the complicated MPEG stuff. So remember full credit for the nifty things should goto its authors

Getting MPEGelib

IMPORTANT: before you decide you want MPEGelib please read this important copyright notice.

I have moved MPEGelib under the control of Yahoo Groups, this allows us to have a nice discussion list for the software to try and fix problems etc.... All you need to do to get the software is join the group and then it will be available under "Files".

Installing

I have written a page describing the compilation and installation process.

HOT NEWS: There's now a binary release of the library which should work on Windows based PC's, check out the PC page.

Using the Library

About the most complicated thing you are going to have to do to use the library is work out what the format of your input images are going to be. Once you have done this the library consists of 3 simple functions

Once the library is compiled and installed you simply need to compile your apps with the -lmpege flag and tah dah instant MPEG's. There's also a page describing the example app. you get with MPEGelib to make MPEG movies from some sample PPM images

Bugs

At the moment the library can only make 1 MPEG movie at a time (if you want more go and write your own library eh?). Also at the moment it can only make one mpeg movie per session. Development on the library by me has stopped entirely - although I am more than happy to incorporate fixes sent back to me.

Other MPEG stuff

As I mentioned before MPEGelib is based upon the Berkeley parallel MPEG encoder (although the library is in no way parallel). The choice for using this encoder was easy to make. The Berkeley encoder is extremely well written and support from Berkeley has been excellent throughout the development of this library. You may or may not be aware of an MPEG decoding library (the reason mine is not called simply MPEGlib). This too was based on code from Berkeley, the Berkeley MPEG decoder.

Below are some useful links to allow you to go far away to have a look at