After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736708 - audio/x-midi-event not correctly mapped
audio/x-midi-event not correctly mapped
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.2.4
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-16 00:53 UTC by tomás pollak
Modified: 2015-01-15 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tomás pollak 2014-09-16 00:53:39 UTC
Hi, 

I'm trying to play a MIDI file using Gstreamer, on a x64 Ubuntu 14.04. Both Rhythmbox and Parole gave errors about not being able to play it, even though I have all the bad/ugly packages installed, so I tried using gst-launch.

When running:

    gst-launch-1.0 filesrc location="test.mid" ! decodebin ! autoaudiosink

I get a "Missing element: audio/x-midi-event decoder". However, if I run:

    gst-launch-1.0 filesrc location="test.mid" ! wildmidi ! autoaudiosink

It works perfectly.

I'm not sure if this is a bug or a feature, but I though you guys should know. 

Is there any way to create a mapping from "audio/x-midi-event" to the wildmidi plugin by hand?

Thanks,
Tom
Comment 1 Tim-Philipp Müller 2014-12-19 00:00:23 UTC
Could you make the file you're trying to play available?

The midiparse and fluiddec(fluidsynth) elements should be able to handle this.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2015-01-09 22:07:00 UTC
tomas, can you please attach the file or give us a link?
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2015-01-15 19:04:56 UTC
I've tested all my midi files and can#t repro this. tomas, please reopen it this is still an issue for you and especially if you can provide a test file.