home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 9
/
CD_ASCQ_09_1193.iso
/
news
/
4441
/
mpegcode
/
readme.dos
< prev
Wrap
Text File
|
1993-09-28
|
3KB
|
102 lines
ENC11DOS.ZIP (c) 1993 by PHADE Software
=======================================
This is my DOS-port of the MPEG-encoder called "mpeg_encode"
by the Berkeley Research Group.
It was compiled with Gnu's DOS-port of their GCC-compiler,
called DJGCC Version 2.4.1 and NDMAKE Version 4.5. So please
read the GNU-Licence-file 'LICENCE.GNU'.
You find the DOS executable in this distribution under
'bin\dos\mpeg_enc.exe'.
NEEDS and INSTALL
-----------------
What you need to build the executable is the GCC 2.4.1 for
DOS (DJGCC) installed, NDMAKE 4.5 (make for DOS; the executable
has to be named MAKE.EXE, MAKE.INI has to be in the Path) and
a DOS-port of the Unix-Utility RM named RM.EXE.
Cause of DJGCC, the final executable is not running under
DPMI (so not in a Windows-DOS-Box) nor on a 286-machine.
The Gnu-environment-executable 'GO32.EXE' has to be somewhere
in the PATH. If running on a 386, the GNU-387-emulationfile
'EMU387' has to be, where the environment variable GO32 is
pointing to, so if the emu-file is in D:\LIB enter:
set GO32=emu d:/lib/emu387
That should do ...
CHANGES
-------
The major changes to the code where the following (these
rules can be used to port the code with another compiler):
1) Some of the filenames in the archive need to be changed
to DOS-convention (8+3). The original files are in this
archive as well, there extension is renamed to .ORI
2) The 'fopen'-calls had to open their files in binary mode.
Had to change "r" to "rb" and "w" to "wb", except for
the fopen-calls in 'param.c'.
3) Because of the limited features of NDMAKE, I had to
modify all the Makefiles. The main-makefile is now
profided as 'makefile.dos' and will create a little
library called 'libmpeg.a' in order to link the program
in one go.
The Makefiles for PBMPLUS had to be modified. The INCLUDE-
variable only consists now of the ..-directory and all
sub-dir-header where copied to the PBMPLUS-dir. All libraries
have to be build by hand or with the provided generall Makefile
in the PBMPLUS-directory called 'makefile.dos'.
4) DOS is a little-endian-system !
5) All popen and pclose-system-calls where changed to fopen
and fclose. Seems to work ;o)
6) Surely, no parrallel computing is possible under DOS, so
'parrallel.c' had to be replaced with the provided code
in 'noparral.c'.
7) The times-system-call had to be rebuild with the time-
system-call. Should be all right, cause there is no
multiprocessing under DOS anyway. Seems to work ;o)
So "iframe.c", "bframe.c" and "pframe.c were really
changed.
INSTALL
=======
So, if you have GCC 2.4.1 and NDMAKE 4.5 installed and RM.EXE
and CMP.EXE available enter the following to build the executable
in the distribution-directory (takes about 20 min. on a 486):
cd src\pbmplus
make
cd ..
make
make test # This should work too !!
copy mpeg_enc.exe \ # or whereever you want
make clean
That should do, Phade
----------------------------------------------------
PHADE SOFTWARE Leibnizstr. 30, 10625 Berlin, GERMANY
Inh. Frank Gadegast Fon/Fax: +49 30 3128103
phade@cs.tu-berlin.de phade@contrib.de