Log in

View Full Version : get mpeg2 infos with delphi


(buzz lightyear)
20th September 2003, 15:34
Hi,

i am seraching for delphi unit or an howto for getting infos form
an mpeg2 file.

I need to know in my tool which resolution and fames setting the file
has.

Is there an good howto out there for generally parseing an mpeg2 header
?

thx for all kind of links :D

greetings buzz

jfcarbel
20th September 2003, 23:10
MPEG2Lib for Delphi
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 DVD2AVI project (arbor.ee.ntu.edu.tw/~jackei/dvd2avi/) and MPEG2Decode from MPEG Software Simulation Group (www.mpeg.org/MPEG/MSSG/).

procedure GetMPEG2FileInfo(var FileInfo: TVideoFileInfo);

You can see what it does by looking at the menu option called "video Information" on the Video menu.

You could also look at GordianKnot code at sourceforge. It is written in Delphi and uses a newer decoder (mpeg2dec3.dll).

(buzz lightyear)
21st September 2003, 07:11
thx