VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Neowinian kingmustard123's Avatar
    Join Date
    Nov 2007
    Location
    United Kingdom
    Search PM
    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?
    Last edited by kingmustard123; 11th Jan 2020 at 18:33.
    Quote Quote  
  2. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    maybe something like kodi might work.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  3. 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 :
    Code:
    FOR %F in (*.avi *.mp4 *.mkv) DO "[X:\Path\to\MediaInfoCLI\MediaInfo.exe" "%F" >"%F - MediaInfo.txt"
    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" >>"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.
    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
    Quote Quote  



Similar Threads