this post was submitted on 06 Feb 2024
610 points (96.5% liked)
linuxmemes
20959 readers
477 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Who need GUI to watch youtube? You can watch them directly in terminal with mpv. Try it:
mpv --vo=tct "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
If you're in a kernel VT (i.e. Ctrl+Alt+F[1-7] without starting a graphical environment) MPV can also work in framebuffer mode (the default if you don't specify a video output). It'll show the video fullscreen at full resolution, bypassing the terminal characters.
Who said terminal graphics had to look bad?
I'm sure it has some uses in digital signage and whatnot, but holy cow it sounds like a dev just saying "hold my beer" one evening...
84% of FOSS software is the result of either a dare, laziness, or spite.
you can also use libsixel for that. Contour is a pretty good term that supports that.
What does tct do?
It uses the terminal as a display output instead of a separate window
This is stupid and I love it
I wondered what this could possibly look like and found some examples here: https://www.baeldung.com/linux/view-media-no-graphical-env.
I was expecting ASCII art. It's low resolution video though. Seems like a small use case, but pretty nifty.