[MEncoder-users] How to avoid A/V synchronisation pb

Philippe MONROUX phi2-monroux at wanadoo.fr
Mon May 5 03:36:09 CEST 2008


De (from) (von) <please.no.spam.here at gmail.com> :

> On Sun, May 4, 2008 at 2:27 PM, Jorge Peixoto de Morais Neto
> <please.no.spam.here at gmail.com> wrote:
> > On Tue, Apr 29, 2008 at 4:52 AM, Philippe MONROUX
> >  <phi2-monroux at wanadoo.fr> wrote:

> >  I use -oac copy and it has worked well.

OK let's go for -oac copy in pass-1&2

> >  Oh, and about the bitrate:
> >  A CD labeled as 700 MB has 703.125
> >
> Shhhhh, Gmail is fricking buggy. I meant:
> 
> A CD labeled as 700 MB has 703.125 MiB. In my last test, Matroska
> muxing had an overhead of 0.315%. So you can assume that the actual
> audio + video data can be up to 700.91 MiB, or 734957568
 bytes.

OK 

function bitrate_calculation ()
{
    Ts="$(ls -l $TITRE.ogg | awk '{print $5}')"
    BR="$(echo "scale=0 ; ((734957568 - $Ts)*8)/($T*1000)" | bc)"
}


> Keep in mind that if the final file ends up a little bigger than what
> you expect, you don't have to start over. You can overburn the CD.
> According to Wikipedia, a CD can sometimes be overburned by up to 10%,
> so it is pretty safe to overburn by 0.1%. So you dont have to start
> over if your final file has 703.83 MiB instead of 703.125 MiB.


A lot thanks for this details.

Phil
-- 
http://zygomaths.pagesperso-orange.fr/
http://zygomaths.pagesperso-orange.fr/index.en.html  





More information about the MEncoder-users mailing list