Giter Site home page Giter Site logo

cobyj33 / tmedia Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 155.29 MB

Linux C++17 Terminal Audio and Video Player

License: MIT License

CMake 2.27% C++ 95.00% C 2.49% Dockerfile 0.25%
ffmpeg ascii ascii-art ascii-art-representation ascii-graphics cpp libav terminal terminal-app terminal-based

tmedia's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tmedia's Issues

Plans for the Future

As of right now, I still love this project, but I think the code is much too tightly coupled.

Main Refactoring

  • The code to create the ascii video and the code to actually playback the data should be decoupled, as well as the code to read a video and get a video frame, and the code to read audio and get audio frames.
  • It should all fit together so that it can support different backends for reading video. I'll still have to work out how audio would be packaged into the ascii video but I'll get there

Another goal would be to actually create an mp4 video which emulates a terminal display and includes the audio of the original video synced.

  • C programs aren't very easy to package and distribute, so I also plan to create some sort of binding to Python, Javascript, or whatnot that will allow me to distribute the program a little easier and hopefully make it a web service

asciinema is definitely a big inspiration for these new plans for making ascii recordings, and a goal may even be able to make code generated by ascii_video compatible with asciinema data

As of now, the main plan is to make ascii_video more accessible through refactoring and binding, because if I ever had to compile ffmpeg to run anything I'd just click off the website, and I'm sure other's would too (although there is a docker container :/ but that's not much better for other reasons). It'll also be my first time trying to create language bindings so it should be pretty interesting, and moving the project from C++ to C should pay off and allow me to bind more easily to other languages.

Unable to run executables

Hello Coby,
I found your ASCII video player, but I think that I am doing something wrong because I cannot run the executable. I just getting an error saying zsh: no such file or directory: executable. I am on a mac if this helps.
Screenshot 2023-01-20 at 2 51 48 PM

Add Terminal Warnings

Different terminals have different outputs, so if a terminal cannot support true color, or if a terminal's font size is too big to produce any high quality output, a warning should be shown to the user momentarily before the program runs the video to tell recommend what could be done to better the user experience

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.