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 704615 - Totem can't play MIDI
Totem can't play MIDI
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
1.x
Other Linux
: Normal normal
: 1.0.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-20 20:31 UTC by Ondra Pelech
Modified: 2014-04-22 06:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ondra Pelech 2013-07-20 20:31:01 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
Comment 1 Ondra Pelech 2013-07-20 20:32:13 UTC
the relevant Fedora bug

https://bugzilla.redhat.com/show_bug.cgi?id=986579
Comment 2 Bastien Nocera 2013-07-22 08:36:13 UTC
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.
Comment 3 Tim-Philipp Müller 2013-07-22 10:28:02 UTC
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 ***
Comment 4 Tim-Philipp Müller 2013-07-22 11:38:31 UTC
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
Comment 5 Ondra Pelech 2014-04-20 00:36:09 UTC
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.
Comment 6 Bastien Nocera 2014-04-22 06:31:48 UTC
(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.
Comment 7 Bastien Nocera 2014-04-22 06:55:51 UTC
(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.