[Libav-user] Capturing Accurate Timestamp of Each Frame when Recording Desktop

Nicolas George george at nsup.org
Sun Mar 28 14:34:09 EEST 2021


Hassan (12021-03-26):
> One top of the head solution is to use *-vf* filter in FFmpeg command to
> append the timestamp on each frame while recording the desktop. A sample
> command is shown below:
> 
> ffmpeg -f gdigrab -framerate 60 -i desktop -vf "settb=AVTB,
> setpts='

You had the correct timestamp, until you destroyed it with setpts.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210328/fa1f677c/attachment.sig>


More information about the Libav-user mailing list