| by Eduardo "DudaSkank" current version: 2.3 Português
Content - Introduction
- Documentation
- Thanks
- Historic
- Download
1. Introduction
This library was created by me to improve the video support of the Allegro. Originally, Allegro supports only the archives FLC and FLI, which does not have audio, possess limited size and only 256 colors. MJpgAlleg uses the JpgAlleg library, of Angelo Mottola, to decode the Jpg's files direct from a datafile to bitmaps, which will be displayed in sequence, and search for a sample, for the audio in the movie. From 2.0 on, MJpgAlleg includes JpgAlleg, so now it can open jpg's using only MJpgAlleg library, and also uses the XviD library, to decode frames in m4v format direct from the datafiles, or open and play an .avi file, encoded with XviD or DivX, and audio in format PCM unscompressed or mp3, thanks to AlMp3. To compile this library you need a platform and one compiler supported by Allegro, AlMp3 and XviD, beyond the proper libraries installed. Actually I provide 2 makefiles, one for MingW and other for DJGPP, but since I don't use any platform dependent library, you can compile it for other platforms supported by the libraries cited. If you want to know more about this library go to the project's page. Top of page - Back to main page
2. Documentation
To see the documents online click here. Top of page - Back to main page
3. Thanks
- God
- Shawn H. and the others guys - for Allegro
- Angelo M. - for JpgAlleg
- Matthew L. - for the site Allegro.cc
- XviD team - for the excellent open source XviD lib
- Javier G. - for the excellent AlMp3 lib
- Rafal Szyja (Rafa³) - for bug report/fix and testing
- Avery Lee - for VirtualDub and the help with some avi specs
- All the others that I forgot - for my memory not to be great thing ^__^
Top of page - Back to main page
4. Historic
The complete history is available in the online documents here. - 2.3
- 04/04/2003
Created mjpga_is_mul_16(), and the video buffer is only created if the width is a multiple of 16 (at least, my create_video_bitmap only uses multiples of 16). Created mjpga_pre_calc_pos() and altered MJpgDemo.c to allow the user change the mode of display, and altered play_movie_avi() and play_movie_dat() to show correctly. Added definitions to modes of display: MJPGAM_NORMAL, MJPGAM_FULL, MJPGAM_CENTER, MJPGAM_HALF, MJPGAM_DOUBLE. Now open_movie_avi() support file names in modes different of ASC II. Minor changes in MJpgDdemo. Minor changes in makefile.all and in open_movie_avi(), and added the new FCC_DIVX_OTHER. Now it plays PCM uncompressed audio with streaming, like in mp3. Changes in audio.c, especially in mjpga_audio_play(). Minor changes and corrections in the docs. - 03/04/2003
Optimized play_movie_dat(), like play_movie_avi(). Created load_memory_jpg_ex() and load_memory_dat_xvid_ex(). Bug in makefile.cfg: obj dir is included in distro now. Updated fix.bat, now the target is fix mingw32, and not fix mingw. Makefiles change - the full and docs distro version will not more be available to download. The documentation is now included in clean and win32 bin versions. Error understading the avi specs corrected (the length, in the stream header, is the numer of samples, not frames), causing the memory used in the audio indexes to be incredible bigger than the necessary. - 02/04/2003
The function play_movie_avi() now use hardware accelerated video -> video blit, and system -> video stretch_blit, to greatly improve the speed. Created load_memory_avi_xvid_ex(). - 14/03/2003
Better optimization in decoding, now it's directly to bitmaps. 8 bpp support dropped. - ??/03/2003
Makefile changed to link with libxvidcore.a, the name of the lib compiled with the latest XviDcore. Because XviD is GPL, my lib need to be GPL too :(
Top of page - Back to main page
5. Download Name | Version | Description | Size | MJpgAlleg Clean | 2.3 | Only source code. | 104 KB | MJpgAlleg Win32 Bin | 2.3 | Source code, executables and lib in Win32 format (compiled with Mingw32), need Allegro DLL and libxvidcore.dll to run the demo. | 173 KB | MJpgAlleg Samples | scc2 | Anime music video of CCS, using JPG's and audio (both very low quality). | 4.16 MB | rkop1 | Opening theme of Rurouni Kenshin, using M4V's (mpeg4 video) and audio (low quality, but much better than the scc2). | 5.52 MB | evaop | Opening theme of Neon Genesis Evangelion, using M4V's and mp3 audio. | 6.29 MB | JpgAlleg | 1.2 | Library to open .Jpg from a file or from a memory block, by Angelo Motolla. Included in the library since version 2.0. | - | Allegro | - | Excelent cross-platform multimedia library, created to help in game making. | - | XviD Library | - | Library to decode frames encoded in DivX/XviD. To compile this library, you need to run shell scripts. You can download an old version with minor modifications, to compile/install in Mingw32 and DJGPP without shell scripts here (270 KB). | - | AlMp3 | - | Library to decode mp3 audio, needed since version 2.2. | - | Rafal Szyja's Home Page | - | Official site of Rafal Szyja, great programmer which contributed a lot to MJpgAlleg with many bug reports/fix, here you can download a small and excellent media player for DOS. | - | Virtual Dub | - | Official site of this excelent tool to alter and encode avi's. | - |
Top of page - Back to main page
|