MP4ConvertToTrackTimestamp - Convert a timestamp from a specified time scale to the track time scale.
#include <mp4.h>
MP4Timestamp MP4ConvertToTrackTimestamp(
MP4FileHandle hFile,
MP4TrackId trackId,
u_int64_t timestamp,
u_int32_t oldTimeScale
)
Upon success, the timestamp in the track time scale units. Upon error, MP4_INVALID_TIMESTAMP.
MP4ConvertToTrackTimestamp converts a timestamp such as a sample start time from the specified time scale to the track time scale.
MP4(3) MP4ConvertFromTrackTimestamp(3)