https://github.com/hrideshmg/ascii_video_player
A tool written in C which lets you render any video as ascii text on the terminal.
https://github.com/hrideshmg/ascii_video_player
ascii ascii-art ascii-video c terminal
Last synced: 2 months ago
JSON representation
A tool written in C which lets you render any video as ascii text on the terminal.
- Host: GitHub
- URL: https://github.com/hrideshmg/ascii_video_player
- Owner: hrideshmg
- Created: 2024-12-01T15:56:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-08T09:42:19.000Z (over 1 year ago)
- Last Synced: 2025-04-05T04:20:04.930Z (over 1 year ago)
- Topics: ascii, ascii-art, ascii-video, c, terminal
- Language: C
- Homepage:
- Size: 20.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASCII Video Player
A tool written in C which lets you play any video (local or with URL) as ASCII text in the terminal. Created as a project for the CSE-201 Procedural Programming in C course.
## Demo
https://github.com/user-attachments/assets/e9a8dd83-5fdd-43d1-8c6f-0fb773e63b5f
## Usage
- Install the dependencies
- Ubuntu/Debian:
```
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev
```
- Arch:
```
sudo pacman -S ffmpeg
```
- Compile the program ```gcc main.c -o player -lavformat -lavcodec -lavutil -lswscale -lm```
- Then execute the `player` file with `./player`. The program will ask for the name of the file, you can either enter the name of a video file in the same directory or feed it a URL to a video.
**Note**: The video will resize itself to the current dimensions of your terminal, if you wish to have a higher quality output zoom out your terminal before running the program