[MPlayer-dev-eng] Status of libavformat output for mencoder

Nico Sabbi nsabbi at tiscali.it
Sun Jun 19 18:27:05 CEST 2005


Gianluigi Tiesi wrote:

>On Sun, Jun 19, 2005 at 05:08:09PM +0200, Nico Sabbi wrote:
>  
>
>>Gianluigi Tiesi wrote:
>>
>>    
>>
>>>Someone yet working on it? it would be great to have a working .mp4
>>>output and .3gp, I've tried .mp4 but it produces a bad output.
>>>
>>>Bye
>>>
>>>
>>>      
>>>
>>if there aren't b-frames it may work.
>>How bad was your sample?
>>
>>    
>>
>
>I was using:
>mencoder matrix.mov -ovc xvid -xvidencopts bitrate=1000 -oac faac -faacopts br=128 -of lavf -o output.mp4
>
>I really dunno about faac options and out, but anyway the output.mp4
>audio works even if mplayer complains about a lot of problems with audio
>
>FAAD: error: Gain control not yet implemented, trying to resync!
>FAAD: error: Gain control not yet implemented, trying to resync!
>FAAD: error: Channel coupling not yet implemented, trying to resync!
>FAAD: error: Gain control not yet implemented, trying to resync!
>FAAD: error: Gain control not yet implemented, trying to resync!
>FAAD: error: Maximum number of scalefactor bands exceeded, trying to resync!
>FAAD: error: Maximum number of scalefactor bands exceeded, trying to resync!
>
>But this is not the real problem since also in avi it does some messages
>but the audio is ok.
>
>Then using -o output.avi (even if lavf) audio and video are there,
>in the mp4 I cannot see video, from the log always seams ok but there is
>no video displayed:
>
>in stderr, excluding the faad cruft:
>VDec: Codec did not set sh->disp_w and sh->disp_h, trying workaround.
>
>  
>

since mp4 is such an *exciting* container :( it wants audio in 
raw+extradata format,
so you should pass along the option -faacopts raw. Maybe this will fix 
solve your problems




More information about the MPlayer-dev-eng mailing list