Log in

View Full Version : storing timestamp in mp4 file


jagan_mp4
13th May 2005, 03:53
Hi,
do you have any idea about how to store audio / video timestamp for each sample when i am storing audio/video packets into mp4 file from internet. Please let me know the details.

Thanks & Regds,
Jagan

bond
13th May 2005, 17:24
can you define "audio/video timestamp" a little bit more, plz

jagan_mp4
14th May 2005, 01:29
When we are storing each sample, need to be calculated timestamp for each sample for audio & video. i dont' have any ideas how to manuplate timestamp & store for each sample in mp4 file.

Thanks & Regds,
Jagan

bond
14th May 2005, 14:13
dont you have the .mp4 specs?

jagan_mp4
18th May 2005, 06:58
i have mp4 spec. i didnt' find details about timestamp. if you provide details about timestamp it will be very helpful for me..

Thanks & Regds,
Jagan

bond
18th May 2005, 19:10
hm positions of the keyframes are stored in the stss atom, dts and cts is stored in the ctts atom, lengths of the frames (timewise) are stored in the stts atom