mplayer: "Couldn't create or open audio filter 'resample'"
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.
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-
Cannot open file '/.../.
Failed to open /.../.mplayer/
Cannot open file '/etc/mplayer/
Failed to open /etc/mplayer/
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-
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://
Tags: implemented-
use:
works-
I only checked with mplayer1, not mplayer2. But mplayer2 seems to be dead anyway, so that's a non-issue.