Showing the pts of a frame in the middle of the video

With ffmpeg here is a simple way to clearly show the PTS of the frame playing on the video. Note that the location of the font file will vary from system to system and this is on Mac OS X.

ffmpeg -i oceans.mp4 -vf "drawtext=fontfile=/Library/Fonts/Tahoma.ttf:text='%{pts}': fontcolor=white: fontsize=50: x=(w-text_w)/2:y=(h-text_h)/2: box=1: boxcolor=black@0.2" -s 1920x1080 -c:v libx264 -preset ultrafast oceans-timestamp.mp4 -y