Code: Select all
$mediaInfo = "C:\Program Files\MediaInfo\MediaInfo.exe";
$length = regexreplace(runret("$mediaInfo --Inform=General;%Duration/String3% ""<cc_item>"""), "\.\d*\r?\n");
return $length;
Code: Select all
$mediaInfo = "C:\Program Files\MediaInfo\MediaInfo.exe";
$length = regexreplace(runret("$mediaInfo --Inform=General;%Duration/String3% ""<cc_item>"""), "\.\d*\r?\n");
return $length;
If you are asked to use the CLI version and don't know what it is you should ask, and not take something else, I think.yusef88 wrote:why are screaming at me![]()
![]()
I've no idea what's CLI version
_____
found it at download page and thanks
reading hastily and non synchronization replies made this misunderstanding anyway grateful to his scriptPeterH wrote:If you are asked to use the CLI version and don't know what it is you should ask, and not take something else, I think.yusef88 wrote:why are screaming at me![]()
![]()
I've no idea what's CLI version
_____
found it at download page and thanks
Code: Select all
$exifTool = "D:\Users\Highend\Downloads\exiv2-0.24-win\exiv2.exe";
$fullDate = regexreplace(runret("$exifTool -q -g Exif.Image.DateTime -Pv ""<cc_item>"""), "\r?\n");
return replace(gettoken($fullDate, 1, " "), ":", ".") . " " . gettoken($fullDate, 2, " ");