mplayer: "Couldn't create or open audio filter 'resample'"

Bug #1406652 reported by e1000
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dir2ogg
Invalid
Undecided
Unassigned

Bug Description

dir2ogg crashes when trying to convert wma files:

  File ".../dir2ogg.py", line 417, in decode
    os.rename(tempwav, self.songwav)
OSError: [Errno 2] No such file or directory

The "tempwav" could not be written because mplayer crashed because of unrecognized 'resample' option for mplayer (output generated by rebuilding the command line and deactivating '-really-quiet ;) :

Selected audio codec: Windows Media Audio 2 [libavcodec]
AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16002->352800)
Couldn't find audio filter 'resample'
[libaf] Couldn't create or open audio filter 'resample'
Error at audio filter chain pre-init!

Exiting... (Fatal error)

I don't know if the missing configuration is related to the above problem:

MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/.../.mplayer/input.conf': No such file or directory
Failed to open /.../.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

removing the " '-af', 'resample=44100' " elements in the decoder['mplayer'] solved the problem.

$ aptitude show dir2ogg
Package: dir2ogg
State: installed
Automatically installed: no
Version: 0.11.8-1
Priority: optional
Section: sound
Maintainer: Julian Andres Klode <email address hidden>
Architecture: all
Uncompressed Size: 90.1 k
Depends: python (>= 2.4), python-mutagen, vorbis-tools, mpg123 | mpg321
Recommends: faad, wavpack, mplayer, musepack-tools
Suggests: python-musicbrainz2, python-cddb, cdparanoia | icedax
Description: audio file converter into ogg-vorbis format
 dir2ogg converts MP3, M4A, WMA, FLAC, WAV files and Audio CDs to the open-source
 OGG format.

 It is a Python script that simply binds together the various decoders and oggenc
 making it easier for the user to convert his/her music files. It also supports ID3
 tags.
Homepage: http://jak-linux.org/projects/dir2ogg/

Tags: implemented-in::python, interface::commandline, role::program,
      use::converting, works-with-format::mp3, works-with-format::oggvorbis,
      works-with-format::wav, works-with::audio

Revision history for this message
Julian Andres Klode (juliank) wrote :

I only checked with mplayer1, not mplayer2. But mplayer2 seems to be dead anyway, so that's a non-issue.

Changed in dir2ogg:
status: New → Won't Fix
status: Won't Fix → Invalid
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.