Specify resolution as one argument instead of two
Removed redundant checking on file existence since v4l2 library will do the same thing
Using single buffer and checking width bounds when using sscanf
Removed setting the crop rectangle
No need to set image to interlaced since we are doing mjpeg images