Version of Gstreamer required?

Asked by André Ricardo

I am trying to run
cd autoqueue-1.0.0alpha7/mirage/tests/
$ python test_mirage.py

But always get:

(test_mirage.py:27957): GStreamer-CRITICAL **: gst_caps_unref: assertion `caps != NULL' failed
Mirage: decoded frames=c_long(0),size=c_long(0)
Traceback (most recent call last):
  File "test_mirage.py", line 21, in <module>
    SCMSES[filename] = MIR.analyze(filename)
  File "/usr/local/lib/python2.6/dist-packages/mirage/__init__.py", line 480, in analyze
    mfccdata = self.mfcc.apply(stftdata)
  File "/usr/local/lib/python2.6/dist-packages/mirage/__init__.py", line 376, in apply
    raise MfccFailedException
mirage.MfccFailedException

Can you help me understand which version of Gstreamer works with you? I cannot get the "MIR.analyze(filename)" to work :(

$ dpkg -l | grep gstreamer
ii gstreamer0.10-plugins-bad 0.10.19-2+b2 GStreamer plugins from the "bad" set
ii gstreamer0.10-plugins-base 0.10.30-1 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-good 0.10.24-1 GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly 0.10.15-1 GStreamer plugins from the "ugly" set
ii gstreamer0.10-x 0.10.30-1 GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-base0.10-0 0.10.30-1 GStreamer libraries from the "base" set
ii libgstreamer0.10-0 0.10.30-1 Core GStreamer libraries and elements

$ dpkg -l | grep mirage
ii banshee-extension-mirage 1.6.1-1 Automatic Playlist Generation extension for Banshee

The environment is Debian 6, Linux 3.0.

Question information

Language:
English Edit question
Status:
Solved
For:
autoqueue Edit question
Assignee:
No assignee Edit question
Solved by:
André Ricardo
Solved:
Last query:
Last reply:
Revision history for this message
André Ricardo (andric87) said :
#1

I am going to reply my own question. There was a missing package "gstreamer0.10-ffmpeg"

sudo apt-get install gstreamer0.10-ffmpeg

Solved the problem :)