Kwave doesn't import mp3 files

Bug #1233262 reported by Franco Martelli
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kwave (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,
I'm running Kubuntu 13.10 beta2 amd64 port Kwave version:

~$ kwave --version

This is kwave v0.8.10 (compiled for KDE 4.10.3)
Qt: 4.8.4
KDE Development Platform: 4.11.1
Kwave: 0.8.10

In order to have Kwave importing mp3 files I had installed:

ii lame 3.99.5+repack1-3 amd64 MP3 encoding library (frontend)
ii libmad0:amd64 0.15.1b-7ubuntu2 amd64 MPEG audio decoder library
ii libid3-3.8.3c2a 3.8.3-15 amd64 library for manipulating ID3v1 and ID3v2 tags
ii libid3-tools 3.8.3-15 amd64 ID3 Tag Library: Utilities
ii libid3tag0 0.15.1b-10build3 amd64 ID3 tag reading library from the MAD project

When I run Kwave from the console I got:

~$ kwave /mnt/pathtomp3/xyz.mp3

This is kwave v0.8.10 (compiled for KDE 4.10.3)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
MenuNode '&Crop': icon 'crop' not found !
      codec_flac 2.3 written by Thomas Eschenbacher
       newsignal 2.3 written by Thomas Eschenbacher
       normalize 2.3 written by Thomas Eschenbacher
        fileinfo 2.3 written by Thomas Eschenbacher
    notch_filter 2.3 written by Dave Flogeras
            zero 2.3 written by Thomas Eschenbacher
        sonagram 2.3 written by Thomas Eschenbacher
            goto 2.3 written by Thomas Eschenbacher
     pitch_shift 2.3 written by Thomas Eschenbacher
           about 2.3 written by Ralf Waspe & Gilles Caulier
          record 2.3 written by Thomas Eschenbacher
          memory 2.3 written by Thomas Eschenbacher
       insert_at 2.3 written by Thomas Eschenbacher
     codec_ascii 2.3 written by Thomas Eschenbacher
 codec_audiofile 2.3 written by Thomas Eschenbacher
          volume 2.3 written by Thomas Eschenbacher
     amplifyfree 2.3 written by Thomas Eschenbacher
     selectrange 2.3 written by Thomas Eschenbacher
         reverse 2.3 written by Thomas Eschenbacher
       band_pass 2.3 written by Dave Flogeras
           noise 2.3 written by Thomas Eschenbacher
      samplerate 2.3 written by Thomas Eschenbacher
error in '/usr/lib/kde4/plugins/kwave/codec_ogg':
         Cannot load library /usr/lib/kde4/plugins/kwave/codec_ogg: (libopus.so.0: cannot open shared object file: No such file or directory)
       codec_wav 2.3 written by Thomas Eschenbacher
        playback 2.3 written by Thomas Eschenbacher
      saveblocks 2.3 written by Thomas Eschenbacher
         lowpass 2.3 written by Thomas Eschenbacher
--- =

 found 26 plugins

SignalManager::loadFile(file:///mnt/pathtomp3/xyz.mp3) - [audio/mpeg]
unknown file type
--- meta data ---
-----------------
TopWidget::loadFile() failed: result=3D-22

The author report that mp3 file handling support was introduced in Kwave 0.8.9 maybe is it missing some plugins in 0.8.10?
Best regards.

Franco

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

If you install libopusfile0 package, does that change anything?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kwave (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Just tested it myself. Libopus0 clears the startup error message and allows ogg plugin, so it should probably be a dependency or at least a "Recommends" dependency.

As for mp3, I also could not get kwave to import it, and it does not show mp3 files as supported files in the "open file" dialog.

Revision history for this message
Thomas Eschenbacher (thomas-eschenbacher) wrote :

regarding MP3 import:

this is not a bug! It is a limitation due to patent issues. If you want MP3 import, you need to enable it manually when generating the program. Per default it is disabled.

see: http://kwave.sourceforge.net/doc/en/build_options.html

and the corresponding section in the FAQ:
http://kwave.sourceforge.net/doc/en/faq.html

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kwave - 0.9.2-1-2

---------------
kwave (0.9.2-1-2) unstable; urgency=medium

  * Team upload.
  * Backport upstream commit 1bf6aa2f3c1742415755748fe80b5980a8b239e5 to fix
    build on powerpc architectures; patch
    upstream_compile-fix-for-ppc-optimized-memcpy-support-for-pow.patch.
  * Do not install the upstream README and TODO files as documentation, since
    they do not provide much user information.
  * Enable the MP3 support: (LP: #1233262)
    - pass -DWITH_MP3=ON to cmake

 -- Pino Toscano <email address hidden> Fri, 01 Jul 2016 06:51:32 +0200

Changed in kwave (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.