X2MediaInfo
__________________________________________________________________________________________________________________
This is an utility I have created to handle 3 other applications for multimedia file batch processing within xplorer2.
Download:
Link: X2MediaInfo 1.0.0.0
Archive contains 32-bit and 64-bit versions of the utility and the icon file.
NO YOUTUBE DEMO YET!
X2MediaInfo handles:
MediaInfo - supplies technical and tag information about a video or audio file.
Movie Thumbnailer - saves thumbnails (screenshots) of movie or video files to jpeg files.
Video Thumbnails Maker - allows you to make thumbnails (caps, previews, screen-lists) and screenshots of video files.
The advantages of using X2MediaInfo with any or all of these applications:
- helps processing all files using all applications in one go (so no need to manually run each separate application on a set of files);
- clean and clear precise batch file processing using X2 generated file lists;
- hides the command line interfaces of the applications while they're at work;
- conveniently renames the output files so they can be easily identified and associated with the source files;
- allows overwriting, renaming or skipping already existing source files;
- offers audio and visual feedback to inform the user about the file processing progress;
- automatically skips processing output files if they have been selected together with source files.
I'm sure that anyone familiar with the above applications will appreciate this small utility, and for those who haven't used them yet, it's probably a good time to start, especially if you're handling video files.
How it works:
This tool uses the selected files x2 generated file list, breaks it into separate file references and passes each reference to the the mentioned handled applications with specific parameters.
The utility is meant to be used as an x2 user command and it requires the /List parameter with at least one of the following parameters:
Code: Select all
Syntax: /List=<FilePath> Recommended: /List="$>" Description: Path to file list (usually dynamically generated by X2 using the '$>' token).
Code: Select all
Syntax: /MediaInfo="<ExePath> <Parameters>" Recommended: /MediaInfo="C:\Program Files\MediaInfo\CLI\MediaInfo.exe -f" Description: By specifying this parameter, you're telling X2MediaInfo to handle MediaInfo.
Code: Select all
Syntax: /MTN="<ExePath> <Parameters>" Recommended: /MTN="C:\Program Files (x86)\movie thumbnailer\mtn.exe -P -h 0 -c 6 -r 5 -w 1024 -g 1 -j 90 -b 9,99 -D 0 -L 4:2 -k FFFFFF -f tahomabd.ttf -F 000000:10:tahoma.ttf:FFFFFF:000000:10 -T" Description: By specifying this parameter, you're telling X2MediaInfo to handle Movie Thumbnailer.
--------------------------------------------------Code: Select all
Syntax: /VTM="<ExePath> <Parameters>" Recommended: /VTM="C:\Program Files (x86)\Video Thumbnails Maker\VideoThumbnailsMaker.exe C:\Program Files (x86)\Video Thumbnails Maker\Presets\_Base_Preset.vtm" Description: By specifying this parameter, you're telling X2MediaInfo to handle Video Thumbnails Maker.
Optional utility parameters:
Code: Select all
Syntax: /Duplicate=Rename|Skip Recommended: /Duplicate=Rename Description: This parameter can be set to either Rename to rename output files if previous versions already exist or Skip to skip processing source files if output files already exist. If omitted, the default action is overwriting the existing output files if any.
Code: Select all
Syntax: /Ignore=Files|Folders Recommended: /Ignore=Folders Description: This parameter can be set to ignore processing either Files or Folders by the used applications.
Code: Select all
Syntax: /Progress Recommended: /Progress Description: This parameter tells the utility to display a progress bar in a box to display the source file processing status.
Code: Select all
Syntax: /Beep[=<SoundFilePath>] Recommended: /Beep Description: This parameter makes the utility alert the user after a file has been processed. The user can optionally define a custom sound to be played.
--------------------------------------------------Code: Select all
Syntax: /Notify[=<SoundFilePath>] Recommended: /Notify Description: This parameter makes the utility alert the user after all files have been processed. The user can optionally define a custom sound to be played or phrase to be spoken by the system.
What I use for the X2MediaInfo X2 user command:
Code: Select all
>"D:\BMachine\_custom\AutoIt\z_scripts\X2MediaInfo\X2MediaInfo.exe" /List="$>" /MediaInfo="C:\Program Files\MediaInfo\CLI\MediaInfo.exe -f" /Duplicate=Rename /MTN="C:\Program Files (x86)\movie thumbnailer\mtn.exe -P -h 0 -c 6 -r 5 -w 1024 -g 1 -j 90 -b 9,99 -D 0 -L 4:2 -k FFFFFF -f tahomabd.ttf -F 000000:10:tahoma.ttf:FFFFFF:000000:10 -T" /VTM="C:\Program Files (x86)\Video Thumbnails Maker\VideoThumbnailsMaker.exe C:\Program Files (x86)\Video Thumbnails Maker\Presets\_Base_Preset.vtm" /Beep /Notify /Ignore=Folders /Progress
__________________________________________________________________________________________________________________NOTE: Movie Thumbnailer and Video Thumbnails Maker may fail to process certain files or short length files depending on system codec settings. If it happens, it's not the utility's fault.
Next: Output file examples! For the game recording HitmanBloodMoney 2010-03-20 14-30-08-90.avi
MediaInfo: HitmanBloodMoney 2010-03-20 14-30-08-90.avi.[MEDIA_INFO].txt
Code: Select all
General Count : 278 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 Count of video streams : 1 Count of audio streams : 1 Video_Format_List : Fraps Video_Format_WithHint_List : Fraps Codecs Video : FRAPS Audio_Format_List : PCM Audio_Format_WithHint_List : PCM Audio codecs : PCM Complete name : E:\TEMP\RECOVERY\1 NTFS\CMachine\_fraps\Movies\HitmanBloodMoney 2010-03-20 14-30-08-90.avi Folder name : E:\TEMP\RECOVERY\1 NTFS\CMachine\_fraps\Movies File name : HitmanBloodMoney 2010-03-20 14-30-08-90 File extension : avi Format : AVI Format : AVI Format/Info : Audio Video Interleave Format/Extensions usually used : avi Commercial name : AVI Internet media type : video/vnd.avi Interleaved : No Codec : AVI Codec : AVI Codec/Info : Audio Video Interleave Codec/Extensions usually used : avi File size : 2606303196 File size : 2.43 GiB File size : 2 GiB File size : 2.4 GiB File size : 2.43 GiB File size : 2.427 GiB Duration : 323167 Duration : 5mn 23s Duration : 5mn 23s 167ms Duration : 5mn 23s Duration : 00:05:23.167 Overall bit rate : 64519042 Overall bit rate : 64.5 Mbps Stream size : 246356 Stream size : 241 KiB (0%) Stream size : 241 KiB Stream size : 241 KiB Stream size : 241 KiB Stream size : 240.6 KiB Stream size : 241 KiB (0%) Proportion of this stream : 0.00009 File creation date : UTC 2010-03-20 12:30:08.904 File creation date (local) : 2010-03-20 14:30:08.904 File last modification date : UTC 2010-03-20 12:43:32.456 File last modification date (local) : 2010-03-20 14:43:32.456 Video Count : 205 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 ID : 0 ID : 0 Format : Fraps Commercial name : Fraps Codec ID : FPS1 Codec ID/Url : http://www.fraps.com/ Codec : FPS1 Codec : FRAPS Codec/Url : http://www.fraps.com/ Codec/CC : FPS1 Duration : 323167 Duration : 5mn 23s Duration : 5mn 23s 167ms Duration : 5mn 23s Duration : 00:05:23.167 Bit rate : 62977011 Bit rate : 63.0 Mbps Width : 960 Width : 960 pixels Height : 600 Height : 600 pixels Pixel aspect ratio : 1.000 Display aspect ratio : 1.600 Display aspect ratio : 1.600 Frame rate : 30.000 Frame rate : 30.000 fps Frame count : 9695 Resolution : 8 Resolution : 8 bits Color space : YUV Bit depth : 8 Bit depth : 8 bits Bits/(Pixel*Frame) : 3.645 Stream size : 2544008840 Stream size : 2.37 GiB (98%) Stream size : 2 GiB Stream size : 2.4 GiB Stream size : 2.37 GiB Stream size : 2.369 GiB Stream size : 2.37 GiB (98%) Proportion of this stream : 0.97610 Audio Count : 173 Count of stream of this kind : 1 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 ID : 1 ID : 1 Format : PCM Commercial name : PCM Format settings : Little / Signed Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : 1 Codec ID/Url : http://www.microsoft.com/windows/ Codec : PCM Codec : PCM Codec/Family : PCM Codec/Info : Microsoft PCM Codec/Url : http://www.microsoft.com/windows/ Codec/CC : 1 Codec settings : Little / Signed Codec settings, Endianness : Little Codec settings, Sign : Signed Duration : 323167 Duration : 5mn 23s Duration : 5mn 23s 167ms Duration : 5mn 23s Duration : 00:05:23.167 Bit rate mode : CBR Bit rate mode : Constant Bit rate : 1536000 Bit rate : 1 536 Kbps Channel(s) : 2 Channel(s) : 2 channels Sampling rate : 48000 Sampling rate : 48.0 KHz Samples count : 15512016 Frame count : 15512016 Resolution : 16 Resolution : 16 bits Bit depth : 16 Bit depth : 16 bits Stream size : 62048000 Stream size : 59.2 MiB (2%) Stream size : 59 MiB Stream size : 59 MiB Stream size : 59.2 MiB Stream size : 59.17 MiB Stream size : 59.2 MiB (2%) Proportion of this stream : 0.02381 Interleave, duration : 29.92 Interleave, duration : 997 Interleave, duration : 997 ms (29.92 video frames)
Movie Thumbnailer: HitmanBloodMoney 2010-03-20 14-30-08-90.avi.[MTN_SHEET].jpg
Video Thumbnail Maker: HitmanBloodMoney 2010-03-20 14-30-08-90.avi.[VTM_SHEET].jpg
Video Thumbnail Maker: HitmanBloodMoney 2010-03-20 14-30-08-90.avi.[VTX_SHEET].vtx