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
[vo] Video output caca not found! Error opening/initializing the selected video_out (-vo) device.-- only audio is working – Ionică Bizău Oct 09 '14 at 16:41mpv --vo helpand see if its there. I'm using mpv 0.6, by the way. – derobert Oct 09 '14 at 16:43DISPLAY=part, to keep it from popping up a new window. – derobert Oct 09 '14 at 16:46mplayer, howevertmuxbecomes unusable when such a process is running. Is there any way how to fix this? – Ionică Bizău Oct 09 '14 at 16:55mplayer? – Ionică Bizău Oct 09 '14 at 17:14mpv --vo=help– campeterson Sep 09 '21 at 22:20