I already found how to watch YouTube videos in terminal, in ASCII mode, but my goal is to watch them in a bash session, without opening a different window.
So, supposing I already have a tmux session, and I do:
$ watch-youtube <video-url>
I want to watch it there, in that tmux window/pane (split).
How can I do that?
Relevant output
$ mpv --vo help
Available video outputs:
vdpau : VDPAU with X11
opengl : Extended OpenGL Renderer
xv : X11/Xv
sdl : SDL 2.0 Renderer
opengl-old : OpenGL (legacy VO, may work better on older GPUs)
vaapi : VA API with X11
x11 : X11 ( XImage/Shm )
null : Null video output
image : Write video frames to image files
opengl-hq : Extended OpenGL Renderer (high quality rendering preset)
wayland : Wayland SHM video output