MediaData::GetTime Error

MediaData::GetTime Error

Portrait de franknatoli

How does the MPEG-4 decoder [] compute the frame time returned by MediaData::GetTime? Since MPEG-4 does not support timestamps, but rather individual frame durations, the MPEG-4 decoder should keep a running sum of individual frame durations. We have done some testing with varying frame durations, and the evidence appears to suggest that the MPEG-4 decoder is disregarding individual frame durations and perhaps instead relying on simple frame rate information from a MOOV box.

This is not an academic issue. Our application has multiple child windows, each running a separate MPEG-4 video+audio stream, and must synchronize the streams using the individual frame duration information.

Does the MPEG-4 decoder keep a running sum of the individual frame durations?

1 contribution / 0 nouveau(x)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.