FFmpeg-SIXEL
plotext
FFmpeg-SIXEL | plotext | |
---|---|---|
3 | 8 | |
119 | 1,794 | |
- | - | |
10.0 | 5.1 | |
about 7 years ago | 2 months ago | |
C | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FFmpeg-SIXEL
-
A command line tool that draw plots on the terminal
Also:
https://github.com/saitoha/libsixel
contains img2sixel, which lets you dump images to the terminal. It can also do animated GIFs.
Video:
https://github.com/saitoha/FFmpeg-SIXEL
GUI apps:
https://github.com/saitoha/SDL1.2-SIXEL
and more, linked from the libsixel repository.
- Would it be possible to create a ascii movie player that runs entirely in the terminal?
-
Using ASCII waveforms to test real-time audio code
> I don’t see why sixels couldn’t work.
Sixels will work: they are fast enough to allow youtube video playback !!!
https://github.com/saitoha/FFmpeg-SIXEL/blob/sixel/README.md
But the problem is NOT THE FORMAT, the problem is the lack of tooling. links and w3m are among the rare text browsers that can display images in the console.
It's just a matter of the browser sending the image to something in some format, but if that hasn't be thought about as a possibility (say, for text reflow issues) it's going to be far more complicated than just adding a new format, as you will have to work both on say the text reflow issues (ex: how do you select the size of the placeholder, when expressed in characters?), and the picture display.
Personally, I do not care much about sixels, kitty or iterm format - all I want is to see some kind of support.
Yes, it would be better if that support was for the option that has the greatest chance of succeeding, but even that is a second concern: in the worst case, we can write transcoders to whatever format people prefer!
But when there is no "input" to transcode, you have a much bigger problem!
> an off the shelf ASCII plotting library probably involves less custom tooling
With a terminal like msys2 or xterm, no custom tooling is required: just use the regular gnuplot after doing the export for the desired resolution, font, and font size.
gnuplot is far more standard than plotting library that often require special Unicode fonts on top of requiring you to use their specific format.
plotext
-
Visualizing Data in the Terminal: A Simple Guide to Building a Customized Data Visualization Tool
To plot the graph, we will use a python package called plotext. Plotext lets you plot scatter, line, bar, histogram, and date-time plots (including candlesticks) directly on the terminal. First, we need to install this package.
-
A command line tool that draw plots on the terminal
Plotext works similar but isn't as magical.
https://github.com/piccolomo/plotext
-
Show HN: Simple tool for creating commandline bar charts
nice little project :)
on a tangent I was playing with https://github.com/piccolomo/plotext for a bit (especially on a data analysis server connected over ssh it's quite useful, if you don't have the bandwidth to start a jupyter notebook).
-
Zettelkasten Using Vim and Github
I have shared my Zettelkasten before, but I stumbled across plotext today. It creates plots and displays them directly in the terminal. I wrote a little python script that parses all my notes, aggregates them according to the month they were written and then plots them in a time series. Super fun little project. If your notes are file names formatted as `yyyymmddHHMM` the script should work for you as well. Hopefully someone else finds this useful.
- piccolomo/plotext: plotting on terminal
-
plotext: plotting on terminal
There’s a ticket for that https://github.com/piccolomo/plotext/issues/26
- Plotext – Python Plotting on the Terminal
What are some alternatives?
sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
barchart - Make bar charts on the terminal.
melatonin_audio_sparklines - Sparklines For JUCE AudioBlocks
gnuplotlib - gnuplot for numpy
plotille - Plot in the terminal using braille dots.
feedgnuplot - Tool to plot realtime and stored data from the commandline, using gnuplot.
ttyplot - a realtime plotting utility for terminal/console with data input from stdin
matplotlib-terminal - Matplotlib backend to plot in terminal using matrach/img2unicode
SDL1.2-SIXEL - SDL 1.2 with libsixel based video driver
UnicodePlots.jl - Unicode-based scientific plotting for working in the terminal
Gin - A few extras for juce
Zettelkasten - My personal zettelkasten.