added message receive function and button of switching video types
added video type parameter
added 3 processing function
remove bugs and adjust imageprocess function