[MPlayer-users] Re: NO audio with mencoder

Olivier Robert skyshadow at planet.nl
Thu Dec 20 18:32:20 CET 2001


On Tuesday 18 December 2001 16:24, you wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> Arpi <arpi at thot.banki.hu> wrote:
> >>> mp3lame compiled with bad compiler or bad cflags ? rtfm?
> >>
> >> Here is the output of the 'make test' of a fresh compiled (gcc version
> >> 2.95.3 20010315 (SuSE)) lame 3.89:
> >>
> >> cmp -l testcase.new.mp3 ./testcase.mp3 | wc -l
> >>     415
> >
> > have you read lame docs? this number must be <=20
>
> You have to completely turn of _any_ optimization-flags (no -march= or
> -mcpu= and eve no -O2 or -O1, you have to force -O0) to achieve something
> below 20. (It does not matter, if you use gcc-2.95, gcc-3.0x or egcs
> 1.12)

OK, I recompiled lame forcing to -O0 like that:
CFLAGS="-O0" ./configure

Result of make test:
cmp -l testcase.new.mp3 ./testcase.mp3 | wc -l
     20

Result with mencoder:
- head_check fails
- audio seems to be encoded but I can't hear it when playing the .avi file.

mencoder options:
--------------------
mencoder -dvd 2 -ovc divx4 -aid 128 -oac mp3lame -divx4opts br=1100 -o 
movie.avi -pass 1 (and -pass 2  afterwards)

Output of pass 1:
-------------------
_______________________________________________________________
head_check failed A-V:-10.694 oAV:-10.672 diff: -0.000 ct: -0.022 vpc: -0.022

Writing AVI index...
Fixup AVI header...

Video stream:  837.781 kbit/s  (104722 bps)  size: 1336261 bytes  12.760 secs

Audio stream:  199.816 kbit/s  (24977 bps)  size: 52152 bytes  2.088 secs
*** free_stream() called ***
_______________________________________________________________

Any other advices or hints to fix this audio problem?

Thanks and regards,
-- 
Olivier Robert
--------------
CGG - Companie Generale de Geophysique
Compaq 1800 XL-484 powered by Suse Linux 7.3




More information about the MPlayer-users mailing list