I want to execute the following command in linux
mediainfo --Output="Video;%Duration%" /Agenda/18.mp4
to obtain the duration of a video file, its works in the command line, but in B4J I cannot find how to. I have tryed
Dim params As List
params.Initialize
params.Add("--Output=""Video;%Duration%""")
params.Add("/home/cmojica/ServidorChunche/Files/1/Agenda/18.mp4")
she.InitializeDoNotHandleQuotes("she", "mediainfo ", params)
she.InitializeDoNotHandleQuotes("she", "mediainfo ", Array("--Output=""Video;%Duration%""", "/home/cmojica/ServidorChunche/Files/1/Agenda/18.mp4"))
but nothing, How should I pass the parameters?