[MPlayer-users] mencoder skips keyframe when encoding audio to mp3

Loren Merritt lorenm at u.washington.edu
Sun Jun 20 02:36:34 CEST 2004


On Sun, 20 Jun 2004, Mikhail Ramendik wrote:

> I have a clip that is 20 minutes long, and encoded in lavc/mpeg4 with
> pcm (32kHz) sound. It plays just fine.
>
> But when I try to change the sound into mp3, several seconds in the very
> beginning (starting I wthink with the second second) get an image
> breakdown. Apparently mencoder skips a keyframe; it does say "skipping
> frame" ijn the very beginning of the process.
>
> Is there a way I could change this? Like, prevent it from dropping the
> frame? I do not want to re-encode...
>
> $ mencoder service2.avi -o servicetest.avi -endpos 0:1:0 -ovc copy -oac
> mp3lame -lameopts preset=extreme

mencoder -mc 0 -noskip

This disables mencoder's broken A-V sync code. You probably want to always
use -mc 0 -noskip, unless you encounter a video that it breaks on.

--Loren Merritt




More information about the MPlayer-users mailing list