[MEncoder-users] flv Audio/Video not synchronized

Marc-Andre Lafortune mencoder at marc-andre.ca
Thu Sep 18 21:06:14 CEST 2008


On Wed Sep 17 20:32:33 CEST 2008 RC cooleyr at gmail.com wrote
> On Wed, 17 Sep 2008 14:18:22 -0400
> Marc-Andre Lafortune <mencoder at marc-andre.ca> wrote:
>
> > The result is that there's a delay between the sound and the image
> > (the image is slightly in advance). I suspect the "1 duplicate
> > frame(s)!" I get might be the problem, right? How do I go about  
> fixing
> > this?
>
> Trying different values for -mc
>
> Also, -demuxer lavf might help.

Thanks for the suggestions, but it doesn't work.
Any value > 0 will somehow shorten the clip. The effect is small for - 
mc values <= 0.01, and any value >= 0.015 makes things much worse.
-demuxer lavf didn't seem to have any effect.

I notice that the resulting sound and videos have different total  
durations (7.8 seconds vs 8.034 seconds for http://www.marc-andre.ca/posts/blog/webcam/test-facebook.flv 
  ) and that these durations decrease and diverge with the different - 
mc values. Anyways, these really should be equal, otherwise when I  
join different flvs, the mismatch will only increase.


More information about the MEncoder-users mailing list