Log in

View Full Version : MediaInfo(Lib) 0.7 - Reading information about media files


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

Zenitram
5th July 2010, 18:15
This makes me wonder whether they actually contain SBR signalling.

I definitly hate this SBR and PS stuff!
There is no means to be sure of the (non)presence of SBR and PS without parsing the comple raw AAC stream :(.

VLC says there is no PS, I trust it (it decodes the stream).
I found a solution for your 2 files: there is "chan" atom (see QuickTime reference (http://developer.apple.com/mac/library/documentation/MusicAudio/Reference/CAFSpec/CAF_spec/CAF_spec.html#//apple_ref/doc/uid/TP40001862-CH210-BCGECJAJ)), with 1 channel indication, so I think I can trust it. When I find this atom, I trust it (--> Mono, I disable automatic stereo when I detect mono file).
Your file will be in next version:
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Format settings, PS : No
Codec ID : 40
Duration : 9s 682ms
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 44.1 KHz
Stream size : 75.6 KiB (1%)
Title : Core Media Audio
Encoded date : UTC 2010-06-14 17:17:59
Tagged date : UTC 2010-06-14 17:18:09

But this is still heuristic, I will not be able to be sure of SBR and/or PS until I integrate a complete AAC decoder (not plan for soon, this is long to do).

SeeMoreDigital
5th July 2010, 19:25
Thanks for looking into this Zenitram...

I thought it was a little odd that these iPhone4 files were showing PS. Especially as no Apple devices or their (Windows) Quicktime player supports PS - as far as I know!

mata7
9th July 2010, 00:58
hello is there a way to open media info more big, sorry about my English

what i mean is when i right click on a file and click media info when media info open is very small screen by default, i open more the the screen to see more info on the file but when i reopen again Oder file the screen is small again

thanks in advance

Zenitram
10th July 2010, 01:24
hello is there a way to open media info more big

Look at my comments in:
http://sourceforge.net/tracker/index.php?func=detail&aid=1696906&group_id=86862&atid=581184

mata7
10th July 2010, 01:54
great thanks, i guest this feature is like duke nuke forever project

Zenitram
10th July 2010, 01:56
great thanks, i guest this feature is like duke nuke forever project

Maybe... :(
It is on the ToDo list, but this list is long, very long.

mata7
10th July 2010, 05:04
is all good man, i thank you for this great program and for you work and of course for give it for free

LoRd_MuldeR
11th July 2010, 16:58
If anybody cares, here's a statically-linked build of MediaInfo v.0.7.34:
http://code.google.com/p/mulder/downloads/detail?name=MediaInfo.2010-07-11.zip&can=2&q=

MrC
12th July 2010, 17:23
Hi Zenitram,

an issue with 0.7.33 and 0.7.34 (0.7.32 is OK): when reading large MPEG-2 Video files (m2v/vob), MediaInfo is hanging for a big while (more than 1 min with 4GB files, on intel core2 duo system), then it comes out with correct reading. Is it now parsing all the file? Is there any way to say "use the 0.7.32 quick read mode"?

;)

Bye

Zenitram
12th July 2010, 17:46
when reading large MPEG-2 Video files (m2v/vob), MediaInfo is hanging for a big while (more than 1 min with 4GB files, on intel core2 duo system)

If it is confirmed, this is a bug.
I tested with a 800 MB file (the maximum I have for a VOB file), it is immediate (no complete file read), so I am surprised about your issue.

I think I need your file to check this at home, you can contact me by private message and I will provide a private FTP server for uploading.

Midzuki
15th July 2010, 15:47
@ Zenitram

please take a look at this:

http://forum.doom9.org/showthread.php?p=1417792#post1417792

Zenitram
15th July 2010, 15:50
please take a look at this

Kurtnoise has well replied.
I will change "Text" to "Subtitle" the next time I break the API.

Midzuki
15th July 2010, 16:05
^Thanks for answering.

Keiyakusha
15th July 2010, 16:20
Kurtnoise has well replied.
I will change "Text" to "Subtitle" the next time I break the API.
Maybe you can also rename "Cover" to "Attachment"? Since attachments can be anything, not only covers.
Also maybe you can print filenames or something, instead of this Yes-yes-yes? In the way it is now it looks funny and not very useful.

Writing application : mkvmerge v2.7.0 ('Do It Again') built on Apr 16 2009 22:41:30
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

Zenitram
15th July 2010, 16:24
Maybe you can also rename "Cover" to "Attachment"? Since attachments can be anything, not only covers.
Also maybe you can print filenames or something, instead of this Yes-yes-yes? In the way it is now it looks funny and not very useful.

This is on my ToDo-list, but in position ~150 :(.

b66pak
15th July 2010, 20:10
how does mediainfo calculate the audio delay in a .mkv file?

here is mediainfo report:

General
Complete name : split3.mkv
Format : Matroska
File size : 2.57 GiB
Duration : 40mn 42s
Overall bit rate : 9 042 Kbps
Encoded date : UTC 2010-07-15 18:01:22
Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42
Writing library : libebml v1.0.0 + libmatroska v1.0.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 40mn 42s
Bit rate : 8 414 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.183
Stream size : 2.39 GiB (93%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 40mn 42s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Video delay : 16ms
Stream size : 130 MiB (5%)


here is eac3to report:

eac3to split3.mkv
MKV, 1 video track, 1 audio track, 0:40:42, 50p
1: h264/AVC, 720p50
2: AC3, 2.0 channels, 448kbps, 48kHz, dialnorm: -27dB, 316ms


the delay reported by eac3to is the correct one!
_

jez9999
16th July 2010, 11:28
Hi, I'd like to check whether this is a known bug with MediaInfo.

I think it was installed with the K-Lite codec pack. Now, I get a 'Media Info' link in the Explorer context menu whenever I right-click on a file. If I get media info on that file, I'm taken to a popup looking like this: http://cache.techie-buzz.com/images/stories/2008/10/mediainfomainscreenshot.png

The version number is 0.7.33.

My problem? In the About tab, there is a checkbox with the text 'Enable shortcut in context menu'. Presumably, when unchecked, that should remove the 'Media Info' link in the Explorer context menu, right? Well it doesn't. That context link is always there. Am I misunderstanding something, or is this a known bug. Also, how can I forcibly remove that context link?

XhmikosR
16th July 2010, 11:33
That's not the official MediaInfo. Since you installed K-Lite you better ask in their forum. It must be caused because of the installer adding the context menu for all users and the GUI sets it for the current user or the other way around.

Keiyakusha
16th July 2010, 11:42
Also About page says that the author of the GUI is Atak_Snajpera, so you probably can contact him via this forum. However not sure how good this idea is.

Atak_Snajpera
16th July 2010, 11:56
@jez9999
Did you click OK after you unchecked 'Enable shortcut in context menu' ?

jez9999
16th July 2010, 13:07
Atak: Yes. :)

Keiyakusha
16th July 2010, 13:08
By the way I can confirm that by removing checkbox and cliching OK, "Media Info" still remains in context menu however GUI won't open anymore. I see "open with" dialog instead. This is on win7 32bit. Other that this I very like this GUI ^_^

Atak_Snajpera
16th July 2010, 13:21
Well I have Windows 7 x64 and it works ok.
http://www.mediafire.com/file/igjfdm2xt8435tg/test.mp4

Keiyakusha
16th July 2010, 14:07
I just noticed, after disabling checkbox, clicking OK and running ccleaner it reports this (http://imgur.com/wghtx.png).
This path looks strange to me since i don't have subfolder "tools". And klite was never installed on my system.
After fixing it "Media Info" entry disappeared from context menu and now if I enabling/disabling checkbox it seems to be working fine :confused:

jez9999
16th July 2010, 15:08
Atak: tried it on a Windows XP box? :-)

Atak_Snajpera
16th July 2010, 16:50
None of my friends has XP now.

jez9999
16th July 2010, 23:38
So, what, you can't be bothered to support Windows XP? Fine, but make sure the Media Player Classic installer that installs your shell extension doesn't support XP either. Otherwise it's kind of inconsistent, don't you think?

Zenitram
17th July 2010, 02:30
how does mediainfo calculate the audio delay in a .mkv file?

Padding bytes divided by stream bitrate.

the delay reported by eac3to is the correct one!

Please provide a sample, I'll check.

jez9999
17th July 2010, 10:30
By the way people, the way I got rid of the WinXP Explorer context menu item for Media Info that Atak_Snajpera is too lazy/inept/incompetent to deal with is to delete the HKEY_CLASSES_ROOT\*\shell\Media Info reg key.

Zenitram
17th July 2010, 12:00
is too lazy/inept/incompetent

Is it necessary to insult people who creates software? Do not use their software.

Atak_Snajpera
17th July 2010, 22:08
By the way people, the way I got rid of the WinXP Explorer context menu item for Media Info that Atak_Snajpera is too lazy/inept/incompetent to deal with is to delete the HKEY_CLASSES_ROOT\*\shell\Media Info reg key.
Grow up! You get something for free and you still whining like some spoiled kid. You would change your tone if you had to work 12 hours a day!

stax76
17th July 2010, 22:52
Hello Zenitram, I came across a little issue with file extensions, MediaInfo hangs with *.dtshd, after renaming to *.dts everything works fine. I think users/applications will probably use many different file extensions like:

dts
dtshd
dts-hd
dtsma
dts-ma
dtshr
dts-hr
dtses
dts-es

avih
17th July 2010, 23:29
By the way people, the way I got rid of the WinXP Explorer context menu item for Media Info that Atak_Snajpera is too lazy/inept/incompetent to deal with is to delete the HKEY_CLASSES_ROOT\*\shell\Media Info reg key.
Striked. Keep your tone down..

Zenitram
18th July 2010, 01:45
how does mediainfo calculate the audio delay in a .mkv file?

So this is with the "TimeCode" value.
The sample you sent me is very weird

The fisrt AC-3 block has TimeCode=316
The first frame (I-frame) in your file has TimeCode=300
After, there is lot of B-Frames, with the following TimeCodes (TimeCode FrameType pic_order_cnt_lsb) :
300 I-Frame 48 (not IDR, not normal)
140 B-Frame 32
60 B-Frame 24
20 B-Frame 20
00 B-Frame 18
40 B-Frame 22
100 B-Frame 28
80 B-Frame 26
120 B-Frame 30
220 B-Frame 40
180 B-Frame 36
160 B-Frame 34
200 B-Frame 38
260 B-Frame 44
240 B-Frame 42
280 B-Frame 46
316 AC-3 frame
620 P-Frame 80
460 B-Frame 64
380 B-Frame
340 B-Frame
320 B-Frame
360 B-Frame
420 B-Frame
400 B-Frame
440 B-Frame
540 B-Frame
500 B-Frame
480 B-Frame
520 B-Frame
580 B-Frame
560 B-Frame
600 B-Frame
940 I-Frame
780 B-Frame
... (normal, one P-Frame between 2 I-Frames, ~15 B-frames between 2 I/P-Frame)

From my point of view, B-Frames before TimeCode 300 are not decodable (missing reference I/P-Frame before TimeCode 300, pic_order_cnt_lsb of B-Frames are inferior to pic_order_cnt_lsb of the first I-Frame), so the delay between the first decodable AC-3 frames (316) and the first decodable AVC frame (300) is 16 ms.

Zenitram
18th July 2010, 01:46
Hello Zenitram, I came across a little issue with file extensions, MediaInfo hangs with *.dtshd, after renaming to *.dts everything works fine.

I will add other extension to automaticly select the DTS parser, but please provide the file with hang, another parser (when I don't know the extension, I test withe other parsers) is hanging, and this is a bug.

stax76
18th July 2010, 07:50
Can't you reproduce this with any dtshd file? I tested with a master audio and with a hi-res file and both were hanging.

Zenitram
18th July 2010, 11:22
Can't you reproduce this with any dtshd file?

None of my ~20 .dtshd sample files are hanging.
(tested with v0.7.34)

stax76
18th July 2010, 12:21
I tried now again with v0.7.34, it's not really hanging but a 3,2 GB DTS-MA file with dtshd extension takes 40 seconds, a 100 MB chunk takes about a second, if it helps I can upload this chunk.

Zenitram
18th July 2010, 13:02
I tried now again with v0.7.34, it's not really hanging but a 3,2 GB DTS-MA file with dtshd extension takes 40 seconds, a 100 MB chunk takes about a second, if it helps I can upload this chunk.

Mines stop after the 32 first frames, so few KB, this is immediate, as wanted.
Please test this version:
http://sourceforge.net/projects/mediainfo/files/development_snapshots/0.7.34%2B/MediaInfo_GUI_20100717_Windows_i386_WithoutInstaller.7z/download

If it is not immediate, please provide a sample (send a private message for provate FTP if you need it)

Mosu
18th July 2010, 16:55
Padding bytes divided by stream bitrate.

In a Matroska file audio tracks have no padding. The offset should just be the difference between the timecodes of the first packet of the audio and video track.

Zenitram
18th July 2010, 16:59
In a Matroska file audio tracks have no padding.

Exact, I made an error, AVI has padding, MKV has TimeCodes.
See http://forum.doom9.org/showthread.php?p=1418523#post1418523 for the reason I put this delay between Audio and Video. What would be your mind about this?

stax76
18th July 2010, 18:30
Here is the sample, 100 MB dts-ma:

http://www.stax76.bplaced.net/files/samples/test.dts-ma

Zenitram
19th July 2010, 01:24
Here is the sample, 100 MB dts-ma

Please test https://sourceforge.net/projects/mediainfo/files/development_snapshots/0.7.34%2B/MediaInfo_GUI_20100718_Windows_i386_WithoutInstaller.7z/download
I did not yet add the "dts-m"a extension to the list of known extensions, so all parsers are still tested, but they should not parse the whole file anymore. At home, this is now <50ms (<5ms if extension is "dts", so this will be this speed after I added "dts-ma" extension to the list, but I prefer first to be sure that I have noot anymore this bug)

stax76
19th July 2010, 11:26
It's fixed, great support, thanks!

sapient
21st July 2010, 00:12
Note: I am sorry for asking a question that may have been already answered, but I don't have time to go through 38 pages of posts. If someone could point me to the answer, if it already exists, I would be grateful. On to the problem:

In my windows 7 x64 installations, on 3 different PCs, mediainfo's infotip does not work. I only get the standard, very uninformative, windows info tip. I read somewhere that wmp might be interfering, but even uninstalling all of windows' media features (wmp, wmc, dvdmaker and basic components) did not solve the problem. Is there a way to get the infotip to show?

P.S.: I am using the latest x64 version of mediaInfo

Zenitram
21st July 2010, 10:51
In my windows 7 x64 installations, on 3 different PCs, mediainfo's infotip does not work

I have a bug with x64 tooltips, I had not yet the time to look at it. Low priority for me, the main developer.

sapient
22nd July 2010, 01:11
Thanks for the quick reply anyway.
I hope I reminded you you have x64 users too, if it helps shift any priorities ;-)

Zenitram
22nd July 2010, 09:45
I hope I reminded you you have x64 users too, if it helps shift any priorities ;-)

I know... I have thousands of x64 users (me included), but none of them is ready to pay for this request, so I prioritize the features that will contribute to my salary first... Unlike some other tools, MediaInfo is my fulltime job, don't forget it, so uneconomic features are handled after the economic ones (requests from people here are often useful for my professional offer and quick to implement, but unfortunatly for you, not this one)

Nexin
29th July 2010, 03:01
A resize for the selected file informations instead of having to scroll and squint. Cannot seem to make that part of the gui bigger. Would be if can be done and for it to remember it's size for all future uses. The reason i no longer use the gui from context menu or at all. Use G-Spot instead at least i can have that full size and see all informations that is needed at once.

Please rethink for your users and how they see this tool. Cosmetic but would make a huge difference with using the tool.

Zenitram
29th July 2010, 09:17
(...) Please rethink for your users and how they see this tool. Cosmetic but would make a huge difference with using the tool.

I think I already said it here, but I will repeat: THIS IS PLANNED. I know it would be better to have this feature.
I do what I want, you can do what you want, MediaInfo is open-source software, you have a lot of solutions:
- Pay me for what you need
- Pay someone else for doing it
- Do it yourself.
For me, I currently work for people paying me for improving MediaInfo, and they have the priority compared to the needs from people who need something for free (if they really need it, they would pay for it), I am not your slave. My current focus is on the features, not the GUI.
So this feature is planned for when I have a bit free time. In the meanwhile, someone send me a patch, I will integrate it.

Please rethink to the developers and how much you paid for this software.