NORMAL ~/wkd/p/media :set skin=modern utf-8

media.nvim

What is in this media file, one picture of it, and — a video or an audio file's speech, turned into text. ffprobe says how long, how big and in which codec; ffmpeg produces a poster frame, a contact sheet or a waveform as a PNG on disk; a local transcription engine turns the speech in it into a buffer, a .transcript.md sidecar, or SRT/VTT subtitles. :Media text turns any of the four into text with one verb — an image through images.nvim's OCR, a PDF through pdfport, audio and video through the transcription engine. Anything that can draw a picture can then show a video — which was, until now, everywhere just a size in bytes and the word "binary".

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
View & render
neovim
0.11+
repo
github.com/WKDSteve/media.nvim
commits
122
help
:help media

install

{
  "WKDSteve/media.nvim",
  opts = {},
}

docs/

git log

  1. test sheets: a feature sheet for :Media window and :Media play
  2. fix player: an mpv that cannot be started is an error, not a raise
  3. test sheets: feature sheets for the audio pictures and for :Media transcribe
  4. fix transcribe: a whisper binary that cannot be started is an error, not a raise
  5. docs regenerate the connection pictures (optional loads through probe/safe/package.loaded)
  6. feat tree: a transcript another program writes or deletes gets its badge at once
  7. test sheets: the sheets name the acceptance task their judge and manual lines go to
  8. test sheets: the transcript badge in the tree gets a sheet of its own
  9. test sheets: feature sheets for the actions on a media node of the real tree
  10. feat tree: transcribe, play and contact sheet as actions on a media node
  11. feat tree: the transcript scan follows the roots of the tree
  12. test tree: the fixture folder by the name the editor gives it as working directory

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search plugins and apps (app: x or plugin: x narrows)
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :apps · :play · :log · :stack
plugin list · app list · play area · activity stream · dependency graph
:log apps
the stream of one area (plugins or apps)
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close