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 658514 - typefinding: recognize .amf (Asylum Music File) files for modplug
typefinding: recognize .amf (Asylum Music File) files for modplug
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-07 23:38 UTC by Hendrik Radke
Modified: 2011-09-09 12:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
An Asylum Music File (.amf) (360.13 KB, application/octet-stream)
2011-09-07 23:38 UTC, Hendrik Radke
  Details
typefind: recognize Asylum modules (1.18 KB, patch)
2011-09-09 11:09 UTC, Vincent Penquerc'h
committed Details | Review

Description Hendrik Radke 2011-09-07 23:38:59 UTC
Created attachment 195941 [details]
An Asylum Music File (.amf)

When gstreamer 0.10.35 is confronted with an Asylum Music File (.amf), i.e. the soundtrack of Crusader: no regret [1], gstreamer claims it does not recognize the format:

$ gst-typefind-0.10 M01.AMF 
M01.AMF - FAILED: Could not determine type of stream.

However, gstreamer can play the file if started with
$ gst-launch filesrc location=M01.AMF ! modplug ! alsasink

I attached a file to show this behaviour. My guess is that gstreamer does only recognize the other of the two types of .amf modules (advanced module file), but I have not checked this.

[1] http://www.mirsoft.info/gmb/music_info.php?id_ele=Mjky
Comment 1 Vincent Penquerc'h 2011-09-09 11:09:50 UTC
Created attachment 196088 [details] [review]
typefind: recognize Asylum modules

Note that there is already a AMF detection for a different
magic, I'm not sure if that's a different format with the
same initials or not. AMF is used for a few different formats
(including video), so...

This fixes playbin2 playing Asylum modules.
Comment 2 Sebastian Dröge (slomo) 2011-09-09 11:55:22 UTC
commit 4095551b3182453a435aecd4c4e605dd27180f1b
Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Date:   Fri Sep 9 12:07:44 2011 +0100

    typefind: recognize Asylum modules
    
    Note that there is already a AMF detection for a different
    magic, I'm not sure if that's a different format with the
    same initials or not. AMF is used for a few different formats
    (including video), so...
    
    This fixes playbin2 playing Asylum modules.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658514