Getting the video frame number in VLC

framevideovlc-media-player

I'm running VLC 2.0.5 on Mac OS X 10.6.8.

I have a .mpg video paused, and I would like to know the frame number for this moment in the video. Is there a way to reveal that in VLC?

P.S. I scrubbed back and forth through the video to reach the point it is currently paused at.

Best Answer

I wanted to do the same but I couldn't find a way to do it with VLC.

But, according to this, you can use the drawtext filter in ffmpeg to overlay the frame number to the video permanently. So if you watch it on a player of your choice, you can always see the frame number.

For example:

ffmpeg -i video.mov -vf "drawtext=fontfile=Arial.ttf: text=%{n}: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000099" -y output.mov

Related Question