With a little more research (and somewhat more knowledge about ffmpeg) I
came to the following solution for a stopwatch with a defined decimal
precision:
* get the framerate via ffprobe and store it in a variable (i.e. !W!)
* divide the frame number by this rate
* display the result in two
I have just had a look at the solution via subtitles:
Pro:
* It works and the SRT format is simple enough to be written by a script.
Cons:
* SRT subtitles are written time-based and not frame-based, which takes
some calculations, starting the subtitles shortly before the frame and
ending it
On Fri, Jan 27, 2017 at 11:05:04 +0100, Wolfgang Hugemann wrote:
> So possibly there is another way to acchieve this? Could I for example
> store a string in a user-defined frame-wise variable and display its
> value by drawtext as is done when deciphering the VITC:
I didn't take much of a look
OK, maybe I put my question the wrong way:
I would like to display a stop watch starting at an arbitrary time in
the video (usually the collision of two cars for accident reconstruction
purposes). This can obviously be done via drawtext and pts, but the
result looks nasty, and I seem to have