[MEncoder-users] Audio/Video desync during conversion by mencoder
avorop at mail.ru
Fri Apr 17 13:14:42 CEST 2009
On Thu, Apr 16, 2009 at 10:30 PM, Brian Penick <bydivinerite at gmail.com> wrote:
> 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.
Hm. I'm using Nokia N800. It has mplayer (debian linux) and usually
they only recommend
resolution of 400x224 pixels for AVI files. From various docs I've obtained
supported video codecs 3GP, AVI, H.263, MPEG-1, MPEG-4, RV. Though I'm not sure
if this makes sense. I would try to play mkv file on it, but I have to
at least reduce the
resolution. I can't figure out how to tell mencoder to keep the file
as mkv. When I try to use option
-of lavf then I get segfault :(
> 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
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
More information about the MEncoder-users