Modified to remove Xuggler and replace with h264j for video processing in pure Java