GNOME Bugzilla – Bug 704615
Totem can't play MIDI
Last modified: 2014-04-22 06:55:51 UTC
1. open a MIDI file in totem eg https://upload.wikimedia.org/wikipedia/commons/3/3f/Characteristic_rock_drum_pattern.mid 2. totem asks to install a plugin for audio/midi 3. none is found using Fedora 18
the relevant Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=986579
The fact that a MIDI decoder isn't available or working isn't Totem's doing. PackageKit provides the search facility, and GStreamer would provide the codec. I'm pretty certain that a MIDI decoder was ported to GStreamer 1.0.
I think there's only a MIDI parser/decoder in the 1.1.x series, not in the stable 1.0.x branch. *** This bug has been marked as a duplicate of bug 696041 ***
Picked this into the 1.0 branch now: commit cd38dc0f929f17b9ea439da12a4b7966dd2c4e86 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu Mar 21 07:05:54 2013 +0100 fluidsynth: add fluidsynth midi renderer Add a fluidsynth element that converts midi events into raw float samples. Pick fluidsynth plugin from git master. fluidsynth: add more debug fluidsynth: produce more accurate timestamps fluidsynth: improve debug fluidsynth: redirect logging to gst logging functions fluidsynth: log midi tick event fluidsynth: add properties fluidsynth: reset on flush and state change fluidsynth: handle discont fluidsynth: fix debug of segment structure fluidsynth: rename to fluiddec https://bugzilla.gnome.org/show_bug.cgi?id=696041 commit 4194c9f655f69629233674eec840fa99e0932626 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu Mar 21 06:50:52 2013 +0100 midiparse: add basic midi parser Parses midi files and outputs buffers with midi events. Pick midi parser from master branch. midi: set rank as marginal midiparse: small fixes midiparse: handle midi in RIFF midiparse: Update duration midiparse: fix klass midiparse: duration is max of all track durations midiparse: small cleanups in error paths midiparse: don't leak midi data midiparse: clean up tracks midiparse: simplify the callbacks midiparse: implement seeking midiparse: always seek back to beginning midi: set midi parser rank primary midiparser: ensure variable is initialized and fix debug message access midiparse: Push stream-start event before anything else midiparse: In pull mode drop SEGMENT, CAPS and STREAM_START events gst: Add better support for static plugins https://bugzilla.gnome.org/show_bug.cgi?id=696041
On Fedora 20, the bug is still present, although I have the package gstreamer1-plugins-bad-free-extras installed > totem ** Message: Missing plugin: gstreamer|1.0|totem|audio/x-midi-event decoder|decoder-audio/x-midi-event (audio/x-midi-event decoder) ** Message: PackageKit: xid = 69206031 ** Message: PackageKit: Codec nice name: audio/x-midi-event decoder ** Message: PackageKit: structure: gstreamer1(decoder-audio/x-midi-event)()(64bit) ** Message: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.PackageKit.Modify.packageNotFound: failed to find codec ** Message: No installation candidate for missing plugins found.
(In reply to comment #5) > On Fedora 20, the bug is still present, although I have the package > gstreamer1-plugins-bad-free-extras installed This is obviously not the same bug, file a new one.
(In reply to comment #6) > (In reply to comment #5) > > On Fedora 20, the bug is still present, although I have the package > > gstreamer1-plugins-bad-free-extras installed > > This is obviously not the same bug, file a new one. I filed bug 728702 about this problem.