added support for using v4l2 as input format