MediaArea / MediaInfo

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://MediaArea.net/MediaInfo
BSD 2-Clause "Simplified" License
1.31k stars 158 forks source link

MediaInfo CLI read Menu ONLY #907

Closed peter8777555 closed 2 months ago

peter8777555 commented 2 months ago

OS : Windows 11 MediaInfo GUI/CLI : V24.06

I want MediaInfo CLI read Menu ONLY,but MediaInfo CLI shows ALL informations.

MediaInfo --Output=Menu;"%MenuID/String%" 1.mkv

z1

JeromeMartinez commented 2 months ago

You need to use MediaInfo CLI. Here you use MediaInfo GUI and MediaInfo GUI doesn't (yet) support CLI related commands. https://mediaarea.net/MediaInfo/Download/Windows

peter8777555 commented 2 months ago

The GUI snapshot is a sample. I use CLI. MediaInfo --Output=Menu;"%MenuID/String%" 1.mkv

By the way, MediaInfo --Output=Video;%BitRate/String% 1.mkv 3 905 kb/s

Can i get 3,905 kb/s or 3905 kb/s ?

JeromeMartinez commented 2 months ago

The GUI snapshot is a sample.

would have been better to copy/paste the CLI output for avoiding the mistake.

MediaInfo --Output=Menu;"%MenuID/String%" 1.mkv

OK, I see, it is fine with everything but Menu, I need to dig in code for that

Can i get 3,905 kb/s or 3905 kb/s ?

MediaInfo.exe "--Language= Config_Text_ThousandsSeparator;," (2 spaces after "=")

peter8777555 commented 2 months ago

would have been better to copy/paste the CLI output for avoiding the mistake.

My fault.

MediaInfo.exe "--Language= Config_Text_ThousandsSeparator;," (2 spaces after "=")

Yes,it works.

OK, I see, it is fine with everything but Menu, I need to dig in code for that

I have tested General,Video,Audio,Text and works well. Do you have test Chapter and Image ?