getting info from a mpeg file

Posted on 2005-05-11
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

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

    Accepted Solution

    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: (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: (vStrip download no source code) (vStrip guide) (DVD structure description)

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now