Skip to content

A tool written in C which lets you render any video as ascii text on the terminal.

Notifications You must be signed in to change notification settings

hrideshmg/ascii_video_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

out.mp4

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

About

A tool written in C which lets you render any video as ascii text on the terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •