I have a folder with 500 video files, in varying formats.
I would like to discover the details of the the main audio stream in each of the video files.
I can open each video file in MediaInfo but it would take a long time to do that for that many files.
Ideally, I'd like a text document (or something on-screen) that lists each video file and the details of it's primary audio stream.
Can MediaInfo batch this for me? Or is there an alternative way?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 3 of 3
			
		- 
	Last edited by kingmustard123; 11th Jan 2020 at 19:33. 
- 
	MediaInfo can open a folder and display the contents of each media file (may take a while to analyse them all). 
 With MediaInfo CLI you can create a text file for each video file. For instance :
 Or if you want a single text file, define a single name for the .txt output and use two ">" signs (to add content to the file instead of overwriting it) :Code:FOR %F in (*.avi *.mp4 *.mkv) DO "[X:\Path\to\MediaInfoCLI\MediaInfo.exe" "%F" >"%F - MediaInfo.txt" 
 The basic output may be good enough but the CLI version also allows to dump every available field with the -f option, or to use a custom template with the --Output option.Code:FOR %F in (*.avi *.mp4 *.mkv) DO "[X:\Path\to\MediaInfoCLI\MediaInfo.exe" "%F" >>"Mediainfo.txt" 
 For instance I used this template (saved as .csv) for a particular set of AVI videos :
 Code:General;Général\r\nNom complet : %CompleteName%\r\nFichier créé : %File_Created_Date_Local%\r\nFichier modifié : %File_Modified_Date_Local%\r\nConteneur : %Format% (%Format/Info%)\r\nTaille : %FileSize% (%FileSize_String4%) \r\nDurée : %Duration_String5%\r\nDébit global : %OverallBitRate% (%OverallBitRate_String%)\r\nFlux vidéo : %VideoCount%\r\nFlux audio : %AudioCount%\r\n\r\n Video;Vidéo\r\nFormat : %Format%\r\nRésolution : %Width% x %Height%\r\nRatio : %AspectRatio_String%\r\nCadence : %FrameRate% im/s\r\nImages : %FrameCount%\r\nDébit : %BitRate% (%BitRate_String%)\r\nBits/(Pixel*Cadre) : %Bits-(Pixel*Frame)%\r\nTaille du flux : %StreamSize% (%StreamSize_Proportion%)\r\n\r\n 
Similar Threads
- 
  RECentral: Audio Steam Not Capturing / SavingBy bzowk in forum Capturing and VCRReplies: 4Last Post: 27th Jun 2019, 00:00
- 
  Playing next video files from the current folder with MPV?By Noctis001 in forum Software PlayingReplies: 12Last Post: 11th Nov 2018, 13:22
- 
  Need Help Changing the Default Audio Stream for Hundreds of MKV FilesBy ballsoup in forum AudioReplies: 11Last Post: 19th Apr 2016, 16:53
- 
  Extracting All Video/Audio File details/attributes to a text/Excel listBy liquid65 in forum Newbie / General discussionsReplies: 1Last Post: 15th Sep 2015, 09:27
- 
  Extract audio files from an SACD ISO folderBy mikeos in forum AudioReplies: 7Last Post: 21st Apr 2015, 18:20


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			 
			
 Quote
 Quote 
			