plaa

A tour of plaa

This tour walks through what plaa does, in the order you are likely to meet it. On macOS, use ⌘ where it says Ctrl. The keyboard shortcuts are listed at the end, and can be changed in the settings file.

The screenshots show Big Buck Bunny, © 2008 Blender Foundation, under CC BY 3.0.

Opening

plaa's start window: the plaa clapperboard, Open and Open Address, Record Sound, Record Screen and Record Camera, and the keyboard shortcuts for each

Started on its own, plaa offers to open a file or an address, or to record. Open a file with Ctrl+O, from the file manager's Open With, from the command line (plaa film.mkv), or by dropping it on a window. Open Address (Ctrl+U) takes a stream or a web page, and offers the addresses opened lately again.

Each file plays in a window of its own, and there is one running plaa: a file opened again from the file manager or the command line goes to the running one, as files opened from Finder do on macOS. To have video and sound files open in plaa, use Make Default in Settings, or on Windows Open Settings, which opens plaa's page in the system's Settings.

Playing

plaa in dark mode, paused on Big Buck Bunny holding an apple in a meadow, with the toolbar and controls floating over the picture and, above the timeline, a preview of the scene at 5:29

The toolbar and the playback controls float over the picture and slide away once the pointer rests or leaves the window, and come back when it moves. The floating bars button docks them above and below the picture instead, and on a narrow window the tools that do not fit go into the More menu.

Pointing at the timeline shows a picture from there, its time and its chapter; dragging it moves the picture with the handle, exactly. The arrow keys skip 5 seconds, J and L 10, and the comma and period keys step a frame. Speed goes from a quarter to three times, keeping the sound's pitch, and the volume and full screen are at the right of the controls.

Ctrl and the mouse wheel zoom in on the picture at the pointer, up to 16 times, and dragging it looks around. Picture in picture (Ctrl+Shift+P) keeps a small window over the others in a corner. plaa resumes each file where you left off, keeps the screen on while video plays, and keeps the computer awake while sound does.

Video is decoded on the graphics card where it can be, up to 8K at 60 frames a second on a card that can, and drawn by plaa's own shader: BT.601, BT.709 and BT.2020 colours, 8 to 16 bits, HDR10 and HLG tone mapped for an ordinary screen, and phone videos turned upright. The picture keeps in step with the sound, by the output device's own clock.

Tracks and subtitles

plaa picks the audio and subtitle tracks in the languages Settings prefer, and the menu at the right of the controls changes them. It shows text subtitles (SubRip, WebVTT, MP4 text and more), ASS and SSA styled as made through libass, and Blu-ray, DVD and DVB picture subtitles. Subtitle files named after the video, such as Film.en.srt, beside it or in a Subs or Subtitles folder, are offered too.

A file's chapters are marked on the timeline and listed in a menu, and Page Up and Page Down move between them. Loop (Ctrl+L) plays the file over and over; B marks where an A-B loop starts, B again where it ends, and B a third time turns it off.

Streams and web videos

plaa plays HTTP, HLS, DASH, RTSP and SRT addresses. Streams read ahead, and wait to read on rather than stutter over a slow network, marking on the timeline how far they have read; a spinner shows while they wait.

With yt-dlp installed, plaa also plays the videos on web pages such as YouTube's, with their titles, channels, chapters and thumbnails, and a web playlist becomes a plaa playlist. A stream or web video plays in the quality that fits your screen, or the one chosen from the quality menu, which for a web video also offers the sound alone.

Playlists

Files opened or dropped together play one after another, as do M3U and PLS lists, and in Settings plaa can list the other files in the opened file's folder. The playlist (Ctrl+P) shows beside the picture. N goes to the next item, and P back to the start of the one playing, or in its first three seconds to the one before; the next one plays when one ends.

Sound files

plaa in dark mode playing a sound file: its cover, a still of Big Buck Bunny frowning, its title and artist, and its spectrum below

A sound file shows its cover, title, artist and album, with the spectrum of what you hear below them, as bars that rise with it and fall back slowly, or the file's waveform from start to end, the part played in the accent colour, which a click or a drag seeks along.

Prism: a glowing sphere with rainbow cutouts over a neon grid, with bars of the spectrum streaming past it

Or choose Prism from the visualiser menu: a scene in three dimensions that fills the window and moves with the music, a lace orb around a core that swells on each beat, ringed by glass shards rising with the spectrum, over a rippling grid of light.

Inspector

The inspector beside the picture, listing the file's name, folder, size, format, duration and bit rate, its H.264 video decoded on the graphics card, and its MP3 sound

The inspector (Ctrl+I) shows what a file is made of: its name, folder, size, format, duration and bit rate, its tags, and each of its streams, with the video's codec, size, frame rate and pixel format and how it is decoded, and the sound's codec, rate, channels and language.

Editing

Editing Big Buck Bunny: the film as a strip of pictures below a flying squirrel, cut into three clips with the middle one chosen, beside the cut and delete buttons and Done

Trim (Ctrl+T) shows the file as a strip of pictures with a handle at each end, and plays the part kept over and over while you move them; I and O set them to where it plays. Split (Ctrl+Y) cuts the file into clips at the playhead, which you can drag into another order, trim one by one, or remove with Delete. Rotate and flip (Ctrl+Shift+L, R, H and V) turn the picture, and undo and redo cover every step.

The edit plays as it will be, clip after clip without a gap. Nothing changes in the file: the edit is kept until you export it, and closing the window with an edit not exported asks first.

The assistant and agents edit too. Ask them to keep a part, take one out, split, move a clip or turn the picture, and each step shows in the window as it is made, ready to undo.

Mixing files

Ask the assistant, or an agent, and the edit can mix files: put in a part of another file, play another file's picture or sound in place of a part's own, or make a part silent or black. The clips show each file's pictures, other files' pictures fit in the movie's, and the edit plays and exports as it will be.

Mixing in sound

To hear another file together with what plays, rather than in its place, ask for its sound mixed in: music under a video, a voice over it, or a sound effect. It starts at a time of the edit, plays part of the file or all of it at the volume you choose, fades in and out if you like, and keeps its time as clips change. Ask, for example, "put song.mp3 under the video, quietly, and fade it out over the last five seconds".

The mix plays at once and exports with the rest. For a voice over the movie, ask for the movie's own sound to go quieter under it too, so the voice stays clear. The assistant can measure how loud each part is, or listen with a model that hears, to set the level, and taking a mix out leaves the rest of the edit as it was.

Filters

The assistant and agents can put the picture or the sound, all of it or a part, through FFmpeg's filters: black and white, colour, contrast and warmth, a crop, sharpening, a vignette, a title over the picture, fades, less noise, a quieter or louder sound, or an even loudness. Describe the look or the sound you want, such as "make it black and white, with a little more contrast", and the assistant chooses the filters.

plaa checks each filter before it runs and lets through only those that change the picture or the sound as it plays: none that read or write files, reach devices or the network, or change the movie's length or order, which the editing steps do. The result plays at once, a new filter adds to those already there, and undo takes it back. A crop over the whole movie exports at its new size.

Exporting

The Export dialogue over Big Buck Bunny holding an apple in a meadow: H.264, HEVC, AV1 or sound only, encoded on the graphics card, at 1080p as it is, 720p or 480p

Export (Ctrl+E) saves what plays, as edited, as H.264, HEVC or AV1 with AAC sound, at the file's own size or smaller. plaa encodes on the graphics card where it can (NVENC, AMF, Quick Sync, VAAPI or VideoToolbox) and on the processor otherwise, and the dialogue says which. HDR video keeps its colours in HEVC and AV1.

Sound only saves the sound alone: AAC, MP3 or Opus at a bit rate you choose, or lossless as FLAC, ALAC or WAV in 16 or 24 bits.

Recording

Sound recording at 7.7 seconds: the input's level in two bars, the Louder slider, Level automatically, AAC at 256 kb/s and the stop button

Record Sound (Ctrl+Shift+N) records a microphone, or what the computer plays where the system offers it, with a level meter. Louder takes a quiet input up to 30 dB higher, kept for each input, and Level automatically evens the level out. Space starts and stops; once it stops, plaa asks what to name the recording, then plays it, ready to trim and export.

Record Screen (Ctrl+Alt+N) records a screen or a window, or a region where the Linux desktop offers one, with the pointer, and the sound of a microphone or of what the computer plays if you like, on the graphics card's encoder where one opens, at 24 to 120 pictures a second or every picture the screen sends. Recording a screen, plaa's own windows stay out of it on macOS; elsewhere the recording window steps aside, and the red dot in the tray on Linux desktops that have one, or opening plaa again, stops it.

Record Camera (Ctrl+Alt+M) records a camera, as QuickTime Player's New Movie Recording does, its picture shown mirrored while it records. Sound recordings go to Music, and screen and camera recordings to Videos (Movies on macOS), unless Settings choose other folders.

Casting

The Cast menu open over Big Buck Bunny looking up at an apple tree, playing on Living Room TV, with Kitchen Speaker listed too and a button to stop

The Cast menu looks for Chromecasts and for TVs, speakers and programs that play DLNA on your network as it opens. Choose one, and plaa serves the file to it, as it is without an edit, or hands it the stream's address; plaa's own controls and timeline then play, pause and seek it there, and the volume sets its volume. When casting stops, the window goes on from where it got to.

Network audio

The Network Audio panel beside Big Buck Bunny's meadow as the film plays: of four listeners, Condenser Mic takes plaa's stream, receiving it with its media clock locked to it, above its format and the formats it can take from plaa

plaa takes part in AVB and Milan networks, the kind that links professional speakers, amplifiers and audio interfaces. In Settings, Network, choose the wired interface the network is on. With Send what plays on, plaa sends through the computer's own AVB entity, which avb-endpointd runs on Linux and macOS runs on a Mac: the sound of the window last played goes out as a stream on the network's clock, which any Milan controller can connect. On Windows plaa does not send or play AVB streams.

The Network Audio button lists the listeners that can play plaa's sound, each with one button, and how the one chosen takes its stream, kept up to date as other controllers change it. With Send what plays on, the Connect menu beside Open lists the talkers plaa can listen to, those on the same network clock, and plays the one chosen in a window, as a file plays. On a Mac the stream comes in as the sound input of the Mac's AVB entity, so macOS asks once to let plaa use the microphone.

plaa's start window with the Connect menu open beside Open, listing the talkers on the network: Condenser Mic, Power Amp, Synthia and Wireless ESP3

On Linux, where the switch has no AVB, plaa falls back to AVB Lite and sends each listener, up to five, a copy of its own. plaa keeps network time with gptpd, starting it where nothing else has, and shares it and the network's reservations with triib's entity service where that runs. The README says what each system needs.

The assistant

The assistant panel beside Big Buck Bunny in a meadow: asked to make the colours warmer and richer and cut the first 20 seconds, it got pictures, applied filters, got pictures again and cut out the start, its two pictures showing the colours before and after, and says what it changed

The assistant button opens a chat panel beside what plays. Ask it to improve the colour, and it looks at the video's pictures, then corrects them with FFmpeg's filters, warmer or cooler, brighter, richer or with more contrast, over the whole movie or one scene, and looks again to check. Ask it to edit, and it trims, takes parts out, splits and moves clips, puts in part of another file, mixes in music and exports what you made. Each step shows in the panel as it goes, and undo takes it back.

Ask, for example, "make the colours warmer and richer, and cut the first 20 seconds": it looks at the picture, warms and enriches it, looks again and cuts the start, showing the picture before and after.

Use a local model that stays on your computer, such as Ollama's or one behind an OpenAI-compatible server, or a cloud model from Anthropic, OpenAI or Google with your own key, kept in the system's keychain. Add models in Settings, Assistant; they are shared with the other Scramble Tools apps, such as prev.

AI agents

Agents such as Claude Code can see what plays, read any part of it, and control and edit the plaa you are using, through MCP. Add plaa to an agent as an MCP server that runs plaa --mcp; for Claude Code:

claude mcp add plaa -- plaa --mcp

The first time an agent connects, plaa asks whether to let it in. Settings, Agents, turns outside control off, lists the agents allowed, and has a switch for each kind of tool, seeing what plays, controlling playback, the sound or full screen, opening a file or closing a window, and editing or exporting, that makes plaa ask before an agent's call runs. Every edit shows in the window as it is made, and undo takes it back. A step that takes more than two seconds, such as an export, shows how far it has come in the window, and tells an agent that asks for progress. plaa bundles no model, and agents reach it only through a private socket on your computer, never over the network.

ToolWhat it does
list_windowsplaa's windows: their numbers, titles, what they play and how
get_statusA window's state, position, length, speed, volume, loop and tracks
get_infoThe file's format, tags, chapters and streams, and the window's list
get_frameThe picture shown, as a PNG at most 1280 pixels on its longest side
play, pause, seek, set_speedPlayback
set_volume, set_loop, choose_tracksThe sound, looping, and the sound track and subtitles
next_item, previous_itemMoving through a window's list
set_fullscreen, focus_windowThe window
open, close_windowOpening a file or address, and closing a window
get_framesPictures at any times, or spread over a part, as JPEGs, as edited
get_levelsHow loud each step is, and where it is silent
get_subtitlesThe subtitles' lines and their times, as they show in the edit
get_soundUp to a minute of sound, for models that hear
get_editThe clips, the files they play, what replaces their picture or sound, their filters, and the sound mixed in
trim, cut, split, move_clipKeeping a part, taking one out, splitting and ordering clips
insertPutting in part of another file, or of the same one
replaceAnother file's sound or picture in place of a part's own, or silence, or black
mix_in, remove_mixAnother file's sound mixed in with what plays, such as music under a video
apply_filter, remove_filtersFFmpeg's filters on the picture or sound, such as black and white, checked before they run
turn_picture, undoTurning or flipping the picture; undo, redo and undoing all
exportWriting the edit to a new file, as the Export dialogue does

On each system

Media keys work, and what plays shows with its cover in the system's own controls: MPRIS on Linux, which playerctl drives too, the media flyout on Windows, and Now Playing on macOS. On macOS plaa has its own menu bar and a title bar in plaa's colours, and on Windows the title bar follows plaa's light or dark. On Linux, plaa's packages use the system's FFmpeg and sound server, PipeWire or PulseAudio.

Settings

plaa's Settings over a paused video, on the Appearance tab: Follow system, Light and Dark, the system accent colour switch and the colour swatches, and the floating controls' settings

Settings (Ctrl+,) has seven tabs, six on Windows, which has no Network tab. Appearance chooses light or dark, the system's accent colour or one of plaa's, animations, and how the floating controls look and when they hide. Playback has hardware decoding, the sound output, resuming, folder playlists, the streams' quality, yt-dlp, and Make Default, which makes plaa the system's default app for video and sound files. Storage chooses the folders recordings and saved frames go to; Network, the AVB interface, Send what plays and plaa's name on the network; Language, plaa's language and the languages tracks are chosen by; Agents and Assistant, what the previous sections describe.

plaa keeps its settings in ~/.config/plaa.toml on Linux, %APPDATA%\plaa\plaa.toml on Windows and ~/Library/Application Support/plaa/plaa.toml on macOS. The file's [keys] table changes the keyboard shortcuts, for every system or for one. A list replaces the action's own keys, and a key given to one action is taken from any other that had it:

[keys]
play-pause = ["Space", "K", "MediaPlayPause"]
screenshot = "Ctrl+Shift+S"

Keyboard shortcuts

ActionShortcut
Play or pauseSpace, K
Back, forward 5 secondsLeft, Right
Back, forward 10 secondsJ, L, Shift+Left, Shift+Right
Previous, next frame, .
Back to the startHome
Volume up, downUp, Down
MuteM
Slower, faster, normal speed[, ], Backspace
Next subtitles, next audio trackC, A
Full screenF, F11, and Escape to leave it
Loop, A-B loopCtrl+L, B
Previous, next in the playlistP, N, Ctrl+Left, Ctrl+Right
Previous, next chapterPage Up, Page Down
PlaylistCtrl+P
Picture in pictureCtrl+Shift+P
Zoom in, out at the pointerCtrl+wheel
Save the frame as a pictureS
Trim, splitCtrl+T, Ctrl+Y
Trim from, to the playheadI, O, while trimming
Rotate left, rightCtrl+Shift+L, Ctrl+Shift+R
Flip horizontally, verticallyCtrl+Shift+H, Ctrl+Shift+V
Undo, redoCtrl+Z, Ctrl+Shift+Z
ExportCtrl+E
Record sound, the screen, a cameraCtrl+Shift+N, Ctrl+Alt+N, Ctrl+Alt+M
Open, open addressCtrl+O, Ctrl+U
InspectorCtrl+I
SettingsCtrl+,
Close the window, quitCtrl+W, Ctrl+Q