[MEncoder-users] How to convert mkv to mkv?

Carlo Wood carlo at alinoe.com
Fri Jun 29 04:18:21 CEST 2007


On Wed, Jun 27, 2007 at 08:09:46PM -0700, RC wrote:
> On Thu, 28 Jun 2007 02:58:51 +0200
> Carlo Wood <carlo at alinoe.com> wrote:
> 
> > Hmm, I now note that it prints some kind of error. It stops
> > with this message:
> > 
> > Pos: 130.7s   3138f ( 1%) 13.09fps Trem: 220min 3074mb  A-V:0.000
> > [3377:127] Too many audio packets in the buffer: (3277 in 8389120
> > bytes). Maybe you are playing a non-interleaved stream/file or the
> > codec failed? For AVI files, try to force non-interleaved mode with
> > the -ni option.
> 
> Remove -mc 0 and -noskip.
> 
> If that doesn't work, try encoding audio (instead of copy).

And if that doesn't work either?

I tried:

$ mencoder the.matrix.1999.dvd9.720p.hddvd.x264-hv.mkv \
  -vf crop=1254:528:13:0,scale=608:256,hqdn3d=2:1:2 \
  -ofps 24000/1001 -oac lavc -lavcopts acodec=ac3 \
  -ovc x264 -x264encopts subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b:threads=4:bitrate=3697 \
  -of avi -o /usr/src/et/test.avi

The result is a file with seemingly the right formats,
but the audio is TOTALLY out of sync. After 1 minute, the desync
is already like 5 seconds.

Please tell me what I am doing wrong?

-- 
Carlo Wood <carlo at alinoe.com>



More information about the MEncoder-users mailing list