Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
27th June 2005, 22:33 | #1 | Link |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
MediaInfo(Lib) 0.7 - Reading information about media files
I develop MediaInfo, which is a tool to show technical information (container format, codec, width, heigth...) and tags (Title, Artist, Language...) about all kind of multimedia files. Main purpose is to have a library for third-parties, but there is a graphical interface too.
I wish have some beta testers with complex files, to "stress" the program just released. http://mediainfo.sf.net There are : - A graphical interface - A command line interface - A DLL for programers (with C++, C#, J#, VB.nt, VB5, Delphi, ActiveX examples) I already did some tests on : Matroska, Avi, Wav, Ogg, Ogm, Mpg, Vob, Mp4, M4a, 3gp, M2v, mp3, Wma, Wmv, Mov, Rm, Rmvb, Ifo of DVD, Aac, Ac3, Dts, Monkey Audio, Ape, Flac, Au, Aiff. I am working on H264. Did I forget a container?
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
29th June 2005, 10:35 | #3 | Link |
Registered User
Join Date: Dec 2001
Location: Austria
Posts: 56
|
just tested some files of my collection:
that's it for now, more to come later =) |
29th June 2005, 10:59 | #4 | Link | |||||||||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Thank you for your tests.
Quote:
Quote:
You can contact me with private messages.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|||||||||
29th June 2005, 15:24 | #5 | Link | |||
Registered User
Join Date: Dec 2001
Location: Austria
Posts: 56
|
Quote:
What about MPEG transport streams? are they supported? i tried a sample but mediainfo found only the video stream and no audio stream.. (http://www.nextcomwireless.com/R5000/samples.htm) if they are not supported, the correct description for the MPEG-2 container would be "MPEG-2 Program Stream", because "MPEG-2 Systems Multiplex" describes both, program streams and transport streams. Quote:
but i just saw that this isn't a real problem, i was only confused because you called MPEG Elementary Streams "MPEG Video 1" etc. but you are probably correct, an elementary stream really doesn't have a container/format, its just the audio/video stream. Quote:
|
|||
29th June 2005, 16:16 | #6 | Link | ||||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
But : what should I write for "MPEG Audio 2.5 (some MP3 have this, extended version of MPEG-2 Audio...)? MPEG-2.5 Audio? but : "MPEG-1 Systems Multiplex" is long . I think I will change it in MPEG-x PS, and MPEG-x TS (see below for TS) Quote:
Quote:
I have difficulties to understand all in the MPEG standarts, they are a little difficult with a lot of standarts Quote:
And as you said, Video ES or Audio ES (=MP3 or raw AAC) doesn't have a container, so I use the ES name in place of the container name, and I think to not change this. Thank you for your analysis.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
||||
29th June 2005, 17:32 | #7 | Link | ||||
Registered User
Join Date: Dec 2001
Location: Austria
Posts: 56
|
Quote:
Quote:
Quote:
Quote:
TS are mainly used for digital broadcasting (DVB/ATSC/ISDB). EDIT: typos |
||||
2nd July 2005, 23:20 | #8 | Link |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
Hi Zenitram,
First of all, many thanks for this tool. It's very nice.... I'll use mediainfo.dll in the next YAMB release. (not finished yet but I'll release it very soon). I'd like to suggest you to use some GPAC code for mp4 files. It's up to date comparing to the mpeg4ip libraries...(h264, ,avc supports...) Hope this help. |
3rd July 2005, 01:14 | #9 | Link |
Registered User
Join Date: Mar 2004
Posts: 266
|
@Zenitram:
Could you post how can I call mediainfo.dll from VB6 files please. Just for 1 file (not several media files). If you can, post examples to obtain width, height, fps, bitrate, etc. Thanks.
__________________
Prodater64 |
3rd July 2005, 01:42 | #10 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
phew, just spotted this.. might come in very handy for MeGUI.. right now I only have AVIFile and basically have to make up something for every other format.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
3rd July 2005, 02:19 | #11 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Gonna add it to RealAnime. Many thanks for the great tool!
__________________
Detritus Software |
3rd July 2005, 02:31 | #12 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Hmm... could it be that the feature matrix (http://mediainfo.sourceforge.net/formats.html) is incomplete? Looking at the screenshots I see "play length" but that doesn't seem to be listed in the matrix. For me getting the length of a file (audio or video) as well as number of frames (in case of video) are the features I'm most interested in.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
3rd July 2005, 04:15 | #13 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Track information seems to be missing for MKV... could be cool to have it
__________________
Detritus Software |
3rd July 2005, 12:31 | #14 | Link | ||||||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Thanks for your replies...
Quote:
But this is actually hard to understand GPAC interface (mainly for tags). I use mp4ff for codecs, and mp4v2 for tags. I know how to do for codecs with GPAC, but I don't know how to do for tags. I will work on it, but some difficulties... ;-) Quote:
Not exactly what you want, but you should easily understand how to do Quote:
Quote:
Quote:
MediaInfo_Get(Handle, Stream_General, 0, "PlayTime", Info_Text, Info_Name) to have the length in millisecond (or "PlayTime_String1" or 2 or 3 to have formated text ("?h ?mn ?s"...) MediaInfo_Get(Handle, Stream_Video, 0, "FrameCount", Info_Text, Info_Name) to have number of Frames (or PlayTime*FrameRate if you prefer...) Quote:
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
||||||
3rd July 2005, 12:34 | #15 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
@Zenitram: thanks for the info.
Am I correct assuming you wrote your own code to parse the files and are not relying on any external APIs?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
3rd July 2005, 13:02 | #16 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
- AAC : internal - AC3 : internal - APE : MACLib - CDXA : internal - DVD : internal - DTS : internal - Flac : FlacLib - MKV/MKA : libmatroska & libebml - MPEG-1 and 2 multiplex : internal - MPEG-1 & 2 Video : internal - MPEG-1 & 2 Audio (technical) : internal - MPEG-1 & 2 Audio (tags) : Id3Lib - MPEG-4 (technical) : mp4ff (faac) - MPEG-4 (tags) : mp4v2 (faad) - Ogg : internal - Quicktime : internal - Riff (WAV/AVI/the stupid .divx extension) : internal - AIFF, and other old audio : SndFile - ASF/WMV/WMA : internal Note : I sent you a submission for have MediaInfo in your 1st page, did you receive it?
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
3rd July 2005, 13:14 | #17 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
It's not really the news for your average users, but since I find the library useful I guess I could make an exception.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
3rd July 2005, 13:22 | #18 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
mp4v2 is mpeg4ip's lib, which faad uses too (but only the parts it needs i think), you might find a more complete version in the mpeg4ip cvs
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
3rd July 2005, 13:33 | #19 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
I am a little lost with MPEG4 libraries, I didn't find yet the perfect library for my needs
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
3rd July 2005, 13:59 | #20 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
tags are a special issue in mp4 because there is an official tagging standard for mp4, but the power of itunes (which uses a private tagging way) lead to that people use only the itunestagging
and as always private stuff leads to a mess... i would say there are two good mp4 libs available: the one from mpeg4ip and the one from gpac mpeg4ip tags in the itunesway, gpac i think in the official mpeg way (but i have to admit i never really tested it so i dunno much about it)
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
Thread Tools | Search this Thread |
Display Modes | |
|
|