English | 日本語
Eisha — Video Player with Sound
Play MP4, M4V, MOV, WebM and MKV videos in a VS Code or VSCodium editor tab, with sound, without waiting.
Found a problem or have a request? Open an issue.
Why
VS Code can show a video, but its built-in player lacks several common formats:
|
Plays in VS Code |
Does not play |
| Sound |
MP3, FLAC, Vorbis |
AAC, Opus |
| Picture |
H.264, VP8 |
VP9, HEVC, AV1 |
| File |
MP4, MOV |
WebM, MKV |
Most MP4 files carry AAC sound, so they play in silence. Most WebM files do not open at all.
Eisha converts the parts VS Code cannot play while the video plays. It does not convert the whole file first: the sound starts within about a second, also after jumping to another position, however long the video is.
Features
- Sound for every video, synchronized with the picture, at any speed.
- Fast start: conversion runs alongside playback, from the position you are watching.
- No setup needed: a small built-in converter is included. If
ffmpeg is installed, Eisha uses it instead, which is faster and handles more formats.
- Your keys: every playback key is a normal VS Code key binding. Change them in Keyboard Shortcuts.
- Settings for the seek steps, the list of speeds (up to 4×), the starting speed, resuming where you stopped, and autoplay.
- Works over Remote - SSH, WSL and in containers: the conversion runs where the files are.
- Private: nothing is sent anywhere. Eisha makes no network connections.
- English and Japanese.
Install
VS Code
- Open the Extensions view (
Ctrl+Shift+X, on macOS Cmd+Shift+X).
- Search for Eisha and select Install.
Or from a terminal:
code --install-extension moriyama-dev.vscode-eisha
VS Code keeps extensions up to date by itself.
VSCodium and other editors that use Open VSX
Search for Eisha in the Extensions view, or:
codium --install-extension moriyama-dev.vscode-eisha
From a file
Download the .vsix from the latest release, then run Extensions: Install from VSIX… from the Command Palette. A file installed this way is not updated automatically.
Optional: install ffmpeg
Eisha works without it. With it, videos that need their picture converted (WebM with VP9, HEVC, AV1) play smoothly at full size, and more formats are supported.
| System |
Command |
| Ubuntu, Debian |
sudo apt install ffmpeg |
| macOS (Homebrew) |
brew install ffmpeg |
| Windows |
winget install Gyan.FFmpeg |
Install it on the machine where the videos are. In a remote window, that is the remote machine. Then run Eisha: Look for ffmpeg Again, or reload the window.
Use
Open a video from the Explorer. If another video extension opens it instead, right-click the file, choose Open With… and pick Eisha Video Player.
VS Code does not let a page start sound by itself. Click the video or press Space once to start; after that, everything works from the keyboard.
Keys
| Key |
Action |
Space or K |
Play or pause |
← / → |
Back / forward 5 seconds |
J / L |
Back / forward 10 seconds |
, / . |
Previous / next frame |
0 – 9 |
Jump to 0% – 90% |
Home |
Jump to the start |
Shift+, / Shift+. |
Slower / faster |
↑ / ↓ |
Volume up / down |
M |
Mute |
F |
Full screen |
The keys only apply while the player has the keyboard focus, so they never get in the way of typing elsewhere. To change one, open Keyboard Shortcuts (Ctrl+K Ctrl+S) and search for Eisha.
Settings
| Setting |
Default |
What it does |
eisha.seekStep |
5 |
Seconds moved by ← and → |
eisha.largeSeekStep |
10 |
Seconds moved by J and L |
eisha.speeds |
0.5 … 3 |
Speeds in the speed menu, each from 0.1 to 4 |
eisha.defaultSpeed |
1 |
Speed a video starts at |
eisha.rememberSpeed |
on |
Start the next video at the speed used last |
eisha.resumePosition |
on |
Continue from where you stopped |
eisha.autoplay |
on |
Start playing when a video is opened |
eisha.ffmpegPath |
empty |
Full path of ffmpeg, when it is not found by itself |
What plays with what
|
With ffmpeg |
With the built-in converter |
| MP4 / MOV with H.264 and AAC |
Yes |
Yes |
| WebM with VP9 or VP8, and Opus or Vorbis |
Yes |
Yes, picture reduced to 480p |
| MKV with H.264 |
Yes |
Yes |
| HEVC, AV1, 10-bit H.264 |
Yes |
No |
| Sound: AAC, Opus, Vorbis, MP3, AC-3, FLAC, ALAC, PCM |
Yes |
Yes |
| Other sound formats |
Yes |
No |
When the built-in converter cannot handle a file, Eisha says so and shows how to install ffmpeg.
How it works
Eisha looks at the file and decides for each track. What VS Code can decode is played straight from the file. The rest is converted by ffmpeg, or by the built-in converter, starting at the position being played: sound to MP3, picture to H.264 (or VP8 with the built-in converter). The converted data is passed to the player in small pieces as it is produced. Jumping outside the converted part restarts the conversion at the new position.
The built-in converter is FFmpeg compiled to WebAssembly with only the formats listed above. It is slower than the ffmpeg program, which matters for pictures but not for sound.
Feedback
- Eisha: Report an Issue opens a new GitHub issue with your versions and the video's formats filled in. File names and paths are never included.
- Eisha: Request a Feature does the same for a request.
- Eisha: Open on GitHub opens the repository.
Or go straight to the issues.
License
Eisha is under the MIT License.
The built-in converter in vendor/libav/ is a separate work under the GNU Lesser General Public License, version 2.1 or later. It contains FFmpeg, LAME and libvpx. Its README lists the contents, the licenses and how to rebuild it from source.