Quote:
Originally Posted by vlada
Zenitram
I just discovered the new function in MediaInfo, the --Inform parameter. It is exactly what I need for my application. But the parameters are split into different groups (General, Video, Audio etc.) I would need a mixture of these parametrs, how can I do it? Or do I have to run MediaInfo 3-times to get all the parameters?
|
Directly from the Command line, you currently can have only one group. I am thinking about how to implement multiple groups.
But you can give to MediaInfo a file directly (I forgot to put it in the help), example :
Code:
MediaInfo --Inform=file://Example.csv "TEST.EVO"
General : D:\Programmation\MediaInfo\Release\MSVC\CLI\TEST.EVO
Format : MPEG-2PS
Length : 179 MiB for 4mn 49s 472ms
Video #0 : VC-1
Aspect : 1920 x 1080 (1.778)
Audio #0 : AC3+
Infos : , 48 KHz
Text #0 : RLE
Text #1 : RLE
Text #2 : RLE
Take a look in the /plugins/custom directory for examples (how to create Example.csv)
Quote:
Originally Posted by vlada
And by the way there is a small bug in the examples for this function (--Help-Inform). It displays the CL as MediaInfo.exe -Inform=..., bu the correct should be MediaInfo.exe --Inform=... It took me some time before I found out why it isn't working.
|
Oups. Corrected in the CVS, will be OK for the next release.
Note : Kurtnoise, your given values are for the programming interface only, from the command line "names" are used.