mencoder with -oac mp3lame create loud static audio

Bug #141314 reported by hackeron
This bug report is a duplicate of:  Bug #85751: Distorted MP3 sound. Edit Remove
4
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: mencoder

The current version of mplayer/mencoder in gutsy creates broken audio (crackly, static filled, difficult to make out words, etc) when used with -ao mp3lame.

A version compiled from svn doesn't have such a problem.

Revision history for this message
jim lebans (jlebans) wrote :

I'm having the same problem in Fiesty. Calling liblame0 from mencoder either directly through:

mencoder -oac mp3lame (etc...)

or indirectly through lavc leads to highly distorted, overmodulated audio. Passing through the audio (with -oac copy) or outputting it as pcm doesn't, so I think its the call to the encoder that's leading to the problem.

Revision history for this message
jim lebans (jlebans) wrote :

Revision - sorry, but it turns out that pcm encoding has the same problem (-oac copy doesn't) so it may have something to do with the decoding of the audio (in my case an mp2 stream).

JL

Revision history for this message
Jani Alinikula (janialinikula) wrote :

I can confirm this (in MEncoder 2:1.0~rc1-0ubuntu13). -oac copy works, mp3lame and pcm don't work. Mplayer is not affected. Mencoder uses (autodetects) mp3lib for audio decoding, mplayer libmad.

Adding -afm libmad to mencoder command line works as a workaround.

The distortion sounds like an endianness problem - horrible buzzing distortion, but the sound also has a clean component.

Changed in mplayer:
status: New → Confirmed
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.