[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No GStreamer element found to handle media format. Media format: audio/x-midi-event decoder #4593

Open
Chirunos opened this issue Oct 18, 2024 · 1 comment
Labels

Comments

@Chirunos
Copy link
Chirunos commented Oct 18, 2024

Steps to reproduce

  1. Drag and drop a MIDI audio to the program's window;
  2. Play it.

Expected Output

Audio plays.

Actual Output

Audio does not play and a popup window saying with the header 'Playback Error' and text 'No GStreamer element found to handle media format. Media format: audio/x-midi-event decoder' appears.

Test System

Which version of Quod Libet?

4.6 (official flatpak)

Which operating system

openSUSE Leap 15.6

If it's audio-related, what back-end?

GStreamer 1.241

Additional Information

Terminal output (--debug):

D: [0000.159] util.i18n.init: LANGUAGE: None
D: [0000.159] util.i18n.init: LANG: 'en_US.UTF-8'
D: [0000.161] util.i18n.register_translation: No translation found for domain 'quodlibet' in None
D: [0000.190] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/formats/__pycache__'
D: [0000.272] formats._misc.init: MimeType=application/x-flac;audio/aac;audio/aiff;audio/dsf;audio/midi;audio/mp3;audio/mp4;audio/mpeg;audio/mpeg4;audio/mpg;audio/ogg;audio/vorbis;audio/wav;audio/wave;audio/x-aac;audio/x-aiff;audio/x-flac;audio/x-m4a;audio/x-midi;audio/x-mp3;audio/x-mpc;audio/x-mpeg;audio/x-ms-wma;audio/x-ms-wmv;audio/x-musepack;audio/x-oggflac;audio/x-speex;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-wma;video/ogg;video/x-ms-asf;video/x-theora;video/x-wmv;
D: [0000.272] formats._misc.init: Supported formats: aac, aiff, dsf, midi, monkeysaudio, mp3, mp4, mpc, spc, trueaudio, vgm, wav, wavpack, wma, xiph

(quodlibet:2): Gtk-WARNING **: 23:15:06.701: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: 23:15:06.701: Failed to load module "canberra-gtk-module"

(quodlibet:2): dbind-WARNING **: 23:15:06.748: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown

(quodlibet:2): Gtk-WARNING **: 23:15:06.852: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(quodlibet:2): Gtk-WARNING **: 23:15:06.852: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(quodlibet:2): Gtk-WARNING **: 23:15:06.853: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(quodlibet:2): Gtk-WARNING **: 23:15:06.853: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
D: [0000.701] qltk.add_signal_watch: Register Python signal handler: 'SIGINT'
D: [0000.702] qltk.add_signal_watch: Register Python signal handler: 'SIGTERM'
D: [0000.702] qltk.add_signal_watch: Register Python signal handler: 'SIGHUP'
D: [0001.515] main.main: Initializing main library (~/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/songs)
D: [0001.516] SongFileLibrary.__init__: Initializing <class 'quodlibet.library.song.SongFileLibrary'>: 'main'
D: [0001.516] SongFileLibrary.__init__: Initialised <song.SongFileLibrary object at 0x7f14f21a5400 (quodlibet+library+song+SongFileLibrary at 0x556236fcfff0)>
D: [0001.516] SongFileLibrary.load: Loading contents of '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/songs'.
D: [0001.517] SongFileLibrary.load('main'): Done loading contents of '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/songs'
D: [0001.532] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/__pycache__'
D: [0001.533] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/albums/__pycache__'
D: [0001.534] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/collection/__pycache__'
D: [0001.534] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/covergrid/__pycache__'
D: [0001.534] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/paned/__pycache__'
D: [0001.535] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/playlists/__pycache__'
D: [0001.535] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/browsers/soundcloud/__pycache__'
D: [0001.689] PlaylistsBrowser.load_pattern: Loading pattern from /home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/playlist_pattern
D: [0001.689] PlaylistsBrowser.load_pattern: Couldn't load pattern for PlaylistsBrowser ([Errno 2] No such file or directory: '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/playlist_pattern'), using default.
D: [0001.693] AlbumList.load_pattern: Loading pattern from /home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/album_pattern
D: [0001.693] AlbumList.load_pattern: Couldn't load pattern for AlbumList ([Errno 2] No such file or directory: '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/album_pattern'), using default.
D: [0001.696] CoverGrid.load_pattern: Loading pattern from /home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/album_pattern
D: [0001.696] CoverGrid.load_pattern: Couldn't load pattern for CoverGrid ([Errno 2] No such file or directory: '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/album_pattern'), using default.
D: [0001.697] SongFileLibrary.__init__: Initializing <class 'quodlibet.library.song.SongFileLibrary'>: 'filesystem'
D: [0001.697] SongFileLibrary.__init__: Initialised <song.SongFileLibrary object at 0x7f14f3e8d000 (quodlibet+library+song+SongFileLibrary at 0x556236ffc590)>
D: [0001.697] _main.init_plugins: Starting plugin manager
D: [0001.697] _main.init_plugins: Scanning folders: ['/app/lib/python3.11/site-packages/quodlibet/ext/editing', '/app/lib/python3.11/site-packages/quodlibet/ext/events', '/app/lib/python3.11/site-packages/quodlibet/ext/playorder', '/app/lib/python3.11/site-packages/quodlibet/ext/songsmenu', '/app/lib/python3.11/site-packages/quodlibet/ext/playlist', '/app/lib/python3.11/site-packages/quodlibet/ext/gstreamer', '/app/lib/python3.11/site-packages/quodlibet/ext/covers', '/app/lib/python3.11/site-packages/quodlibet/ext/query', '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/plugins']
D: [0001.698] plugins.__restore: Restoring plugins: 0
D: [0001.698] PluginManager.rescan: Rescanning..
D: [0001.698] ModuleScanner.rescan: Rescanning..
D: [0001.698] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/editing/__pycache__'
D: [0001.699] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/__pycache__'
D: [0001.700] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/animosd/__pycache__'
D: [0001.700] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/listenbrainz/__pycache__'
D: [0001.700] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/mpdserver/__pycache__'
D: [0001.701] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/mpris/__pycache__'
D: [0001.701] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/events/trayicon/__pycache__'
D: [0001.701] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/playorder/__pycache__'
D: [0001.702] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/songsmenu/__pycache__'
D: [0001.703] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/songsmenu/brainz/__pycache__'
D: [0001.703] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/songsmenu/fingerprint/__pycache__'
D: [0001.703] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/playlist/__pycache__'
D: [0001.703] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/gstreamer/__pycache__'
D: [0001.704] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/covers/__pycache__'
D: [0001.704] util.importhelper.get_importables: Ignoring '/app/lib/python3.11/site-packages/quodlibet/ext/query/__pycache__'
D: [0002.155] ModuleScanner.rescan: Rescanning done: 100 added, 0 removed, 2 error(s)
D: [0002.176] PluginManager.rescan: Rescanning done.
D: [0002.176] PluginManager.register_handler: Registering handler: 'EditTagsPluginHandler'
D: [0002.177] PluginManager.register_handler: Registering handler: 'RenameFilesPluginHandler'
D: [0002.177] PluginManager.register_handler: Registering handler: 'TagsFromPathPluginHandler'
D: [0002.177] PluginManager.register_handler: Registering handler: 'GStreamerPlayer'
D: [0002.181] PluginManager.register_handler: Registering handler: 'SongsMenuPluginHandler'
D: [0002.181] PluginManager.register_handler: Registering handler: 'CoverPluginHandler'
D: [0002.182] PluginManager.register_handler: Registering handler: 'PlaylistPluginHandler'
D: [0002.182] PluginManager.register_handler: Registering handler: 'QueryPluginHandler'
D: [0002.391] PluginManager.register_handler: Registering handler: 'PluggableOrders'
D: [0002.394] PluginManager.register_handler: Registering handler: 'PluggableOrders'
D: [0002.397] qltk.playorder.__compose_order: Updating PlaylistModel order to <In Order>
D: [0002.440] GStreamerPlayer.go_to: Going to None
D: [0002.440] PlaylistMux.go_to: Told to go to None
D: [0002.441] PlaylistModel.go_to: Told to go to None
D: [0002.483] Query.__init__: Creating query ''
D: [0002.483] Query.__init__: Creating query ''
D: [0002.490] qltk.window.__restore_state: Restore state
D: [0002.491] qltk.window.__restore_position: Restore position
D: [0002.492] qltk.window.__restore_size: Restore size
D: [0002.494] PluginManager.register_handler: Registering handler: 'EventPluginHandler'
D: [0002.494] PluginManager.register_handler: Registering handler: 'UserInterfacePluginHandler'
D: [0002.500] mmkeys.find_active_backend: Trying to find a mmkeys backend
D: [0002.563] session.init: Trying GnomeSessionClient
D: [0002.564] GnomeSessionClient.open: Connecting with gnome session manager
D: [0002.567] session.init: org.gnome.SessionManager unowned
D: [0002.568] session.init: Trying XfceSessionClient
D: [0002.569] XfceSessionClient.open: Connecting with gnome session manager
D: [0002.572] session.init: org.xfce.SessionManager unowned
D: [0002.574] session.init: Trying XSMPSessionClient
D: [0002.584] XSMPSessionClient.open: Connecting with XSMP
D: [0002.585] session.init: open failed: 'SESSION_MANAGER environment variable not defined'
D: [0002.585] session.init: Trying SessionClient
D: [0002.587] _main.run: Entering quodlibet.main
D: [0002.771] Query.__init__: Creating query ''
D: [0002.775] PlaylistModel.set: Filling view model with 0 songs.
D: [0002.780] qltk.completion.__build_model: Updating tag model for whole library
D: [0002.782] qltk.completion.__build_model: Done updating tag model for whole library
D: [0002.783] SongFileLibrary.rebuild('main'): Rebuilding, force is False
D: [0002.783] SongFileLibrary.rebuild('main'): Removing 0, changing 0).
D: [0008.564] SongFileLibrary.add('main'): Adding {'~#length': 244.75868634166667, '~filename': '/home/lt/Music/song.mid', '~mountpoint': '/home', '~#added': 1729217714, '~#mtime': 1728255932.5179796, '~#filesize': 97791, '~#bitrate': 3}
D: [0008.566] PlaylistModel.set: Filling view model with 1 songs.
D: [0008.567] qltk.completion.__update_song: Updated tag model for 1 songs
D: [0022.087] QueueModel.go_to: Told to go to None
D: [0022.087] PlaylistModel.go_to: Told to go to None
D: [0022.087] PlaylistModel.next: Using <In Order>.next_explicit() to get next song
D: [0022.088] GStreamerPlayer._end: End song
D: [0022.089] player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
D: [0022.089] player.gstbe.player.__init_pipeline: User pipeline (from player.gst_pipeline): ''
D: [0022.113] player.gstbe.player.__init_pipeline: GStreamer plugin pipeline: []
D: [0022.114] player.gstbe.util.link_many: Attempting to link Gstreamer element(s): ['GstVolume', 'GstPulseSink']
D: [0022.141] util.cover.manager.failure: Didn't get cover from FilesystemCover: This source is incapable of fetching covers
D: [0022.141] util.cover.manager.failure: Didn't get cover from EmbeddedCover: This source is incapable of fetching covers
D: [0022.208] GStreamerPlayer.stop: Stop playing
D: [0022.208] player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
D: [0022.211] player.gstbe.player.__handle_missing_plugin: Gstreamer plugin install result: <enum GST_INSTALL_PLUGINS_HELPER_MISSING of type GstPbutils.InstallPluginsReturn>
D: [0022.211] player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
W: [0022.211] GStreamerPlayer._error:
    No GStreamer element found to handle media format
    Media format: audio/x-midi-event decoder
D: [0022.334] SongFileLibrary._changed('main'): Emitting changed for 1 item(s) (e.g. '/home/lt/Music/song.mid'...)
D: [0022.336] qltk.completion.__update_song: Updated tag model for 1 songs
D: [0022.339] qltk.tracker.__changed: Current song changed, updating current file
D: [0028.778] qltk.window.__restore_state: Restore state
D: [0028.779] qltk.window.__restore_position: Restore position
D: [0028.779] qltk.window.__restore_size: Restore size
D: [0028.781] main.before_quit: Saving active browser state
D: [0028.781] main.before_quit: Shutting down player device 'GStreamer: 1.22.12.0'.
D: [0028.785] player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
D: [0028.785] PluginManager.save: Saving plugins: 0 active
D: [0028.787] _main.quit_gtk: Quit GTK: done.
D: [0028.808] PlayQueue._write: Saving play queue after 26.5s
D: [0028.809] qltk.queue.__destroy: Stopped autosave
D: [0028.815] _main.run: Gtk.main() done.
D: [0028.817] FSInterface.destroy: Disconnecting signal 2920 from <SongFileLibrary @ 0x7f14f21a5400>
D: [0028.818] library.save: Saving all libraries...
D: [0028.818] SongFileLibrary.save('main'): Saving contents to '/home/lt/.var/app/io.github.quodlibet.QuodLibet/config/quodlibet/songs'
D: [0028.823] library.destroy: Destroying all libraries...
D: [0028.823] SongFileLibrary.stop_watching('main'): Removing watches on 0 dirs
D: [0028.823] SongFileLibrary.stop_watching('filesystem'): Removing watches on 0 dirs
D: [0028.824] config.save: Writing config...
D: [0028.829] main.main: Finished shutdown.

Screenshot:
image

Strangely, it managed to find the length.

Installing fluid-soundfont-gm, gstreamer-plugins-bad, gstreamer-plugins-bad-fluidsynth and gstreamer-plugins-good (and the required dependencies) from my system's Main Repository was necessary for gst-play-1.0 song.mid to play the song but had no effect in Quod Libet.

Please feel free to ask for any additional potentially relevant information I can provide.

Footnotes

  1. That's the package my system provides, I'm unsure if QL uses its own.

@Chirunos Chirunos added the bug label Oct 18, 2024
@declension
Copy link
Member

FWIW, having tried to replicate, I get a far worse crash (from ALSA...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants