H.265 Videos Not Playing in VLC or SMPLayer or Videos

Can’t play my h.265 MOV files in Fedora 36 running Gnome. In VLC, I get a gray screen. In Videos, it just plays the first frame.

This is a Dual Boot machine, and the files play fine in VLC and other apps when I boot in to Win 10. Using an i7-6700 and RTX 2060 Super with Nvidia proprietary drivers.

My complete computer and nvidia specs are at the BOTTOM of this post. I am sorry that error logs I posted are so long. I just wanted to be thorough.

In SMPlayer, I get this error:

/usr/bin/mpv --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-7a49 --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-fs --hwdec=no --sub-auto=fuzzy --vo=xv,x11, --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=4 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=ISO-8859-1 --vid=1 --sub-pos=100 --volume=55 --cache=auto --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/mark_fenovo/Pictures/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}

INFO_VIDEO_WIDTH=${=width}

INFO_VIDEO_HEIGHT=${=height}

INFO_VIDEO_ASPECT=${=video-params/aspect}

INFO_VIDEO_FPS=${=container-fps:${=fps}}

INFO_VIDEO_FORMAT=${=video-format}

INFO_VIDEO_CODEC=${=video-codec}

INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation}

INFO_AUDIO_FORMAT=${=audio-codec-name}

INFO_AUDIO_CODEC=${=audio-codec}

INFO_AUDIO_RATE=${=audio-params/samplerate}

INFO_AUDIO_NCH=${=audio-params/channel-count}

INFO_LENGTH=${=duration:${=length}}

INFO_DEMUXER=${=current-demuxer:${=demuxer}}

INFO_SEEKABLE=${=seekable}

INFO_TITLES=${=disc-titles}

INFO_CHAPTERS=${=chapters}

INFO_TRACKS_COUNT=${=track-list/count}

METADATA_TITLE=${metadata/by-key/title:}

METADATA_ARTIST=${metadata/by-key/artist:}

METADATA_ALBUM=${metadata/by-key/album:}

METADATA_GENRE=${metadata/by-key/genre:}

METADATA_DATE=${metadata/by-key/date:}

METADATA_TRACK=${metadata/by-key/track:}

METADATA_COPYRIGHT=${metadata/by-key/copyright:}

INFO_MEDIA_TITLE=${=media-title:}

INFO_STREAM_PATH=${stream-path}

--audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /mnt/ECD810EED810B932/Video Projects/Siamese Dream/Etsy/Earrings/P1460929.MOV

(+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)

(+) Audio --aid=1 (*) (pcm_s16be 2ch 48000Hz)

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 11

[vo/xv/x11] Error code: 9, request code: e, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 12

[vo/xv/x11] Error code: 3, request code: 28, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 13

[vo/xv/x11] Error code: 3, request code: 2, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 17

[vo/xv/x11] Error code: 3, request code: 1, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 1a

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 1c

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 1d

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 1f

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 20

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.

[autoconvert] Converting yuv420p10 -> yuv420p

AO: [pulse] 48000Hz stereo 2ch s16

VO: [xv] 3840x2160 yuv420p

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 33

[vo/xv/x11] Error code: 9, request code: e, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 34

[vo/xv/x11] Error code: 3, request code: 28, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 35

[vo/xv/x11] Error code: 3, request code: c, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 37

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 38

[vo/xv/x11] Error code: 3, request code: 2, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 39

[vo/xv/x11] Error code: 3, request code: 2, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 3a

[vo/xv/x11] Error code: 3, request code: 3, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 3c

[vo/xv/x11] Error code: 3, request code: 8, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 3d

[vo/xv/x11] Error code: 3, request code: 12, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 40

[vo/xv/x11] Error code: 3, request code: 3, minor code: 0

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 42

[vo/xv/x11] Error code: 9, request code: e, minor code: 0

[vo/xv/x11] X11 error: BadWindow (invalid Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 4, serial: 43

[vo/xv/x11] Error code: 3, request code: 28, minor code: 0

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 44

[vo/xv/x11] Error code: 9, request code: 37, minor code: 0

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 45

[vo/xv/x11] Error code: 9, request code: 37, minor code: 0

INFO_VIDEO_DSIZE=3840x2160

MPV_VERSION=mpv 0.34.1

INFO_VIDEO_WIDTH=3840

INFO_VIDEO_HEIGHT=2160

INFO_VIDEO_ASPECT=1.777778

INFO_VIDEO_FPS=59.940060

INFO_VIDEO_FORMAT=hevc

INFO_VIDEO_CODEC=hevc (HEVC (High Efficiency Video Coding))

INFO_DEMUX_ROTATION=

INFO_AUDIO_FORMAT=pcm_s16be

INFO_AUDIO_CODEC=pcm_s16be (PCM signed 16-bit big-endian)

INFO_AUDIO_RATE=48000

INFO_AUDIO_NCH=2

INFO_LENGTH=15.515500

INFO_DEMUXER=lavf

INFO_SEEKABLE=yes

INFO_TITLES=

INFO_CHAPTERS=0

INFO_TRACKS_COUNT=2

METADATA_TITLE=

METADATA_ARTIST=

METADATA_ALBUM=

METADATA_GENRE=

METADATA_DATE=

METADATA_TRACK=

METADATA_COPYRIGHT=

INFO_MEDIA_TITLE=P1460929.MOV

INFO_STREAM_PATH=/mnt/ECD810EED810B932/Video Projects/Siamese Dream/Etsy/Earrings/P1460929.MOV

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 53

[vo/xv/x11] Error code: 9, request code: 95, minor code: 13

[vo/xv/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

[vo/xv/x11] Type: 0, display: 0x7f2780002a50, resourceid: 800002, serial: 54

[vo/xv/x11] Error code: 9, request code: 95, minor code: 13

[vo/xv] X11 can't keep up! Waiting for XShm completion events...

INFO_TRACK_0: video 1 '' '' yes

INFO_TRACK_1: audio 1 '' '' yes

[lavf] Too many packets in the demuxer packet queues:

[lavf] video/0: 397 packets, 157460992 bytes

[lavf] audio/1: 0 packets, 0 bytes

Exiting... (Quit)

I tried playing a file by running VLC from the command line and I got this:

$ vlc P1460929.MOV
VLC media player 3.0.17.2 Vetinari (revision )
[0000562d525f8b70] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libEGL warning: egl: failed to create dri2 screen
[00007f2210006b00] gl gl: Initialized libplacebo v4.192.1 (API v192)
libEGL warning: egl: failed to create dri2 screen
[00007f2210006b00] gl gl: Initialized libplacebo v4.192.1 (API v192)
[hevc @ 0x7f2220cc4c00] Could not find ref with POC 23
[hevc @ 0x7f2220cd5440] Could not find ref with POC 25
[hevc @ 0x7f2220ce5d80] Could not find ref with POC 27
[hevc @ 0x7f2220c387c0] Could not find ref with POC 1
[hevc @ 0x7f2220c827c0] Could not find ref with POC 3
[hevc @ 0x7f2220c93080] Could not find ref with POC 5
[hevc @ 0x7f2220ca39c0] Could not find ref with POC 7

etc., about 25 more lines of similar errors.

And later on, I got these lines

[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[00007f2220c022b0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

And then more lines like this:

[hevc @ 0x7f2220cd5440] Could not find ref with POC 24
[hevc @ 0x7f2220ce5d80] Could not find ref with POC 23
[hevc @ 0x7f2220cf6700] Could not find ref with POC 25
[hevc @ 0x7f2220c387c0] Could not find ref with POC 27
[hevc @ 0x7f2220c93080] Could not find ref with POC 1
[hevc @ 0x7f2220ca39c0] Could not find ref with POC 3
[hevc @ 0x7f2220cb4300] Could not find ref with POC 5
[hevc @ 0x7f2220cc4c00] Could not find ref with POC 7
[hevc @ 0x7f2220cd5440] Could not find ref with POC 9
[hevc @ 0x7f2220ce5d80] Could not find ref with POC 11
[hevc @ 0x7f2220cf6700] Could not find ref with POC 13

nvidia-smi says:

±----------------------------------------------------------------------------+
| NVIDIA-SMI 515.57 Driver Version: 515.57 CUDA Version: 11.7 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 On | N/A |
| 30% 37C P8 9W / 175W | 420MiB / 8192MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 26497 G /usr/bin/gnome-shell 131MiB |
| 0 N/A N/A 26841 G /usr/bin/gnome-software 10MiB |
| 0 N/A N/A 27670 G /usr/bin/Xwayland 61MiB |
| 0 N/A N/A 28537 G …in,WebAssemblyTrapHandler 211MiB |
±----------------------------------------------------------------------------+


            .',;::::;,'.                mark_fenovo@fedora 
         .';:cccccccccccc:;,.            ------------------ 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 36 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: 90FB000CUS ideacentre 710-25ISH 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.18.10-200.fc36.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 4 hours, 11 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 2257 (rpm), 21 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.1.16 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 2560x1440 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 42.3.1 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Adwaita 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Adwaita [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Adwaita [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: Intel i7-6700 (8) @ 4.000GHz 
:cccccccccccccccccccccccccccc:'.         GPU: NVIDIA GeForce RTX 2060 SUPER 
.:cccccccccccccccccccccc:;,..            Memory: 3034MiB / 23888MiB

To add on to my post above. The videos are 4K UHD 10-bit 4:2:0 hevc / h.265 codec.

I was able to get them to play in Haruna and in DaVincie Resolve 17.4 but they stutter quite a bit.

I did try both with Wayland and xorg sessions and it seemed the same.

I did follow the instructions on the Installing Plugins documents page which is located here:

Namely, I ran these commands:

sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel

sudo dnf install lame\* --exclude=lame-devel

sudo dnf group upgrade --with-optional Multimedia

Also, I don’t know if this matters, but the video files are on a spinning HDD (not an SSD) and that drive is actually in NTFS, since it is a data drive that I dual boot in to Fedora and Windows 10. I have it set to mount automatically on startup. I don’t think this matters but though I should mention it.

Also, Haruna plays the files, but it is very slow and jerky. It takes about three seconds to actually play one second of footage. Meaning, i have a clip that is 15-seconds long and it takes about 45 seconds for Haruna to play the whole clip.

Thanks.

1 Like

Here is one link that explains how to install the proper codecs for many different audio files that cannot be distributed directly by fedora.

I did a quick search for h.265 codec installation on fedora

2 Likes

Thank you for taking the time to reply.

I went through the steps in the document that you linked to and the same problems persist, unfortunately.

I also noticed that if I try to play those files while monitoring my RTX 2060 super graphics card using the nvidi-settings control panel, the GPU uses only a small bit more video memory compared to when I am NOT trying to play those h.265 video files. For example, when NOT attempting to play those video files, my memory card is using up about 450MB of video memory. when I try to play the video files, GPU memory useage only increases to about 600MB of video memory.

I don’t suppose there is any way to quickly “toggle” between the Nouveau nvidia card drivers and the proprietary ones, is there? (Although i am assuming that I am missing whatever is needed for accelerating decoding of h.265 on the CPU and it is not a GPU driver issue. Maybe the kernel doesn’t allow for accelerated decoding on my i7-6700???)

EDIT: I have also tried installing VLC Media Player and MPV through flatpacks (as well as using the rpm-fusion repository) and that didn’t fix it, either.

Darn… I really like fedora (and hate using windows), but I got to get this figured out if I am going to be using Fedora as my production machine.

Does anyone know if this is likely to be a CPU issue or a GPU issue?

1 Like

If you installed the suggested packages, did you first remove the gstreamer1 package installed directly from fedora then install the gstreamer1 and other packages from rpmfusion? There may be some conflicts if you did not.

1 Like

Haven’t tried this myself on Fedora, but ffmpeg does give methods of manual builds. A bit of a pain but will give you all needed codecs. I have done it on CentOS and it was a little time consuming but not hard. It will give you a localized, as opposed to systemwide, version. Doing that should definitely support h265.

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

Ahh, I forgot about ffmpeg.

Fedora distributes ffmpeg as ffmpeg-free. That should be removed then install ffmpeg from rpmfusion. I remember that I had to do this for support of a lot of non-free codecs.

The version from rpmfusion has supported every codec I have encountered since.

I do not understand how you could conceive it was either CPU or GPU related.
Audio does not directly affect either and it is clearly a codec issue within the audio software

1 Like

Thanks for taking the time to reply. I really appreciate it.

Just to clarify, as I am worried I might be misunderstanding you.

I am talking about VIDEO files either not playing, or playing VERY slowly.

The files in question are 10-bit 4:2:0 Long GOP video files in h.265 codec.

So my question about trying to understand whether this was a CPU issue or a GPU issue was related to whether decoding of h.265 video files is done on the CPU or done with the GPU.

Thank you for the post.

In fact, I did NOT first remove the gstreamer1 packages that were installed directly from Fedora.

How would I remove them first? (I am sorry… I am still quite the noob).

I would also be very appreciative if there is code to specify that they come from the rpmfusion repository when I reinstall the gstreamer1 packaging.

Thanks in advance.

When you do the install with dnf it shows you the repo it is being selected from as you can see here. I removed one package and all the dependencies then did this reinstall so you could see. The libde265 package should contain all the needed codec for playing h.265 files.

# dnf install gstreamer1-plugins-bad-freeworld
Last metadata expiration check: 0:15:19 ago on Fri 15 Jul 2022 07:09:11 PM CDT.
Dependencies resolved.
=====================================================================================================================================
 Package                                       Architecture        Version                         Repository                   Size
=====================================================================================================================================
Installing:
 gstreamer1-plugins-bad-freeworld              x86_64              1:1.20.0-1.fc36                 rpmfusion-free              233 k
Installing dependencies:
 libde265                                      x86_64              1.0.8-5.fc36                    rpmfusion-free              312 k
 mjpegtools-libs                               x86_64              2.2.1-2.fc36                    rpmfusion-free              171 k
 svt-hevc-libs                                 x86_64              1.5.1-3.fc36                    rpmfusion-free              537 k

Transaction Summary
=====================================================================================================================================
Install  4 Packages

I checked and it seems there are only a few gstreamer packages installed from rpmfusion on my system (and their dependencies)

# dnf list installed gstreamer1* | grep rpmfusion
gstreamer1-libav.x86_64                                               1:1.20.0-1.fc36                          @rpmfusion-free       
gstreamer1-plugins-bad-freeworld.x86_64                               1:1.20.0-1.fc36                          @rpmfusion-free       
gstreamer1-plugins-ugly.x86_64                                        1:1.20.0-1.fc36                          @rpmfusion-free       

Maybe there is not as much overlap as there was a couple years back since fedora is able to distribute anything that contains totally free software and rpmfusion contains the bits that are not freely available via fedora.

Thank you for bringing this to my attention.

First, let me mention that I ran the command

dnf info ffmpeg

from the terminal, and it returned this rather weird response:


[mark_fenovo@fedora ~]$ dnf info ffmpeg
TeamViewer - x86_64                                                                                 2.6 kB/s | 867  B     00:00    
TeamViewer - x86_64                                                                                  23 kB/s | 3.1 kB     00:00    
Importing GPG key 0x0C1289C0:
 Userid     : "TeamViewer GmbH (TeamViewer Linux 2017) <support@teamviewer.com>"
 Fingerprint: 8CAE XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX
 From       : https://linux.teamviewer.com/pubkey/currentkey.asc
Is this ok [Y/n]:

Is that what it is SUPPOSED to say when I run dnf info ffmpeg ?

(Note that I changed the characters in the fingerprint to X’s because I thought maybe it’s some security thing or something…)

I did install TeamViewer (downloaded it from their site as a .rpm package).

Anyway, should I uninstall TeamViewer?

And similar to the question above: How should I remove ffmpeg (which I assume was installed when I ran the Anaconda installation wizard) and ensure that when I reinstall it that it comes from the rpmfusion repository?

Thanks again. I really, REALLY appreciate your help with this.

OK, one more thing:

I clicked N when it asked, is this ok, and this is what the terminal returned:

Is this ok [Y/n]: n
TeamViewer - x86_64                                                                                 2.2 kB/s | 867  B     00:00    
Error: Failed to download metadata for repo 'teamviewer': repomd.xml GPG signature verification error: Bad GPG signature
Ignoring repositories: teamviewer
Last metadata expiration check: 0:03:57 ago on Fri 15 Jul 2022 05:22:07 PM PDT.
Installed Packages
Name         : ffmpeg
Version      : 5.0.1
Release      : 3.fc36
Architecture : x86_64
Size         : 2.1 M
Source       : ffmpeg-5.0.1-3.fc36.src.rpm
Repository   : @System
From repo    : rpmfusion-free
Summary      : Digital VCR and streaming server
URL          : http://ffmpeg.org/
License      : GPLv3+
Description  : FFmpeg is a complete and free Internet live audio and video
             : broadcasting solution for Linux/Unix. It also includes a digital
             : VCR. It can encode in real time in many formats including MPEG1 audio
             : and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Don’t know if this helps. Maybe I SHOULD have chosen Y ???

Installing any package from a 3rd party site has a potential for conflicts. I have never used teamviewer, so I would suggest that it be uninstalled then if necessary reinstalled later.

That message was about importing the gpg key for the teamviewer package, and probably is related to the fact that teamviewer installed ffmpeg for you since it was not previously installed.

You can check where ffmpeg was installed from with `dnf list installed ffmpeg*’ and if it does not show rpmfusion for the ffmpeg packages (like below) then remove it and reinstall from rpmfusion.

# dnf list installed ffmpeg*
Installed Packages
ffmpeg.x86_64                                            5.0.1-3.fc36                                                 @rpmfusion-free
ffmpeg-libs.x86_64                                       5.0.1-3.fc36                                                 @rpmfusion-free
ffmpegthumbnailer.x86_64                                 2.2.3-0.2.20210902gitd92e191.fc36                            @rpmfusion-free
ffmpegthumbnailer-devel.x86_64                           2.2.3-0.2.20210902gitd92e191.fc36                            @rpmfusion-free

Thanks for the reply.

This is what it returned:

 dnf list installed ffmpeg*
Installed Packages
ffmpeg.x86_64                                                5.0.1-3.fc36                                            @rpmfusion-free
ffmpeg-libs.x86_64                                           5.0.1-3.fc36                                            @rpmfusion-free

Still not working correctly. Here’s the latest update:

First, I uninstalled Teamviewer using dnf autoremove teamviewer

Then I uninstalled ffmpeg using sudo dnf autoremove ffmpeg

Then updates using sudo dnf update

And then sudo dnf upgrade

Then re-installed ffmpeg using sudo dnf install ffmpeg

One thing I noticed when trying to update ffmpeg was this message:

Downloading Packages:
[SKIPPED] ffmpeg-5.0.1-3.fc36.x86_64.rpm: Already downloaded

Anyway, after the update I ran dnf list installed ffmpeg*

And this is what I got:

$ dnf list installed ffmpeg*
Installed Packages
ffmpeg.x86_64                                                           5.0.1-3.fc36                                                       @rpmfusion-free
ffmpeg-libs.x86_64                                                      5.0.1-3.fc36                                                       @rpmfusion-free

Could you let me know how to uninstall the gstreamer1 package that was installed directly from Fedora?

I tried this:

sudo dnf autoremove gstreamer1

But then I got this error message, so I decided NOT to uninstall it this way:

$ sudo dnf autoremove gstreamer1
Error: 
 Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)

Thanks in advance.

As you can see the ‘autoremove’ sub-command to dnf can be a problem. I never use ‘autoremove’ but instead use ‘remove’. That limits the removal to just the package named and its direct dependencies.

Note that your command dnf remove gstreamer1 would remove only gstreamer1 and its direct dependencies. dnf remove gstreamer1* would remove all the packages that have the name beginning with ‘gstreamer1’ including those named like this

gstreamer1-plugins-base.x86_64
gstreamer1-plugins-base-devel.x86_64
gstreamer1-plugins-base-tools.x86_64
gstreamer1-plugins-entrans.x86_64

and possibly many others

regardless of whether they were installed as a dependency of gstreamer1 or otherwise, and regardless of whether they required gstreamer1 or not. It also would remove all dependencies of each of those packages.

dnf is a powerful tool but caution must be used in how commands are structured.

Note that I said you only needed to remove ‘ffmpeg-free’ then install ‘ffmpeg’. The first comes from fedora and the second comes from rpmfusion. Your output shows that you already had it installed from rpmfusion and did not show the package from fedora so removal and reinstall was not needed.

There are other codecs required to support audio and video, including ‘lame’ (which seems to support all the mpeg based [mp3, mp4, etc.]) audio/video and others.
Have you installed ‘lame’?
Did you install the 3 gstreamer1 packages I showed above from rpmfusion?