[MEncoder-users] Audio/Video desync during conversion by mencoder

Brian Penick bydivinerite at gmail.com
Thu Apr 16 22:30:03 CEST 2009


Well one reason your simple conversion worked with the avi file that had mp3
audio is because it actually didn't convert anything.  any oac copy and ovc
copy will copy those streams as they are into the avi container.  If mkv has
vorbis audio then its not going to work in an avi container (i think, pretty
sure avi can't deal with vorbis).  Also -vf scale is great and all but if
you are copying the video then it doesn't scale anything because for vf
scale to work you'll have to recode the video.  I think what you end up with
is video at the same resolution and the new avi container just says its
smaller.  You really need to find out which video format your pda can handle
and what options it will support. Such as cabac, bframes, etc.

On Thu, Apr 16, 2009 at 1:16 PM, Jan Knutar <jknutar at nic.fi> wrote:

> On Thursday 16 April 2009, Andrey Voropaev wrote:
> > On Wed, Apr 15, 2009 at 1:35 PM, Jan Knutar <jknutar at nic.fi> wrote:
> > > On Thursday 09 April 2009, Andrey Voropaev wrote:
> > >> mencoder -o converted.avi -oac lavc -ovc lavc -vf scale=400:-2
> > >> original.mkv
> > >>
> > >> During conversion there was lots of skipped frames. The conversion
> > >> ended with the message
> > >>
> > >> Too many audio packets in the buffer: (4101 in 932920 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.
> > >
> > > vorbis in the source .mkv? Try with -afm libvorbis or -afm theora
> > > Mencoder doesn't seem to work too well decoding audio through
> > > ffmpeg...
> >
> > Well, these options also didn't help.
>
> What about those options and -oac mp3lame?
>  _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list