Segmentation when using a waitMethod

Starting from the Segmentation branch of your repository, this adds the possibility to split the stream every time it is "unpaused". It is activated with the switch --split / -sp. Requesting a split when the recording is stopped and adds an I-Frame at each restart.