I'm trying to add frame number to each frame of a video using the code below. It's working, as in it's labelling the frames but it's dropping frames when doing so. For some reason, it's coding at 30fps, rather than the 200fps that I would like. Does anyone know how to solve this? Thanks!
ffmpeg -i YR7-020320-B1-2.avi -vf "drawtext=fontfile=/usr/share/fonts/truetype/DroidSans.ttf: timecode='00\:00\:00\:00': r=200: \ x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" -an -y out.mp4
User contributions licensed under CC BY-SA 3.0