Local Video Files do not play, but videos work in web browsers

(EndeavorOS, Gnome, Nvidia GPU)
I’m pretty new to linux and I’m having a bit of a niche issue. As the title says I only have issues when trying to play local video files like mp4’s. In the gnome video player it says “could not initialize openGL support” and in VLC it plays audio with no visual and gives this error: “VLC could not decode the format “h264” (H264 - MPEG-4 AVC (part 10))”

I’ve double checked the install of both my Nvidia drivers and video codecs and I’m not sure what else to try now.

Hello and welcome,

Arch recently spliut the vlc package into a plethora of plugin packages.
See them in the optional dependencies, ex:

pacman -Qi vlc

You may also use one of the meta-packages such as vlc-plugins-base to easily install a grouping of most of the ‘basic’ plugins usually used.

I tried this, but it still seems to bring the same error :slightly_frowning_face:

should I look anything in particular in optional dependencies?

Are you using Showtime in Gnome? If so, the optional dependencies to try would be:

  1. gst-libav - Extra media codecs
  2. gst-plugins-bad - Extra media codecs
  3. gst-plugins-ugly - Extra media codec

For VLC, the optional extras would be:

  1. vlc-plugins-extra
  2. vlc-plugins-video-output

What was tried?

If you are getting this same error while playing a video through VLC then I wonder what plugins were installed? And if they include vlc-plugin-x264?

I checked for and reinstalled vlc-plugins-extra, vlc-plugins-video-output, and vlc-plugin-x264.

I’m getting the same error.

the other video player seems to be showtime, it came installed with endeavor/gnome

I’ve checked for and reinstalled all of the plugins listed here. I still get the same error

Is vlc-plugin-ffmpeg installed?

2 Likes

this seems to have worked!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.