Skip to content

alvaromurillo/ConvertToMP4

Repository files navigation

Convert AVI to MP4 in Mac OS X with Automator and HandBrake

Convert your *.avi downloaded video files to *.mp4 with automator and HandBrake

##Convert with a Service

  • Download HandBreakCLI (Command Line) from HandBrake Downloads Page, and install into your prefered directory, for example into /Applications/HandBreakCLI
  • Open Automator -> New document -> Service.
    Automator
  • Select "movie files" in services receives selected and "Finder.app" in application.
  • Drag the "Run Shell Script" action.
  • Select "/bin/bash" in Shell and "as arguments" in Pass input.
  • Paste the script:
for if in "$@"
do
  /Applications/HandBrakeCLI -i "$if" -o "$if".mp4 --preset="Normal"
done

Automator

  • Finally save the Service with the name "Convert to mp4".

Now you can convert your video files with Right-click -> Services -> Convert to mp4

Note: If you need delete your custom services, you can find it in /Users/YourUserName/Library/Services/

##Convert automatically with a Folder Action

  • Download HandBreakCLI (Command Line) from HandBrake Downloads Page, and install into your prefered directory, for example into /Applications/HandBreakCLI
  • Open Automator -> New document -> Folder Action.
    Automator
  • Select the folder where you download your videos.
  • Configure the workflow actions like the image below:
    Automator

About

Convert your video files to mp4 with automator

Resources

License

Stars

10 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors