Weird VLC bug on KDE, works only for a few videos then no longer loads

kde
vlc

#1

Hi!

So I have a new problem with VLC player under the KDE desktop: After booting the system it works fine for a few videos then it just suddenly disappears. After this point whenever I want to open a file it starts loading in the taskbar and the icon disappears.
I see an icon called media player in the system tray but I can’t interact with it at all. (when I click open VLC from there, it just opens a blank window.)
I tried all the versions of VLC and nightly too but all of them give me the same problem. All other media players work fine…

Thanks for the help in advance!


#2

Fire it up from a terminal, and look at any errors.


#3

[xakeom@PC applications]$ ./vlc.desktop
./vlc.desktop: line 1: [Desktop: command not found
./vlc.desktop: line 2: Player: command not found
./vlc.desktop: line 2: Recorder: command not found
./vlc.desktop: line 3: capture,: command not found
./vlc.desktop: line 4: capture,: command not found
./vlc.desktop: line 5: እርስዎን: command not found
./vlc.desktop: line 6: ،: command not found
./vlc.desktop: line 7: прихващане: command not found
./vlc.desktop: line 8: মাল্টিমিডিয়া: command not found
./vlc.desktop: line 9: enrollañ,: command not found
./vlc.desktop: line 10: captureu: command not found
./vlc.desktop: line 11: indspil,: command not found
./vlc.desktop: line 12: Aufnahme: command not found
./vlc.desktop: line 13: capture: command not found
./vlc.desktop: line 14: taasesitamine,: command not found
./vlc.desktop: line 15: hartu,: command not found
./vlc.desktop: line 16: tallenna: command not found
./vlc.desktop: line 17: capture,: command not found
./vlc.desktop: line 18: capture: command not found
./vlc.desktop: line 19: לכידה: command not found
./vlc.desktop: line 20: adatfolyamok: command not found
./vlc.desktop: line 21: taka: command not found
./vlc.desktop: line 22: cattura,: command not found
./vlc.desktop: line 24: ចាប់យក: command not found
./vlc.desktop: line 25: įrašyti,: command not found
./vlc.desktop: line 26: tangkap,: command not found
./vlc.desktop: line 27: multimedia-streams: command not found
./vlc.desktop: line 28: av,: command not found
./vlc.desktop: line 29: ਮਲਟੀਮੀਡਿਆ: command not found
./vlc.desktop: line 30: przechwytywanie: command not found
./vlc.desktop: line 31: capture: command not found
./vlc.desktop: line 32: capturar,: command not found
./vlc.desktop: line 33: capturează,: command not found
./vlc.desktop: line 34: проигрыватель: command not found
./vlc.desktop: line 35: zaznamenávajte,: command not found
./vlc.desktop: line 36: fånga,: command not found
./vlc.desktop: line 37: బహుళమాధ్యమ: command not found
./vlc.desktop: line 38: จับ: command not found
./vlc.desktop: line 39: ortam: command not found
./vlc.desktop: line 40: захоплення: command not found
./vlc.desktop: line 41: egaloye,: command not found
./vlc.desktop: line 43: --started-from-file: command not found
./vlc.desktop: line 44: player: command not found
./vlc.desktop: line 45: player: command not found
./vlc.desktop: line 46: መገናኛ: command not found
./vlc.desktop: line 47: الوسائط: command not found
./vlc.desktop: line 48: плейър: command not found
./vlc.desktop: line 49: mediaoù: command not found
./vlc.desktop: line 50: multimèdia: command not found
./vlc.desktop: line 53: multimedia: command not found
./vlc.desktop: line 55: irakurgailua: command not found
./vlc.desktop: line 57: multimédia: command not found
./vlc.desktop: line 58: multimedia: command not found
./vlc.desktop: line 59: מדיה: command not found
./vlc.desktop: line 62: multimediale: command not found
./vlc.desktop: line 65: media: command not found
./vlc.desktop: line 68: multimedialny: command not found
./vlc.desktop: line 69: de: command not found
./vlc.desktop: line 70: de: command not found
./vlc.desktop: line 71: media: command not found
./vlc.desktop: line 73: médií: command not found
./vlc.desktop: line 75: ప్రదర్శకం: command not found
./vlc.desktop: line 77: oynatıcısı: command not found
./vlc.desktop: line 79: d media
GenericName[zh_CN]=媒体播放器
Icon=vlc
Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast;
MimeType=x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-player;x-content/audio-cdda;video/x-theora+ogg;video/x-theora+ogg;video/x-ogm+ogg;video/x-ogm+ogg;video/x-nsv;video/x-msvideo;video/x-msvideo;video/x-msvideo;video/x-msvideo;video/x-msvideo;video/x-msvideo;video/x-ms-wmv;video/x-matroska;video/x-flv;video/x-flv;video/x-flv;video/x-flic;video/x-flic;video/x-anim;video/webm;video/vnd.rn-realvideo;video/vnd.mpegurl;video/quicktime;video/ogg;video/mpeg;video/mpeg;video/mpeg;video/mpeg;video/mpeg;video/mp4;video/mp4;video/mp4;video/mp2t;video/dv;video/3gpp2;video/3gpp2;video/3gpp;video/3gpp;video/3gpp;text/x-google-video-pointer;text/x-google-video-pointer;image/vnd.rn-realpix;audio/x-xm;audio/x-wavpack;audio/x-wav;audio/x-wav;audio/x-vorbis+ogg;audio/x-vorbis+ogg;audio/x-vorbis+ogg;audio/x-tta;audio/x-speex;audio/x-scpls;audio/x-scpls;audio/x-s3m;audio/x-pn-realaudio-plugin;audio/x-musepack;audio/x-ms-wma;audio/x-ms-asx;audio/x-ms-asx;audio/x-ms-asx;audio/x-mpegurl;audio/x-mpegurl;audio/x-mod;audio/x-matroska;audio/x-it;audio/x-gsm;audio/x-ape;audio/x-aiff;audio/x-adpcm;audio/webm;audio/vnd.rn-realaudio;audio/vnd.rn-realaudio;audio/vnd.dts.hd;audio/vnd.dts;audio/ogg;audio/mpeg;audio/mpeg;audio/mpeg;audio/mpeg;audio/mpeg;audio/mp4;audio/mp4;audio/mp4;audio/mp2;audio/mp2;audio/midi;audio/flac;audio/flac;audio/basic;audio/AMR-WB;audio/AMR;audio/ac3;audio/aac;audio/aac;application/xspf+xml;application/x-shorten;application/x-quicktime-media-link;application/x-quicktime-media-link;application/x-matroska;application/x-cd-image;application/vnd.rn-realmedia;application/vnd.rn-realmedia;application/vnd.ms-wpl;application/vnd.ms-asf;application/vnd.ms-asf;application/vnd.ms-asf;application/vnd.ms-asf;application/vnd.apple.mpegurl;application/vnd.adobe.flash.movie;application/sdp;application/ram;application/ogg;application/ogg;application/mxf;
Name[en_US]=VLC media player
Name=VLC media player
Name[am_ET]=የ ቪኤልሲ መገናኛ ማጫወቻ
Name[ar]=مشغل الوسائط VLC
Name[bg]=Медиен плейър VLC
Name[bn]=VLC মিডিয়া প্লেয়ার
Name[br]=VLC lenner mediaoù
Name[ca]=Reproductor multimèdia VLC
Name[da]=VLC media player
Name[de]=VLC Media Player
Name[es]=Reproductor multimedia VLC
Name[et]=VLC meediaesitaja
Name[eu]=VLC multimedia irakurgailua
Name[fi]=VLC-mediasoitin
Name[fr]=Lecteur multimédia VLC
Name[gl]=Reprodutor multimedia VLC
Name[he]=נגן המדיה VLC
Name[hu]=VLC médialejátszó
Name[is]=VLC spilarinn
Name[it]=Lettore multimediale VLC
Name[ja]=VLCメディアプレイヤー
Name[km]=កម្មវិធីចាក់មេឌៀ VLC
Name[lt]=VLC leistuvė
Name[ms]=Pemain media VLC
Name[nl]=VLC Media Player
Name[nn]=VLC mediespelar
Name[pa]=VLC ਮੀਡਿਆ ਪਲੇਅਰ
Name[pl]=VLC media player
Name[pt_BR]=Reprodutor de Mídias VLC
Name[pt_PT]=VLC media player
Name[ro]=Redor media VLC
Name[ru]=Медиаплеер VLC
Name[sk]=VLC media player
Name[sv]=VLC mediaspelare
Name[te]=VLC మాధ్యమ ప్రదర్శకం
Name[th]=โปรแกรมเล่นสื่อ VLC
Name[tr]=VLC ortam oynatıcısı
Name[uk]=Медіапрогравач VLC
Name[wa]=Djouweu d: No such file or directory
./vlc.desktop: line 123: 媒体播放器: command not found
./vlc.desktop: line 131: X-DBUS-ServiceName=: command not found
./vlc.desktop: line 132: X-DBUS-StartupType=: command not found
./vlc.desktop: line 133: X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb: command not found
./vlc.desktop: line 134: X-KDE-SubstituteUID=false: command not found
./vlc.desktop: line 135: X-KDE-Username=: command not found

This is the output, can’t really make anything out of it.


#4

No just type vlc in terminal.


#5

Well running it from the terminal works :smiley:

However I still don’t understand why I can’t launch files by using right click/open with vlc in Dolphin.

here’s the output:

[xakeom@PC applications]$ vlc
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-3571-gc3a7a890fc)
[000055a09d016640] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[000055a09d0a5820] main playlist: playlist is empty


#6

I don’t have KDE, but isn’t there a Sound & Video menu with VLC inside somewhere? That’s the section in XFCE.
At any rate your vlc.desktop is missing parts. Did you create it?:

Version=1.0
Name=VLC media player
GenericName=Media player
Comment=Read, capture, broadcast your multimedia streams
Exec=/usr/bin/vlc --started-from-file %U
TryExec=/usr/bin/vlc
Icon=vlc
Terminal=false
Type=Application
Categories=AudioVideo;Player;Recorder;
MimeType=…
Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast;


#7

I experienced a similar problem in kde. Starting vlc from the menu or by double clicking a file works but only once. The second time vlc does not start.
It always starts from the terminal.

I changed the command in the menu: right click on menu-starter, edit applications, click on vlc, change command to vlc.
Now it works ok.


#8

See if relates to this:


#9

Hi! Thanks, it seems to have solved the problem :slight_smile:


#10

Thank you. This worked for me too.

I’m just wondering if this is not only a vlc issue because I also had this problem with Gwenview from time to time. But Gwenview suddenly popped up after 5 minutes or so.


split this topic #11

A post was split to a new topic: Distorted video in VLC


#12

If you change the vlc start command to just “vlc” you will end having n zombie process in background. The only workaround I found is to stop the video before closing the app.

EDIT: I found a new workaround: Disabling vaapi/vdpau selecting the XCB video exit.


Zombie VLC processes
VLC not closing
I cannot close VLC by cross in the right corner of window
#13

I just had the same issue on XFCE.

As @aenima suggested I changed my video output settings in VLC from auto to an XCB output. It has solved the problem.

Thanks a lot for the help!
döme