View all expressions
Interpolation

Show Frame Rate

Fetches the active comp’s frame duration and converts it into frames per second (FPS), automatically formatting it to match whole or fractional frame rates. This ensures accurate display whether you’re working at 23.976, 24, 29.97, 30, or 60 FPS.

Contributed by:


fps = 1 / thisComp.frameDuration;
fps % 1 === 0 ? fps.toFixed(0) : fps.toFixed(2);

Show Frame Rate

Practical use case

Display the frame rate directly inside your video for metadata overlays, debugging multiple deliverables, or automated template workflows.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image