Carlos Mojica
Member
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
but nothing, How should I pass the parameters?
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
B4X:
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)
B4X:
she.InitializeDoNotHandleQuotes("she", "mediainfo ", "--Output=""Video;%Duration%""", "/home/cmojica/ServidorChunche/Files/1/Agenda/18.mp4")
but nothing, How should I pass the parameters?