Play the Frame by Frame (Step Forward, Back)

I don’t know if this will ever be possible in the web app, but for the desktop players there is a solution:

Plex for Windows/Mac/Linux:
Modify the solution in here Video Zoom (Crop) in Plex Desktop app - #6 by German
by replacing the file zoom-keybinds.lua with a file named step-keybinds.lua with the following content:

function stepFwd()
    mp.command("frame-step")
    mp.osd_message("frame +1", 0.5)
end

function stepBack()
    mp.command("frame-back-step")
    mp.osd_message("frame -1", 0.5)
end

mp.add_forced_key_binding(".", "stepFwd", stepFwd)
mp.add_forced_key_binding(",", "stepBack", stepBack)

(You can also add both files if you want the zoom functionality from the linked article as well.)

For PlexHTPC, take a look at this post: Using Plex HTPC on 21:9 aspect ratio screen - #2 by o_spring
Instead of adding the lines from the post, add these:

	// frame back and forth
	"\\." : "mpv:frame-step",
	"," : "mpv:frame-back-step",

Both methods use the . and the , keys for frame forward and back. You might be able to customize to other keys, but better avoid keys which are already in use in the player.

Resuming normal playback might require two presses on the Space bar, instead of just one.

1 Like