VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi,

    Does anyone know of a free tool, library, bit of code that will give me format info of an MPEG2 file? Basically this is for a bit of software and I want to check to see if an existing file is compatible with my output format to decide if it needs re-encoding.

    Thanks.
    Quote Quote  
  2. There are 10 kinds of people in this world. Those that understand binary...
    Quote Quote  
  3. Thanks, but that's a GUI tool. I need either a command line program with a simple output, or a library.
    Quote Quote  
  4. Free Flying Soul liquid217's Avatar
    Join Date
    Feb 2002
    Location
    United States
    Search Comp PM
    mpgtx has an information mode. It is an opensource tool, so you should be able to look to see how it retrievies its information.
    http://mpgtx.sourceforge.net/
    Quote Quote  
  5. Which programming language?
    I could give you some VB6 code if you are interested...

    Also some code can be found in Project X (in java)
    Quote Quote  
  6. Well C++, but I can probably figure it out from other stuff.

    Is there not a simple header in a .mpg file?
    Quote Quote  
  7. Member ChrissyBoy's Avatar
    Join Date
    Feb 2003
    Location
    Yorkshire!
    Search Comp PM
    Well you can use MediaInfo:

    http://sourceforge.net/projects/mediainfo/

    DLL, library etc.

    or DirectX, depending on what your application target is, which has lots of interfaces for this.
    SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
    VOB2MPG PRO, Extract mpegs from your DVDs - with you in control!
    Quote Quote  
  8. Is there not a simple header in a .mpg file?
    More or less, yes. It depends on the information you need. Actually mpeg is stream data, therefore it can be started or interrupted more or less at any place. There are different headers spread over the file.
    Send me a PM with your e-mail, I can send you my VB6 code and some add Info.

    Or have a look here (in the Source code section):
    http://www.gromkov.com/tutorials/soft_links.html
    Quote Quote  
  9. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    PVAStrummento Will Do it as well
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!