[MEncoder-users] Audio Sync issues
Rolf Ernst
rernst99 at gmail.com
Thu Sep 15 22:56:47 CEST 2011
On Thu, Sep 15, 2011 at 3:26 PM, Jeff Cranmer <jeff at lotussevencars.com>wrote:
> 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
>
> "C:\Bin\mencoder.exe" "E:\Rip\2011_9_13_14_7_47.TS" -o
"E:\Enc_Out\2011_9_13_14_7_47.avi" -ovc x264 -x264encopts
threads=0:bframes=5:b-adapt=2:partitions=all:cabac:nopsnr:nossim:mixed_refs:frameref=6:weight_b:b_pyramid=normal:me=umh:merange=16:subme=6:analyse=all:8x8dct=1:trellis=2:psy-rd=1,1:no-fast-pskip=1:crf=23
-oac copy -vf tinterlace=4,filmdint=io=30:24/fast=0,crop=1184:720:34:0
-noskip -fps 60000/1001 -ofps 24000/1001
I have done hundreds like this. Note
tinterlace=4,filmdint=io=30:24/fast=0
and
-noskip -fps 60000/1001 -ofps 24000/1001
The reason is that the PVR records at 59.94 and you want to reduce to
23.976. Tinterlace does a great job.
I have zip sync problems.
(Substitute the x264 options for your DivX settings, of course)
I do it all the time.
--
/re
A foolish consistency is the hobgoblin of little minds.
Ralph Waldo Emerson
More information about the MEncoder-users
mailing list