Command · Import Chat Log
highlights.importChat
Reads a stream's chat log (TwitchDownloader JSON, yt-dlp live_chat.json or chat-downloader JSON) and keeps it with a recording's analyses, so highlights.find counts busy chat and emotes.
- v1
- Capability MediaAnalysis
- Tool
highlights_importChat
Request
{
"command": "highlights.importChat",
"params": {
"file": "C:/Users/me/Videos/stream-chat.json"
}
}Parameters
filestringRequired- The chat log file.
mediainteger | string (1..)- The recording it belongs to (default: the longest one the sequence plays). A media id or exact name.
offsetnumber (-86400.0..86400.0)- Chat time + this = recording time, seconds. Default 0.
sequenceinteger (1..)- Sequence id; only needed when the project has several.
Discussion
Reads a stream's chat log (TwitchDownloader JSON, yt-dlp live_chat.json or chat-downloader JSON) and keeps it with a recording's analyses, so highlights.find counts busy chat and emotes. Nothing is uploaded.
Run it with wabcut-cli cmd <project> --json, from an MCP client as highlights_importChat, or from an extension. See Edit commands for requests, references and results.
See also
highlights.*
- highlights.find
Find Highlights. Finds the best moments of a gaming recording on this computer: game-audio spikes, the player's voice (louder or higher than usual, shouting, laughter), the picture (fast action, flashes, bursts of picture changes), the recording's imported Twitch / YouTube chat log (busy chat, emotes; highlights.importChat) and OBS chapter markers or a marker file next to the recording.
- highlights.toReel
Make Highlight Reel. Makes a new sequence from highlight moments (the sequence's highlight markers, or "moments"): each moment with handles, best first up to "count" / "maxDuration", in time or score order, with transitions between them.
- highlights.toShort
Make Highlight Short. Makes one highlight moment (a highlight marker by rank, or start/end) a vertical 1080x1920 Short: the moment cut out with every track, laid out with layout.apply ("verticalSplit" with the facecam under the gameplay when there is one: a facecam clip above the gameplay or "facecamRegion"; else "verticalBlurFill": the whole game view over a blurred copy), captioned, with the moment's title as the hook and loudness for Shorts.