support cmos
Add width and height option
Add frame rate debug message