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.
+ Reply to Thread
Results 1 to 9 of 9
-
-
There are 10 kinds of people in this world. Those that understand binary...
-
Thanks, but that's a GUI tool. I need either a command line program with a simple output, or a library.
-
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/ -
Well C++, but I can probably figure it out from other stuff.
Is there not a simple header in a .mpg file? -
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! -
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.Is there not a simple header in a .mpg 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
Similar Threads
-
need help finding the best container/codec Format for my situation
By staeberc in forum Video ConversionReplies: 7Last Post: 17th Feb 2011, 17:42 -
Finding out the duration of an MPEG file
By firblazer in forum ProgrammingReplies: 4Last Post: 20th Oct 2010, 02:55 -
Which format produces better quality overall MPEG-2, MPEG-4 or .x264?
By Canon GL-2 Guy in forum Newbie / General discussionsReplies: 8Last Post: 31st Aug 2009, 04:00 -
Converting raw DV format into a quicktime or MPEG format
By Maiden in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 80Last Post: 27th Apr 2009, 21:00 -
Finding/Reading Video Format
By jkassen in forum MacReplies: 3Last Post: 16th May 2008, 09:37



Quote