[MEncoder-users] Audio Sync issues

Jeff Cranmer jeff at lotussevencars.com
Thu Sep 15 22:26:51 CEST 2011


On Thu, 2011-09-15 at 09:03 +0100, Andrew Bowden wrote:
> On Wed, 2011-09-14 at 22:14 -0400, Jeff Cranmer wrote:

> 
> I had a very similar problem to this myself, although for me the video
> wouldn't play properly in VLC either.  What happened for me, and I guess
> for you, is that duplicate video frames are being found by mencoder and
> then simply dumped as you record.  I found that adding in
> 
> -vf harddup
> 
> sorted it out as it ensures that the duplicate video frames aren't
> thrown away.
> 
> I'm not an expert by any means but it worked for me.
> 
> Andrew
> 
Thanks for the suggestion, Andrew.

Unfortunately, that didn't solve the problem.  I'm wondering if the
problem may be the DIVX format not being fully compatible with the
player, and possibly stepping down to an earlier mpeg format may be a
better option.

I'm retrying now using a different codec, to see if switching to mpeg1
video will give a better response:

mencoder infile.mpg -noodml -vf scale=720:480,harddup -aspect 16:9 -ovc
lavc -lavcopts
vcodec=mpeg1video:threads=1:vbitrate=4000:cmp=2:subcmp=2:trell=yes:mbd=2:aspect=16/9 -oac pcm -channels 2 -o outfile.avi

Jeff



More information about the MEncoder-users mailing list