Gstreamer conflict; no audio with totem

I run Fedora 42 + Gnome on a Lenovo laptop. I have no audio when opening videos using totem. I have audio with vlc. I suspect there are conflicting versions of gstreamer in my system; see below. Can anyone help me? Thank you.

cribari@darwin9:~$ rpm -qa | grep gstreamer
PackageKit-gstreamer-plugin-1.2.8-9.fc42.x86_64
gstreamer1-plugin-gtk4-0.13.7-1.fc42.x86_64
gstreamer1-plugin-dav1d-0.13.7-1.fc42.x86_64
pipewire-gstreamer-1.4.7-1.fc42.x86_64
gstreamer1-1.26.5-2.fc42.x86_64
gstreamer1-plugins-base-1.26.5-1.fc42.x86_64
gstreamer1-plugins-good-1.26.5-1.fc42.x86_64
gstreamer1-plugins-good-gtk-1.26.5-1.fc42.x86_64
gstreamer1-plugins-good-qt-1.26.5-1.fc42.x86_64
gstreamer1-plugins-good-qt6-1.26.5-1.fc42.x86_64
gstreamer1-plugin-libav-1.26.5-1.fc42.x86_64
gstreamer1-plugins-ugly-free-1.26.5-1.fc42.x86_64
gstreamer1-plugins-bad-free-libs-1.26.5-4.fc42.x86_64
gstreamer1-plugins-bad-free-1.26.5-4.fc42.x86_64
gstreamer1-plugins-ugly-1.26.5-1.fc42.x86_64
gstreamer1-plugin-openh264-1.26.5-4.fc42.x86_64
gstreamer1-plugins-good-extras-1.26.5-1.fc42.x86_64
gstreamer1-plugins-bad-freeworld-1.26.5-1.fc42.x86_64
gstreamer1-plugins-bad-free-extras-1.26.5-4.fc42.x86_64
gstreamer1-plugins-base-tools-1.26.5-1.fc42.x86_64

cribari@darwin9:~$ gst-inspect-1.0 | grep -E "(mp3|h264|aac)" | sort
audioparsers:  aacparse: AAC audio stream parser
closedcaption:  h264ccextractor: H.264 Closed Caption Extractor
closedcaption:  h264ccinserter: H.264 Closed Caption Inserter
codec2json:  h2642json: H2642json
codectimestamper:  h264timestamper: H.264 timestamper
fdkaac:  fdkaacdec: FDK AAC audio decoder
fdkaac:  fdkaacenc: FDK AAC audio encoder
ladspa:  ladspa-sine-so-sine-faac: Sine Oscillator (Freq:audio, Amp:control)
lame:  lamemp3enc: L.A.M.E. mp3 encoder
libav:  avdec_aac_fixed: libav AAC (Advanced Audio Coding) decoder
libav:  avdec_aac_latm: libav AAC LATM (Advanced Audio Coding LATM syntax) decoder
libav:  avdec_aac: libav AAC (Advanced Audio Coding) decoder
libav:  avdec_h264: libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
libav:  avdec_mp3adufloat: libav ADU (Application Data Unit) MP3 (MPEG audio layer 3) decoder
libav:  avdec_mp3adu: libav ADU (Application Data Unit) MP3 (MPEG audio layer 3) decoder
libav:  avdec_mp3float: libav MP3 (MPEG audio layer 3) decoder
libav:  avdec_mp3: libav MP3 (MPEG audio layer 3) decoder
libav:  avdec_mp3on4float: libav MP3onMP4 decoder
libav:  avdec_mp3on4: libav MP3onMP4 decoder
libav:  avenc_aac: libav AAC (Advanced Audio Coding) encoder
libav:  avmux_adts: libav ADTS AAC (Advanced Audio Coding) muxer (not recommended, use aacparse instead)
libav:  avmux_mp3: libav MP3 (MPEG audio layer 3) formatter (not recommended, use id3v2mux instead)
mpg123:  mpg123audiodec: mpg123 mp3 decoder
msdk:  msdkh264dec: Intel MSDK H264 decoder
msdk:  msdkh264enc: Intel MSDK H264 encoder
openh264:  openh264dec: OpenH264 video decoder
openh264:  openh264enc: OpenH264 video encoder
qsv:  qsvh264dec: Intel Quick Sync Video H.264 Decoder
qsv:  qsvh264enc: Intel Quick Sync Video H.264 Encoder
rtp:  rtph264depay: RTP H264 depayloader
rtp:  rtph264pay: RTP H264 payloader
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: audio/aac: aac, adts, adif, loas
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: video/x-h264: h264, x264, 264
uvch264:  uvch264deviceprovider (GstDeviceProviderFactory)
uvch264:  uvch264mjpgdemux: UVC H264 MJPG Demuxer
uvch264:  uvch264src: UVC H264 Source
va:  vah264dec: VA-API H.264 Decoder in Intel(R) Gen Graphics
va:  vah264enc: VA-API H.264 Encoder in Intel(R) Gen Graphics
videoparsersbad:  h264parse: H.264 parser

Not sure what you mean by “conflicting versions, see below”? I see no problems in the output of those commands. Where do you think there would be “conflicts”?

Can you try launching totem from the terminal, to see if it prints any debug logs when it fails to do audio playback?

Alternatively, could you try showtime, which will replace totem as default video player in GNOME 49 and Fedora 43?

1 Like

Thank you, Fabio. I installed showtime, and it works flawless (video and audio). My problem is that with totem I have no audio. I launched totem from the terminal. I can see the video, but there is no audio; see below.

cribari@darwin9:~/Downloads$ totem a.mp4 

(org.gnome.Totem:400923): Grilo-CRITICAL **: 19:02:19.507: grl_log_valist: assertion 'domain' failed
cribari@darwin9:~/Downloads$

Thanks for checking - that seems to be a bug in totem then. If showtime works for you, I would recommend using it instead - it will be the new default in a few months anyway :slight_smile:

1 Like

You need to install rpmfusion repos www.rpmfusion.org and follow instruction for multimedia how to make sure you did first step to swap ffmpeg sudo dnf swap ffmpeg-free ffmpeg --allowerasing and install needed multimedia packages sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

After you did that close totem and go to ~/.cache/gstreamer-1.0/ and remove registry.x86_64.bin it will regenerate that file once you reopen totem .That will be enough to get sound in totem

1 Like

Thank you, Igor. I’ve done that, but still no sound with totem, unfortunately. Interestingly, I get video and audio with

GST_DEBUG=3 gst-play-1.0 --audiosink=pulsesink a.mp4

but only video (no audio) with

GST_DEBUG=3 GST_AUDIO_SINK=pulsesink totem a.mp4

If playback works as expected in Showtime but doesn’t work as expected in Totem, that’s clearly a Totem bug - both are based on GStreamer. Pointing at rpmfusion doesn’t help here.

1 Like

Ok can you do search with software application for ‘gstreamer’ and do screenshot of it this is my settings for gstreamer multimedia codecs if you missing some just install it and see how is going

1 Like

Please, just let it go.

If audio playback works in Showtime but doesn’t work in Totem - both of which are based on GStreamer - then missing GStreamer plugins cannot be the issue.

1 Like

Screenshots are strongly discouraged since the data contained is not searchable and cannot even be seen unless someone is actually reading the thread where they are posted.

It is much better to get the list of installed gstreamer packages with a tool such as dnf and paste the text results with the preformatted text tags (the </> button on the toolbar)

$ dnf list --installed gstreamer*
Installed packages
gstreamer1.i686                         1.26.5-2.fc43   fedora
gstreamer1.x86_64                       1.26.5-2.fc43   fedora
gstreamer1-plugin-dav1d.x86_64          0.14.0-1.fc43   fedora
gstreamer1-plugin-gtk4.x86_64           0.14.0-1.fc43   fedora
gstreamer1-plugin-libav.x86_64          1.26.5-1.fc43   fedora
gstreamer1-plugin-openh264.x86_64       1.26.5-4.fc43   fedora
gstreamer1-plugins-bad-free.x86_64      1.26.5-4.fc43   fedora
gstreamer1-plugins-bad-free-libs.x86_64 1.26.5-4.fc43   fedora
gstreamer1-plugins-bad-freeworld.x86_64 1:1.26.5-1.fc43 rpmfusion-free
gstreamer1-plugins-base.i686            1.26.5-1.fc43   fedora
gstreamer1-plugins-base.x86_64          1.26.5-1.fc43   fedora
gstreamer1-plugins-good.x86_64          1.26.5-1.fc43   fedora
gstreamer1-plugins-good-extras.x86_64   1.26.5-1.fc43   fedora
gstreamer1-plugins-good-gtk.x86_64      1.26.5-1.fc43   fedora
gstreamer1-plugins-good-qt.x86_64       1.26.5-1.fc43   fedora
gstreamer1-plugins-good-qt6.x86_64      1.26.5-1.fc43   fedora
gstreamer1-plugins-ugly.x86_64          1:1.26.5-2.fc43 rpmfusion-free-updates-testing
gstreamer1-plugins-ugly-free.x86_64     1.26.5-1.fc43   fedora
gstreamer1-rtsp-server.x86_64           1.26.5-1.fc43   fedora
gstreamer1-svt-vp9.x86_64               0.3.0-15.fc43   fedora
gstreamer1-vaapi.x86_64                 1.26.5-1.fc43   fedora
2 Likes

I really appreciate it your opinion but I have working ‘Videos’ application and open up all videos with no problems audio or video.

I also had no audio in Totem but everything works normally with Showtime and other apps. F42