30

I had installed VLC media player from the Ubuntu Software Center recently. It worked for some time, but then instead of the video, only a blank screen was displayed with the audio. Even the same videos that could be played before did not work.

I tried uninstalling and re-installing, and I upgraded it to the latest.

I've tried: menu ToolPreferencesVideo → enabling Accelerated video output (Overlay).

Execution via the terminal also gives the same.

I'm using Ubuntu 14.04 (Trusty Tahr).

  • uncheck accelerated video output – Ravan Sep 3 '15 at 13:42

13 Answers 13

46
    • Go to ToolsPreferencesVideo
    • Remove the tick for Accelerated video output (Overlay)
    • Try and play the movie again, you should now see output.

Or

2.

  • Go to ToolsPreferences->Video
  • Change Output to X11 Video output

If the above doesn't work, that particular video might have a proprietary video format that is not supported.

Reference here.

  • 13
    #2 worked for me, on Ubuntu 17.04. Output defaulted to Auto, but specifying X11 fixed it. – Johann Aug 31 '17 at 0:12
  • #2 worked for me as well, on 17.04. Weird – amenadiel Nov 1 '17 at 0:58
  • X11 fixed it. Shouldn't this be reported as a bug? – Lonnie Best Dec 4 '17 at 3:37
  • 2. worked for me, on Xubuntu 16.04 – Alex Willison Feb 14 '18 at 18:07
  • @LonnieBest that might be a feature that we don't have any idea about. anyway x11 worked for me, – All Іѕ Vаиітy Aug 17 '18 at 17:08
6

Also, This happend to me, but...

navigate to:

: menu Tool → Preferences → Video

Check the output drop-down menu

and check that you have chosen the appropriate output codec, It was set to "auto" in the drop-down and needed to be selected "X11"

3

My workaround is to delete the VLC config-file. Open a terminal in ~/.config/vlc and

rm vlc-qt-interface.conf

Weird thing, if i delete the config file with Nautilus filemanager: still no window.

  • This worked for me! – krishna Oct 20 '17 at 15:50
2

I'm using Ubuntu 16.04 and updated to vlc 2.2.7 had the same problem after updating the update.

Go to Tools>preferences>video>output and select any of the first three options that end in (XCB). Resolved the issue for me.

You can also try either of the OpenGL options and they work also.

Hope it works for you.

janitor-

1

I've noticed this problem for a couple of years now, and have noticed this pattern and work-around:

  • If VLC is minimized when it's called to play a file, the video will fail: it will show as blank/black.
  • If VLC is not minimized when it's called to play a file, the video works just fine.

The workaround is to make sure VLC is not minimized when you feed it a file to play.

How I found this out: I have a playlist file on the desktop. I typically press the "Show Desktop" button to minimize all windows before I run that playlist file. If VLC was already opened, it is now minimized. If I then open the playlist file, the VLC windows will pop back up, but the video will fail.

However, if I make sure to bring VLC back to its windowed state before opening the playlist file, the video works.

1

If the VLC still play without video the problem can be due to the incompatible video codec contained in the files. In this case, maybe need to convert the file to VLC more supported video format. You can choose Makemkv or Pavtube video converter,both powerful video tools.

1

In my case (Kubuntu 18.10 x64) changing Output to X11 Video output (as Ravan proposed) did not help, but XVideo output (XCB) helped.

So...

  • Go to ToolsPreferences->Video;
  • Change Output to XVideo output (XCB).
0

I had the same problem with fresh install of Ubuntu 16.04 and fresh VLC. My video card is NVidia and I was using the binary proprietary driver version 361.42 I switched to version 340.96 of the same driver and I got the video running without any problems.

Hope I helped.

0

This happened to me when I accidentally deleted libavcodec (probably it was targeted by apt-get autoremove after deleting some other package). In my case no player (I tried vlc, xplayer, smplayer) except browsers were not able to play any video (I tried for mp4, avi, mkv) but the audio worked. Re-installing this package fixed my problem. So check if it's installed.

0

None of these worked for me, but a "mark for reinstall" in synaptic did the trick.

0

Easy fix and no u don't need to listen to the above. Go into VLC and go to bottom right where the 3 dots are located and go to settings. Then go to video settings and turn off hardware decoding. Problem solved

0

You can try this too (I did it in Ubuntu 16.04.03)

uninstall VLC at all, then open terminal window and type:

sudo add-apt-repository ppa:videolan/master-daily

then:

sudo apt-get update

and then:

sudo apt-get install vlc

it works for me, so I hope you can get it too.

-1

Resetting preferences helped me

Tools -> Preferences -> Reset Preferences

protected by Community Jun 10 at 23:44

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.