Log in

View Full Version : mdat header is not updated when i created mp4 file


jagan_mp4
28th March 2005, 06:26
Hi,
i got download open source code for mp4 writer. if i read mpeg4 raw data & config headers from input files, it generates mp4 file with mdat header and data.

If i read data from RTP packets (mpeg4 raw data) and passed samples & header information to mp4 writer, it doesn't update only mdat header. But it creats mp4 file with media data. If anyone have clue, please let me know.

Thanks & Regds,
Jagan

bond
28th March 2005, 13:37
mdat is not a header afaik, but the place where the plain video/audio data is stored, not sure tough
the "header" data is stored in the moov atom