Bug#662856: pitivi: cannot import mp3 file

Antonio Terceiro terceiro at debian.org
Tue Mar 6 20:27:43 UTC 2012

Package: pitivi
Version: 0.15.0-1
Severity: normal


I currently cannot add a mp3 as a clip in PiTiVi. When I select a mp3
file, it appears in the "clips" section, but when I drag it to the
timeline, it does not display the audio wave form. Trying to render a
project with a mp3 file in the timeline does not proceeed, and the
progress window says "Estimating ..." forever.

I've tried two different mp3 files with the same results. When I
converted the one I actually wanted to use to ogg and them imported the
ogg file, it worked ok.

This is not caused by lack of proper a decoder: I do have
gstreamer0.10-fluendo-mp3 installed, and I am able to play mp3 files
without problem. I can even preview mp3 files while in the "Import
files" window in PiTiVi itself.

Here's a terminal log I got with `LANG=C pitivi > /tmp/pitivi.log 2>&1`.
I opened PiTiVi with a fresh empty project, imported a mp3 file, dragged
it into the timeline, and clicked in "play" button of the preview area.
The audio did not actually play.

ERROR: Could not load classifier cascade /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
/usr/lib/pitivi/python/pitivi/ui/filechooserpreview.py:72: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.__videosink = self.player.get_property("video-sink")
/usr/lib/pitivi/python/pitivi/application.py:255: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
Traceback (most recent call last):
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 409, in _dynamicPadAddedCb
    self._closePadLink(element, pad, pad.get_caps())
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 280, in _closePadLink
    self._tryToLink1(element, pad, facts)
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 233, in _tryToLink1
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 169, in _closeLink
    self._closePadLink(element, pad, pad.get_caps())

[ ... trace of an infinite recursion stripped ... ]

  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 280, in _closePadLink
    self._tryToLink1(element, pad, facts)
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 233, in _tryToLink1
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 169, in _closeLink
    self._closePadLink(element, pad, pad.get_caps())
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 276, in _closePadLink
    facts = self._findCompatibleFactory(caps)
  File "/usr/lib/pitivi/python/pitivi/elements/singledecodebin.py", line 130, in _findCompatibleFactory
    for factory in _factoryCache.get():
RuntimeError: maximum recursion depth exceeded
ERROR [21922] [0x7fb149c93700] "<Pipeline at 0x23f0d90>"        pipeline          Mar 06 17:01:36      _handleErrorMessage: error from /GstPipeline:pipeline0/GstBin:bin0/GnlComposition:gnlcomposition1/GnlSource:gnlsource: FileSourceFactory1/GstBin:bin2/pitivi+elements+singledecodebin+SingleDecodeBin:pitivi+elements+singledecodebin+singledecodebin2/GstMpegAudioParse:mpegaudioparse322 (__main__.GstMpegAudioParse): GStreamer encountered a general stream error. (gstbaseparse.c(2890): gst_base_parse_loop (): /GstPipeline:pipeline0/GstBin:bin0/GnlComposition:gnlcomposition1/GnlSource:gnlsource: FileSourceFactory1/GstBin:bin2/pitivi+elements+singledecodebin+SingleDecodeBin:pitivi+elements+singledecodebin+singledecodebin2/GstMpegAudioParse:mpegaudioparse322:
streaming stopped, reason not-linked) (/usr/lib/pitivi/python/pitivi/pipeline.py:858)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pitivi depends on:
ii  gnome-icon-theme                            
ii  gstreamer0.10-alsa [gstreamer0.10-audiosink]          0.10.36-1
ii  gstreamer0.10-gconf [gstreamer0.10-videosink]         0.10.31-1
ii  gstreamer0.10-gnonlin                                 0.10.17-2
ii  gstreamer0.10-plugins-bad [gstreamer0.10-videosink]   0.10.23-1
ii  gstreamer0.10-plugins-base                            0.10.36-1
ii  gstreamer0.10-plugins-good [gstreamer0.10-videosink]  0.10.31-1
ii  gstreamer0.10-pulseaudio [gstreamer0.10-audiosink]    0.10.31-1
ii  gstreamer0.10-x [gstreamer0.10-videosink]             0.10.36-1
ii  libgstreamer-plugins-base0.10-0                       0.10.36-1
ii  libgstreamer0.10-0                                    0.10.36-1
ii  python                                                2.7.2-10
ii  python-cairo                                          1.8.8-1+b2
ii  python-central                                        0.6.17
ii  python-dbus                                           0.84.0-3
ii  python-gconf                                          2.28.1+dfsg-1
ii  python-glade2                                         2.24.0-3
ii  python-gst0.10                                        0.10.22-3
ii  python-gtk2                                           2.24.0-3
ii  python-pkg-resources                                  0.6.24-1
ii  python-pygoocanvas                                    0.14.1-1+b3
ii  python-xdg                                            0.19-3
ii  python-zope.interface                                 3.6.1-1

Versions of packages pitivi recommends:
ii  python-numpy  1:1.5.1-4

Versions of packages pitivi suggests:
ii  frei0r-plugins              1.1.22git20091109-1.2
ii  gstreamer0.10-ffmpeg        0.10.13-2
ii  gstreamer0.10-plugins-bad   0.10.23-1
ii  gstreamer0.10-plugins-ugly  0.10.19-1

-- no debconf information

Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20120306/60323abd/attachment.pgp>

More information about the pkg-gstreamer-maintainers mailing list