Resize, JPEG compression, AVI muxing and appsrc feed.

Input dimensions can be changed dynamically.