could record frame and speed data

videowriter not working, streamwriter could not overwrite content