Strange display issue with VLC
I just set up a server and ran some sample video tests, but for some reason the video is showing characters and numbers instead of pixels. Here is an image of how I see it:
Do you think it has anything to do with the video card configuration, or could it be a simple matter of setting VLC's properties correctly?
I can't install any other video player at the moment because I don't have administrator privileges, so I am stuck with VLC.
Based on the icon in the screenshot:
I assume you use PuTTY on a Windows machine to connect to a remote host via an SSH session.
The thing you see in the screenshot is what happens if you use VLC through PuTTY, or any other SSH session for that matter. In general, SSH sessions are only capable of transmitting characters (and escape sequences, which do things such as setting colors etc.). VLC detects this as the only output available and plays it like that. (I bet it doesn't play audio too?) What you want requires graphical mode.
Graphical programs CAN be executed remotely on Linux machines, but it requires X11 forwarding. How does it work? The SSH server rather than transmitting characters (and escape sequences), transmits X11 messages. That way, your local window manager can parse these messages, interpret them and emulate the window locally. Events such as mouse clicks, key presses etc. are sent back to the server, which executes actual program code. I don't know of any other graphical environments that can work this way.
You'll be able to run a Linux X11 program on Windows if you run a local X11 server. The only software capable of doing this I know is Cygwin which can emulate X11 environment, I don't know of any other methods. (You'd need to start Cygwin, start X server inside, open terminal in X server, connect to remote host using SSH forwarding and execute the command from there.)
There's also the whole VNC / virtual desktop thing, but it works differently: you connect to the remote host, and it dumbly streams you the remote desktop. The differences are that you see the whole remote desktop inside a window (that will have different screen size if the remote monitor resolution doesn't match yours), rather than seeing remote programs normally as if they were executed locally. And since it's dumb, it'll compress the desktop as if it was video, on the fly, without understanding what really happens (save for things such as cursor pointer interaction.)
Both of these methods are very resource expensive when used for remote video playback, and it just ain't worth it.
What you might want is to grab the remote movie, download it to your local machine and play it locally. You can do so using scp
or its equivalent from the PuTTY suite.
VLC supports playing back videos as ASCII art (it does the conversion on the fly). Check your VLC settings, and ensure you choose something other than ASCII output.
The screenshot is Windows, but it's essentially the same in other operating systems.
NOTE: It's also possible that VLC is falling back to a display mode that will actually work in your setup. If you're running VLC through a terminal emulator or some kind of remoting/client-server setup, then ASCII might be the only display mode that VLC has established will work.
Could it be a simple matter of setting VLC's properties correctly?
You have selected "Color ASCII art video output" in your "Preferences" > "Video Settings".
To fix this:
- Select the menu "Tools" > "Preferences" or press CtrlP.
- Select the "Video" tab.
-
Change "Output" from "Color ASCII art video output" to "Automatic".
Click "Save".
- Restart VLC.