FFPLAY Helpful Commands

 

  • Overlay a frame number

ffplay -i input.ts -vf "drawtext=fontfile=Arial.ttf: text='%{frame_num}': start_number=1: x=(w-tw)/2: y=h-(2*lh): fontcolor=black: fontsize=20: box=1: boxcolor=white: boxborderw=5"

  • Show only the first frame of a video

ffplay -loop 0 -t 0 -x 500 -an file.mp4

Comments

Popular posts from this blog

FFMPEG Deinterlacing Modes

Remote debugging with GDB and GDBServer on Alpine and Visual Studio Code

Build FFMPEG for Windows Using Visual Studio Toolchain