Log in

View Full Version : Finding audio delay?


Dan203
9th July 2005, 18:41
Is there a command line program that can analyze an MPEG program stream and report the audio delay? I don't need it to do anything fancy, just look at the file and report the delay.

If not does anyone know where I could get some information on MPEG program streams soo I can look at writing one myself?

Dan

Dan203
10th July 2005, 09:24
Never mind I answered my own question. After hours of searching I discovered that mpeg2desc can do just want I needed by using this command...

mpeg2desc -m < inputfile

I can then plug the returned value into mplex using the -O and "mts" extension to get the proper offset.

Thanks anyway,
Dan