[mythtv] Timestamp weirdness

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Wed Jan 21 16:27:47 EST 2004


When i was doing some debuging (win dshow filters) some audio problems with
one of my recorded files  i found something strange with the audio
timestamps.

In the file the audio timestamps begins with some realy large number like
872149535 and continue like that the first few samples and then it turns
negative and after that the timestamps look more normal (slowly increasing
from about 0)

I added some extra debuging code and the timestamps looks something like
this:

AudioTimeStamp: 872149535
AudioTimeStamp: 872149558
VideoTimeStamp: 106
AudioTimeStamp: 872149581
AudioTimeStamp: 872149605
AudioTimeStamp: 872149651
AudioTimeStamp: 872149674
AudioTimeStamp: -17
AudioTimeStamp: 8
AudioTimeStamp: 31
AudioTimeStamp: 54
AudioTimeStamp: 77
AudioTimeStamp: 100
AudioTimeStamp: 147
AudioTimeStamp: 175

This output is from after the first video and audio sync.

This causes some problems because directshow expects timestamps to always
increase, if it's not it ignores the samples that have a too low timestamp.

Does anyone know why mythtv does this?



More information about the mythtv-dev mailing list