[MEncoder-users] MP3 via LAVC

Joey Parrish joey.parrish at gmail.com
Tue Jun 5 18:33:49 CEST 2007


On 6/5/07, double <ninive at gmx.at> wrote:
> Is there a chance to encode MP3 via LAVC?
>
> This works ( -oac mp3lame ):
>
> mencoder  source.avi  -o output.flv  -of lavf  -ovc lavc  -oac mp3lame
>     -lavcopts vcodec=flv:vbitrate=500  -lameopts abr:br=64
>     -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
>
> This fails ( -oac lavc  -lavcopts acodec=mp3 ):
>
> mencoder  source.avi  -o output.flv  -of lavf  -ovc lavc -oac lavc
>     -lavcopts vcodec=flv:vbitrate=500:acodec=mp3:abitrate=64
>     -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
>
> Error message:
> Audio LAVC, couldn't find encoder for codec mp3.

My latest tests show that -oac lavc STILL produces broken files (audio
restarts at time 0 on any seek).  And -oac lavc -lavcopts acodec=mp3
uses mp3lame to begin with.  So you should keep using -oac mp3lame.

--Joey



More information about the MEncoder-users mailing list