1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Trouble with automatic video conversion using handbrake and a watch folder

Discussion in 'Multimedia' started by wazza330, Jan 30, 2013.

Thread Status:
Not open for further replies.
  1. wazza330

    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.
     
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 733,556 other people just like you!

Loading...
Similar Threads - Trouble automatic video
  1. Jrlff67
    Replies:
    12
    Views:
    1,255
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1087552

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice