View Single Post
  #2 (permalink)  
Old 05-13-2007, 08:55 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

Quote:
Originally Posted by bashers View Post
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
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote