MPG2-2012
所属分类:mpeg/mp3
开发工具:Delphi
文件大小:4802KB
下载次数:18
上传日期:2013-02-05 11:51:16
上 传 者:
kesan6
说明: MPEG2Lib can decode MPEG2 encoded video sequences like the ones found on a
DVD or the disk in a typical harddisk video recorder. The decoder is based on
the GPL project DVD2AVI (arbor.ee.ntu.edu.tw/~jackei/dvd2avi/) and MPEG2Decode
from MPEG Software Simulation Group (www.mpeg.org/MPEG/MSSG/). It supports
both video and different sound formats, but the Delphi interface can currently
only get the video. This version was tested with Delphi 5, 6 and 7.
This library is a collection of units from different projects I have been
working on. There is no documentation except for the comments in the source
files. See MPEG2Lib.pas, which should be easy to use. An example of how to use
the library (MPEG2View) can be found in the "Demo" directory. Note that to
compile the DLL from the C/C++ source with Visual C++ 6.0, the Processor Pack
(free from microsoft.com) needs to be installed. You might also have to add the
directories DLLSource\DVD2AVI and DLLSource\Lib32 to your include file search
path.
(MPEG2Lib can decode MPEG2 encoded video sequences like the ones found on a
DVD or the disk in a typical harddisk video recorder. The decoder is based on
the GPL project DVD2AVI (arbor.ee.ntu.edu.tw/~jackei/dvd2avi/) and MPEG2Decode
from MPEG Software Simulation Group (www.mpeg.org/MPEG/MSSG/). It supports
both video and different sound formats, but the Delphi interface can currently
only get the video. This version was tested with Delphi 5, 6 and 7.
This library is a collection of units from different projects I have been
working on. There is no documentation except for the comments in the source
files. See MPEG2Lib.pas, which should be easy to use. An example of how to use
the library (MPEG2View) can be found in the "Demo" directory. Note that to
compile the DLL from the C/C++ source with Visual C++ 6.0, the Processor Pack
(free from microsoft.com) needs to be installed. You might also have to add the
directories DLLSource\DVD2AVI and DLLSource\Lib32 to your inclu)
文件列表:
MPG2-2012\DelphiSource\FileUtils.dcu (8845, 2013-01-28)
MPG2-2012\DelphiSource\FileUtils.pas (8178, 2003-03-16)
MPG2-2012\DelphiSource\MemUtils.dcu (4009, 2013-01-28)
MPG2-2012\DelphiSource\MemUtils.pas (6167, 2003-03-10)
MPG2-2012\DelphiSource\Monitor.dcu (628, 2013-01-28)
MPG2-2012\DelphiSource\Monitor.pas (7152, 2003-03-21)
MPG2-2012\DelphiSource\MPEG2Lib.dcu (18172, 2013-01-28)
MPG2-2012\DelphiSource\MPEG2Lib.pas (16221, 2005-01-09)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\ac3.h (9353, 2001-04-13)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\bitstream.c (1462, 2001-03-16)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\bitstream.h (1278, 2001-03-30)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\bit_allocate.c (17384, 2001-05-26)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\coeff.c (7608, 2001-04-08)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\crc.c (3005, 2001-03-16)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\decode.c (4548, 2001-04-14)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\downmix.c (10660, 2001-05-29)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\exponent.c (3111, 2001-04-08)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\imdct.c (12734, 2001-04-03)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\parse.c (13597, 2001-04-13)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\rematrix.c (1814, 2001-04-08)
MPG2-2012\DLLSource\DVD2AVI\AC3Dec\sanity_check.c (1643, 2001-04-03)
MPG2-2012\DLLSource\DVD2AVI\COPYING.txt (18332, 2000-01-16)
MPG2-2012\DLLSource\DVD2AVI\DVD2AVI.dsp (6688, 2002-09-17)
MPG2-2012\DLLSource\DVD2AVI\DVD2AVI.dsw (537, 2000-06-11)
MPG2-2012\DLLSource\DVD2AVI\DVD2AVI.ncb (107520, 2013-01-28)
MPG2-2012\DLLSource\DVD2AVI\DVD2AVI.opt (50688, 2013-01-28)
MPG2-2012\DLLSource\DVD2AVI\DVD2AVI.plg (6588, 2013-01-28)
MPG2-2012\DLLSource\DVD2AVI\getbit.c (15473, 2004-07-20)
MPG2-2012\DLLSource\DVD2AVI\getbit.h (3568, 2002-09-11)
MPG2-2012\DLLSource\DVD2AVI\gethdr.c (16510, 2003-03-13)
MPG2-2012\DLLSource\DVD2AVI\getpic.c (43942, 2002-09-17)
MPG2-2012\DLLSource\DVD2AVI\global.h (25584, 2003-03-15)
MPG2-2012\DLLSource\DVD2AVI\gui.aps (19040, 2013-01-28)
MPG2-2012\DLLSource\DVD2AVI\gui.cpp (59139, 2002-09-17)
MPG2-2012\DLLSource\DVD2AVI\gui.rc (19538, 2002-09-17)
MPG2-2012\DLLSource\DVD2AVI\idctfpu.c (10032, 2001-05-01)
MPG2-2012\DLLSource\DVD2AVI\idctmmx.asm (23261, 2001-03-25)
MPG2-2012\DLLSource\DVD2AVI\idctmmx.obj (7473, 2002-09-12)
MPG2-2012\DLLSource\DVD2AVI\idctref.c (8135, 2001-05-01)
MPG2-2012\DLLSource\DVD2AVI\motion.c (6212, 2001-04-03)
... ...
------------------------------------------------------------------------------
MPEG2Lib for Delphi
------------------------------------------------------------------------------
Version 1.13.2, 2005-02-06
Michael Vinther | mv@logicnet·dk | http://logicnet.dk/lib
MPEG2Lib can decode MPEG2 encoded video sequences like the ones found on a
DVD or the disk in a typical harddisk video recorder. The decoder is based on
the GPL project DVD2AVI (arbor.ee.ntu.edu.tw/~jackei/dvd2avi/) and MPEG2Decode
from MPEG Software Simulation Group (www.mpeg.org/MPEG/MSSG/). It supports
both video and different sound formats, but the Delphi interface can currently
only get the video. This version was tested with Delphi 5, 6 and 7.
This library is a collection of units from different projects I have been
working on. There is no documentation except for the comments in the source
files. See MPEG2Lib.pas, which should be easy to use. An example of how to use
the library (MPEG2View) can be found in the "Demo" directory. Note that to
compile the DLL from the C/C++ source with Visual C++ 6.0, the Processor Pack
(free from microsoft.com) needs to be installed. You might also have to add the
directories DLLSource\DVD2AVI and DLLSource\Lib32 to your include file search
path.
All file handling is implemented with ***-bit arithmetic, meaning that files of
practically unlimited size can be handled.
The MPEG2 decoder is contained the class TMPEG2Decoder in MPEG2Lib.pas. For
direct access to mpeg2lib.dll and backwards compatibility with MPEG2Lib 1.00,
the following methods are also provided:
function LoadMPEG2Library(const Path: string=''): Boolean;
function OpenMPEG2File(FileName: PChar; Offset: Int***=0; Size: Int***=-1): LongBool;
function OpenMPEG2Disk(Disk: Byte; Offset: Int***=0; Size: Int***=-1): LongBool;
function OpenMPEG2Stream(StreamGetCallback: TStreamGetCallback; SequentialStream:
LongBool; Size: Int***; Owner: TObject=nil): LongBool;
procedure CloseMPEG2File;
function GetMPEG2Frame: PByteArray;
procedure SkipMPEG2Frames(FrameCount: Integer);
procedure GetMPEG2FrameInfo(var FrameInfo: TVideoFrameInfo);
procedure GetMPEG2FileInfo(var FileInfo: TVideoFileInfo);
procedure MPEG2Seek(Position: Int***); stdcall;
procedure SetMPEG2PixelFormat(PixelFormat: Integer);
procedure SetRGBScaleFlag(DoScaling: LongBool);
function WriteDataToFile(FileName: PChar; Size: Int***=High(Int***)): Int***;
MPEG2View is a complete MPEG2 player written in Delphi. It uses DirectX 7 for
video output, and the video can be read from both a MPEG2 file ("Open file" in
the File menu) or a harddisk from a harddisk video recorder ("Open disk" in
the File Menu).
The unit DirectX.pas was created by Hiroyuki Hori:
http://www.ingjapan.ne.jp/hori/index.html
License:
--------
This source code may be used in freeware products and free source distribut-
tions either in the original or modified form. I only require that my name
is mentioned in the program (e.g. in the about box) or documentation. The
library may not be used in commercial products without permission from the
author (send an e-mail with short description of the application).
See the text file "DLLSource\DVD2AVI\COPYING.txt" for additional license
information regarding DVD2AVI and products derived from it.
Thanks to Markus Oberhumer and Laszlo Molnar for their brilliant EXE compres-
sor UPX. (See http://upx.sourceforge.net/)
Version history:
----------------
Note that this version history is incomplete. It does not include all changes
in all versions.
Version 1.00 (2003-01-05)
First release
Changes in version 1.10 (2003-03-21):
TMPEG2Decoder class
Frame rate detection
Video timestamp readout
Changes in version 1.11 (2004-01-10):
Streaming mode with callback
Changes in version 1.12 (2004-07-20):
First I-frame now properly decoded (thanks to Christian Ghisler)
Changes in version 1.13 (2005-01-09):
Frame aspect ratio available in property
Optional auto de-interlacing
Changes in version 1.13.2 (2005-02-06):
Fixed bug causing the lib to keep returning the last frame at the end
近期下载者:
相关文件:
收藏者: