Mailing List archive

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

[linux-dvb] Audio/Video Sync after remultiplexing



#inlclude <hallo.h>


It seems to be normal that the "Audio"-Stream is "a bit" shorter, in a
given file, than the "Video"-Stream.

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.




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.




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



Home | Main Index | Thread Index