Trouble with automatic video conversion using handbrake and a watch folder

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

wazza330

Thread Starter
Joined
Jan 30, 2013
Messages
2
Hi,

For ease of use, i want to make a folder available at my company network for people to drop any video files in, and then to make it output to a standard format (mp4) in another folder. That way no one will have to wait for a video to finish encoding or have to think about conversion at all.

I can use a computer that is always on and running, connected to the network and with free space and processing power, but i wonder if this is the right way. What i have so far:

Using Syncback Pro, I'm automatically watching for file changes in the folder, then syncing the changed files to a local folder (so not to directly encode from the network. Then, after each sync i have Syncback run a bat file for converting, which is inside the local folder. This is the code:

FOR /F "tokens=*" %%G IN ('DIR /S /B *.*') DO "C:\Program Files\Handbrake\HandBrakeCLI" -i "%%G" -o "%%G".mp4 --preset="Normal"

The problem is that it outputs in the same folder as it inputs, which makes syncing back to the network sloppy. The next step in the process, which would be to sync the output files back to the network can be easily done, but not if the original and converted files are jumbled together. =

My question would be:

Am i doing this the right way? (in the broadest sense)
and
Is there a way to output handbrakeCLI converted files to a different folder?

Any help is appreciated.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top