No video being able to play, VLC or Dragon Player

Hi, so just installed openSUSE so a complete newbie here but have had some experience with other distros before. Basically I have some video files I’d like to play in various formats (mp4, avi and mkv) but none of them with play - whenever I open them up in Dragon Player it just shows a weird line pattern on the screen and doesn’t appear to play, and VLC Player simply opens and then crashes straight away. Tried looking online for solutions extensively but nothing seems to work - have packman and vlc repositories enabled but tried different sets of packages and codecs installed at any one time and nothing seems to get the videos or programs to behave any differently.

What can I do?? Should mention the video files aren’t corrupted, have tried opening them on other machines and they work fine. Assuming it’s an issue with the codecs and my packages but don’t know how to fix it or what scripts to run to find out how, would really appreciate some help.

Thanks!!

Have a look at the sticky post - it covers installation of encumbered
codecs, which is probably why you’re not able to play them with the
default tools that are installed.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

This sticky?
https://forums.opensuse.org/showthread.php/309430-Welcome-to-multimedia-sub-area
If so I’ll have a look through it and see if it helps :slight_smile:

just copy/paste this

sudo zypper ar -f ftp://packman.inode.at/suse/openSUSE_Leap_42.1/ packman
sudo zypper dup --from packman
sudo zypper in vlc-codecs libxine2-codecs

ps pressing shift+insert pastes text in a terminal window, konsole does have right-click with paste too…

Also try to uninstall libvdpau_va_gl1 if it is installed.
This can cause problems with video playback on some systems, and is not really necessary anyway.

Oh and:

have packman and vlc repositories enabled

You should not do that. The packman and vlc repositories are incompatible to each other because they contain the same stuff in different versions.
Never have both.

I’d suggest sticking to Packman, as that contains everything that’s in the VLC repo, and more.

Thanks, tried this but still doesn’t seem to have helped unfortunately. Also, strangely, my wireless network connection dropped in speed from about 2MB/s to several kB/s after removing the VLC repository so I don’t know how I screwed that one up. Didn’t have ibvdpau_va_gl1 installed but is there anything else I can try regarding the packages?

Did you change to packman?? just removing and or adding repos does nothing you must switch vendors

See which repos is packman in the list

zypper lr -d

Use the number of the packman repo #

zypper dup --from #

where # is the number if the packman repo

If in doubt post zypper lr -d

Ohhhh okay, thanks! Just tried that and it seemed to complete successfully, but videos still won’t play…the only package which had to change vendor was libxine2-pulse though.

Ok What video card?

I would suggest to try setting another video output device in VLC’s settings.

Though if no videos play and VLC is even crashing when trying to play videos, this indeed sounds like a graphics driver issue.
So as gogalthorp asked, please tell what graphics card and driver you are using.

My video card is " Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)" I think? Driver i915.
Also I would try that but I can’t even open VLC without a video - the program won’t start at all, it just crashes straight away, even when started from the application menu.

Ok, in that case, try to install libvdpau_va_gl1, as intel doesn’t support VDPAU.
But VLC should work witout it, it does support VAAPI as well.

Also I would try that but I can’t even open VLC without a video - the program won’t start at all, it just crashes straight away, even when started from the application menu.

Then what error message do you get when you run “vlc” in a terminal window?

Also try “vlc --ignore-config”, does it start then?
If yes, run “vlc --reset-config” to fix it.

When I try either of those commands I just get these error messages:

VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[000000000087a0b8] core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[0000000000991d58] core interface error: corrupt module: /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
[00007f57d002e6c8] core generic error: corrupt module: /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
[0000000000991d58] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[0000000000991d58] skins2 interface error: cannot instantiate qt4 dialogs provider
[0000000000991d58] [cli] lua interface: Listening on host “*console”.
VLC media player 2.2.2 Weatherwax
Command Line Interface initialized. Type `help’ for help.
>

Is vlc-qt installed, in the same version as vlc?

Try to reinstall it:

sudo zypper in -f vlc-qt

If that doesn’t help, please post your repo list, as already asked:

zypper lr -d

The installed vlc-qt might not fit to your installed Qt5, that happens if you e.g. added Packman for a different openSUSE version.

Tried that, still nothing…and here’s my repo list:

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±------------------------------------±----------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------±-------
1 | Packman | Packman | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ |
2 | http-download.opensuse.org-a0d97a20 | Non-oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
3 | http-download.videolan.org-5c9651c5 | SuSE | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.videolan.org/SuSE/Leap_42.1/ |
4 | http-opensuse-guide.org-7e8dccb1 | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |
5 | http-packman.inode.at-4270cbf3 | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/ |
6 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part1 |
7 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | ftp://packman.inode.at/suse/openSUSE_Leap_42.1/ |
8 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
9 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
10 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
11 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
12 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
13 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
14 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
15 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |
16 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/

Thanks again btw, really appreciate the help!

Well, you should remove the VLC/VideoLAN repo as already mentioned.
And you have Packman 3 times, not really necessary (though wouldn’t cause a problem either).
Remove them:

sudo zypper rr 3 5 7

Then make sure your system is up-to-date, not having the current Qt5 installed can lead exactly to the error message you got.

sudo zypper up

And then, just to be sure, do a full switch to Packman again:

sudo zypper dup --from 1

If you get errors at some step, please post them.

Afterwards VLC should work.

It does, it finally works! Video loads fine and VLC finally works :slight_smile: Thank you very much!!