user19063: I am trying to output a screenshot of a video at an specified time and the resulting picture should have a black square with the time that was given initially.
So far I was only able to produce a screenshot using vframes from the example at the documentation on ffmpeg page which is this below:
ffmpeg -i input.flv -ss 00:00:14.435 -vframes 1 out.png

But I would like to add a timestamp in the resulting thumbnail or capture of the video which would show that '00:00:14.435' using arial fontface and a black square as background an yellow as fontcolor. Can this be done?.

user1871: Use
ffmpeg -start_at_zero -copyts -ss 00:00:14.435 -i input.mp4
    -vf "drawtext=fontfile=/path/to/Arial.ttf:
          fontsize=45:fontcolor=yellow:box=1:boxcolor=black:x=(W-tw)/2:y=H-th-10:
          text='Time\: %{pts\:hms}'"
    -vframes 1 output.png


19063: <p>I am trying to output a screenshot of a video at an specified time and the resulting picture should have a black square with the time that was given initially.</p>

<p>So far I was only able to produce a screenshot using vframes from the example at the documentation on ffmpeg page which is this below:</p>

<pre><code>ffmpeg -i input.flv -ss 00:00:14.435 -vframes 1 out.png
</code></pre>

<p>But I would like to add a timestamp in the resulting thumbnail or capture of the video which would show that '00:00:14.435' using arial fontface and a black square as background an yellow as fontcolor. Can this be done?.</p>
 1871: <p>Use</p>

<pre><code>ffmpeg -start_at_zero -copyts -ss 00:00:14.435 -i input.mp4
    -vf "drawtext=fontfile=/path/to/Arial.ttf:
          fontsize=45:fontcolor=yellow:box=1:boxcolor=black:x=(W-tw)/2:y=H-th-10:
          text='Time\: %{pts\:hms}'"
    -vframes 1 output.png
</code></pre>
