title: Getting video frame in provided time Qt
body: <p>What I want to do is to get video frame at some time (for example at 20 sec).
  I know I could do something like this - rewind video and pause it:</p>
  
  <pre><code>QMediaPlayer* player = new QMediaPlayer;
  ...
  player-&gt;play();
  player-&gt;setPosition(20000);
  player-&gt;pause();
  </code></pre>
  
  <p>But is there some more elegant solution (this seems like a hack to me since I <em>don't need</em> whole video but only a frame at some time)?</p>