Play local videos and YouTube videos directly in your terminal as colored ASCII.
Demo
- Rust
- FFmpeg
yt-dlp(required for YouTube videos)
Clone the repository:
git clone https://github.com/<your-username>/asvid.git
cd asvidInstall the binary:
cargo install --path .Or run it directly:
cargo run -- <video-file-or-youtube-url>Local video:
asvid movie.mp4YouTube video:
asvid "https://youtu.be/dQw4w9WgXcQ"| Key | Action |
|---|---|
Space |
Pause / Resume |
← |
Seek backward 5 seconds |
→ |
Seek forward 5 seconds |
q |
Quit |
- Play local video files
- Play YouTube videos using
yt-dlp - Render videos as colored ASCII
- Real-time playback synchronized using video timestamps (PTS)
- Pause and resume playback
- Seek forward and backward by 5 seconds
- Automatically scales the output to the current terminal size
- Rust
ffmpeg-nextcrosstermyt-dlp
