To apply patch: main.patch needs to be applied to the root xuggle-xuggler directory, and thecaptiveFfmpegPatches/* files need to be copied to the captive/ffmpeg/patches directory.