Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Audio/Video Sync after remultiplexing



Matthias Schniedermeyer schrieb:
> 
> #inlclude <hallo.h>
> 
> It seems to be normal that the "Audio"-Stream is "a bit" shorter, in a
> given file, than the "Video"-Stream.

After multiplexing there a small packets of video and audio in the
stream.
VVVVVAVVVVAVVVVVAVVVVV  

> But how do i calculate the "Alignment". (How are my ASCII-Arts?)
> 
> e.x. 1: Audio "in the middle"
>  ----------------------------------------------  (Audio)
> ------------------------------------------------ (Video)
> 
> e.x. 2: Audio "at the beginning"
> ----------------------------------------------   (Audio)
> ------------------------------------------------ (Video)
> 
> e.x. 3: Audio "at the end"
>   ---------------------------------------------- (Audio)
> ------------------------------------------------ (Video)
> 
> When there is an offset at the beginning i have to insert "silence" to
> adjust the alignment.
> 
> (I have experimented a bit with remultiplexing, and had results from
> "perfect alignment" to "Off by about 200ms" (Mostly the audio is "to
> late")
> 
> Does anyone know a tool/way to measure the "alignment" from the
> "Source"-Stream so that i can reapply it to the remultiplexed stream.
The original mplex at www.leo.org (search for mplex) allows to set
offsets for Audio and Video before the multiplexing starts.

Gruß,
Andreas


--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as subject.



Home | Main Index | Thread Index