View Full Version : New program to tell everything about a file (OGG, OGM, AVI, MP3)
Zenitram
29th December 2002, 15:57
For other developpement, I make a program to tell everything on a multimedia file :
(Only if the information is available in the file...)
- General information (title, author, director, album, track number, date, duration etc....)
- Information about the video (codec, aspect, fps, bitrate etc....)
- Information about the audio (codec, sample rate, channels, language, bitrate etc....)
- Information about the text (language of subtitle)
- Information about chapters (count of chapters, list)
Supported formats : OGG (OGM), AVI, MP3
If you are interested : Media Info (http://mediaarea.net/mediainfo/)
For direct Download : v0.1.1c with GUI (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1c_win32_gui_b.zip)
I need some beta testers to test all video and audio files, if you can report bug on my forum (http://www.mediaarea.net/forum/index.php?act=SF&f=5)
Thanks!
PS : if you are a Visual C++ developper, I am interested too, because Borland C++ builder make big files (1 MB) :(, and I don't know Visual C++...
write me write me (mailto:mediainfo@mediaarea.net?subject=Programming)
Emp3r0r
29th December 2002, 18:25
On all my backups with AC3 sound, it reported the wrong bitrate for the AC3 sound, see below:General
Name : bhd
Format : Ogg media stream
Length : 1518 MB
Title : Black Hawk Down
Comment : A gripping dramatization of the abortive 1993
U.S. military operation in Somalia, Africa, that resulted in the
Ambush in Mogadishu, Black Hawk Down earns high marks for its
hyperrealistic representation of modern-day conventional warfare.
Video #0
Format : DivX 5
Aspect : 640 x 272 (2.25) at 24 fps
Audio #0
Format : AC3 at 56 Kbits/s
Infos : 5 channel(s), 48 KHz
Language : English
Chapters #0
Chapters count : 28Otherwise it is a nice program! Keep up the good work!
Zenitram
29th December 2002, 22:57
Strange... I writed on your mail for having the header of the file and being able to debug it...
NoWoL
29th December 2002, 23:20
About your "big file problem", you can use UPX (http://upx.sourceforge.net/) to compress your executable.
On my homemade media player (VC++ with wxWindows), I got a 66% compression rate.
Emp3r0r
29th December 2002, 23:24
sending the header to your email
Zenitram
30th December 2002, 00:10
bug fixed!
new version 0.1.1a (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1a_win32_gui_b.zip)
For the example of Emp3r0r, it is now :
Audio #0
Format : AC3 at 448 Kbits/s
Infos : 5 channel(s), 48 KHz
Language : English
Zenitram
30th December 2002, 00:26
Originally posted by NoWoL
About your "big file problem", you can use UPX (http://upx.sourceforge.net/) to compress your executable.
On my homemade media player (VC++ with wxWindows), I got a 66% compression rate.
I didn't know this kind of program! 70% compression rate for the executable, when zipped 360 KB instead of 460 KB...
How does they do? ;-)
But whith a Visual C++ developpement, it may be even more...
Thanks
LeonMcNichol
30th December 2002, 04:22
Here's something interesting. It doesn't show the chapter info and subtitle language if the ogm is edited in virtualdubmod.
I did the armitage oav to ogm and created a giant file that I cut up in virtualdubmod. (Had to correct the chapters.) I gave your program a test on them and it only showed #4 having chapters and listed the language for the subtitle stream. This one I had a problem with the very last subtitle not getting muxed with the rest of the srt. So this one was demux fix subtitles and remuxed with oggmux. Hmmm apparently it messes up with the audio langauge names too. Lists stream 1 as japanese and stream 2 doesn't have a name. When it's English for 1 and Japanese for 2.
General
Name : Armitage III OAV - 01
Format : Ogg media stream
Length : 233 MB
Video #0
Format : DivX 5
Aspect : 448 x 336 (4/3) at 24 fps
Audio #0
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : Japanese
Audio #1
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Text #0
Format : Subrip
General
Name : Armitage III OAV - 04
Format : Ogg media stream
Length : 157 MB
Video #0
Format : DivX 5
Aspect : 448 x 336 (4/3) at 24 fps
Audio #0
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : English
Audio #1
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : Japanese
Text #0
Format : Subrip
Language : English
Chapters #0
Chapters count : 04
Oh, and I also noticed it can't tell the bitrate for the video source of the ogm. I'm not sure why, but GSpot does the same thing. Would be kind of nice if it could, but I'm guessing OGMs don't allow it.
hofmetzger
30th December 2002, 10:19
something really useful, at least for me cause i'm printing these informations on my covers...
would be nicer if i could choose the outputformat (like the id3infos in the winampplaylist)... :rolleyes:
but there is sth else: am i stupid or why is the output black in black?
again: nice tool
Chris_147
30th December 2002, 11:48
Originally posted by Emp3r0r
On all my backups with AC3 sound, it reported the wrong bitrate for the AC3 sound
Can you add tags to .ac3 files (like for .mp3 files)?
Another question for Zenitram:
it would be cool if you could make it write also and make it as an ActiveX control or a DLL. Just a suggestion...
Zenitram
30th December 2002, 19:51
LeonMcNichol> Are you sure your OGM works? I tried to do it (1 Video and 2 Vorbis) with VirtuaDubMod and the OGM doesn't work!!! (I can't select the second Audio).
Apparently, the OGM with VirtuaDubMod is bad, with the language tag in the video stream :( With OggMux, it is OK
If it works, can you send me the header of your files please?
For the bitrate, there is no indication in the Tobias header for video, (very bad!!!), so I can't say it. Because I don't know the duration too, I can't estimate it too :( (like in MP3, but for MP3 a use ID3lib to have the duration, I don't use Ogglib for now, maybe later, but Ogglib is diffucult to compile under Borland)
I don't know how to have the true bitrate in AVI, I estimate it with duration and bitrate of audios, I think I can do the same thing with OGM as soon I have the duration (every player know it, it must be elsewhere!!!)
hofmetzger> OK for choose the output format if you accept to debug it ;-)
wrtie me (mediainfo@mediaarea.net). It can be as the winampplaylist, but more like the mp3 decoder (like "%1 - %2") than the ogg decoder ("$if" must be easy to do, but not the other syntax like cut, pad etc...)
For black in black bug, no your are not stupid, you juste use Win2000 I think, it is a stupid color selection bug, I corrected with this new version (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1b_win32_gui_b.zip)!!! thank you to have tested it with this bug :)
Chris_147> I dont add any tags, I read them only!!!
I can already read tags in OGM with AC3 stream
and even if I add tags in file, AC3 format doesn't permit it, so it's not possible...
For ActiveX or DLL, It may be possible if someone show me how to do, I have a C++ class, welcome to teach me how to construct a DLL...
LeonMcNichol
30th December 2002, 23:42
Yes, they work. I can switch between audios and subtitles. I'm not that smart, I don't know how to get the ogm header. So if you tell me how, I'll send you it. Oh and I didn't create the OGM in VirtualDubMod, I created it in oggmux. I edited and split it up in virtualdubmod.
As for ogm video bitrates... Oh, I did not know it was left out of the header. Hmmm, maybe in the future that'll be added.
Zenitram
31st December 2002, 00:16
LeonMcNichol> There is a debug button, which will create a 10K file named "NameOfFile.header.ogm"....
(take hte 0.1.1b version, there is a bug in the "a" version...)
You can send it me on my mail or on my forum (http://mediaarea.net/forum)
GIR
31st December 2002, 10:16
Good program, however for some odd reason its reporting 192k AC3 streams as 191k on the file I tested it on:
General
Name : MD
Format : Ogg media stream
Length : 18 MB
Title : MD
Author : GIR
Comment : MDT (AC3 Audio Version)
Video #0
Format : S-MPEG4 v3
Aspect : 720 x 312 (2.25) at 25 fps
Audio #0
Format : AC3 at 191 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : English
Audio #1
Format : AC3 at 191 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : French
Audio #2
Format : AC3 at 191 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : German
Audio #3
Format : AC3 at 191 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : Italian
Audio #4
Format : AC3 at 191 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : Spanish
Zenitram do you have any plans to turn it into a property page?
Zenitram
31st December 2002, 18:31
LeonMcNichol> the new version (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1c_win32_gui_b.zip) correct the bug with VirtualDubMod, thanks for the help
GIR> The audio bitrate has been tested several times... Can you say me what is said in the 'Audio #' tabs (the bitrate is in bits, not KiloBits)?
I changed the round method (it was a floor method before) in the new version (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1c_win32_gui_b.zip), try it!
What do you mean by 'property page', sorry for my English but I don't understand!
Ah, for your remark LeonMcNichol about video bitrate, I found how to have duration, so I will quickly be able to estimate the video bitrate!
GIR
31st December 2002, 22:31
In the new version for all of the AC3 streams it reports:
Nominal Bitrate : 191872 bits/s
&
Format : AC3 at 192 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : English
cool :)
I guess what I mean by property page is, a shell extension, like how you right click on an .avi file and there is a tab with the details for the video/audio etc, something like that for OGG Media would be great, there was a site somewhere with code examples for such a thing, I did have plans to make it myself using the Visual Basic code examples at another site (http://www.domaindlx.com/e_morcillo/) except I ran into a few problems :(
LeonMcNichol
31st December 2002, 23:06
Originally posted by Zenitram
LeonMcNichol> the new version (http://mediaarea.net/mediainfo/download/mediainfo_0.1.1c_win32_gui_b.zip) correct the bug with VirtualDubMod, thanks for the help
General
Name : Armitage III OAV - 01
Format : Ogg media stream
Length : 233 MB
Video #0
Format : DivX 5
Aspect : 448 x 336 (4/3) at 24 fps
Audio #0
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : English
Audio #1
Format : Vorbis at 64 Kbits/s
Infos : 2 channel(s), 48 KHz
Language : Japanese
Text #0
Format : Subrip
Language : English
Chapters #0
Chapters count : 05
WOO! That's great! Much better than GSpot!
Originally posted by Zenitram
Ah, for your remark LeonMcNichol about video bitrate, I found how to have duration, so I will quickly be able to estimate the video bitrate!
YAY! That will be great! Thanks for such a cool tool. :D
Zenitram
1st January 2003, 16:55
Originally posted by GIR
In the new version for all of the AC3 streams it reports:
Nominal Bitrate : 191872 bits/s
So this is not a 192 000 bits/s AC3! :sly:
with roudness yes now... :D
So, for property page : after few searches, I know how to have a "media Info" line if you right click on the file (like "Enqueue to Winamp"...), but it is too difficult for me to put it in the property page, if someone know how to do and would like to help me... as for drag n drop, I didn't understand yet OLE functions...
I've done a Mailing list (mediainfo-subscribe@domeus.co.uk) for those who wants to be warned for a nex version...
Gant
2nd January 2003, 15:42
Great little tool... really amazing. :)
Thnaks a lot man... i'l defenitly use it. :D
Alxemi
11th January 2003, 19:53
Thank you very much for this GREAT tool!!!
I will send bugs if i can
2delete
1st May 2003, 13:15
is this tool further developed?
I am wondering if rmvb could be added to the support format.
butterw
1st May 2003, 14:21
rm is supported.
i know rm is supported. But not rmvb...........
butterw
1st May 2003, 16:43
What would the difference between rm and rmvb be, except for the extension ?
ok my fault, i know there shouldn't be any different but the fact that the right click extension doesn't recongzie rmvb makes me fault it doesn't work with it.
I have just open it via the media info instead of from the right click extension. And it works.
And the website has the link of 0.3 GUI pointed to a 0.2 GUI zip file.
The top download link which allows you to down the 0.3 GUI zip files doesn't work. There is something wrong with the zip file. But extraction works ok ...........
Any possibility for XCD support?
butterw
2nd May 2003, 12:11
it may be a good idea to email the author directly if you have feature requests, because I don't think he visits Doom9 very often at the moment.
With continued development, I think this program could turn out real neat.
Zenitram
3rd May 2003, 17:35
2delete> This tool is always under developpement, but I haven't new stable version, I think i will release a new stable version with better GUI mid-may, with command line EXE and sources for using it in other tools (DLL or static lib).
And holidays & sun are more important for me :))
iwod> rm and rmvd are same, I will add rmvb context menu support... Bug in download page is corrected
kxy> Please contact me (mediainfo@mediaarea.net) for giving me an example file, and this software will support XCD...
Please, for bug and feature request, post on my forum (http://www.mediaarea.net/forum), this forum is not the good one for this!
Thanks for motivate me!
Just had the opportunity to try this little but amazing tool on a couple of ogm files and I think it's really useful. Keep up your good work.
regards,
iago
Stalker
9th May 2003, 00:24
Neat tool!
I noticed a bug in the filesize for 2gb+ files, though:
General
File size : -2089492480 Bytes
Format : Resource Information File Format
PlayTime : 2h 14mn 47s 389ms
Zenitram
9th May 2003, 00:33
Originally posted by Stalker
I noticed a bug in the filesize for 2gb+ files, though:
General
File size : -2089492480 Bytes
Yes, this is a already reported bug (arghhh... in a few time a bug tracker on Sourceforge... :) )
I know how to correct it, and expect to have time to update the source for this before the next official release.
But there is a 'lot' of work to do on the next release, as you will nearly see... ;-)
(Maybe not for user, but for developers as requested...)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.