* format url parameter supports <format>/<codec> format
* video generated in a thread to guarantee a constant fps.
* specify ofc->packet_size if rtp format is requested