Skip to content

Instantly share code, notes, and snippets.

@mattgillooly
Created March 3, 2014 01:08
Show Gist options
  • Select an option

  • Save mattgillooly/9316789 to your computer and use it in GitHub Desktop.

Select an option

Save mattgillooly/9316789 to your computer and use it in GitHub Desktop.
CONVERTED_VIDEOS := $(patsubst %.AVI,%.mp4,$(wildcard *.AVI))
%.mp4 : %.AVI
ffmpeg -i $< -threads 2 -acodec libfaac -vcodec libx264 -s 484x272 $@
all : $(CONVERTED_VIDEOS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment