Dragon Global Forums

Go Back   Dragon Global Forums > Other Software > DirMon Discussion

DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2007, 07:58 PM
Junior Member
 
Join Date: May 2007
Posts: 4
bashers is on a distinguished road
Default Am i using the right string here?

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

The following is a sample from the activity log:
2007-May-09 22:03:02 - Starting: "divx encoding" on "//Dell/recordings/Hairy Bikers Ride Again/Hairy Bikers Ride Again_20070419_20002030.mpg"
2007-May-09 22:03:08 - Processor done due to event.

It's seeing the files but not processing the files.
I know the script works in an auto-transcode process in GBPVR
Am i missing a simple point here?

Here's the ini file:
Start Automatically = 0
Run as Local System = 1
Allow Interaction With Desktop = 1
Run as User = 0
User Name = ashley
User Password = uC`b

[Job Description 1]
Name = divx encoding
Processor = C:/Program Files/devnz/gbpvr/Third Party/FFmpeg/ffmpeg.exe
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options = -i %BASENAME% -ab 224 -ac 2 -acodec mp3 -vcodec mpeg4 -b 1400k -aspect 16:9 -s 600x338 %BASENAME%.avi
Must Exist 1 = mpg
Must Exist Logic = OR
Must Exist 2 =
Must And Or Must Not Exist Logic = AND
Must Not Exist 1 = avi
Must Not Exist Logic = OR
Must Not Exist 2 =
Directory 1 = //Dell/recordings
Ignore 1 = narrow boat
Ignore 2 = boat yard
Ignore 3 = mvp
Ignore 4 = victorias
Target 1 = mpg
Resources Needed = 90
Timeout Enabled = 0
Timeout = -1
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = 1
Priority Boost Due To Name = 0
Process Subdirectories = 1
Wait Until File Is Finished = 0
Wait Until File Is Idle = 0
Wait Until File Is Not Growing = 1
Wait Until File Is Not Growing Time = 5
Wait Until Drive Is Idle = 0
Wait Until Drive Is Idle Time = 2
Hide Console = 1
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0
Reply With Quote
  #2 (permalink)  
Old 05-13-2007, 08:55 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
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.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #3 (permalink)  
Old 05-14-2007, 01:43 AM
Junior Member
 
Join Date: May 2007
Posts: 4
bashers is on a distinguished road
Default

Excellent thanks. I'll try this amended script tonight
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:59 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0