Can't play video locally

I have tried VLC gives audio with black screen and built in video player gives me this

I would personally not use VLC but MPV instead…

Activate the RPM Fusion repositories with, using the Terminal (one long line):

sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

And then install mpv itself with:

sudo dnf install -y mpv ffmpeg --allowerasing

This will also install FFmpeg which will always come in handy…

Now select any .mp4 file and right click (or press Ctrl - i) to get its “Properties”. Now select the “Open With” tab and select MPV Media Player from the list and choose “Set as default”, do the same with an .mkv file (and set “jpg”, “png” and “tif” to the GNOME “Image Viewer” (nowadays called “Loupe”) while you are at it). Even quicker might be when you go to the main “Settings” and there set MPV at the “Apps” and then “Default Apps”, clicking on “Videos” and its arrow pointing down.

1 Like

fantastic you are a genius worked like a charm i thank you!