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 594680 - I have four midi files which crash timidity plugin but played successfully by original timidity
I have four midi files which crash timidity plugin but played successfully by...
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.7
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-09 18:42 UTC by Vitaly Chernooky
Modified: 2009-09-12 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
"bad" midi files (36.40 KB, application/octet-stream)
2009-09-09 18:42 UTC, Vitaly Chernooky
Details

Description Vitaly Chernooky 2009-09-09 18:42:10 UTC
Created attachment 142816 [details]
"bad" midi files

# for i in * ; do echo ">>>>>$i"; gst-launch filesrc location=$i \! timidity \!
alsasink; done
>>>>>Krysha_doma_tvoego.mid
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/timidity0: Could not decode stream.
Additional debug info:
gsttimidity.c(641): gst_timidity_loop (): /pipeline0/timidity0:
Unable to parse midi
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
>>>>>Lanfren-lanfra.mid
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/timidity0: Could not decode stream.
Additional debug info:
gsttimidity.c(641): gst_timidity_loop (): /pipeline0/timidity0:
Unable to parse midi
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
>>>>>Marionetki.mid
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/timidity0: Could not decode stream.
Additional debug info:
gsttimidity.c(641): gst_timidity_loop (): /pipeline0/timidity0:
Unable to parse midi
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
>>>>>Veter_peremen.kar
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/timidity0: Could not decode stream.
Additional debug info:
gsttimidity.c(641): gst_timidity_loop (): /pipeline0/timidity0:
Unable to parse midi
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
#
Comment 1 Sebastian Dröge (slomo) 2009-09-10 06:04:05 UTC
All 4 files play just fine with the wildmidi plugin so maybe use that instead.

The problem with the timidity plugin is, that timidity by default doesn't build any shared libraries. The error you get comes from some call into timidity so I guess something wrong goes on in timidity or it's shared library flavor. I can't test that here though
Comment 2 Vitaly Chernooky 2009-09-11 08:12:35 UTC
I ask author of libtimidity to fix bug in his software. He does not have ability (experience ?) for it. Personally I do not have free time for it.

In any case this is not bug in gst-plugins-bad.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-09-12 10:25:30 UTC
Vitaly, you could try wildmidi. It is a library, we have a plugin for it and it uses same soundfonts as timidity.
Comment 4 Vitaly Chernooky 2009-09-12 15:34:12 UTC
Thanks, I will think about this idea.