bugfix and controllable extraction of frames has been added (experimental)