I want to be able to play quality video from a text console. I have two options set up, neither of which is ideal:
I have mplayer set up to use the
-vo fbdev2option, which I understand to directly use a frame buffer provided by linux. This works, but it is not the best quality.
I have a script that changes to tty 7 to play the video and then changes back. I thereby get the quality of X, but there are a few issues:
The problems with the second method are as follows.
If I am not logged into a gui session on tty7 the video does not show (I just stare at the login screen).
The contents of the gui session are flashed when the player is done. Not a big deal, but it just looks cludgy.
If I change tty's during the video, I get pulled back to the tty that started the video when the video is done playing.
I would like to play a video from a text console (tty1-6) using X. As far as I can tell, that is the only way to get quality video and have it act like it is playing in the console I am using.
Any advice on how to set up a text console to launch mplayer in X would be much appreciated!
NOTE 1: I think an old install I had of Ubuntu 14 did this automatically when mplayer was called, as mplayer played with good quality from text console. I no longer have that setup to verify.
NOTE 2: What happens when I just call mplayer with
vo -x11 is that it can not find a display, as DISPLAY is not set. The only valid value for DISPLAY is
:0[.0], and when I use that display the video plays in tty7 but taking stdin from the tty that called the video.
NOTE 3: I am running Ubuntu Mate 16.04.1, amd64, and experience the same problem on multiple such systems with varying video cards.