hi
want to create nfo file by drag drop specific video files and not do whole folder like this post here
https://forum.videohelp.com/threads/383550-Mediainfo-CLI-to-creat-NFO
thanks for any help
+ Reply to Thread
Results 1 to 10 of 10
-
-
Code:
For %%F IN (%*) do ( ("C:\Program Files\MediaInfo CLI\MediaInfo.exe" "%%~fF" > "%%~dpnF.txt") shift)
Last edited by Secoast; 24th Jun 2024 at 15:19.
-
-
You need the Mediainfo client, not the mediainfo GUI.
https://mediaarea.net/en/MediaInfo/Download/Windows
Then you can use this batch:
Code:@echo off "E:\MediaInfo_CLI\MediaInfo.exe" "%~1" >"%~1.nfo" exit
-
-
-
Coming to this one a wee bit late.
is there a way that I can get the MediaInfo CLI to generate a single file for ALL specific media in a set of folders.
I am using the script below from a parent folder currently to loop through all sub-folders. I only need one mediafile file per folder though.
for /R %%F in ("*.wav" "*.flac" "*.mka") do "C:\Program Files\MediaInfo\MediaInfoCLI\mediainfo.exe" "%%~dpnxF" >"%%~dpnxF.txt"
One other question, how do I change the formatted output to html, if required. Just changing the extension gives me an html file with unformatted content.
Thank you.Last edited by dragonfly; 2nd Jun 2025 at 06:49.
-
For all output to a single file in a folder you need to give it a unique file name and output all from MediaInfoCLI to that file.
Code:for /R %%F in ("*.wav" "*.flac" "*.mka") do "C:\Program Files\MediaInfo\MediaInfoCLI\mediainfo.exe" --output=html "%%~dpnxF" >> "%%~dpF~MediaList.txt"
Last edited by pcspeak; 3rd Jun 2025 at 16:40.
-
Similar Threads
-
How to Create a Batch File For Subtitle Downloading
By ridibunda in forum Video Streaming DownloadingReplies: 4Last Post: 6th Apr 2022, 13:33 -
MediaInfo CLI
By UserName351 in forum ProgrammingReplies: 4Last Post: 21st Dec 2021, 18:25 -
MediaInfo CLI command
By UserName351 in forum Newbie / General discussionsReplies: 11Last Post: 22nd Nov 2021, 15:28 -
Mediainfo batch script create help
By iKron in forum Newbie / General discussionsReplies: 3Last Post: 5th Jul 2021, 03:53 -
Create batch file for ffmpeg to increment the file output
By Bassquake in forum Video ConversionReplies: 2Last Post: 25th Nov 2019, 05:03