example of capturing video in qt5 without a gui