Skip to content

Instantly share code, notes, and snippets.

@dominicthomas
Created November 12, 2015 14:15
Show Gist options
  • Save dominicthomas/90848d32a337290cd529 to your computer and use it in GitHub Desktop.
Save dominicthomas/90848d32a337290cd529 to your computer and use it in GitHub Desktop.
Small snippet of doing multiple filter calls on an ffmpeg command... using the android ffmpeg wrapper
cmd.add("movie=" + imagePath + " [overlay]; " +
"[in] transpose=1 [a]; " +
"[a] scale=360:-1 [b]; " +
"[b] crop=360:360:" + String.valueOf(cropX) + ":" + String.valueOf(cropY) + " [c]; " +
"[c] [overlay] overlay=" + overlayX + ":" + overlayY + " [out]");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment