4 ms·
Hm, looks like there is another alternative - kitty: https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/ But
by shmerl 3y ago
Hm, looks like there is another alternative - kitty:
https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/
But if anything, mpv works with sixels better than with kitty for whatever reason.
- kragen 3y agoascii terminals don't support anything that looks better than ascii art. they don't support sixel either. there are a variety of proposals for how to add graphics to ascii terminal emulators in a backwards-compatible way, such as mgr and notty https://github.com/alacritty/alacritty/issues/51 https://github.com/alacritty/alacritty/issues/51 but they all suffer from some of the same problems as sixel but the 'terminal' that a terminal emulator is emulating is a device which provides a user access to a remote computer. it is called a 'terminal' because it is at the end of a long wire connecting it to the computer (perhaps through a network). normally nowadays this is a laptop or cellphone. in that case, yes, you can use x-windows, xpra, vnc, rfb, spice, or a web browser
- shmerl 3y agoThat's the whole point. I mean terminals that can work without graphics environment. Such as what kernel implements for tty.
- kragen 3y agowell, you can't display mpv videos in your terminal emulator with sixel graphics or any other kind of graphics if your terminal emulator is running in an environment doesn't support graphics, such as if it's displaying on an adm3a. perhaps you mean you don't want your terminal emulator to run inside a window manager. well, the x server and the wayland server don't run under a window manager; the window system runs under them, if it runs at all
- shmerl 3y agoThat's exactly the point. Why can't you? Because no one implemented that support in that terminal emulator? Or it's impossible for some reason? I get the reason of may be kernel not wanting to overload the minimalist terminal with features due to security concerns and etc, but as the article suggests, it can be moved out of the kernel, so I don't see why it shouldn't be doable.
- kragen 3y agoi said you can't 'if your terminal emulator is running in an environment doesn't support graphics, such as if it's displaying on an adm3a'. that is because the adm3a hardware physically cannot draw any graphics
- shmerl 3y agoThere is plenty of hardware where graphics is possible, it's just not happening becasue of terminal limitations.
- kragen 3y agoyes, that was why i was trying to clarify what you meant by 'without graphics environment'; whether you meant a window manager (which i'd already given several suggestions for) or an environment capable of supporting graphics (in which case you've made the problem insoluble)
- aumerle 3y agoYou need to use --vo-kitty-use-shm=yes when using the kitty backend with mpv.
- kragen 3y agoshared memory is, by contrast, an extremely reasonable way to get pixels into your user interface (i was going to say 'terminal' but it doesn't really make sense in this context)