basic modification of raspivid to be able to use raspitex features