Log in

View Full Version : MediaInfo


WorldWarII
16th March 2013, 20:15
I would like to ask if is possbile to modify the media info? I notice all the settings are shown there .I'm not sure how this encoder done this.The writing library is modified i don't know what kind of mod could do that. I looked everywhere but i couldn't find anything.Do you guys have any ideea what is using? Very Best.Mike

http://imageshack.us/a/img542/7017/66523339.th.png (http://imageshack.us/photo/my-images/542/66523339.png/)

LoRd_MuldeR
16th March 2013, 20:28
It's OpenSource, so you can modify MediaInfo in whatever way you want to. Well, depending on your programming skills ;)

But what your screenshot is showing is an application, KMPlayer to be more specific, making use of the MediaInfo library, in order to display meta information to the user.

Of course you can write your own application, based on the MediaInfo library. And then you can present the output from MediaInfo to the user in whatever way you like.

This usually does not need modifying the core library itself, though.

WorldWarII
16th March 2013, 21:05
To be honest i don't have much skill when it comes to mediainfo but i would like to learn the steps to achieve that. A friend of mine said "Hex Editor can do that but seems to be a little difficult .I'm usually using MeGUI x264 to encode,can be modified from there directly? I couldn't find nothing related to media info in megui,besides encoding settings. How can i write my own application? I really want to do that:)
Very Best

LoRd_MuldeR
16th March 2013, 21:27
I really don't understand what exactly you are trying to achieve :confused:

If you goal is to modify MediaInfo, then first you should describe clearly what exactly you want to change. And then, of course, you would NOT do this by trying to hex-edit the existing binary! Instead you would go back to the MediaInfo source code, modify whatever you need to, and then compile a new MediaInfo binary from the source code. Though, you won't be able to achieve anything that way, if you cannot read and understand the MediaInfo source code ;)

Finally, if you want to write your own application, but you don't have any programming skills yet, then you should start by reading a good book about, for example, C++ programming. After that, start with simple tutorials/examples...

WorldWarII
16th March 2013, 21:52
For example if i encode a simple video, the writing library is showing like this: X264 core 129 r2245 bc13772,so i'm trying to change that for example by putting any name. Exacly like the encoder did in the screenshot. Moreover if you look in the screenshot the "encoding settings" is not shown .So basically i'm trying to modify the Writing Library and hide the encoding settings.This is how looks my mediainfo compared to the screenshot above.

http://img547.imageshack.us/img547/8392/89958504.png (http://imageshack.us/photo/my-images/547/89958504.png/)

LoRd_MuldeR
16th March 2013, 22:03
MediaInfo is a tool/library to read information from existing media files.

The reason why MediaInfo can show "Encoding settings" for files encoded by x264 is because the x264 encoder writes its settings into the file, e.g. for debugging purposes.

Modifying MediaInfo to not show that info doesn't make any sense, because one could simply use the original MediaInfo (or another tool), instead of your "crippled" MediaInfo variant, in order to make that information "visible" again.

Although it would be possible to modify x264 to never write that information into the file, you cannot expect that anybody here will give advices on how to achieve this. You're not the first one :rolleyes:

WorldWarII
16th March 2013, 22:15
Oh i understand that means i come to a dead end:( .Anyways i'll try to get the book you suggest me and try to figure out how it works.Thank you very much for your time,atleast you gave me some directions to follow.
Very Best.Mike