getting info from a mpeg file

Posted on 2005-05-11
Medium Priority
Last Modified: 2010-04-05
hey all,
I have been searching for some code/sdk/component (I would prefer vcl but activeX ok-  it also doesnt have to be free)   that will allow me to extract basic information from an mpeg file, ie. bitrate, width, height of the images, length etc... Now, I have found a couple components that will do this, but they will not extract the info from a dvd mpeg (a vob file which contains high bitrate video), they only work with avi, mpeg1 and mpeg2 files of lesser quailty.

might have to deal with the file structure directly, and I really dont want to do that lol
any help would be appreciated, tia


Question by:LMuadDIb
LVL 11

Expert Comment

ID: 13981312
I'd search for some info about these files, about their structure and read needed info directly from file without any components.

Accepted Solution

Sergio_Hdez earned 1000 total points
ID: 13984542
vob files contains several streams, some of them are supposed to be MPEG2, but the entire vob file uses to be encrypted, so digging into the mpeg2 stream properties can be really tricky, involving a DCSS algorithm or similar.

The best way to do it is looking at code that allready does it... vStrip is the one, but not the only, so look at here and grab the source code of the ones that promisse to convert from VOB to other formats:
http://www.doom9.org/index.html?/sources.htm (a LOT of source code on this matter, a must-have)

Here you have comments on how to do it and where to look at code:

Here other usufull links:
http://www.digital-digest.com/dvd/downloads/showsoftware_vstrip_80.html (vStrip download no source code)
http://www.doom9.org/index.html?/vstrip.htm (vStrip guide)
http://www.doom9.org/index.html?/dvd-structure.htm (DVD structure description)

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 4 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question