Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
10th July 2018, 04:49 | #1 | Link |
Registered User
Join Date: Apr 2011
Posts: 2
|
How to use MediaInfo CLI to obtain info of a specific audio track by its index?
As the title says: how to use MediaInfo CLI to obtain info of a specific audio track by its index?
Using this command directly in the CMD it returns the audio track count of a video file: Code:
mediainfo.exe "C:\file.mp4" "--Inform=General;%AudioCount%" This is something random that I tried to get the "%Format%" field for audio track with index=1 but of course it does not work: Code:
mediainfo.exe "C:\file.mp4" "--Inform=Audio;--StreamKindPos=1;%Format%" however I know this can be done, I mean I know mediainfo can obtain info of a specific stream index, at least using mediainfo native library instead of the CLI program (but I need to use the CLI program). Last edited by pitoloko; 10th July 2018 at 04:55. |
Thread Tools | Search this Thread |
Display Modes | |
|
|