How to automate conversion of AVI to MP4 (iTunes)

Discussion in 'Mac Apps and Mac App Store' started by mickliq, Apr 8, 2009.

  1. mickliq macrumors newbie

    Apr 8, 2009
    I'm a Mac switcher from late 2008. I've also added an iPod Touch and Apple TV to our growing stable of Apple devices.

    While I've managed to install the necessary applications/hacks to my MB and AppleTV to play AVI's directly without conversion, the iPod Touch is another matter. It of course requires mp4 or h.264 format. I have been using iSquint to do the conversion and then move the mp4's into iTunes which synch fine after that.

    However I am looking for a solution where I could drop the AVI files into a folder and the conversion program would automatically watch that folder and run the AVI->MP4 conversion automatically. I can't seem to find a solution to this through my Google searches and forum searches here. Perhaps it's a simple Applescript (or whatever it's called) which I haven't used to date?!?

    Any help appreciated!
  2. glap1922 macrumors regular

    Mar 13, 2009
    I know a solution can be made, as I have used one before, but unfortunately I wouldn't know where to find it. A friend of mine created something in ubuntu that did exactly what you want automatically, but I no longer have the information or the know-how to do it myself. The best I can tell you is that it is possible.
    One thing you could try would be handbrake and adding the files to the queue. I am not sure if you can use .avi as a source, but if so that would be an option. You could queue up all of your files and then let it run at once, hopefully without much loss.
  3. mikeinternet macrumors 6502a


    Nov 1, 2006
    Oaklnad, CA
    ISquint is the simplest easiest solution. I love it. Just drag and drop as many files as you like.

    2nd choice. You can use Handbrake and keep adding files to the queue. But nowhere near as easy as iSquint.

    Edit: Whoops. I read that too quick. Not what you are looking for.
  4. jgbhardy macrumors 6502


    Oct 15, 2008

    What you could do is write a workflow in automata, I've used it a few times to write a workflow for alarms and other editing. Not to sure if you will be able to make it control iSquint though.
  5. mickliq thread starter macrumors newbie

    Apr 8, 2009
    As I originally posted, I am using iSquint. It's not about creating a queue (that's obvious). I just want it to encode to mp4 everytime I drop an AVI into a specific folder. I can't believe no one has a solution to this!
  6. rhett7660 macrumors G4


    Jan 9, 2008
    Sunny, Southern California
    You could probably create something with automator... Have it scan the folder, if it finds an avi, have it fire up your program and convert it.
  7. scottness macrumors 65816


    Mar 18, 2009
    Room 101
    I'd love a really good solution to this one as well. On occasion I recieve avi files from security cameras and I have to mess with it every time to get it to a format I can easily share.
  8. adamjrichman macrumors newbie

    Jul 8, 2010
    Consider getting Hazel involved:

    You can have it automatically employ scripts and/or actions on specific files upon them appearing in a folder, and it will scan them constantly. I believe using this as a first-step in your process may be the ticket.
  9. deadwulfe macrumors 6502a


    Feb 18, 2010
    Automator can do the same thing with files entering a folder and the poster wouldn't have to pay for a third-party app.

    If you're going to go the Handbrake route, you'll probably want the CLI version of Handbrake for the Automator folder action script to run the encode parameters in a terminal window. I'm a noob with Automator, but I don't recall there being a way for it to interface with the GUI version of Handbrake.

    EDIT: This thread is about automating DVD backups, but you may find some useful information regarding your needs:

Share This Page