[MPlayer-users] mencoder ignores -af ?

Corey Hickey bugfood-ml at fatooh.org
Sat Jan 3 21:28:39 CET 2004


Martin Emrich wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi!
> 
> I try to recode an avi with low quality audio (11024bps,8bit/chan, mono)
> to an mpeg with Layer II audio (removed the mpeg commandline options,
> didn't change the result):

Just out of curiosity, why are you doing that? If the audio is low
quality, re-encoding will only make it worse.

> 
> ~/tarballs/MPlayer-20040103/mencoder
> ~/files/videos/Sonstiges/Blindhai.avi -o test.mpg -oac lavc -ovc copy
> -af format=2:unsignedintle,channels=2,resample=44100  -v -v -v 2>>
> mplayer-bug-output.txt >> mplayer-bug-output.txt
> 

By the way, an easy way to redirect stdout and stderr to a file is to
use "mencoder blahblahblah &>mplayer-bug-output.txt"

At least with bash, that is; if you're using another shell, then maybe
disregard that.

> (I tried with "format=2,unsignedintle", too).
> It exits with the error "Couldn't open codec mp2, br=224"
> 
> I suspect that the -af command is ignored, and libavcodec doesn't like
> 8bit audio. If it's user error (wrong commandline), please give me a
> hint, otherwise, a full bugreport and the video is already waiting for
> upload ;-)

Can you at least give us the text mplayer outputs, but only with one -v,
please :).  I'm not familiar with what you're doing, but I or someone
else may be able to understand the error if you give us the output.

-Corey




More information about the MPlayer-users mailing list