I'm using a batch file to process videos with a vtm file. When this batch file is run from the command line directly, the resulting image is the correct size and uses my configured environment settings.
Code: Select all
@echo off
set sname=%1
set mtitle=%2
set ppath=D:\...\%mtitle%
set mpath=D:\...\%sname%\
if not exist "%mpath%" mkdir "%mpath%"
"C:\...\VideoThumbnailsMaker.exe" "%ppath%.mp4" /nc
if exist "%ppath%.mp4.jpg" move "%ppath%.mp4.jpg" "%mpath%%mtitle%.jpg"
if exist "%ppath%.jpg" move "%ppath%.jpg" "%mpath%%mtitle%.jpg"
if exist "%ppath%.mp4.vtx" del "%ppath%.mp4.vtx"
move "%ppath%.mp4" "%mpath%%mtitle%.mp4"
Code: Select all
system('"C:\...\Video Thumbnails Maker\VideoThumbnailsMaker.exe" "C:\...\Video Thumbnails Maker\Options\preset.vtm" "' . $unprocessed . $titlefixed . '.mp4" /nc');
I'd appreciate any help. Please let me know if you require more detailed information about anything.