How can I implement Record Start and Record Stop feature in my QT application "Video player"?