Quote:
Originally Posted by bashers
I'm trying to get DirMon to automatically encode files created in GBPVR
I'm using the following script:
-i %BASENAME% -ab 224 -ac 2 -acodec mp3 -vcodec mpeg4 -b 1400k -aspect 16:9 -s 600x338 %BASENAME%.avi
|
%BASENAME% will only insert the name of the file minus the extension. In your example DM2 would replace %BASENAME% with Hairy Bikers Ride Again_20070419_20002030.
Try changing the first %BASENAME% to [[%FULLFILESPEC%]] and the second one to [[%PATH%/%BASENAME%.avi]].
The [['s tell DM2 to enclose it in quotes if necessary.
In summary, try this:
-i [[%FULLFILESPEC%]] -ab 224 -ac 2 -acodec mp3 -vcodec mpeg4 -b 1400k -aspect 16:9 -s 600x338 [[%PATH%/%BASENAME%.avi]]
Jere