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).

share|improve this question
    
uncheck accelerated video output – Ravan Sep 3 '15 at 13:42
    • 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.

share|improve this answer
6  
#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

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"

share|improve this answer

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.

share|improve this answer
    
This worked for me! – krishna Oct 20 '17 at 15:50

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.

share|improve this answer

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.

share|improve this answer

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.

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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